Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3066129rwd; Sat, 10 Jun 2023 00:27:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EoTDEmYpPpFEnNjvGFhiW0B6mnnHPigX871pt1rtzApQ+dGmS/upB8x5HXwSArZYuSf0j X-Received: by 2002:a05:6a00:24d3:b0:64d:4a94:1a60 with SMTP id d19-20020a056a0024d300b0064d4a941a60mr5404381pfv.18.1686382070191; Sat, 10 Jun 2023 00:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686382070; cv=none; d=google.com; s=arc-20160816; b=OBhJXZT4cMywlKYPonXN9KjPqs6jVbEYdYHriOF9VFTK4S00MEbiH9GS2R9GprvpZl VjUAulj9KhDNX5V+EdWDE0W++bdEWQtZCx8KpGvtbqlmcNyf+YjX9z16v1QaE0xMJnai bzvPRkNUX1WOIl2dLh96tgMMgEpt1nf1gmKLmIEmrH1V5YIu7qcJDPh+vgY4fZOI02cI kdcmNzPMIN1BeFAEpUNYfvbB2M79UTbZQcyafBonZD5aAyYBS0aBS5Yf1LRUDL9sWlUi dBtxM4U96LEYqAT0ldrKHhE3uQmJIjwcDJOwQbkE2y+4qdUBdnE6tHjx+Yft3Y/Ald/Z X2dA== 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=PtGOAwBviULhXxFQttOAu/e9nYwQ0XBHI4BRcxONzRM=; b=ch6QKkUvAmNhxR+LAwkd7zLPU5HbINvvjOX0Ev8BfgBvNm3ppuH/gzZn8ENBgh8MJb 5ZngZ5KvHZ4ifnjfTkFHHoECNXKA15cbTdVNBJLJlJqejD/3cSnWyoawbFaTz7X73IJi 07ApF1hgHT35UXfUd63AYR1XJ4IInzDwFXOhwQhYG6yjfiptjztOmXd3x9WFMBoU7BOD Crz823VnxNFWeDZ6nIJg4ptBuQ7WViFW9CrKJWX4hJY+K71Hjt02cIjhxpkJtLwuI5No Sbn4SFuUwN4oJ1uSFtFhazOwrii4sC+onpByLe18M2iTCL6OrvjYLWZ4cJ6NG9sX73er Oi9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vb8LdU2L; 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 x10-20020aa7940a000000b006530c90eaa6si3626709pfo.192.2023.06.10.00.27.38; Sat, 10 Jun 2023 00:27:50 -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=Vb8LdU2L; 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 S230258AbjFJHW5 (ORCPT + 99 others); Sat, 10 Jun 2023 03:22:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbjFJHW4 (ORCPT ); Sat, 10 Jun 2023 03:22:56 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93B4B3AA4 for ; Sat, 10 Jun 2023 00:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686381775; x=1717917775; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=cZ3y13O9a+VnlQM8pm98l7UsnYGvVfxkqNekXMNb3v4=; b=Vb8LdU2L1HDdzi1MlUpRlavWuHihtH3BJFld1fBJIr7v4L98Thb9nlFf bHdom0uYmYqbgNducibUO7IkV9eV/E52t3IenxugkI8rlFCj/lnaZ2fGE IyhVGeUXMzRqWThXILZCRPuuHutpy3F61iSYi5L2v/3IbfkAqVDPkQgau BJMxP1uGYSXO5fzRgczkcuJ8myxpL+UePwJHiqIalIqP4VkfRSp6z/oRX hXX4k2R7KpcgMg+BjS27RSPRpNDyjz6kvq+duffxszJIGFZ1Qzs1OU//3 M3JH7hGIVfHzb3vA/eW1RKLkDiBO0+FcC5dFtil8WvuT167VgInaQiy38 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10736"; a="355231348" X-IronPort-AV: E=Sophos;i="6.00,231,1681196400"; d="scan'208";a="355231348" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2023 00:22:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10736"; a="743725436" X-IronPort-AV: E=Sophos;i="6.00,231,1681196400"; d="scan'208";a="743725436" Received: from mnovakov-mobl1.amr.corp.intel.com (HELO localhost) ([10.252.60.33]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2023 00:22:35 -0700 From: Jani Nikula To: Ralph Campbell , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Subject: Re: [PATCH] drm/edid: Add quirk for OSVR HDK 2.0 In-Reply-To: <09cc666a-bc52-44b3-230c-26dc705c5a56@nvidia.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20230609014207.2759720-1-rcampbell@nvidia.com> <87y1ktqa75.fsf@intel.com> <09cc666a-bc52-44b3-230c-26dc705c5a56@nvidia.com> Date: Sat, 10 Jun 2023 10:22:32 +0300 Message-ID: <87r0qjpyrr.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Fri, 09 Jun 2023, Ralph Campbell wrote: > 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 suppose at https://gitlab.freedesktop.org/drm/misc/-/issues We should then reference the issue in the commit message (no need to resend, this can be added while applying). > I did see the DisplayID 2.0 code. This headset is no longer being > manufactured so updating the EDID is not practical. I'm not saying the EDID should be updated, just that we might drop the quirk if we find another generic way to identify non-desktops that covers the EDID in question. If the device isn't covered by the existing mechanisms, I'm not opposed to merging as-is, with the issue reference added. Thanks, Jani. > >>> 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), >>> }; >>> >>> /* -- Jani Nikula, Intel Open Source Graphics Center