Skip to content

drm/omap: Make omapdss API more generic + related patches

Jyri Sarha dri-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 0 repliesNew
  2. v33 patches 6 repliesSuperseded
  3. v23 patches 5 repliesSuperseded

Changes in v4 from the cover letter

- "drm/omap: Add get_ovl_name() and get_mgr_name() to dispc_ops"
- Make ovl_names array static const char * const
- Add:
- "drm/omap: move common stuff from dss.h to omapdss.h"
- "drm/omap: dss: Move platform_device_register from core.c to dss.c probe"
- "drm/omap: dss: platform_register_drivers() to dss.c and remove core.c"

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/omap: Fail probe if irq registration failsdrivers/gpu/drm/omapdrm/omap_drv.c+2 -20 replies
2/6drm/omap: Add get_ovl_name() and get_mgr_name() to dispc_opsdrivers/gpu/drm/omapdrm/dss/dispc.c drivers/gpu/drm/omapdrm/dss/omapdss.h drivers/gpu/drm/omapdrm/omap_crtc.c +2 more+36 -310 replies
3/6drm/omap: Make omapdss API more genericdrivers/gpu/drm/omapdrm/dss/dispc.c drivers/gpu/drm/omapdrm/dss/dispc.h drivers/gpu/drm/omapdrm/dss/omapdss.h +7 more+214 -1400 replies
4/6drm/omap: move common stuff from dss.h to omapdss.hdrivers/gpu/drm/omapdrm/dss/dss.h drivers/gpu/drm/omapdrm/dss/omapdss.h+37 -370 replies
5/6drm/omap: dss: Move platform_device_register from core.c to dss.c probedrivers/gpu/drm/omapdrm/dss/core.c drivers/gpu/drm/omapdrm/dss/dss.c+21 -240 replies
6/6drm/omap: dss: platform_register_drivers() to dss.c and remove core.cdrivers/gpu/drm/omapdrm/dss/Makefile drivers/gpu/drm/omapdrm/dss/core.c drivers/gpu/drm/omapdrm/dss/dss.c+38 -670 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/6] drm/omap: Make omapdss API more generic + related patches

The purpose of these patches is to make easier to add support for future DSS version.

Since v3:
- "drm/omap: Add get_ovl_name() and get_mgr_name() to dispc_ops"
- Make ovl_names array static const char * const
- Add:
- "drm/omap: move common stuff from dss.h to omapdss.h"
- "drm/omap: dss: Move platform_device_register from core.c to dss.c probe"
- "drm/omap: dss: platform_register_drivers() to dss.c and remove core.c"

Since v2:
- Simplify dispc_mgr_has_framedone()
- dispc_hw_to_api_irq() and dispc_api_to_hw_irq() use new dispc_irq_bits[]
- rename dispc_ops read_irqstatus() to read_and_clear_irqstatus() and remove clearmask
- precalculate priv->irq_uf_mask in omap_drm_irq_install() and use it in omap_irq_fifo_underflow()

Here is the v2 round:
https://lists.freedesktop.org/archives/dri-devel/2018-January/161353.html

Since RFC:

This the v2 rouns of a this RFC patch:
https://patchwork.kernel.org/patch/10066245/

The first patch is a simple fix that should be applied in any case.

I did not split the mgr_has_framedone() callback as a separate patch. It quite literally replaces the mgr_get_framedone_irq() and makes no sense without the "drm/omap: Make omapdss API more generic"-patch.

Best regards,
Jyri

Jyri Sarha (5):
drm/omap: Fail probe if irq registration fails
drm/omap: Add get_ovl_name() and get_mgr_name() to dispc_ops drm/omap: Make omapdss API more generic
drm/omap: dss: Move platform_device_register from core.c to dss.c
probe
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c

Tomi Valkeinen (1):
drm/omap: move common stuff from dss.h to omapdss.h

 drivers/gpu/drm/omapdrm/dss/Makefile  |   2 +-
 drivers/gpu/drm/omapdrm/dss/core.c    |  88 ------------------------
 drivers/gpu/drm/omapdrm/dss/dispc.c   | 113 ++++++++++++++++++++++++------
 drivers/gpu/drm/omapdrm/dss/dispc.h   |  33 +++++++++
 drivers/gpu/drm/omapdrm/dss/dss.c     |  56 +++++++++++++++
 drivers/gpu/drm/omapdrm/dss/dss.h     |  37 ----------
 drivers/gpu/drm/omapdrm/dss/omapdss.h | 104 ++++++++++++++++++----------
 drivers/gpu/drm/omapdrm/omap_crtc.c   |  27 +++-----
 drivers/gpu/drm/omapdrm/omap_crtc.h   |   2 +-
 drivers/gpu/drm/omapdrm/omap_drv.c    |   4 +-
 drivers/gpu/drm/omapdrm/omap_drv.h    |   3 +-
 drivers/gpu/drm/omapdrm/omap_irq.c    | 125 +++++++++++++++-------------------
 drivers/gpu/drm/omapdrm/omap_irq.h    |   2 +-
 drivers/gpu/drm/omapdrm/omap_plane.c  |  18 ++---
 drivers/gpu/drm/omapdrm/omap_plane.h  |   1 +
 15 files changed, 331 insertions(+), 284 deletions(-)
 delete mode 100644 drivers/gpu/drm/omapdrm/dss/core.c
Signature · 6 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel