gpu: pvr: fix locking on the DVFS path
authorImre Deak <imre.deak@nokia.com>
Mon, 5 Apr 2010 20:18:24 +0000 (23:18 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:40 +0000 (21:09 +0300)
commitc9fb404c8192e6e5b35a77d65d092214e5d5ce5b
tree444110b61c1b2ac76e7d687d5c1eff85ee754d50
parent332ef4e9c171f86fb33d58a7dd6c7f08d3217e4c
gpu: pvr: fix locking on the DVFS path

The HW state is protected by pvr_lock(), so acquire it for the
duration of clock rate changes. We can also remove PVRSRVDvfsLock()
that thus becomes unneded.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
CC: Mark Underwood <mark.underwood@imgtec.com>
CC: Mark Riding <mark.riding@imgtec.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@nokia.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@nokia.com>
pvr/power.c
pvr/power.h
pvr/sysutils.c