[PATCH 0/2] drm: Introduce drm_crtc_index() and drm_crtc_mask()

Thierry Reding thierry.reding at gmail.com
Mon Jan 13 03:46:48 PST 2014


This series is a continuation of a patch posted earlier by Russell. It
addresses some comments from the initial posting as well as from some
discussion on IRC.

Patch 2 makes use of the new functions to replace an open-coded version
in the i915 driver, as suggested by David Herrmann. I've left David's
Reviewed-by in place on patch 1 since it didn't change fundamentally.

Note that I have a pair of patches that rely on this to fix a bug in the
Tegra driver that was exposed by the addition of the panel support, so I
would like to take these two patches through the Tegra tree.

Thierry

Russell King (1):
  drm: provide a helper for the encoder possible_crtcs mask

Thierry Reding (1):
  drm/i915: Use drm_crtc_mask() helper

 drivers/gpu/drm/drm_crtc.c           | 38 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_crtc_helper.c    | 16 +++------------
 drivers/gpu/drm/i915/intel_display.c | 16 +--------------
 include/drm/drm_crtc.h               |  2 ++
 4 files changed, 44 insertions(+), 28 deletions(-)

-- 
1.8.4.2



More information about the dri-devel mailing list