gfx: pvr: export HWRecoveryResetSGX
authorImre Deak <imre.deak@intel.com>
Thu, 10 Nov 2011 16:22:52 +0000 (18:22 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:36 +0000 (12:28 +0300)
Needed by the next patch.

 I8c4219ef0c0773471c3aa147ebee90c04d0e71e6
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinfokm.h
drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c

index a94c36f..e9d883b 100644 (file)
@@ -329,6 +329,10 @@ struct sgx_fw_state {
 
 PVRSRV_ERROR SGXRegisterDevice (PVRSRV_DEVICE_NODE *psDeviceNode);
 
+IMG_VOID HWRecoveryResetSGX(PVRSRV_DEVICE_NODE *psDeviceNode,
+                            IMG_UINT32 ui32Component,
+                            IMG_UINT32 ui32CallerID);
+
 IMG_VOID SGXOSTimer(IMG_VOID *pvData);
 
 IMG_VOID SGXReset(PVRSRV_SGXDEV_INFO   *psDevInfo,
index 7702185..f2695c5 100644 (file)
@@ -1108,8 +1108,6 @@ static IMG_VOID SGXDumpDebugInfo (PVRSRV_SGXDEV_INFO      *psDevInfo,
 }
 
 
-#if defined(SYS_USING_INTERRUPTS) || defined(SUPPORT_HW_RECOVERY)
-static
 IMG_VOID HWRecoveryResetSGX (PVRSRV_DEVICE_NODE *psDeviceNode,
                                                         IMG_UINT32             ui32Component,
                                                         IMG_UINT32                     ui32CallerID)
@@ -1167,7 +1165,6 @@ IMG_VOID HWRecoveryResetSGX (PVRSRV_DEVICE_NODE *psDeviceNode,
        
        PVRSRVProcessQueues(ui32CallerID, IMG_TRUE);
 }
-#endif 
 
 
 #if defined(SUPPORT_HW_RECOVERY)