From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: [PATCH 0/2] drm: Introduce drm_crtc_index() and drm_crtc_mask() Date: Mon, 13 Jan 2014 12:46:48 +0100 Message-ID: <1389613610-21084-1-git-send-email-treding@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org, Russell King List-Id: intel-gfx@lists.freedesktop.org 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