[PATCH v4 00/22] OMAP DRM fixes and improvements

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Dec 14 00:27:24 UTC 2016


Hello,

Here's the fourth version of my current stack of pending patches for the
omapdrm driver.

All comments received for v3 have been considered and patches updated where
applicable. Patches 21/22 and 22/22 have been added, individual changelogs are
available in all the patches when they have been modified.

The most notable change in this series is still the rework of the IRQ handling
code (patches 06/22 to 19/22) that, beside simplifying the code, ensures that
the vblank count and timestamp get updated properly in order to be reported to
userspace.

The series is based on top of Dave's drm-next branch.

Laurent Pinchart (22):
  drm: omapdrm: fb: Limit number of planes per framebuffer to two
  drm: omapdrm: fb: Use format information provided by the DRM core
  drm: omapdrm: fb: Simplify objects lookup when creating framebuffer
  drm: omapdrm: fb: Simplify mode command checks when creating
    framebuffer
  drm: omapdrm: fb: Turn framebuffer creation error messages into debug
  drm: omapdrm: Handle FIFO underflow IRQs internally
  drm: omapdrm: Handle CRTC error IRQs directly
  drm: omapdrm: Handle OCP error IRQ directly
  drm: omapdrm: Replace DSS manager state check with omapdrm CRTC state
  drm: omapdrm: Let the DRM core skip plane commit on inactive CRTCs
  drm: omapdrm: Check the CRTC software state at enable/disable time
  drm: omapdrm: Prevent processing the same event multiple times
  drm: omapdrm: Use a spinlock to protect the CRTC pending flag
  drm: omapdrm: Keep vblank interrupt enabled while CRTC is active
  drm: omapdrm: Don't expose the omap_irq_(un)register() functions
  drm: omapdrm: Remove unused parameter from omap_drm_irq handler
  drm: omapdrm: Don't call DISPC power handling in IRQ wait functions
  drm: omapdrm: Inline the pipe2vbl function
  drm: omapdrm: Simplify IRQ wait implementation
  drm: omapdrm: Remove global variables
  drm: omapdrm: Use sizeof(*var) instead of sizeof(type) for structures
  drm: omapdrm: Perform initialization/cleanup at probe/remove time

 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c |   2 +-
 drivers/gpu/drm/omapdrm/dss/dispc.c             |  27 ++-
 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c |   3 +-
 drivers/gpu/drm/omapdrm/dss/omapdss.h           |   1 -
 drivers/gpu/drm/omapdrm/omap_connector.c        |   6 +-
 drivers/gpu/drm/omapdrm/omap_crtc.c             | 127 +++++++------
 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c        |   4 +-
 drivers/gpu/drm/omapdrm/omap_drv.c              | 219 ++++++++++-----------
 drivers/gpu/drm/omapdrm/omap_drv.h              |  51 +----
 drivers/gpu/drm/omapdrm/omap_encoder.c          |   2 +-
 drivers/gpu/drm/omapdrm/omap_fb.c               | 164 ++++++++--------
 drivers/gpu/drm/omapdrm/omap_irq.c              | 242 +++++++++++++-----------
 drivers/gpu/drm/omapdrm/omap_plane.c            |  24 ---
 13 files changed, 418 insertions(+), 454 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list