From: Imre Deak Date: Thu, 10 Nov 2011 16:22:52 +0000 (+0200) Subject: gfx: pvr: export HWRecoveryResetSGX X-Git-Tag: 2.1b_release~499 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0074d465338e1d63d8f4b423061770e4f93e82db;p=kernel%2Fkernel-mfld-blackbay.git gfx: pvr: export HWRecoveryResetSGX Needed by the next patch. I8c4219ef0c0773471c3aa147ebee90c04d0e71e6 Signed-off-by: Imre Deak Signed-off-by: Kirill A. Shutemov --- diff --git a/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinfokm.h b/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinfokm.h index a94c36f..e9d883b 100644 --- a/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinfokm.h +++ b/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinfokm.h @@ -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, diff --git a/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c b/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c index 7702185..f2695c5 100644 --- a/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c +++ b/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c @@ -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)