]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Apply the aggressive downclocking to parking
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Apr 2020 20:54:45 +0000 (21:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Apr 2020 23:57:37 +0000 (00:57 +0100)
commit7efa4625fcadd22194f6b8c46894d953dccb3575
tree93add0d008338c7393c0e6ae64a7bf3f6d13e298
parent3bc90ff19d49592536ba84cbd57843b123c878e1
drm/i915/gt: Apply the aggressive downclocking to parking

We treat parking as a manual RPS timeout event, and downclock the GPU
for the next unpark and batch execution. However, having restored the
aggressive downclocking and observed that we have very light workloads
whose only interaction is through the manual parking events, carry over
the aggressive downclocking to the fake RPS events.

References: 7fec9c6ed7d5 ("drm/i915/gt: Treat idling as a RPS downclock event")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429205446.3259-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c