mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
drm/i915: Fix pipeDMC and ATS fault handling
The fault handler is supposed to return true when it
handles the fault. The pipeDMC and ATS handlers are
returning false instead which results in the
"unreported faults" WARN triggering when it shouldn't.
Fixes: f13011a799 ("drm/i915: Pimp display fault reporting")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250224173017.29500-1-ville.syrjala@linux.intel.com
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
This commit is contained in:
parent
ad45492c7c
commit
db0d2d7572
|
|
@ -1101,7 +1101,7 @@ static bool handle_plane_ats_fault(struct intel_crtc *crtc, enum plane_id plane_
|
|||
"[CRTC:%d:%s] PLANE ATS fault\n",
|
||||
crtc->base.base.id, crtc->base.name);
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool handle_pipedmc_ats_fault(struct intel_crtc *crtc, enum plane_id plane_id)
|
||||
|
|
@ -1112,7 +1112,7 @@ static bool handle_pipedmc_ats_fault(struct intel_crtc *crtc, enum plane_id plan
|
|||
"[CRTC:%d:%s] PIPEDMC ATS fault\n",
|
||||
crtc->base.base.id, crtc->base.name);
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool handle_pipedmc_fault(struct intel_crtc *crtc, enum plane_id plane_id)
|
||||
|
|
@ -1123,7 +1123,7 @@ static bool handle_pipedmc_fault(struct intel_crtc *crtc, enum plane_id plane_id
|
|||
"[CRTC:%d:%s] PIPEDMC fault\n",
|
||||
crtc->base.base.id, crtc->base.name);
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static const struct pipe_fault_handler mtl_pipe_fault_handlers[] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user