Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18938042rwd; Wed, 28 Jun 2023 02:49:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4KZuLa3+9qnpmZaBhFKeuzTOuu8t0AXx/RQqHE42o5ce5QGeQwuFJG35PuZmCV8PUqXMDB X-Received: by 2002:a17:903:294b:b0:1b6:b73a:553d with SMTP id li11-20020a170903294b00b001b6b73a553dmr11498209plb.58.1687945773458; Wed, 28 Jun 2023 02:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687945773; cv=none; d=google.com; s=arc-20160816; b=zPMA/8aqc6b5gkuJqNfcDWAxnzlVzHwuKG0baLT9mPGR3vacq4y+TGgZbbNBCUl3Z2 XXWBxSfygziBF+lDX3G1ZjvScEcawKFM24RNlZA5TesvbgHT3lOat66bft1IDp7KSO1M V/oVevIb1C2aA1+H8AjGu/4IFIwuw5zOC3Y3jruyv6DA1ax+mcsE4FmUsJ5J06Pxy0G6 e02BGOsoIx/j9rnpQ06p7K6ocUrVPGO8BjoVFSA4lU0rBH74EdttP47HZ/PdRf2/8ZAQ QJsdmvly7Hbpf+GGeTrFVKbUA67D3nCOuj3ZfbqV3iz9bnh90okC8Nsy0rEo/ZWXKJWh DNZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=RV2ek0KUzPYTbPskkNBi7IoOkGc+TwNR3vbjsKSK6bQ=; fh=tYMU81SkfN3XrJqswxKnabKZn8bUj9dsdxlFuh4jFPI=; b=hxDAQTApe48i75ZpS8MOddqegcYXjBgwXQR8fVr5CQ9WBNU5oOPQlkVyb/gnc56xWH Vhf4O4RNMCH/mtdJzI6Ol2kTd2QbtaLxKVwRzQWyKTKTacWcoil2PveHyLbnli01FeFg sUqXcoRhDrfd/2omnVOIy2yFa+LGeVKKJ27pVxAPpp5RfETdtydlFvgC/nSKXPdJDAiY zCyuP9KCwyhMaw3tRSioQHeEzPkPgDX0QYmEbueR/Qc3K0oqIkaOQA7Nop4g+trZ05ZN 0cQVRjGEN988NCK7oWL5OA64KcQtUJkbDIItpDYit4XNqDWONyNK4wnLt7zDwHPWeX2G Vr+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dWPhNz0V; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a170902c94100b001afe7ef68b6si9761101pla.452.2023.06.28.02.49.21; Wed, 28 Jun 2023 02:49:33 -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=@intel.com header.s=Intel header.b=dWPhNz0V; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232547AbjF1J1G (ORCPT + 99 others); Wed, 28 Jun 2023 05:27:06 -0400 Received: from mga02.intel.com ([134.134.136.20]:20683 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233249AbjF1JSZ (ORCPT ); Wed, 28 Jun 2023 05:18:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687943905; x=1719479905; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=8aunF6uXt/FcyUPtDVGqqz1i1fzmTynkmzPIDRaREEo=; b=dWPhNz0VF/y0gWP2A/j54faUhgDghi4XdfEgEz9novpicDDR7XsY936N oDqE2C2kjAtCv+UOYA630Zk5LByUk8sxdIC9YWEcAt0fwlvEn23/2v1z4 Jmrs8amsKITUdphgDC8GUYvEw5/5uHPNU/y/+1rDpU4eOClDat9TOAKTG RyWDna/7xOWoPG7fkbj0ljCsDSOxeJD6rJ3ID8WVNTLGh/v4hZRYA/sur i9q23UGB4Tv5ri1BDbfG6KoghKfPvOcOmyqlpYsn2xtU5rxRY2JLKxbTG 73ZbHOzxKNvI4DEbofCfva3cq3jbHwcyab70yp96CRgrb9mg4InSo1oAW Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10754"; a="351581308" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="351581308" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2023 02:18:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10754"; a="963523788" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="963523788" Received: from lzhiguno-mobl.ger.corp.intel.com (HELO localhost) ([10.252.63.165]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2023 02:18:21 -0700 From: Jani Nikula To: Ralph Campbell , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Ralph Campbell , Thomas Zimmermann , Maxime Ripard , Daniel Vetter , David Airlie Subject: Re: [Intel-gfx] [PATCH v2] drm/edid: Add quirk for OSVR HDK 2.0 In-Reply-To: <20230621061903.3422648-1-rcampbell@nvidia.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20230621061903.3422648-1-rcampbell@nvidia.com> Date: Wed, 28 Jun 2023 12:18:04 +0300 Message-ID: <87r0pwrlmb.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 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. > > Signed-off-by: Ralph Campbell > Tested-by: Ralph Campbell Closes: https://gitlab.freedesktop.org/drm/misc/-/issues/30 > --- > 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 an entry for HDK 1.x so I thought it would be good > to add HDK 2.0. > > v2: The vendor ID was byte swapped. > I'm not sure how I missed that in v1. > > 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', 'U', 'O', 0x1111, EDID_QUIRK_NON_DESKTOP), > }; > > /* -- Jani Nikula, Intel Open Source Graphics Center