gpu: pvr: add dvfs lock
authorImre Deak <imre.deak@gmail.com>
Mon, 26 Jul 2010 19:22:07 +0000 (22:22 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
commitb4013aaa5306088ec1c757b1085b0d3fab59e3f5
tree58023470563e4a546b9c870ac4201ef717dc23ce
parent4ab625930471a784e9d580cf3bf3499a143399d1
gpu: pvr: add dvfs lock

We need to protect the SGX HW access with a separate lock as the
pvr_lock. This is to overcome a lockdep issue between the clock
change notification lock and pvr_lock.

Fixes: NB#181087 - pvrsrvkm: possible circular locking dependency detected

Signed-off-by: Imre Deak <imre.deak@gmail.com>
pvr/pvr_bridge_k.c
pvr/pvr_bridge_km.h
pvr/sgxinit.c
pvr/sgxutils.c