From: Paul Menzel Subject: [PATCH] drm: Add EDID_QUIRK_FORCE_REDUCED_BLANKING for Philips 32PFL5404H Date: Wed, 15 Aug 2012 16:31:07 +0200 Message-ID: <1345041067.4264.16.camel@mattotaupa> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0394715541==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id A52819E925 for ; Wed, 15 Aug 2012 07:31:17 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: Ian Pilcher , stable@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org --===============0394715541== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-pT+La2qBQp/Yl9VzbCjq" --=-pT+La2qBQp/Yl9VzbCjq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 8 Aug 2012 23:12:19 +0200 < ajax> i would preface this whole discussion with the observation that all= tvs are garbage Connecting the Philips 32PFL5404H [1] a garbled screen is shown with vertical stripes in the top half. As written in the referenced Bugzilla #26294 report I am pretty sure this worked sometime before 2010. My guess is that EDID beforehand was interpreted incorrectly =E2=80=93 as probably MS Windows does =E2=80=93 whi= ch made it work. In commit bc42aabc [2] commit bc42aabc6a01b92b0f961d65671564e0e1cd7592 Author: Adam Jackson Date: Wed May 23 16:26:54 2012 -0400 drm/edid/quirks: ViewSonic VA2026w Adam Jackson added the quirk `EDID_QUIRK_FORCE_REDUCED_BLANKING` which is also needed for this Philips TV. The problem is that the Model number is set to zero. I hope this will not break other Philips TVs out there. All log files and output from `xrandr` is included in the referenced Bugzilla report #26294. [1] http://www.p4c.philips.com/cgi-bin/dcbint/cpindex.pl?ctn=3D32PFL5404H/1= 2&scy=3DDE&slg=3Dde [2] http://git.kernel.org/?p=3Dlinux/kernel/git/torvalds/linux.git;a=3Dcomm= it;h=3Dbc42aabc6a01b92b0f961d65671564e0e1cd7592 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=3D26294 Tested-by: Paul Menzel (ASUS Eee PC 701 4G with Debian Sid/unstable connected over VGA) Signed-off-by: Paul Menzel Cc: Cc: Adam Jackson Cc: Ian Pilcher Cc: --- Ian, I did not base this patch on your series, to make it easier to get back ported. I can easily rebase it though, so hopefully some maintainer can tell me what to do. I also do not know if URLs in the quirk comments are considered useful or not. --- drivers/gpu/drm/drm_edid.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index a8743c3..eb452e6 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -111,6 +111,11 @@ static struct edid_quirk { { "LPL", 0, EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE }, { "LPL", 0x2a00, EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE }, =20 + /* Philips 32PFL5404H TV */ + /* http://www.p4c.philips.com/cgi-bin/dcbint/cpindex.pl?ctn=3D32PFL5404H/= 12&scy=3DDE&slg=3Dde */ + /* https://bugs.freedesktop.org/show_bug.cgi?id=3D26294 */ + { "PHL", 0, EDID_QUIRK_FORCE_REDUCED_BLANKING }, + /* Philips 107p5 CRT */ { "PHL", 57364, EDID_QUIRK_FIRST_DETAILED_PREFERRED }, =20 --=20 1.7.10.4 --=-pT+La2qBQp/Yl9VzbCjq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlArsqsACgkQPX1aK2wOHVijYwCfZUZygGl8TkFxtvUy1HiJ/Fyr QgMAnR1XvieFAqBDUpJQVXtzzL2aQNGH =QhZN -----END PGP SIGNATURE----- --=-pT+La2qBQp/Yl9VzbCjq-- --===============0394715541== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0394715541==--