gpu: pvr: fix locking on SGX load calculating thread
authorImre Deak <imre.deak@nokia.com>
Mon, 5 Apr 2010 15:08:05 +0000 (18:08 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:40 +0000 (21:09 +0300)
commit332ef4e9c171f86fb33d58a7dd6c7f08d3217e4c
tree3ede2869172fb0f7343d061ff299d887c529f8c2
parent67a49639b2dc6a2643ca6563d586078b2bc7775a
gpu: pvr: fix locking on SGX load calculating thread

psDeviceNodeList et al is protected by pvr_lock, so we need to
acquire it here.

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/sysutils.c