]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Update PMINTRMSK holding fw
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Apr 2020 17:03:18 +0000 (18:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Apr 2020 23:21:31 +0000 (00:21 +0100)
commitb0902f784b058c525f9f4669f20540add6833da6
tree880b296e0f4c54ace5086577f7d946d8cf2fdc71
parentf34329b44071a8438f597e2e40ee8d48d1c33e5d
drm/i915/gt: Update PMINTRMSK holding fw

If we use a non-forcewaked write to PMINTRMSK, it does not take effect
until much later, if at all, causing a loss of RPS interrupts and no GPU
reclocking, leaving the GPU running at the wrong frequency for long
periods of time.

Reported-by: Francisco Jerez <currojerez@riseup.net>
Suggested-by: Francisco Jerez <currojerez@riseup.net>
Fixes: 657cb5843339 ("drm/i915/gt: Use non-forcewake writes for RPS")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Francisco Jerez <currojerez@riseup.net>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: <stable@vger.kernel.org> # v5.6+
Link: https://patchwork.freedesktop.org/patch/msgid/20200415170318.16771-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c