From: Zhenyu Wang Subject: Re: [PATCH] drm/i915: Fix DDC bus selection for multifunction SDVO Date: Wed, 28 Apr 2010 10:15:19 +0800 Message-ID: <20100428021519.GB9273@zhen-devel.sh.intel.com> References: <1272053772-6564-1-git-send-email-ajax@redhat.com> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0891936363==" Return-path: Received: from orsmga101.jf.intel.com (mga06.intel.com [134.134.136.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 9645D9E79F for ; Tue, 27 Apr 2010 19:15:21 -0700 (PDT) In-Reply-To: <1272053772-6564-1-git-send-email-ajax@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 Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0891936363== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010.04.23 16:16:12 -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 > cf. https://bugzilla.redhat.com/584229 >=20 I'm worried about anything depending on BIOS table info for everytime. Or if we have a fallback to spec method way to validate if BIOS info really makes sense? As intel_sdvo_select_ddc_bus follows spec to select ddc bus switch, which in most case should be followed by SDVO chip too. We should fix the DDC bus selection issue by check attached_output now and after detection for getting back the real connected output type, instead of fixed in init. --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvXmjcACgkQsQQaM014GCdtXQCfXm/GFDaN5NBIy1C3Y0NyakpD moIAnjK7fO/uUdfyI4FSLs3lIbvgVaPn =tYrr -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw-- --===============0891936363== 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 --===============0891936363==--