From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 4/4] drm/i915: use current mode if the size matches the preferred mode Date: Thu, 23 Oct 2014 12:23:53 +0200 Message-ID: <20141023102353.GE26941@phenom.ffwll.local> References: <1412884665-16766-1-git-send-email-jbarnes@virtuousgeek.org> <1412884665-16766-4-git-send-email-jbarnes@virtuousgeek.org> <20141021145302.GM26941@phenom.ffwll.local> <20141022084232.4b0689b9@jbarnes-hsw> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by gabe.freedesktop.org (Postfix) with ESMTP id 7CD7B6E3F5 for ; Thu, 23 Oct 2014 03:23:46 -0700 (PDT) Received: by mail-wi0-f174.google.com with SMTP id q5so306662wiv.1 for ; Thu, 23 Oct 2014 03:23:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20141022084232.4b0689b9@jbarnes-hsw> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org, shuang.he@linux.intel.com List-Id: intel-gfx@lists.freedesktop.org On Wed, Oct 22, 2014 at 08:42:32AM -0700, Jesse Barnes wrote: > On Tue, 21 Oct 2014 16:53:02 +0200 > Daniel Vetter wrote: > = > > On Thu, Oct 09, 2014 at 12:57:45PM -0700, Jesse Barnes wrote: > > > From: Kristian H=F8gsberg > > > = > > > The BIOS may set a native mode that doesn't quite match the preferred > > > mode timings. It should be ok to use however if it uses the same siz= e, > > > so try to avoid a mode set in that case. > > > = > > > Signed-off-by: Kristian H=F8gsberg > > > Signed-off-by: Jesse Barnes > > = > > Why exactly does this fail? Is the clock off slightly or are the timings > > off? > > = > > I just wonder whether we should check vrefresh to make sure the bios > > doesn't sneak a low refresh rate mode past us (from stuck drrs or > > whatever). > > = > > /me thinking a bit paranoid again. > = > Yeah you asked this same thing last time. IIRC it's not a lower clock > rate like DRRS, but rather different timings. But Kristian will have > to post them. Yeah, I get points for being consistent! And this time around I didn't even realize it ;-) > Kristian, can you please post the mode lines from the EDID on this > machine and the ones the BIOS sets at boot up? Yeah, I think we should put the full timing data for the bios and edid mode into the commit message. That way we can later on inspect the situation again in case of new kinds of brokeness. Cheers, Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch