From patchwork Fri Sep 28 07:03:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Pilcher X-Patchwork-Id: 1517981 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id C40663FC71 for ; Fri, 28 Sep 2012 09:35:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B3F7BA09CD for ; Fri, 28 Sep 2012 02:35:24 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 8211D9E9CE for ; Fri, 28 Sep 2012 00:03:54 -0700 (PDT) Received: by oagl10 with SMTP id l10so2846897oag.36 for ; Fri, 28 Sep 2012 00:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=7I40wjB8SIEd4azTvU9aL6pArE9/QwvZPYUaLBqMJn0=; b=whcAxqaDmvzubmUL3LYcZpAcyRvsH7xZWX7Cue7wvaNlHr6WwunGGjAXs7EZSPInJ7 KUy+7dOm1lGggyLm/TWnjrDbVoFQLseKlE3JSXLTr0RQiaiwxxhis5Vn3kAzc40sNz2J IWxxfIX0vKOeIQR6eLEv+PVhjzxdnsFsy1oj7uYTWYa6qls7M+hht/89rv+8m+KnM8fR KAF6M1CMdpugkWP0r5i7zJP1goprb6WsZ75gOtKUCK73Gahb/mRLlyyxkZUW/Zbf7d19 e6AhGvl7tqLUZCjBWhqUzFdeZK9KYr4FBY95c7gV3M2y1nPya6sXiALmDajw2Ba7GSN0 Bxww== Received: by 10.60.170.109 with SMTP id al13mr5023224oec.126.1348815834028; Fri, 28 Sep 2012 00:03:54 -0700 (PDT) Received: from ian.icp.selfip.net (pool-71-170-109-80.dllstx.fios.verizon.net. [71.170.109.80]) by mx.google.com with ESMTPS id ql3sm7752521obc.17.2012.09.28.00.03.53 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Sep 2012 00:03:53 -0700 (PDT) From: Ian Pilcher To: ajax@redhat.com Subject: [PATCH v5 3/3] drm: Add EDID quirk for LG L246WP Date: Fri, 28 Sep 2012 02:03:44 -0500 Message-Id: <1348815824-12779-4-git-send-email-arequipeno@gmail.com> X-Mailer: git-send-email 1.7.11.4 In-Reply-To: <1348815824-12779-1-git-send-email-arequipeno@gmail.com> References: <50636DEB.8000704@gmail.com> <1348815824-12779-1-git-send-email-arequipeno@gmail.com> Cc: airlied@redhat.com, Ian Pilcher , dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org This display is apparently confused by any InfoFrames (see https://bugzilla.redhat.com/show_bug.cgi?id=806091). Tested on a ThinkPad T510 (nVidia GT218 [NVS 3100M]). Signed-off-by: Ian Pilcher --- drivers/gpu/drm/drm_edid.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 0d788b5..cbd651e 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -158,6 +158,10 @@ union edid_quirk edid_quirk_list[EDID_QUIRK_LIST_SIZE] = { { { { { EDID_MFG_ID('V', 'S', 'C'), cpu_to_le16(5020) } }, EDID_QUIRK_FORCE_REDUCED_BLANKING } }, + /* LG L246WP */ + { { { { EDID_MFG_ID('G', 'S', 'M'), cpu_to_le16(0x563f) } }, + EDID_QUIRK_DISABLE_INFOFRAMES } }, + /* * When adding built-in quirks, please adjust EDID_QUIRK_LIST_SIZE to * provide some room for user-supplied quirks.