dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] drm/omap: Add virtual wide planes support
@ 2018-06-29 17:02 Benoit Parrot
  2018-06-29 17:02 ` [RFC 1/3] drm/omap: Add ability to check if requested plane modes can be supported Benoit Parrot
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Benoit Parrot @ 2018-06-29 17:02 UTC (permalink / raw)
  To: dri-devel, Laurent Pinchart, Rob Clark, Daniel Vetter
  Cc: Peter Ujfalusi, Tomi Valkeinen, Jyri Sarha

This patch series adds virtual wide plane support to omapdrm driver to
allow the use of display wider than 2048 pixels. This is achieve by
adding replacing the static omapdrm plane to hardware overlay static
mapping with a dynamic allocation method.

This replaces an original early series which the introduction of new DT
sub nodes. Since this solution is pretty different for the first few
iterations I decide to send as an RFC.

This implementation is inspired from the work done in msm/disp/mdp5
driver.

There is one issue that I did face while using the ww mutex for which I
would like reviewer to pay attention and comment on. You can find my
questions just before the omap_overlay_disable_unassigned() function in
drivers/gpu/drm/omapdrm/omap_overlay.c.


Benoit Parrot (3):
  drm/omap: Add ability to check if requested plane modes can be
    supported
  drm/omap: Add ovl checking funcs to dispc_ops
  drm/omap: Add wide display support using multiple overlays

 drivers/gpu/drm/omapdrm/Makefile       |   1 +
 drivers/gpu/drm/omapdrm/dss/dispc.c    |  37 ++++
 drivers/gpu/drm/omapdrm/dss/omapdss.h  |   6 +
 drivers/gpu/drm/omapdrm/omap_drv.c     | 119 ++++++++++-
 drivers/gpu/drm/omapdrm/omap_drv.h     |  15 +-
 drivers/gpu/drm/omapdrm/omap_fb.c      |  33 ++-
 drivers/gpu/drm/omapdrm/omap_fb.h      |   4 +-
 drivers/gpu/drm/omapdrm/omap_overlay.c | 366 +++++++++++++++++++++++++++++++++
 drivers/gpu/drm/omapdrm/omap_overlay.h |  80 +++++++
 drivers/gpu/drm/omapdrm/omap_plane.c   | 322 ++++++++++++++++++++++++-----
 drivers/gpu/drm/omapdrm/omap_plane.h   |  20 ++
 11 files changed, 935 insertions(+), 68 deletions(-)
 create mode 100644 drivers/gpu/drm/omapdrm/omap_overlay.c
 create mode 100644 drivers/gpu/drm/omapdrm/omap_overlay.h

-- 
2.9.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-02 10:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-29 17:02 [RFC 0/3] drm/omap: Add virtual wide planes support Benoit Parrot
2018-06-29 17:02 ` [RFC 1/3] drm/omap: Add ability to check if requested plane modes can be supported Benoit Parrot
2018-08-02  9:03   ` Tomi Valkeinen
2018-06-29 17:02 ` [RFC 2/3] drm/omap: Add ovl checking funcs to dispc_ops Benoit Parrot
2018-06-29 17:02 ` [RFC 3/3] drm/omap: Add wide display support using multiple overlays Benoit Parrot
2018-08-02 10:09   ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox