aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorAbhinav Kumar <[email protected]>2022-05-13 22:59:59 +0000
committerAbhinav Kumar <[email protected]>2022-05-18 22:43:08 +0000
commite67dcecda06f279cf40b2ab696ca70305b3ba6df (patch)
treeb9c126eeeac22936a8b02971276745ed1da8acca /fs/ext4/fast_commit.c
parentdrm: msm: fix possible memory leak in mdp5_crtc_cursor_set() (diff)
downloadkernel-e67dcecda06f279cf40b2ab696ca70305b3ba6df.tar.gz
kernel-e67dcecda06f279cf40b2ab696ca70305b3ba6df.zip
drm/msm/dpu: limit writeback modes according to max_linewidth
Writeback modes were being added according to mode_config.max_width but this is assigned to double of max_mixer_width. For compositors/clients using a single SSPP, this will fail the dpu_plane's atomic check as it checks for max_linewidth. Limit writeback modes according to max_linewidth to allow even compositors/clients which use only a single SSPP to use writeback. Fixes: 77b001acdcfeb ("drm/msm/dpu: add the writeback connector layer") Reported-by: Jessica Zhang <[email protected]> Signed-off-by: Abhinav Kumar <[email protected]> Tested-by: Jessica Zhang <[email protected]> # Trogdor (SC8170) Reviewed-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/486176/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions