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