From: ville.syrjala@linux.intel.com Subject: [PATCH 00/11] drm/i915: adjusted_mode.clock vs. port_clock v3 Date: Fri, 6 Sep 2013 23:28:57 +0300 Message-ID: <1378499348-4281-1-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 3E62FE5C21 for ; Fri, 6 Sep 2013 13:29:18 -0700 (PDT) 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-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Another day, another attempt. This series replaces the earlier attempt: [PATCH 0/8] drm/i915: adjusted_mode.clock vs. port_clock v2 The main new idea is to make it the encoders' responsibility to calculate adjusted_mode.clock. In order to do that I had to add DP M/N extraction and i9xx_crtc_clock_get() had to be improved so that it can dig out the PCH DPLL frequency. The rest is more or less the same old. As a bonus we now get to cross check the FDI's idea of dotclock against the encoder's idea. Also now CTG too can calculate the dotclock from the DP port_clock. I don't think that could have worked before as the DPLL was running at the DP link frequency, so we read that out into adjusted_mode.clock and then compared it with whatever the user requested. Not the same thing at all. But now it should just work (tm). I gave it a quick whirl on my ILK eDP + DP, and IVB HDMI and DP. Neither machine started to yell at me, so I think it's in a semi-decent shape at least. Unfortunately I don't have a CTG w/ DP so I can't test that part, nor do I have any SDVO/DVO hardware.