drm/i915/bmg: Read display register timeout
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Wed, 7 Aug 2024 14:21:05 +0000 (19:51 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 12 Aug 2024 04:06:26 +0000 (09:36 +0530)
commit7d113cce5fe92c8bf0a2e2f19f71762a845e9d9e
treef73811387365819ab63c2f61b7e1e2d2474eb79a
parent372f244b01784b5ee233cdfd732b4c1929ddd71e
drm/i915/bmg: Read display register timeout

Log the address of the register that caused the timeout
interrupt by reading RMTIMEOUTREG_CAPTURE

--v2:
- Update RMTIMEOUTREG_CAPTURE naming (Suraj)

--v3:
- XeLpdp naming convention.
- Use if condition instead of else if

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240807142106.1270213-1-mitulkumar.ajitkumar.golani@intel.com
drivers/gpu/drm/i915/display/intel_display_irq.c
drivers/gpu/drm/i915/i915_reg.h