From: Chris Wilson Subject: Re: [PATCH 3/5] drm/i915: copy fetched mode state into crtc at setup_hw time v4 Date: Wed, 26 Jun 2013 12:37:23 +0100 Message-ID: <20130626113723.GA13788@cantiga.alporthouse.com> References: <1372199899-5315-1-git-send-email-jbarnes@virtuousgeek.org> <1372199899-5315-4-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (s16502780.onlinehome-server.info [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 58D2CE632A for ; Wed, 26 Jun 2013 04:37:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1372199899-5315-4-git-send-email-jbarnes@virtuousgeek.org> 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: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Jun 26, 2013 at 01:38:17AM +0300, Jesse Barnes wrote: > We already fetch and track other state into the main CRTC and encoder > structs, and for fastboot we need to do the same with the mode and clock > data we read out. > > v2: fix debug print > v3: use fastboot param around state copy > v4: set clock and flags for crtc here instead of in setup_hw_state to_mode (or to_crtc_mode for extra verbosity) makes more sense, and given the ordering of the parameters: intel_crtc_mode_from_pipe_config(). -Chris -- Chris Wilson, Intel Open Source Technology Centre