[PATCH 0/6] drm/vc4: Allow scaling on cursor planes

Boris Brezillon boris.brezillon at bootlin.com
Thu Nov 15 10:37:15 UTC 2018


Hello,

A few months back I tried to add support for the underscan props to the
VC4 driver [1] and this lead to the conclusion that, if we want to use
the HW scaler to implement underscan we should scale all planes by the
same factor, including the cursor plane which currently does not
support scaling.

This series addresses this limitation by allowing a cursor plane to be
scaled. When the scaling factors stay the same, async updates can take
place, when they change, the driver will fallback to sync updates.

I will submit a new version of the underscan patchset as soon as this
rework is accepted/merged.

Regards,

Boris

[1]https://patchwork.kernel.org/patch/10394563/

Boris Brezillon (6):
  drm/vc4: Make vc4_lbm_size() return 0 when vertical scaling is
    disabled
  drm/vc4: Move LBM creation out of vc4_plane_mode_set()
  drm/vc4: Don't check plane state more than once
  drm/vc4: Rework the async update logic
  drm/vc4: Allow scaling on cursor plane
  drm/vc4: Allow YUV formats on cursor planes

 drivers/gpu/drm/vc4/vc4_drv.h   |   6 +
 drivers/gpu/drm/vc4/vc4_plane.c | 223 ++++++++++++++++++++------------
 2 files changed, 148 insertions(+), 81 deletions(-)

-- 
2.17.1



More information about the dri-devel mailing list