Re: [PATCH v6 4/9] drm/omap: introduce omap_hw_overlay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/10/2021 17:28, Neil Armstrong wrote:
From: Benoit Parrot <bparrot@xxxxxx>

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@xxxxxx>
Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
---
  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@xxxxxxxxxxxxxxxx>

 Tomi



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux