From: Imre Deak Date: Mon, 18 Oct 2010 17:14:25 +0000 (+0300) Subject: gpu: pvr: fix SysGetSGXTimingInformation for cases when the HW is off X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=339928117314c6f52decb7b1d29a440d3506146b;p=sgx.git gpu: pvr: fix SysGetSGXTimingInformation for cases when the HW is off This function doesn't do anything that requires the HW to be on, so remove the assert about it. This will be needed by an upcoming patch, requiring this information with HW off. Signed-off-by: Imre Deak Reviewed-by: Luc Verhaegen --- diff --git a/pvr/sysutils.c b/pvr/sysutils.c index 33a8057..6e8ceef 100644 --- a/pvr/sysutils.c +++ b/pvr/sysutils.c @@ -68,8 +68,6 @@ void SysGetSGXTimingInformation(struct SGX_TIMING_INFORMATION *psTimingInfo) #if defined(NO_HARDWARE) rate = SYS_SGX_MAX_FREQ_NO_HW; #else - PVR_ASSERT(atomic_read(&gpsSysSpecificData->sSGXClocksEnabled) != 0); - rate = clk_get_rate(gpsSysSpecificData->psSGX_FCK); PVR_ASSERT(rate != 0); #endif