From 339928117314c6f52decb7b1d29a440d3506146b Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Mon, 18 Oct 2010 20:14:25 +0300 Subject: [PATCH] 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 --- pvr/sysutils.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.5