mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 05:52:38 -04:00
drm/i915/psr: Set SU area width as pipe src width
Currently SU area width is set as MAX_INT. This is causing
problems. Instead set it as pipe src width.
Fixes: 86b26b6aea ("drm/i915/psr: Carry su area in crtc_state")
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240618053026.3268759-2-jouni.hogander@intel.com
This commit is contained in:
@@ -2316,7 +2316,7 @@ int intel_psr2_sel_fetch_update(struct intel_atomic_state *state,
|
||||
|
||||
crtc_state->psr2_su_area.x1 = 0;
|
||||
crtc_state->psr2_su_area.y1 = -1;
|
||||
crtc_state->psr2_su_area.x2 = INT_MAX;
|
||||
crtc_state->psr2_su_area.x2 = drm_rect_width(&crtc_state->pipe_src);
|
||||
crtc_state->psr2_su_area.y2 = -1;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user