]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/msm/dpu: move scaling limitations out of the hw_catalog
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 25 Oct 2024 00:20:11 +0000 (03:20 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 1 Nov 2024 23:47:20 +0000 (01:47 +0200)
commit8f15005783b8a77012a0b1da84c45611ea560a2e
tree5d6124b1fd3dce4ac0dd0b4855d7cc87ec4af552
parentb96ca23fdd03a8855302c58cf9e882def45c3156
drm/msm/dpu: move scaling limitations out of the hw_catalog

Max upscale / downscale factors are constant between platforms. In
preparation to adding support for virtual planes and allocating SSPP
blocks on demand move max scaling factors out of the HW catalog and
handle them in the dpu_plane directly. If any of the scaling blocks gets
different limitations, this will have to be handled separately, after
the plane refactoring.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/621481/
Link: https://lore.kernel.org/r/20241025-dpu-virtual-wide-v6-4-0310fd519765@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c