[PATCH v8 2/3] drm/msm/dpu: allow using two SSPP blocks for a single plane
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sun Dec 15 12:42:41 UTC 2024
On Sun, Dec 15, 2024 at 02:40:17PM +0200, Dmitry Baryshkov wrote:
> Virtual wide planes give high amount of flexibility, but it is not
> always enough:
>
> In parallel multirect case only the half of the usual width is supported
> for tiled formats. Thus the whole width of two tiled multirect
> rectangles can not be greater than max_linewidth, which is not enough
> for some platforms/compositors.
>
> Another example is as simple as wide YUV plane. YUV planes can not use
> multirect, so currently they are limited to max_linewidth too.
>
> Now that the planes are fully virtualized, add support for allocating
> two SSPP blocks to drive a single DRM plane. This fixes both mentioned
> cases and allows all planes to go up to 2*max_linewidth (at the cost of
> making some of the planes unavailable to the user).
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 144 ++++++++++++++++++++----------
> 1 file changed, 98 insertions(+), 46 deletions(-)
And I forgot to pick up the tag from the previous iteration:
Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list