From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 03/13] drm/i915: add pipe_config->timings_set Date: Wed, 27 Mar 2013 09:59:58 -0700 Message-ID: <20130327095958.189739bc@jbarnes-desktop> References: <1364341502-1184-1-git-send-email-daniel.vetter@ffwll.ch> <1364341502-1184-4-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 oproxy14-pub.unifiedlayer.com (oproxy14-pub.unifiedlayer.com [67.222.51.224]) by gabe.freedesktop.org (Postfix) with SMTP id 4D922E61A9 for ; Wed, 27 Mar 2013 09:59:41 -0700 (PDT) In-Reply-To: <1364341502-1184-4-git-send-email-daniel.vetter@ffwll.ch> 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: Daniel Vetter Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Wed, 27 Mar 2013 00:44:52 +0100 Daniel Vetter wrote: > + bool (*compute_config)(struct intel_encoder *, > + struct intel_crtc_config *); > void (*pre_pll_enable)(struct intel_encoder *); > void (*pre_enable)(struct intel_encoder *); > void (*enable)(struct intel_encoder *); > @@ -203,6 +201,10 @@ struct intel_connector { > struct intel_crtc_config { > struct drm_display_mode requested_mode; > struct drm_display_mode adjusted_mode; > + /* This flag must be set by the encoder's compute_config callback if it > + * changes the crtc timings in the mode to prevent the crtc fixup from > + * overwriting them. Currently only lvds needs that. */ > + bool timings_set; The compute_config function could actually use some kdoc instead of putting it over the timings_set function. It'll need to be expanded to cover all the pipe_config bits eventually, what they mean and when they should be set. -- Jesse Barnes, Intel Open Source Technology Center