]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Treat idling as a RPS downclock event
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Mar 2020 16:32:24 +0000 (16:32 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Mar 2020 23:03:00 +0000 (23:03 +0000)
commitc5b5ccec49112527b411f092b343cd88381a3180
tree75dd827b364ba4a88494584697317abeb6d9755b
parentf057e01ea1aba40723b4dcefd051789499146b04
drm/i915/gt: Treat idling as a RPS downclock event

If we park/unpark faster than we can respond to RPS events, we never
will process a downclock event after expiring a waitboost, and thus we
will forever restart the GPU at max clocks even if the workload switches
and doesn't justify full power.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1500
Fixes: 3c7cc78ff155 ("drm/i915: Extract GT render power state management")
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-1-chris@chris-wilson.co.uk
Cc: <stable@vger.kernel.org> # v5.5+
drivers/gpu/drm/i915/gt/intel_rps.c