summaryrefslogtreecommitdiff
path: root/lib/igt_aux.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-12-04 17:05:25 +0200
committerImre Deak <imre.deak@intel.com>2014-12-08 12:36:54 +0200
commitf70afed4c7abd95fc3250141a1e36587e31f7c87 (patch)
tree6d58c4b544cd59366a27ec043e82fd220f4c28f6 /lib/igt_aux.h
parentaabf2d095269ae4cb8e77dd61e5c0c16e602c1d8 (diff)
tests/pm_rps: vlv: load gpu for idle min/max tests
When changing the sysfs GT min/max frequencies, the kernel won't explicitly change the current frequency, unless it becomes out of bound based on the new min/max values. The test happens to work on non-VLV platforms because on those the kernel resets the current frequency unconditionally (to adjust the RPS interrupt mask as a side-effect) and that will lead to an RPS interrupt setting the minimum frequency. To fix this load the GPU after decreasing the min frequency and before checking the current frequency. This should set the current frequency to the minimum. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'lib/igt_aux.h')
0 files changed, 0 insertions, 0 deletions