]> 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)
commit2e496ea64330dc82206425fed94d60edae3e8146
tree93add0d008338c7393c0e6ae64a7bf3f6d13e298
parent4e4f45b9ccaf59517a96b11af95953d49f9cb5d8
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: c5b5ccec4911 ("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