]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Sanitize RPS interrupts upon resume
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 May 2020 17:35:12 +0000 (18:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 3 May 2020 07:24:36 +0000 (08:24 +0100)
commit389b7f00c7396a3347743fcde5bbf0c00dd0cf71
tree441daf2b914cf928c545dd6e7819f6fcd1313fb0
parent6f576d6277ce5e3aaf2f35b2410220019c3d3cd9
drm/i915/gt: Sanitize RPS interrupts upon resume

Currently we clear and disable the RPS pm interrupts on module load, and
presume that they remain disabled forevermore. However, the mask is
cleared on suspend and so after resume they may start showing up again
unexepectedly.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1811
Fixes: 8e99299a04bc ("drm/i915/gt: Track use of RPS interrupts in flags")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi@etezian.org>
Reviewed-by: Andi Shyti <andi@etezian.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200502173512.32353-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt_pm.c
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/gt/intel_rps.h