[PATCH v4 0/6] drm/omap: Make omapdss API more generic + related patches
Jyri Sarha
jsarha at ti.com
Thu Feb 8 10:21:00 UTC 2018
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
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
More information about the dri-devel
mailing list