From patchwork Mon Dec 4 08:45:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Zabel X-Patchwork-Id: 10089793 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A2C86035E for ; Mon, 4 Dec 2017 08:45:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E58528AF8 for ; Mon, 4 Dec 2017 08:45:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1375228B5C; Mon, 4 Dec 2017 08:45:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D9AB228AF8 for ; Mon, 4 Dec 2017 08:45:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D00006E2DF; Mon, 4 Dec 2017 08:45:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 681C16E2DF for ; Mon, 4 Dec 2017 08:45:19 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id 9so4260386wme.4 for ; Mon, 04 Dec 2017 00:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tlLCqbKlvguyKUeN4lQiR/QvBFCOrk415k0gcmZK8F4=; b=lyiIalSzrcP1Jlu1k/lTQLEGNOwx7nAQU/c4T0xoDVKYe6mU5hUa2/AQjij7r6ghS9 PPgc3ImpD9KtIYhF18luL2B1VVM5UQJuEB8ndthy8YBV1wRrLq7zq8zWiN8It9j64K0M V0M89fl6GkLEFYzDDHfeie5uq42dCVlgpdushgBwus+nY3p7spHplTSrG3aptm3n5Q/1 xTYCprxYg2+jX1BFHbFJfLh7D40syFRcCnD2OvjA2OwmhmbnC+ISxJIV+exqW5J+4elN 8J0xZmvyb6PBnHq2CbXwRkgfcbj8YnO3ju4348MJ1ABdrAdbuNeANTJEkca8CPVCZ3bj vTAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tlLCqbKlvguyKUeN4lQiR/QvBFCOrk415k0gcmZK8F4=; b=j6CJAPn9DyXlqQVuaEDYZBQB3QJYAVuD+az3J0mGME9+wnEyRAeB7WtrBt7qMgZqk+ QTKTjmpMe4OPOXMwvjQti+3sSw1IyfosJcMW4YBOqpRTxtn34LUHD31ey6dWLqB9WkmO y5uDzGsb5FCeENsB9fpunbQoky1sRak1okPpeJCUmyNSMwDaC1UUOrdA7hkx/Ci5HYKe IT7CSK/0cvvyGJNkeQuQioDu2klhp16ZKU9gyBgueESSJev+AMoJX3V/dHvw2x0HS3T8 3l+eELuN1Pq2oO0fRHB1vJxm5JIA2K2BPpiZ6L1yhjH85w5yFWr7M7iHZ7cotcxEAN5U 3zmw== X-Gm-Message-State: AJaThX42JanuuTeJEMWjGP8VGhKp5QDGbVqVYqrbsdfgPepEugc2Qb7p GCjrtwJnpTTQMnJEzaJdny4iJQ== X-Google-Smtp-Source: AGs4zMaE2fDGuh5YQ+UCb2aXu1Zydun3i9oA7iLRf5mcVgzwDCV2z9yOOzhmTKQjp6dl8xBc4Vj/lQ== X-Received: by 10.80.138.99 with SMTP id i90mr30254057edi.207.1512377117751; Mon, 04 Dec 2017 00:45:17 -0800 (PST) Received: from ped.lan (ip1f12fa6e.dynamic.kabel-deutschland.de. [31.18.250.110]) by smtp.googlemail.com with ESMTPSA id i16sm7875144edj.77.2017.12.04.00.45.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 00:45:17 -0800 (PST) From: Philipp Zabel To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm/edid: quirk Lenovo Explorer headset as non-desktop Date: Mon, 4 Dec 2017 09:45:05 +0100 Message-Id: <20171204084505.2755-2-philipp.zabel@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171204084505.2755-1-philipp.zabel@gmail.com> References: <20171204084505.2755-1-philipp.zabel@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This uses the EDID info from a Lenovo Explorer "Windows Mixed Reality" headset to mark it as non-desktop. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 80f414ff60e4..ce6837c407ab 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -167,6 +167,9 @@ static const struct edid_quirk { { "OVR", 0x0001, EDID_QUIRK_NON_DESKTOP }, { "OVR", 0x0003, EDID_QUIRK_NON_DESKTOP }, { "OVR", 0x0004, EDID_QUIRK_NON_DESKTOP }, + + /* Lenovo Explorer VR Headset */ + { "LEN", 0xb800, EDID_QUIRK_NON_DESKTOP }, }; /*