gpu: pvr: wire in the dynamic power-down delay calculation
authorImre Deak <imre.deak@nokia.com>
Fri, 15 Oct 2010 17:25:43 +0000 (20:25 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:42 +0000 (21:09 +0300)
commit255eee64c2fca0685ea0f8fbd0efae2e6e8c8d42
treedda3e3d4fb4e0904c8a12b72af3fd18923e32ab3
parentc5a47c218d66070fa4bcd1c14b96e18537ffec4a
gpu: pvr: wire in the dynamic power-down delay calculation

Support for this was added in the previous patch.

We're considering only the TA/3D and 2D blit commands to be part of a
command burst. The rest of the commands are power management related and
we can ignore them when detecting repeated burst patterns.

Fixes: NB#195379 - SGX sleep causes performance penalty

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Reviewed-by: Luc Verhaegen <Luc.Verhaegen@basyskom.de>
pvr/sgxkick.c
pvr/sgxpower.c
pvr/sgxtransfer.c
pvr/sgxutils.c