[PATCH v2 00/20] OMAP DRM fixes and improvements

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Jun 6 23:42:05 UTC 2016


Hello,

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

All comments received for v1 have been taken into account. Changes since v1
include

- Rebase on top to Tomi's 4.8/omapdrm branch and drop already merged patches
  (git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git)
- Drop "drm: omapdrm: Remove buffer synchronization support" (23/23)
- Replace "drm: omapdrm: fb: Don't store format BPP for each plane" (02/23)
  and "drm: omapdrm: fb: Store number of planes in format structure" (03/23)
  with "drm: omapdrm: fb: Use format information provided by the DRM core"
  (02/20)

Individual changelogs are available in the patches.

The most notable change in this series is still the rework of the IRQ handling
code (patches 06/20 to 19/20) 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 now based on top of the "[PATCH 0/4] Centralize format
information" series I have just sent to the dri-devel mailing list.

Laurent Pinchart (20):
  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: Use atomic state instead of local device state
  drm: omapdrm: Only commit planes on active CRTCs
  drm: omapdrm: Check DSS manager state in the enable/disable helpers
  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: Make pipe2vbl function static
  drm: omapdrm: Simplify IRQ wait implementation
  drm: omapdrm: Remove global variables

 drivers/gpu/drm/omapdrm/dss/dispc.c  |   1 -
 drivers/gpu/drm/omapdrm/dss/output.c |   6 +
 drivers/gpu/drm/omapdrm/omap_crtc.c  | 121 ++++++++++--------
 drivers/gpu/drm/omapdrm/omap_drv.c   |   6 +-
 drivers/gpu/drm/omapdrm/omap_drv.h   |  51 +-------
 drivers/gpu/drm/omapdrm/omap_fb.c    | 170 ++++++++++++------------
 drivers/gpu/drm/omapdrm/omap_irq.c   | 242 +++++++++++++++++++----------------
 drivers/gpu/drm/omapdrm/omap_plane.c |  24 ----
 8 files changed, 305 insertions(+), 316 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list