From: Eric Anholt Subject: Re: [PATCH] drm/i915: Fix DDC bus selection for multifunction SDVO Date: Fri, 07 May 2010 14:41:34 -0700 Message-ID: <87aasb75kh.fsf@pollan.anholt.net> References: <1272053772-6564-1-git-send-email-ajax@redhat.com> <1272997048.25350.1261.camel@atropine.boston.devel.redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0032542802==" Return-path: In-Reply-To: <1272997048.25350.1261.camel@atropine.boston.devel.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 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: Adam Jackson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0032542802== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 04 May 2010 14:17:28 -0400, Adam Jackson wrote: > On Fri, 2010-04-23 at 16:16 -0400, Adam Jackson wrote: > > Multifunction SDVO cards stopped working after 14571b4, and would report > > something that looked remarkably like an ADD2 SPD ROM instead of EDID. > > This appears to be because DDC bus selection was utterly horked by that > > commit; controlled_output was no longer always a single bit, so > > intel_sdvo_select_ddc_bus would pick bus 0, which is (unsurprisingly) > > the SPD ROM bus, not a DDC bus. > >=20 > > So, instead of that, let's just use the DDC bus the child device table > > tells us to use. I'm guessing at the bitmask and shifting from VBIOS > > dumps, but it can't possibly be worse. >=20 > Just to follow up on this, we're shipping the following two patches in > F13 gold kernel: >=20 > http://cvs.fedoraproject.org/viewvc/rpms/kernel/F-13/drm-intel-sdvo-fix.p= atch?revision=3D1.1&content-type=3Dtext%2Fplain&view=3Dco > http://cvs.fedoraproject.org/viewvc/rpms/kernel/F-13/drm-intel-sdvo-fix-2= .patch?revision=3D1.1&content-type=3Dtext%2Fplain&view=3Dco >=20 > And, combined, they appear to fix DVI-I on at least one machine: >=20 > http://bugzilla.redhat.com/584229 >=20 > I'm still skeptical of any approach that involves having to guess which > DDC bus belongs to which connector. The only thing that seems remotely > sane to me is trusting the wiring table in the SDVO card itself. Applied those two. The fact that we're exposing 2 connectors for this situation is bogus in how the KMS architecture is supposed to work, right? I mean, we've got 2 "outputs" in this encoder going to one physical connector. The user should see one connector, and the encoder+connector should sort out how to program the encoder for that situation. Would having the same DDC bus for the child devs be a good enough indication that we should have one SDVO encoder/connector for them and they get to light up one SDVO encoder to the connector at a time?=20 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvkiQ4ACgkQHUdvYGzw6vd5QQCdE+GuchOoLekDAnuVmopY+0aK CQ0An179XVduGgAiZ0ax6OXnpoMh6yCY =hhrA -----END PGP SIGNATURE----- --=-=-=-- --===============0032542802== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0032542802==--