From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: [PATCH 00/10] basic infrastructure for pipe_config Date: Fri, 22 Feb 2013 00:56:44 +0100 Message-ID: <1361491014-13888-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f171.google.com (mail-ea0-f171.google.com [209.85.215.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 08BA2E60F5 for ; Thu, 21 Feb 2013 15:57:01 -0800 (PST) Received: by mail-ea0-f171.google.com with SMTP id c13so37456eaa.2 for ; Thu, 21 Feb 2013 15:57:01 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org Hi all, This adds the basic pipe_config infrastructure and coverts over the various mode flags plus the pipe bpp handling. On top of that 2 patches to clean up the bpp handling mess a bit and make the code stricter in enforcing its own rules with a few BUGs. Compared to the original submission I've mostly just reordered patches to group them better, but a few other things have changed, too: - Updated patches with Ville's feedback. - vlv has like g4x only 10bpc, not a 12bpc. - Fix a stupid mistake in the vlv/g4x pipe bpp clamping. Oh and the stuff is not tested on a few more machines, but not too through-roughly. Cheers, Daniel Daniel Vetter (10): drm/i915: introduce struct intel_crtc_config drm/i915: compute pipe_config earlier drm/i915: add pipe_config->timings_set drm/i915: add pipe_config->pixel_multiplier drm/i915: drop helper vtable for sdvo encoder drm/i915: add pipe_config->has_pch_encoder drm/i915: add pipe_config->limited_color_range drm/i915: move pipe bpp computation to pipe_config drm/i915: clean up plane bpp confusion drm/i915: clean up pipe bpp confusion drivers/gpu/drm/i915/i915_drv.h | 4 +- drivers/gpu/drm/i915/intel_crt.c | 12 +- drivers/gpu/drm/i915/intel_ddi.c | 27 +- drivers/gpu/drm/i915/intel_display.c | 473 +++++++++++++++-------------------- drivers/gpu/drm/i915/intel_dp.c | 125 +++++---- drivers/gpu/drm/i915/intel_drv.h | 68 +++-- drivers/gpu/drm/i915/intel_hdmi.c | 35 ++- drivers/gpu/drm/i915/intel_lvds.c | 33 ++- drivers/gpu/drm/i915/intel_sdvo.c | 55 ++-- drivers/gpu/drm/i915/intel_tv.c | 14 +- 10 files changed, 406 insertions(+), 440 deletions(-) -- 1.7.11.4