mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
drm/i915/dmc: Fix extra bracket and wrong variable in PIPEDMC error logs
Fixes two issues in intel_pipedmc_irq_handler(): - Removed an extra ']' in the PIPEDMC error and interrupt vector log. - Corrected the interrupt vector log to print int_vector instead of tmp, as tmp will be zero in this case. Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patch.msgid.link/20251103132337.762156-1-alok.a.tiwari@oracle.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
parent
c4227e1609
commit
67d1adb55b
|
|
@ -1712,14 +1712,14 @@ void intel_pipedmc_irq_handler(struct intel_display *display, enum pipe pipe)
|
|||
drm_err_ratelimited(display->drm, "[CRTC:%d:%s] PIPEDMC GTT fault\n",
|
||||
crtc->base.base.id, crtc->base.name);
|
||||
if (tmp & PIPEDMC_ERROR)
|
||||
drm_err(display->drm, "[CRTC:%d:%s]] PIPEDMC error\n",
|
||||
drm_err(display->drm, "[CRTC:%d:%s] PIPEDMC error\n",
|
||||
crtc->base.base.id, crtc->base.name);
|
||||
}
|
||||
|
||||
int_vector = intel_de_read(display, PIPEDMC_STATUS(pipe)) & PIPEDMC_INT_VECTOR_MASK;
|
||||
if (tmp == 0 && int_vector != 0)
|
||||
drm_err(display->drm, "[CRTC:%d:%s]] PIPEDMC interrupt vector 0x%x\n",
|
||||
crtc->base.base.id, crtc->base.name, tmp);
|
||||
drm_err(display->drm, "[CRTC:%d:%s] PIPEDMC interrupt vector 0x%x\n",
|
||||
crtc->base.base.id, crtc->base.name, int_vector);
|
||||
}
|
||||
|
||||
void intel_pipedmc_enable_event(struct intel_crtc *crtc,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user