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 0 additions, 16 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h 0 additions, 4 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 13 additions, 3 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_plane.c