[PATCH v2 0/2] Clarify display info PIXDATA bus flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This patch series attemps at clarifying usage of the
DRM_BUS_FLAG_(PIXDATA|SYNC)_(POS|NEG)EDGE flags. It results from a
discussion on the mailing list available at [1].

The problem being discussed was confusion around how the
DRM_BUS_FLAG_(PIXDATA|SYNC)_POSEDGE and DRM_BUS_FLAG_(PIXDATA|SYNC)_NEGEDGE
flags could be interpreted (and are interpreted now by drivers). Patch 1/2
introduces new, more explicit flags, and explains the rationale. Patch
2/2 then updates the drivers to use the new flags.

Compared to the previous RFC series, the DRM_BUS_FLAG_SYNC_* flags have been
addressed too, and the series got rebased on top of drm-next (with one more
use of the old flags being replaced).

[1] https://www.spinics.net/lists/arm-kernel/msg677079.html

Laurent Pinchart (2):
  drm: Clarify definition of the DRM_BUS_FLAG_(PIXDATA|SYNC)_* macros
  drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags

 drivers/gpu/drm/bridge/dumb-vga-dac.c         |  6 ++--
 drivers/gpu/drm/drm_modes.c                   | 12 +++----
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c    |  2 +-
 drivers/gpu/drm/imx/ipuv3-crtc.c              |  2 +-
 drivers/gpu/drm/mxsfb/mxsfb_crtc.c            |  6 ++--
 .../gpu/drm/omapdrm/displays/encoder-tfp410.c |  5 +--
 .../displays/panel-lgphilips-lb035q02.c       |  5 +--
 .../omapdrm/displays/panel-nec-nl8048hl11.c   |  5 +--
 .../displays/panel-sharp-ls037v7dw01.c        |  5 +--
 .../omapdrm/displays/panel-sony-acx565akm.c   |  5 +--
 .../omapdrm/displays/panel-tpo-td028ttec1.c   |  5 +--
 .../omapdrm/displays/panel-tpo-td043mtea1.c   |  5 +--
 drivers/gpu/drm/omapdrm/dss/dsi.c             |  4 +--
 drivers/gpu/drm/omapdrm/dss/sdi.c             |  4 +--
 drivers/gpu/drm/omapdrm/omap_encoder.c        |  8 ++---
 drivers/gpu/drm/panel/panel-arm-versatile.c   |  4 +--
 drivers/gpu/drm/panel/panel-ilitek-ili9322.c  |  4 +--
 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c   |  2 +-
 drivers/gpu/drm/panel/panel-simple.c          | 24 ++++++-------
 drivers/gpu/drm/pl111/pl111_display.c         |  2 +-
 drivers/gpu/drm/sun4i/sun4i_tcon.c            |  4 +--
 drivers/gpu/drm/tve200/tve200_display.c       |  3 +-
 include/drm/drm_bridge.h                      |  9 ++---
 include/drm/drm_connector.h                   | 36 ++++++++++++++++---
 24 files changed, 102 insertions(+), 65 deletions(-)

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux