From patchwork Mon Feb 19 17:59:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Zabel X-Patchwork-Id: 10228453 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 75B6B60392 for ; Mon, 19 Feb 2018 18:00:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6746428B27 for ; Mon, 19 Feb 2018 18:00:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BFE628B2B; Mon, 19 Feb 2018 18:00:16 +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 1C82128B27 for ; Mon, 19 Feb 2018 18:00:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D6BB6E2AA; Mon, 19 Feb 2018 18:00:14 +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 BB8A46E2A9 for ; Mon, 19 Feb 2018 18:00:12 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id 191so9677545wmm.4 for ; Mon, 19 Feb 2018 10:00:12 -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=adQzr2iaZBDQ/vs64sZvnJ5EYzCNHZ/fi+FKQGSQpno=; b=ZS4425pG5gWWu/1jyGdH8bflh+Qu9PxmtzowCyMoc+S/VFzoSwVu49B+9lQTKEAD2u xmi0KQjsKomD9EEZrv+uopTLTHIoW91OenH5aFbM91MzcMNjcfE0KvnsLiKiJPzw+Ggz B16pzTlRwHthTFSbWb5QF9ee9iIe++OvkjWduw1ZIo2bFafdM24fDgD5NLfe5+vHkgsT BbsIPNXZKvdU0NDEXtgWqQ237a7ZO8bJ2W/EbZcNVdJjxrrF8xpt4GuIl89K/JZ/QhG1 JBOql/tKyL2V78awIod96OBZXDBnoq3EukJnNuH0dsvy82iy7aciSmBhXESx1/mLVNz+ 40rg== 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=adQzr2iaZBDQ/vs64sZvnJ5EYzCNHZ/fi+FKQGSQpno=; b=jZhAqZiEO6BIh/YbNv1XuHXhDTtdbQh7bOldIMBU4oeDd0JjHgymKj5B0nw8u/a85O DY2S4t+Rn6E2lvlG76aQ/iU7LHOhiV4Y8DrRpcNW9tRUyqhAuoWomBXQiE0dg31pAopc D0gB7jIZWM+gvSSUbdcV17S6tJwCuS5bqLurF9pHgwAUNAKjvjUh/K4Z22EY6YAzW3O3 +aUlR7IBlVKuoVKhlEj6pmIGXWGr/05f0JtiZQXFqDZ24085z9T9OrCi9tS3gwFCtxcS 1zCK5aNidg1051wVrNvM4R2P491W2CAlQW3c0vliJwNz6gxyB5FXpDO3tm0uuBkdyKXA AdaA== X-Gm-Message-State: APf1xPALA66g0+ceCdqdiQIJ0zYFNjnzqPOB0UU2fTGqStz0VjlZSrBs /nC74hdV0hGdVaSqsEl2AF9n2w== X-Google-Smtp-Source: AH8x226d2JjeCr+y70pdm7Zk84kH2/zGx3VoYg1aUgptPMwz9eepcfh8CY0noo9Cq4UnITterpLq+g== X-Received: by 10.80.182.38 with SMTP id b35mr21122062ede.279.1519063210888; Mon, 19 Feb 2018 10:00:10 -0800 (PST) Received: from ped.lan (ip1f12fd3d.dynamic.kabel-deutschland.de. [31.18.253.61]) by smtp.googlemail.com with ESMTPSA id z8sm17785734edi.11.2018.02.19.10.00.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 10:00:10 -0800 (PST) From: Philipp Zabel To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/3] drm/edid: quirk Windows Mixed Reality headsets as non-desktop Date: Mon, 19 Feb 2018 18:59:37 +0100 Message-Id: <20180219175938.20713-2-philipp.zabel@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180219175938.20713-1-philipp.zabel@gmail.com> References: <20180219175938.20713-1-philipp.zabel@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie 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 Lenovo Explorer (LEN-b800), Acer AH100 (ACR-7fce), and Samsung Odyssey (SEC-144a) to mark them as non-desktop. The other entries are for the HP Windows Mixed Reality Headset (HPN-3515), the Fujitsu Windows Mixed Reality headset (FUJ-1970), the Dell Visor (DEL-7fce), and the ASUS HC102 (AUS-c102). They are not tested with real hardware, but listed as HMD monitors alongside the tested headsets in the Microsoft HololensSensors driver package. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/drm_edid.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 15cae50f66ba..f41c4693471c 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -167,6 +167,16 @@ static const struct edid_quirk { { "OVR", 0x0001, EDID_QUIRK_NON_DESKTOP }, { "OVR", 0x0003, EDID_QUIRK_NON_DESKTOP }, { "OVR", 0x0004, EDID_QUIRK_NON_DESKTOP }, + + /* Windows Mixed Reality Headsets */ + { "ACR", 0x7fce, EDID_QUIRK_NON_DESKTOP }, + { "HPN", 0x3515, EDID_QUIRK_NON_DESKTOP }, + { "LEN", 0x0408, EDID_QUIRK_NON_DESKTOP }, + { "LEN", 0xb800, EDID_QUIRK_NON_DESKTOP }, + { "FUJ", 0x1970, EDID_QUIRK_NON_DESKTOP }, + { "DEL", 0x7fce, EDID_QUIRK_NON_DESKTOP }, + { "SEC", 0x144a, EDID_QUIRK_NON_DESKTOP }, + { "AUS", 0xc102, EDID_QUIRK_NON_DESKTOP }, }; /*