diff options
author | Abhinav Kumar <[email protected]> | 2022-05-13 15:59:59 -0700 |
---|---|---|
committer | Abhinav Kumar <[email protected]> | 2022-05-18 15:43:08 -0700 |
commit | e67dcecda06f279cf40b2ab696ca70305b3ba6df (patch) | |
tree | b9c126eeeac22936a8b02971276745ed1da8acca /tools | |
parent | 947a844bb3ebff0f4736d244d792ce129f6700d7 (diff) |
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 'tools')
0 files changed, 0 insertions, 0 deletions