From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: hw state readout support for pixel_multiplier Date: Thu, 6 Jun 2013 14:59:09 +0200 Message-ID: <20130606125909.GF7827@phenom.ffwll.local> References: <1370444517.8530.16.camel@intelbox> <1370515525-7535-1-git-send-email-daniel.vetter@ffwll.ch> <1370519415.23133.5.camel@intelbox> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F269E5BF0 for ; Thu, 6 Jun 2013 05:59:14 -0700 (PDT) Received: by mail-ee0-f47.google.com with SMTP id e49so1169923eek.6 for ; Thu, 06 Jun 2013 05:59:13 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1370519415.23133.5.camel@intelbox> 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: Imre Deak Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Thu, Jun 06, 2013 at 02:50:15PM +0300, Imre Deak wrote: > On Thu, 2013-06-06 at 12:45 +0200, Daniel Vetter wrote: > > Incomplete since ilk+ support needs proper pch dpll tracking first. > > SDVO get_config parts based on a patch from Jesse Barnes, but fixed up > > to actually work. > > > > v2: Make sure that we call encoder->get_config _after_ we > > get_pipe_config to be consistent in both setup_hw_state and the > > modeset state checker. Otherwise the clever trick with handling the > > pixel mutliplier on i915G/GM where the encoder overrides the default > > value of 1 from the crtc get_pipe_config function doesn't work. > > Spotted by Imre Deak. > > > > v3: Actually cross-check the pixel mutliplier (but not on pch split > > platforms for now). Now actually also tested on a i915G with a sdvo > > encoder plugged in. > > > > Cc: > > Cc: Jesse Barnes > > Signed-off-by: Daniel Vetter > > Looks ok, > Reviewed-by: Imre Deak Queued for -next, thanks for the review. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch