]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Leave rps->cur_freq on unpark
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Mar 2020 16:32:25 +0000 (16:32 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Mar 2020 23:03:08 +0000 (23:03 +0000)
commitcf3b37299902ef9aafc517cae9ee8cdfab7e927e
treefd701e78b273dc09516c11726d79b35ab99bede6
parent7fec9c6ed7d5c6337bd87062b25d8a35e532f309
drm/i915/gt: Leave rps->cur_freq on unpark

Don't override our previous frequency we used after parking, and avoid
continually spiking back to the efficient frequency for mostly idle
workloads. Trust our ability to autotune across a workload switch.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Cc: Lyude Paul <lyude@redhat.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200322163225.28791-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c