From patchwork Fri May 17 14:09:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sefa Eyeoglu X-Patchwork-Id: 13667048 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BD357C04FFE for ; Fri, 17 May 2024 14:11:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E49E610EEE5; Fri, 17 May 2024 14:11:35 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=scrumplex.net header.i=@scrumplex.net header.b="iRMlOybV"; dkim-atps=neutral Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6F9AC10EEE5 for ; Fri, 17 May 2024 14:11:34 +0000 (UTC) Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4VgpmK5Mlhz9t3S; Fri, 17 May 2024 16:11:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scrumplex.net; s=MBO0001; t=1715955089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1sWJ7YrtXwxPL1uPg0OKFMkavSCQwdmNQHJyzXYuGFM=; b=iRMlOybVq0sOJwVcUz9XmI+ENv64JpnIr86auD38lzxljzquIQVpDIyXyV3Vf7n9FbD5Js QL1VxC5Qk7cZxB1iiPfdDTbeku154QyjvrrQjTnF/O9qHy3cu88VFeHu8YhI9ACiyHEMzq hupClvn7csqPOKt1K3mDrhG2XRNZYHBhaartW3s+CzNtdKIoyFsH5lznFidiNlf1E92ZhD F8PtehkItPQPoRsS9lkXIrRdjZ28cGYbU4dbYbII3UC0i2AoSmmVJtSmopVLotlRvnjhXT 8bO1LCfl0UvAZBJu1z5Vv8TmvYBOUSbQVGGrwkc7zGWf94I6K+5+9WpconeeQw== From: Sefa Eyeoglu To: dri-devel@lists.freedesktop.org Cc: Sefa Eyeoglu Subject: [PATCH] drm/edid: add non-desktop quirk to Bigscreen Beyond HMD Date: Fri, 17 May 2024 16:09:44 +0200 Message-ID: <20240517141049.896023-3-contact@scrumplex.net> In-Reply-To: <20240517105555.654262-1-contact@scrumplex.net> References: <20240517105555.654262-1-contact@scrumplex.net> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4VgpmK5Mlhz9t3S X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The Bigscreen Beyond VR headset is a non-desktop output and should be marked as such using an EDID quirk. Closes https://gitlab.freedesktop.org/drm/misc/kernel/-/issues/39 Signed-off-by: Sefa Eyeoglu --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 4f54c91b31b2..d407efc0fb55 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -200,6 +200,9 @@ static const struct edid_quirk { /* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/ EDID_QUIRK('E', 'T', 'R', 13896, EDID_QUIRK_FORCE_8BPC), + /* Bigscreen Beyond Headset */ + EDID_QUIRK('B', 'I', 'G', 0x1234, EDID_QUIRK_NON_DESKTOP), + /* Valve Index Headset */ EDID_QUIRK('V', 'L', 'V', 0x91a8, EDID_QUIRK_NON_DESKTOP), EDID_QUIRK('V', 'L', 'V', 0x91b0, EDID_QUIRK_NON_DESKTOP),