[Freedreno] [PATCH v2] drm/msm/dpu: Add support for AR30 format
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Tue Mar 28 13:25:23 UTC 2023
On 21/03/2023 04:58, Leonard Lausen wrote:
> Commit da7716a249b699978fb5 ("drm/msm/dpu: Add support for XR30 format") enabled
> support for the 10-bit XR30 color format but missed enabling support for the
> corresponding per-pixel alpha-blending AR30 color format.
>
> Declaring only XR30 but not AR30 color format support can trigger bugs in
> userspace. KDE KWin compositor versions prior to 5.27.3 for example prefer
> 10-bit color formats, rendering a 1cm^2 black box around the cursor due to
> missing per-pixel alpha-blending.
>
> Signed-off-by: Leonard Lausen <leonard at lausen.nl>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 11 +++++++++++
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 ++
> drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 1 +
> 3 files changed, 14 insertions(+)
Your patch doesn't apply as all tabs seems to be expanded to spaces. I
have fixed this while applying as not to delay it further. Please use
git-send-email when sending further patches.
--
With best wishes
Dmitry
More information about the Freedreno
mailing list