gpu: pvr: Disable driver if SGX HW recovery fails
authorImre Deak <imre.deak@nokia.com>
Wed, 5 May 2010 15:21:40 +0000 (18:21 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
commit533601cf83764b422588cf1eae33408dd4a62d63
tree44c51d151f3199a3d62a937b0f4091d18644334f
parent32a469277fb7602f9d4e658bb6151e5abb8e9210
gpu: pvr: Disable driver if SGX HW recovery fails

At the moment SGX HW recovery doesn't succeed always and keeps the
processes using the driver blocked. To avoid this give up after a
number of retries and disable further IOCTLs or interaction with
the HW. This would still allow a complete restart of the graphics
stack including reloading the drivers and restarting the relevant
processes.

The final fix is of course to find out why the recovery doesn't
succeed.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/event.c
pvr/module.c
pvr/pvr_bridge_k.c
pvr/pvr_bridge_km.h
pvr/pvr_debug.c
pvr/pvrsrv.c
pvr/sgxinit.c
pvr/sysutils.c