]> 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)
commit043cd2d14edec8c09ddfdea07a1604e78526c897
treefd701e78b273dc09516c11726d79b35ab99bede6
parent21abf0bf168dffff1192e0f072af1dc74ae1ff0e
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