Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1447937rwd; Thu, 8 Jun 2023 18:59:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6hVyNJREfU2StJZwmAAeqBofFLJTSEJjKNFXbpmStwVDQG7iiCtcravMsi1b8kDMO0ahIN X-Received: by 2002:ad4:5f4b:0:b0:628:c4c8:4afb with SMTP id p11-20020ad45f4b000000b00628c4c84afbmr328467qvg.60.1686275962891; Thu, 08 Jun 2023 18:59:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686275962; cv=pass; d=google.com; s=arc-20160816; b=zHLfGcpQLbZSozs/ZTaqPT9pwe8EZKersE42AX4rmYYDs0expGnYzNPnSX2CcAVA2T MptMROnozRCqqZCNtKT1XPh49QcfJEhvkZzDl8aP840x1FHI228rnQJjtvMaVv3pDzSz SDjQnJsgJq6ECS7RB8aQ3Xh6f1Id5zI3hypWN2Vh9N235HFXl2sSNnpbzk1lCQ+KrhZT kH7ihFlCyoxIS9CwpqCjgRa9ikMGVu423Ow+3PARtjY7nt++3FdOr6JkJn5SczZ49V7q b9IJpXrOsBxQFqm7F3ZYDvOWh548p2zvDP4xTVftCPEabi/pXabEUA5K2bVyzmRNJXmb vE/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=10uY/6deE3Ji6VJVJXeKf0l85qg1gW7R+FtycbcGRTo=; b=XEyTWgzrmqLbneOoD/PmzkyfFfKrNt5KpF0Ijz4vTpNJWEsP7beud2rX/i/QrDEN67 IT8EwndEog9Mi0jdaL6gq9mncFgLcqhm3FO25v9JjxreU5dmGaLjKtDqTDv1fllUQXeQ dhe3vwWRi0/zRKbQBp+jeHOCDbJspK3syNqcIuG+x96SFmuRoS61Rp6R2irta5TSdKS4 YmQRt67MstKLNahlxWVRWVTBayrIGEjg19cC+WGgseBDF7k7SAZH123t4sagyAtIX0B1 FxS0KVziNkxEGHNEmZ/G7rBVFDfl4recTLPa0C8sewy8InfVMwg2bqW1m9pKWrcBcpKO 6Wgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=EQo88kH6; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a17090301c700b001b1cdef2654si1849384plh.645.2023.06.08.18.59.09; Thu, 08 Jun 2023 18:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=EQo88kH6; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237200AbjFIBmj (ORCPT + 99 others); Thu, 8 Jun 2023 21:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjFIBmh (ORCPT ); Thu, 8 Jun 2023 21:42:37 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CED75132 for ; Thu, 8 Jun 2023 18:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ArSULNcN2Dc3GyHzbUEfczXVQOtp/MqD9RcULoqyj/Zfoefb5njKhQqeNMWqOVVn7Wzj+PjvoQ9XFjK8JHbypfCpxk8Fkg9MjHf3/QbQFl/Q01Xx6vBrMziyuxZPASDYjel+7BeoO15rSM7Z+4kSTUTVm3mnIEZTbceLdQNL1e94tUCnALWElvL2zhJVbLjCEFvDAKPn6OKHleGvRhgY2GOMF5oV/kYHLDJapAnY7ghaNAwoNh7LMuBNG5Jks5AwsU93QyK/pNtLqsKPm0IIjhlIsST1IG7Eb79wmw2Kh2NbYO+zvBhHMC88x6nXsfPXSBx4cJMKHH6RZTOXZauXNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=10uY/6deE3Ji6VJVJXeKf0l85qg1gW7R+FtycbcGRTo=; b=WjcvruAHcj3CQGa9dNLTFgsaUvHlBZi0RvFcDrLsXF4vALOn0MeTesZDsTolAFySuleyJCs+QyNKe3fpTjyQCADLNLzhxofc3dFSokANnYAzN5CNGftWfnIRjmiztEWWBzflLMWH0AEHLw+MsRsCQz/49JhULfjExL09Ay4jV2FUUe03gOYB2udXJf21BAu5RaY3Zor0BbvLoy9mjnqdYwzvNw+tFz8GYvPN67KxGEgJEhR5WcqWKMyAxkGcYyqGNncbLUn56xJUtoIoythCMEoL4MwYW7iuDoiD/l1GJRa31heCni6fuz01OHUPbBDA5E6oAyQ9sPVd+J+zRz4YKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=lists.freedesktop.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=10uY/6deE3Ji6VJVJXeKf0l85qg1gW7R+FtycbcGRTo=; b=EQo88kH6GZ3f7I0IKF6PqMoATdmVpq/OiksKQEnvZMGzUCifJkMGO7wRj097nU7ZX9ikwnXKROW7hptqXlXhLbxp5WUjMVZBNqmCsJ7O7WdFD6SZpti+qk7nFpnu4rfxTS+qtkNf1Vs6QlxixmoHWzTAkPIosBc98qha640zzfKgqZrk8tTdx+2Ja2zZA/qGmvGUnMZHr6Zr3kIIvNVAOb9KPi+9Ij/5+7P49+T0g+N3MdvqQAJAG9YqURgsDdCkCTouxQ4Cf4Qwbh4/V7euFX1IEJufdLazDQwybn8JvhMjcNrDC21gUDS0sQ33zUP4FMvlqdrUheBk/gCCH1PPBw== Received: from MN2PR12CA0030.namprd12.prod.outlook.com (2603:10b6:208:a8::43) by SJ1PR12MB6050.namprd12.prod.outlook.com (2603:10b6:a03:48b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.36; Fri, 9 Jun 2023 01:42:34 +0000 Received: from BL02EPF000145B9.namprd05.prod.outlook.com (2603:10b6:208:a8:cafe::ea) by MN2PR12CA0030.outlook.office365.com (2603:10b6:208:a8::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19 via Frontend Transport; Fri, 9 Jun 2023 01:42:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by BL02EPF000145B9.mail.protection.outlook.com (10.167.241.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.13 via Frontend Transport; Fri, 9 Jun 2023 01:42:33 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 8 Jun 2023 18:42:26 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Thu, 8 Jun 2023 18:42:26 -0700 Received: from rcampbell-dev.nvidia.com (10.127.8.9) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Thu, 8 Jun 2023 18:42:26 -0700 From: Ralph Campbell To: , CC: Jani Nikula , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Ralph Campbell Subject: [PATCH] drm/edid: Add quirk for OSVR HDK 2.0 Date: Thu, 8 Jun 2023 18:42:07 -0700 Message-ID: <20230609014207.2759720-1-rcampbell@nvidia.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF000145B9:EE_|SJ1PR12MB6050:EE_ X-MS-Office365-Filtering-Correlation-Id: ab16d5bb-27a5-4ebb-c31b-08db688acbe9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D6fWepjgxSohPSsr8PgW9DguEcQTCM/tJcg/jYlj2vWwmis8eDSyZ0L8Eh8/niv1GWbiqbivROX0q7EhhFolhdoEA5MVjCgl4r5sDAxx98l2LHDE3Pzwuxay92c1Tlw8JS7PEmtkHrLUsXeZRl/SAjbnlnEfIRMccgpWRDHP9HQVAaNrg4Pq7swJIq9WYddb5Adl+gG/rtjAJP07p1Pxvq9U3Fi4IlSH7UNQAKWkv/IYJogd1FtOVx1ry1am1u39VaKE4hMnIFhr7Srz/+NjspNB6oEU8p8xlq52GtWn7lcZ4H6q/5eR0nZww9FakePgANiGXwNYqgPaVF4tP9dXNoiiTaEDYgV4ZUJLIfA5AG+OVk/F7cli7ZuqNCITbcy1RA/X9G+Z6UW7u7z18nOtHDBh7kZw/5iBdcd8vByAiL7rdtn4vq11RELwmDv/dlIVANCLBLA+PZG+odZV9ld8nJhPcRs0hyMOm2QeiOWW+c9l8hQRpBa9HgLFhPtOb6GvXOWwB/543XTyYtsrkA5bBMH6UiKOvcv9lHr9O3Ykgm8aRIja7RUxPVR9bxau1XW8mbgY0FJW9ERD6dqs7jBFp+8nEhiA+4YZYNRN03K8ZlkSVCa6bV4bRh9Pl/qdT4ydKRHnoDT/cqMnk+YmPzav1ctwiXrYz52YmfrHH13xUQb0WXYUYO6K9BQ0PWf/vplN3kDvNLAp1RpMGJpGXzZoxUxXKaYHTMVeSWcchltv5r9PvyloUuvHmFFBrN0wgjhr X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(39860400002)(136003)(396003)(346002)(451199021)(36840700001)(40470700004)(46966006)(107886003)(186003)(1076003)(26005)(2616005)(82740400003)(426003)(336012)(47076005)(6666004)(36756003)(7696005)(54906003)(2906002)(36860700001)(82310400005)(8936002)(8676002)(110136005)(40480700001)(478600001)(41300700001)(316002)(5660300002)(40460700003)(4326008)(86362001)(7636003)(356005)(70206006)(70586007);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 01:42:33.6896 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab16d5bb-27a5-4ebb-c31b-08db688acbe9 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF000145B9.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6050 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The OSVR virtual reality headset HDK 2.0 uses a different EDID vendor and device identifier than the HDK 1.1 - 1.4 headsets. Add the HDK 2.0 vendor and device identifier to the quirks table so that window managers do not try to display the desktop screen on the headset display. Signed-off-by: Ralph Campbell Tested-by: Ralph Campbell --- drivers/gpu/drm/drm_edid.c | 1 + 1 file changed, 1 insertion(+) I don't know how many of these VR headsets are still around but I have a working one and I saw and entry for HDK 1.x so I thought it would be good to add HDK 2.0. diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 0454da505687..3b8cc1fe05e8 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -230,6 +230,7 @@ static const struct edid_quirk { /* OSVR HDK and HDK2 VR Headsets */ EDID_QUIRK('S', 'V', 'R', 0x1019, EDID_QUIRK_NON_DESKTOP), + EDID_QUIRK('A', 'O', 'U', 0x1111, EDID_QUIRK_NON_DESKTOP), }; /* -- 2.40.1