From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [REGRESSION] [KMS] [INTEL] Wrong resolution in console and XWindow Date: Wed, 25 Jul 2012 11:29:28 +0200 Message-ID: <20120725092928.GD5396@phenom.ffwll.local> References: <201207251020.47637.maciej.rutecki@gmail.com> <20120725082926.GB5396@phenom.ffwll.local> <201207251054.25498.maciej.rutecki@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <201207251054.25498.maciej.rutecki@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Maciej Rutecki Cc: Daniel Vetter , Linux Kernel Mailing List , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, Jul 25, 2012 at 10:54:25AM +0200, Maciej Rutecki wrote: > On =C5=9Broda, 25 lipca 2012 o 10:29:26 Daniel Vetter wrote: > > On Wed, Jul 25, 2012 at 10:20:47AM +0200, Maciej Rutecki wrote: > > > Last known good: 3.4.4 > > > First bad: 3.5.0 > > >=20 > > > When booting 3.5.0 resolution (in console, and after in KDE) is s= et to > > > 1024x768 (60Hz). In 3.4.4 was correct: 1440x900 (60Hz). > >=20 > > Can you please attach the output of xrandr --verbose for both kerne= ls? > > Also, please boot with drm.debug=3D0xe added to your kernel cmdline= and grab > > the dmesg (again for both kernels). > >=20 >=20 > Thanks for the ansfer. >=20 > Here xrandr and dmesg outputs for 3.4.4 and 3.5.0 >=20 > http://mrutecki.pl/download/kernel/3.5/swinka/debug/ Can you please test this quick hack: diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/in= tel_i2c.c index 1991a44..abe1611 100644 --- a/drivers/gpu/drm/i915/intel_i2c.c +++ b/drivers/gpu/drm/i915/intel_i2c.c @@ -405,7 +405,7 @@ clear_err: * timing out seems to happen when there _is_ a ddc chip present, but * it's slow responding and only answers on the 2nd retry. */ - ret =3D -ENXIO; + ret =3D 0; if (wait_for((I915_READ(GMBUS2 + reg_offset) & GMBUS_ACTIVE) =3D=3D 0= , 10)) { DRM_DEBUG_KMS("GMBUS [%s] timed out after NAK\n", Thanks, Daniel --=20 Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48