[PATCH v6 4/9] drm/omap: introduce omap_hw_overlay
Tomi Valkeinen
tomi.valkeinen at ideasonboard.com
Wed Oct 27 10:50:00 UTC 2021
On 18/10/2021 17:28, Neil Armstrong wrote:
> From: Benoit Parrot <bparrot at ti.com>
>
> Split out the hardware overlay specifics from omap_plane.
> To start, the hw overlays are statically assigned to planes.
>
> The goal is to eventually assign hw overlays dynamically to planes
> during plane->atomic_check() based on requested caps (scaling, YUV,
> etc). And then perform hw overlay re-assignment if required.
>
> Signed-off-by: Benoit Parrot <bparrot at ti.com>
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
> ---
> drivers/gpu/drm/omapdrm/Makefile | 1 +
> drivers/gpu/drm/omapdrm/omap_drv.c | 9 ++-
> drivers/gpu/drm/omapdrm/omap_drv.h | 4 ++
> drivers/gpu/drm/omapdrm/omap_overlay.c | 84 ++++++++++++++++++++++++++
> drivers/gpu/drm/omapdrm/omap_overlay.h | 30 +++++++++
> drivers/gpu/drm/omapdrm/omap_plane.c | 54 +++++++----------
> 6 files changed, 148 insertions(+), 34 deletions(-)
> create mode 100644 drivers/gpu/drm/omapdrm/omap_overlay.c
> create mode 100644 drivers/gpu/drm/omapdrm/omap_overlay.h
Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
Tomi
More information about the dri-devel
mailing list