From: Imre Deak Date: Mon, 21 Nov 2011 17:48:32 +0000 (+0200) Subject: gfx: pvr: fix regression in user debug request X-Git-Tag: 2.1b_release~488 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dcf28324ad58700a1cd4821d8fabaffa355c25c;p=kernel%2Fkernel-mfld-blackbay.git gfx: pvr: fix regression in user debug request Fix the regression during user debug request IOCTL introduced by: 7214f0fe418 - gfx: pvr: move core debugging functions to a separate file Spotted-and-tested-by: Pauli Nieminen Signed-off-by: Imre Deak Signed-off-by: Kirill A. Shutemov --- 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 4e8a02f..f5c5919 100644 --- a/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c +++ b/drivers/staging/mrst/pvr/services4/srvkm/devices/sgx/sgxinit.c @@ -2692,7 +2692,7 @@ PVRSRV_ERROR SGXGetMiscInfoKM(PVRSRV_SGXDEV_INFO *psDevInfo, PVR_LOG(("User requested SGX debug info")); - SGXDumpDebugInfo(psDeviceNode->pvDevice, IMG_FALSE); + SGXDumpDebugInfo(psDeviceNode, IMG_FALSE); return PVRSRV_OK; }