]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit3f88dde6ee630983b2d4be9967049306a90a2d40
tree93add0d008338c7393c0e6ae64a7bf3f6d13e298
parent36d516be867ce3657401ab26b05a39a20f56fa13
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: 21abf0bf168d ("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