]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Suppress threshold updates on RPS parking
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Dec 2019 21:05:45 +0000 (21:05 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Dec 2019 17:09:37 +0000 (17:09 +0000)
commit1319b6dc34562f0694168b8f30379735e1d5fa52
tree8efd272239828b512ba1e3c5e004499b0e4fbc0d
parent657cb58433396038c8b36364675c8d641ccc1cf9
drm/i915/gt: Suppress threshold updates on RPS parking

When we park RPS, we set the GPU to run at minimum 'idle' frequency.
However, as the GPU is idle, we also disable the worker and RPS
interrupts - changing the RPS thresholds has no effect, it just incurs
extra changes to restore them when we unpark. So on parking, leave the
thresholds set to the current power level and so we expect them to be
valid for our restart.

References: https://gitlab.freedesktop.org/drm/intel/issues/848
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191218210545.3975426-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c