]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915: Remove unused underrun irq/reporting bits
authorSai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Tue, 15 Oct 2024 08:05:03 +0000 (13:35 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 17 Oct 2024 19:01:05 +0000 (15:01 -0400)
commitefa3a5f4f3140423d9087dda0b6b7e999d1effae
treed5bcfcbf4718192e18d2b861425c50287292a354
parent341e4023032fba6c02326bfc6babd63ef4039712
drm/i915: Remove unused underrun irq/reporting bits

Underrun recovery was defeatured and was never brought into usage.
Thus we can remove the underrun recovery interrupt/reporting
register bits and related logic introduced to detect/report soft,
hard, port underruns.

Essentially this is a revert of the commit 8bcc0840cf7c
("drm/i915/xelpd: Enhanced pipe underrun reporting") which originally
added this functionality. Also note that PIPE_STATUS_UNDERRUN bit in
PIPESTATUS still stays relevant but we would move back to not
clearing this sticky bit as we are not using any information from
this register.

v2: Extend commit message to add more details (Matt Roper)
v3: Fix the old commit mention in commit message

Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241015080503.3521063-1-sai.teja.pottumuttu@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_display_irq.c
drivers/gpu/drm/i915/display/intel_display_irq.h
drivers/gpu/drm/i915/display/intel_fifo_underrun.c
drivers/gpu/drm/i915/i915_reg.h