From: Ander Conselvan de Oliveira Subject: [PATCH 0/8] Stage shared dpll config Date: Tue, 21 Oct 2014 16:02:01 +0300 Message-ID: <1413896529-32443-1-git-send-email-ander.conselvan.de.oliveira@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F0C36E202 for ; Tue, 21 Oct 2014 14:47:43 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org Cc: Ander Conselvan de Oliveira , shuang.he@linux.intel.com List-Id: intel-gfx@lists.freedesktop.org This series changes the mode set sequence so that the clock and PLL logic that was done in the *_crtc_mode_set() hooks is done before disabling crtcs. This avoids having to restore the old configuration in the case of failure, since the hardware was never touched. Ander Conselvan de Oliveira (8): drm/i915: Convert shared dpll reference count to a crtc mask drm/i915: Move dpll crtc_mask and hw_state fields into separate struct drm/i915: Add infrastructure for choosing DPLLs before disabling crtcs drm/i915: Covert HSW+ to choose DPLLS before disabling CRTCs drm/i915: Covert ILK-IVB to choose DPLLS before disabling CRTCs drm/i915: Covert remaining platforms to choose DPLLS before disabling CRTCs drm/i915: Remove crtc_mode_set() hook drm/i915: Don't store current shared DPLL in the new pipe_config drivers/gpu/drm/i915/i915_debugfs.c | 15 +-- drivers/gpu/drm/i915/i915_drv.h | 16 +-- drivers/gpu/drm/i915/intel_ddi.c | 6 +- drivers/gpu/drm/i915/intel_display.c | 197 +++++++++++++++++++++++------------ 4 files changed, 150 insertions(+), 84 deletions(-) -- 1.9.1