From patchwork Sun Aug 12 20:08:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Pilcher X-Patchwork-Id: 1310091 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id B78C6DF280 for ; Sun, 12 Aug 2012 20:11:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E1CD9F620 for ; Sun, 12 Aug 2012 13:11:01 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 212FA9E83C for ; Sun, 12 Aug 2012 13:08:13 -0700 (PDT) Received: by mail-ob0-f177.google.com with SMTP id ta17so5915609obb.36 for ; Sun, 12 Aug 2012 13:08:12 -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=qlAEIt3mSbEpS3yApjJMa3Nb5dtqXSzaFpzSH7/Alug=; b=Jo2549OpZ1pWZOSK+cqzUvexoH6SRKuhRjCBjCnhiI/5ei/iVLeJp41xxswrykzJbS AJZQ00z8uh6++qJE69sz5Jsj5txPmYU4TcU5ZuOwUtLYS5/q8XM1QaazsKoQMtZ73Y5W wcZ9EM8ug5BC58qoeOx8cWsmOzKyC+ENx1DKsCggbaaMp8eNheBKkxG8csCHxn1XEX/6 81cckl4UdRny5ia56OyfaX6c3yNXBurzc9gvdpMPVxPA36r1Xb6UC1XI3ooxzO8VEz9P uHANojxsQAKbNkf+5rqyE1nAWx9ftoYRaPnYYKRz1vqeklliaBYomHv5x7S9ZSeCWxLD gUEw== Received: by 10.182.131.98 with SMTP id ol2mr7779424obb.69.1344802092835; Sun, 12 Aug 2012 13:08:12 -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 k8sm3266152oeh.9.2012.08.12.13.08.12 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Aug 2012 13:08:12 -0700 (PDT) From: Ian Pilcher To: dri-devel@lists.freedesktop.org Subject: [PATCH v4 3/3] drm: Add EDID quirk for LG L246WP Date: Sun, 12 Aug 2012 15:08:00 -0500 Message-Id: <1344802080-9575-4-git-send-email-arequipeno@gmail.com> X-Mailer: git-send-email 1.7.11.2 In-Reply-To: <1344802080-9575-1-git-send-email-arequipeno@gmail.com> References: <1344754732.4980.5.camel@mattotaupa> <1344802080-9575-1-git-send-email-arequipeno@gmail.com> Cc: Ian Pilcher , paulepanter@users.sourceforge.net 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]) and a co- workers ThinkPad X220 with Intel graphics. EDID_QUIRK_NO_AUDIO makes this display work with the Intel driver; nouveau requires EDID_QUIRK_DISABLE_INFOFRAMES. Signed-off-by: Ian Pilcher Acked-by: Paul Menzel --- 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 61586b4..1f50e09 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -160,6 +160,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 | EDID_QUIRK_NO_AUDIO } }, + /* * When adding built-in quirks, please adjust EDID_QUIRK_LIST_SIZE to * provide some room for user-supplied quirks.