Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2410444rwd; Fri, 9 Jun 2023 10:44:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5YHx+wel/zdoq4wu+DgoHUNq+XlrmpXT9Iegf7yWbkwbRUykNdP2loye9pfNBjOH7D9J4G X-Received: by 2002:a17:902:d488:b0:1ac:8cd6:9323 with SMTP id c8-20020a170902d48800b001ac8cd69323mr1722985plg.22.1686332672323; Fri, 09 Jun 2023 10:44:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686332672; cv=pass; d=google.com; s=arc-20160816; b=DQglnSZyzqvLdfZU4FnC9vLMOmUgraUtgCbEVQV0+a0eo/shqgojIVyxjjTLMG+fW6 3PQU/2qnisH4BBUF2EedaIzyGASG8N1lDWIorRiJR6H0Jt3T2IVAtFvk2G1sc4kXawTZ FoXfcx0s44xKkFpP4o64RhG4huyUx19WRuaL4mAE4iW+GVeAJs0jOEebW9LugQriAOoy 7XxGt/vau0Gha/wt614t0ZfAniHhGsuOu0hFyVa/orVJBC3Zgg9sns45A5dFUuwsiOI0 5qdBRooxbCXquGdZDnLtK1wuMJX8XYdohIIOwrJTbsKYvt5FQiFxvg+QULUhlNd1krY2 BnAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=KQXDtsK71Oyvnkv/hgTRdMyO2lIhXtd6FwnGBMus6LM=; b=jmZ3ttvuYTXuQzj+EVT7ou6Pa6hyBds5/TSgntYT/PZyPHdeFidVI0Th7wumE2tI0F uv/QMGgpxs4VsPjOe1fvaHqdNezAeRvgD3mDto3VTRrXeumj+btcqIqQFsvOvVE41/aK 4TmmqmOQ4QGNFpotOw7ucX8S9wOVKSInYBj7BKnt13JceRKKi80DPTnhij4oMOXfdapf XTPklLDCmmuJt9HCqC86c5+D0yFJKYgv7co4np4u1pfY6CyOEP3AtsG/Hp7lfy6pTANx yrgpUdwXMI2f5v2c73MK1E+HWvcXox3EIHJuUvxUSpPCTs2CmTv+oMgk6Mjk9zFbc5dY MhuQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=kWmq5nBq; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=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 kr4-20020a170903080400b001ae5fe35b6esi321512plb.261.2023.06.09.10.43.57; Fri, 09 Jun 2023 10:44:32 -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=kWmq5nBq; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=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 S229513AbjFIRaI (ORCPT + 99 others); Fri, 9 Jun 2023 13:30:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjFIRaD (ORCPT ); Fri, 9 Jun 2023 13:30:03 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2045.outbound.protection.outlook.com [40.107.243.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54DC430F1 for ; Fri, 9 Jun 2023 10:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ExBSp18Ojy9R8s++jeHlrYsY7LXX0k18DPMJbQ2Wnf8Fop2MpJJYmelSHGHiQy+2tY/cNucn281QmZhmupZx2GKJrwtwS+S0PJD4PT+tSSaVjjAh9fRrnT02RezMOLDpY15l0SLSaP6jwSQfWZ9qTuxMmEdisuMa+VAAlZf6ousagRbyyOW4A64/7ovgAT+I4W0wR6ydVu89hN7kq8/px8u5/6OqdsydfHiYl3tYCvE4VrlviJV9ZGCYbetOOz+AEOPkIm/Yuyx0MMNgcB1gWcRROzPAKyoAyOYx/eLm7oTTa+ivQ8WpD5uDlYmF9vUVu11ZwaQBOvLlm4BQuP7ACA== 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=KQXDtsK71Oyvnkv/hgTRdMyO2lIhXtd6FwnGBMus6LM=; b=f8Tymvfokzc8dZTUhPFShS/OOgTVdf9+YjnJ43T8RUb0kMAkT8bJViECq8yMubISkC8y2e27setwQ8KTWTrxVny0njdCWCezVCAvPXykBd4a+L9TdJqLofis7Z5T/sQuX0m0Azr0PoHVssOrjBoZN01n9G14qezsAiFCiub29nL1Cpii1djBk4keFbySDjX7J77W3X4Cq6CI3v0iiWIneTvlewBktnvqo9q6DShclo14D/Hn8kIpJ1zCYFGfRAh6L5RfszTSne+Y4iM0kIBd0OIiB4lk9cdSiI8AYvUbvSbfwBSUWhvQkX94chnGBA4vkfuuyV9NsETRkJq0/+WBUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=KQXDtsK71Oyvnkv/hgTRdMyO2lIhXtd6FwnGBMus6LM=; b=kWmq5nBqxWIlywGCrQdQNpMztN8238lsJIWfKA+hm+5MxqUgktJ6qzR7v3eOGWA+U0vIW39PVjs38ccjqtA6xKZM9D6/iSK7OrJ5FWlWTVkc/rf7VSpLYf6Bux85wWGJlQaduaOuNhXI7L/GtgnSKASW93Q4WWU6eeyAuVQz+k15P/AG2XbeLN3q6rjS0gSKmKZio1u8rTr98rbOsiLP5dUz4YB8Ucjv6o4vek0YkNL8YYbWGC2FnP9JY62sgl20Z3Elk0JINipYC9euv90Fvx1eKtgEqeZHGWuU8GrkqFcTiaiF+Kllgqmua82dADTgRMSsIOuyB9CXN7hRWd3kRg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN0PR12MB6150.namprd12.prod.outlook.com (2603:10b6:208:3c6::11) by BN9PR12MB5273.namprd12.prod.outlook.com (2603:10b6:408:11e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.34; Fri, 9 Jun 2023 17:29:59 +0000 Received: from MN0PR12MB6150.namprd12.prod.outlook.com ([fe80::a029:8008:ffa4:8ef6]) by MN0PR12MB6150.namprd12.prod.outlook.com ([fe80::a029:8008:ffa4:8ef6%7]) with mapi id 15.20.6455.030; Fri, 9 Jun 2023 17:29:59 +0000 Message-ID: <09cc666a-bc52-44b3-230c-26dc705c5a56@nvidia.com> Date: Fri, 9 Jun 2023 10:29:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] drm/edid: Add quirk for OSVR HDK 2.0 Content-Language: en-US To: Jani Nikula , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter References: <20230609014207.2759720-1-rcampbell@nvidia.com> <87y1ktqa75.fsf@intel.com> From: Ralph Campbell In-Reply-To: <87y1ktqa75.fsf@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0354.namprd03.prod.outlook.com (2603:10b6:a03:39c::29) To MN0PR12MB6150.namprd12.prod.outlook.com (2603:10b6:208:3c6::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6150:EE_|BN9PR12MB5273:EE_ X-MS-Office365-Filtering-Correlation-Id: 97fbd32b-3e82-47df-7c7c-08db690f2658 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GLPf7uzm0SyZxMxgMpeQsLaS2APj6LyatL7/LqivJhSxS6uwEBkzbTr+oP6R9EKl6y7xUWkGMIvfCJDE9Shsj5SqtrJg3jcXDp0Lgau2mz1PzeHN2mS4iH1xbJI8yUi0cIHPofgnAnxkP0KFTgdP0x2cQCVPIVmfvIdBcHJtFXSv+RgKJBJucB0bDlIb17vqQbNUBdt8jcnTuroK7pL+vaPQ/3wHbK9CzdxNIrAyVKs2Lx54iBjPmfrS3Cqrbe/iGO6iB/JAc4rvzVo9aVWHjVfNUTU6GWztazK7BB7wh02BFhuIeHu6siJ2Piamc26Vaqgo/qG2MF17iVqavi0V0ozpk7UifGpA52etkGjIqxCw2TGyuQx0SQO8st7fQ+m/8QfpERS+MggQyKcJK7Ps+fK177tiXsTPRLTCNIRL2zmFj1g8BWbZRGHTXZ/tWixza+kP7nWGAWtf4Q28vadkkuMppkk0bPd/UaAetdnH0SrMK8l60TuuFthGlyPaWqj6LxYFQ2rv4QRXH74gFPuIDFMeEOYxWXa7iNvr0xSwdGz3OOrC2dPKzwUyQ2L+Rkb/vtZMnL7yN4JC2/4EpGYssB5e7bVpTTHM9vmjvdi1XQAtLHnJIC3hf1S9jB6JEnQekgeP3mpR3+EqvUwBAE4lSQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6150.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(346002)(136003)(396003)(366004)(376002)(451199021)(41300700001)(478600001)(6666004)(186003)(83380400001)(8676002)(8936002)(45080400002)(316002)(6506007)(6512007)(31686004)(26005)(4326008)(66946007)(66476007)(66556008)(38100700002)(53546011)(31696002)(2906002)(5660300002)(36756003)(54906003)(86362001)(6486002)(2616005)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VU1CbS9EaFB5UmJyT1VmSy9FallTWE4xWjIrS3NIWUg1MERkS01HdnhZcjVT?= =?utf-8?B?ZzZxZHF0LytRUFBXSDFrNlpPUVJaYi9yU29qcVRFc3FiVXhxdmhLMERHKys4?= =?utf-8?B?TmlmWXhLWDcvL0RXdE93eUFiQmJ5cEtvb1Fqa2JEZVRkOEFmWGRSdmdOL1g4?= =?utf-8?B?S3h0Qi9uM2NDSTJGaXhieEE1Q2ZsRkR0UkN6Nit5MkNFdEE1OGhXcXNzeTdT?= =?utf-8?B?UEw1Ym5DcnYxa1U5dlJlSEp5T294WEp5VGVKTFhOMXdKeVZtMENCdW5CQnJq?= =?utf-8?B?dCt2R3RMMnhLb2d0eXZMcGpPbndnK2ZxeGF4OVpyVVdvNWdKRWJNZFRYKzE4?= =?utf-8?B?Q0ZybHRRZmoyQy9ja0Rj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Network-Message-Id: 97fbd32b-3e82-47df-7c7c-08db690f2658 X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6150.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 17:29:59.4012 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: aInh310XFhprHV3bxWOU21Q1en5etRs2VCC1FKizpBslH3//DAHpv5vfStvm1C3nHchFlqW0aaYqLS5PgF7SGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5273 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,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 On 6/9/23 02:03, Jani Nikula wrote: > On Thu, 08 Jun 2023, Ralph Campbell wrote: >> 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. > At some point in time we requested bugs to be filed about quirks, with > EDIDs attached, so we could look at them later, and maybe remove the > quirks. > > The headset non-desktop thing started off as a quirk, but since then > we've added both Microsoft VSDB and DisplayID primary use as ways to > indicate this without quirks. > > BR, > Jani. If you want me to file a bug, I can do that and I have the EDID too. Where would I file it? I did see the DisplayID 2.0 code. This headset is no longer being manufactured so updating the EDID is not practical. >> 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), >> }; >> >> /*