From: Lennert Buytenhek Subject: Re: radeon + DVI->mDP converter + mDP display blank screen issue since 3.0 Date: Sat, 24 Mar 2012 18:26:05 +0100 Message-ID: <20120324172605.GO28523@wantstofly.org> References: <20120322124919.GG28523@wantstofly.org> <20120323154446.GK28523@wantstofly.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Alex Deucher Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Fri, Mar 23, 2012 at 03:42:44PM -0400, Alex Deucher wrote: > >>> > Since Linux 3.0, a system with a Radeon HD 5450 (1002:68f9) con= nected > >>> > to a 27" Apple LED cinema display via an Atlona AT-DP400 Dual L= ink DVI > >>> > to Mini DisplayPort converter has started to stop giving screen > >>> > output on switching from text mode to graphical framebuffer dur= ing > >>> > system startup. > >>> > > >>> > I finally had some time to look at this, and it seems to have s= topped > >>> > working after this commit: > >>> > > >>> > =A0 =A0 =A0 =A0commit df271bec805b42527d864777ed035fcbb42e76c0 > >>> > =A0 =A0 =A0 =A0Author: Alex Deucher > >>> > =A0 =A0 =A0 =A0Date: =A0 Fri May 20 04:34:15 2011 -0400 > >>> > > >>> > =A0 =A0 =A0 =A0 =A0 =A0drm/radeon/kms: properly handle bpc >8 i= n atom command tables > >>> > > >>> > =A0 =A0 =A0 =A0 =A0 =A0Signed-off-by: Alex Deucher > >>> > =A0 =A0 =A0 =A0 =A0 =A0Signed-off-by: Dave Airlie > >>> > > >>> > ...and with the patch below (i.e. reverting part of the commit = above) > >>> > applied to 3.3 I get screen output again. > >>> > > >>> > Even though the monitor seems to have an 8 bit panel, it report= s 10 > >>> > bits per channel in its EDID: > >>> > > >>> > =A0 =A0 =A0 =A0[...] > >>> > =A0 =A0 =A0 =A0Manufacturer: APP Model 9226 Serial Number 41959= 462 > >>> > =A0 =A0 =A0 =A0Made week 38 of 2010 > >>> > =A0 =A0 =A0 =A0EDID version: 1.4 > >>> > =A0 =A0 =A0 =A0Digital display > >>> > =A0 =A0 =A0 =A010 bits per primary color channel > >>> > =A0 =A0 =A0 =A0DisplayPort interface > >>> > =A0 =A0 =A0 =A0Maximum image size: 60 cm x 34 cm > >>> > =A0 =A0 =A0 =A0[...] > >>> > > >>> > The (active, dual link) DVI->mDP converter spec sheet says it s= upports > >>> > 24 bit color, and I'm guessing that it can't deal with 30. =A0I= s the > >>> > converter at fault here for passing through the EDID unchanged? > >>> > > >>> > Also, what would be the right way to handle this, a kernel comm= and > >>> > line or module option to limit color depth or something like th= at? > >>> > ("Buy a video card with DP output." is a valid answer, I suppos= e.) > >>> > > >>> > I have no clue at all about graphics, and I have no idea whatso= ever > >>> > what I'm doing here, but I just wanted to post this somewhere f= or > >>> > Google to find in case someone else runs into this! > >>> > >>> I've inquired with out display team on how to best handle this. =A0= In > >>> the meantime, it's probably best to just default to 8 bpc. =A0Doe= s the > >>> attached patch fix your issue? > >> > >> I've been using the patch below in a custom Fedora 17 kernel RPM, = and > >> that seems to fix the issue. =A0Your patch seems to be a superset = of > >> this patch, so logically, your patch should do the trick as well. = :) > > > > Can you try the attached patch on top of my previous one? >=20 > Scratch that. Try this one instead. The 3.3 + 0001-drm-radeon-kms-atom-force-bpc-to-8-for-now.patch + 0001-drm-radeon-kms-improve-bpc-handling-v2.patch combo seems to work fine -- I get display output as expected. Tested-by: Lennert Buytenhek thanks, Lennert