[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e2b8e8c4-a2d3-532c-7ee8-5b609bb4cb5f@ideasonboard.com>
Date: Wed, 27 Oct 2021 13:50:00 +0300
From: Tomi Valkeinen <tomi.valkeinen@...asonboard.com>
To: Neil Armstrong <narmstrong@...libre.com>
Cc: linux-omap@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, khilman@...libre.com,
Benoit Parrot <bparrot@...com>
Subject: Re: [PATCH v6 4/9] drm/omap: introduce omap_hw_overlay
On 18/10/2021 17:28, Neil Armstrong wrote:
> From: Benoit Parrot <bparrot@...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@...com>
> Signed-off-by: Neil Armstrong <narmstrong@...libre.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@...asonboard.com>
Tomi
Powered by blists - more mailing lists