mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
drm/msm/dpu: correct dpu_plane_virtual_atomic_check()
Fix c&p error in dpu_plane_virtual_atomic_check(), compare CRTC width
too, in addition to CRTC height.
Fixes: 8c62a31607 ("drm/msm/dpu: allow using two SSPP blocks for a single plane")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202507150432.U0cALR6W-lkp@intel.com/
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Jessica Zhang <jessica.zhang@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/664170/
Link: https://lore.kernel.org/r/20250715-msm-fix-virt-atomic-check-v1-1-9bab02c9f952@oss.qualcomm.com
This commit is contained in:
parent
553666f839
commit
1a76b255ec
|
|
@ -1162,7 +1162,7 @@ static int dpu_plane_virtual_atomic_check(struct drm_plane *plane,
|
|||
if (!old_plane_state || !old_plane_state->fb ||
|
||||
old_plane_state->src_w != plane_state->src_w ||
|
||||
old_plane_state->src_h != plane_state->src_h ||
|
||||
old_plane_state->src_w != plane_state->src_w ||
|
||||
old_plane_state->crtc_w != plane_state->crtc_w ||
|
||||
old_plane_state->crtc_h != plane_state->crtc_h ||
|
||||
msm_framebuffer_format(old_plane_state->fb) !=
|
||||
msm_framebuffer_format(plane_state->fb))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user