drm/msm/dpu: set max cursor width to 512x512
authorArnaud Vrac <avrac@freebox.fr>
Wed, 19 Apr 2023 14:41:16 +0000 (16:41 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 22 May 2023 07:14:16 +0000 (10:14 +0300)
commit8d6dad490afcc05ca7306ee2bac32774302e4aec
treecbcac4ac99e2d591f7679b6e96853dd88fd6131c
parentc95771905c494aa5c2abbb56b3e2f7d4aa3b34f9
drm/msm/dpu: set max cursor width to 512x512

Override the default max cursor size reported to userspace of 64x64.
MSM8998 hw cursor planes support 512x512 size, and other chips use DMA
SSPPs.

Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/532903/
Link: https://lore.kernel.org/r/20230419-dpu-tweaks-v1-9-d1bac46db075@freebox.fr
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c