From mboxrd@z Thu Jan 1 00:00:00 1970 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 427E9C624DD for ; Thu, 3 Sep 2026 07:33:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D8C8510F3F3; Thu, 3 Sep 2026 07:33:31 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kp72dgcl"; dkim-atps=neutral Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by gabe.freedesktop.org (Postfix) with ESMTPS id 709A010EF41 for ; Tue, 1 Sep 2026 22:12:08 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-49ccfbe062eso2598475e9.3 for ; Tue, 01 Sep 2026 15:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788300727; x=1788905527; darn=lists.freedesktop.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=920ie7mR2uGNd0kS6o28FsYSJY1xch5R6Nydolas+Zw=; b=kp72dgcl4+TfB2hGSD/8paMkpYOw/XGmAsMGsGZdNrBXX8BdzUgT1TW+WfH9PZddBm oAmEgkWFzUcu/JHzrcP06xmKOvTTXOtq7+o92Lq+FhEsUxXwFSPUs1Dawg10zd3D/kpp miZebMWJ+M9lkfxx0tEbF1KIETDof4y6gYBVFwZUBCChNdmw7JBnSqSYeqUGAJLT41mv 8QjDuMjIO4TPM2no7Uys4ZHk8mpUI3xN6GBqAlIfpCYmbqJcNQkGS+6A8xpIwHelWmWS 4VUMoqkbAHnaRskOvyhfopLhuihA1wHZ0rYMGjuoIshSoelR9OY9bqiY5mUT1A8P3osi 3rVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788300727; x=1788905527; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=920ie7mR2uGNd0kS6o28FsYSJY1xch5R6Nydolas+Zw=; b=BMMh75frw0Vi/uijVxa4+NhwYI690SElhN0IR76dHkR8GaUj4R8s33O73UMUpHOvk6 3qFUs9Z0k8n/DLXaOC57wiYRDlREkvegqcMQbGALzdssgINF1rPCY8DoXfMtVGPimJdx d4D/nEFpvLidT3pfHdECPA8EWVjkiKyL5HJXVpg0w77sAleckYXuwpYn6kVucRfC2mV/ AZzWX54jQ/F8D+N7fSIA1u4zHoff2gHaAfXSZhuXU1wnx92n1n4lwz62PCArzutn92hZ j9hET/GWk1AFCMnWSBJ/flfrXhXoHroc82JgDpf3ekRYKQ0EyDVPWexEy2z+zCk8t9bw atRg== X-Gm-Message-State: AFuF++l2pI2n6a/EY47ws9qfXYRaIwwj0o5RxNApN4ZIXu/55V2culsI 78/ABa6e8yA2EuVLhYsODTirJytRuHWsj8oROX/XpdvGb75KN8pqgbYR X-Gm-Gg: AR+sD10N50SOhPbL3xDNmpoFXA3GTo/qsuW7gvHNG9RvlIYrfhrOcfTWJs0kix8FViJ V8FOXHtRdk6qNNJwUZcsViZ0F5szqpeFvQsTgPJRNYRmWWaGWdEmnilfrsagkFh7N9/A/0NFUDU 4TxjWW/Fmoip/H/RfOc2+4GBCOezhDSiVgmoZHZJuGFMynwI0Hd6b5xUaHwtbcRKoJ49qx+jW16 gCrnyJTECbZ97wHhljDQEYSaUP3sT+nHCj5UatxlbCeXjgexs8bsxlXC2WvP+P6GTHbmFFKc5jg ZDlw0RrfGzXRufc0AptCmQLUrTeFKukdKUJ18RCODmmAGA/LtS9g194jvi7wTZazrkAyijEjWCD QT8i0s0DcPlIEiyffQD4OdvIFUXjQoZ3Gq/mbu4DU0QFoVXgUFhFbaC/6tXV41v3nTlnjkVZAlJ ivBx43PM3NIh1PP37Cit5BlDkeTSNcoFs5mg8Wsen0RMhG4BPJEXGkIGyRyat16YdrQjCxoAGg0 lqmmVem5e3tdqRbcquf1YQIpjnh5RcJFyujV3LLNdFxCYzAZDQxQ27rEKkS0D+b6fXFrkz1E3JW +4ycGZMManT3Efu+Kbt4Y7exWpNq0aoxt4pe4bhp43r4UQ== X-Received: by 2002:a05:600c:4fcd:b0:49b:90cc:3c87 with SMTP id 5b1f17b1804b1-49ce582267bmr8034685e9.13.1788300726530; Tue, 01 Sep 2026 15:12:06 -0700 (PDT) Received: from [192.168.168.11] (a109-50-200-65.cpe.netcabo.pt. [109.50.200.65]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49ce592b017sm2314355e9.2.2026.09.01.15.12.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Sep 2026 15:12:06 -0700 (PDT) Message-ID: <7ed80c0e-de24-4506-9db3-bc25c17d260e@gmail.com> Date: Tue, 1 Sep 2026 23:12:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/4] HDMI 2.1 VRR and ALLM support To: "Zuo, Jerry" , "amd-gfx@lists.freedesktop.org" Cc: "dri-devel@lists.freedesktop.org" , "Wentland, Harry" , =?UTF-8?Q?Tomasz_Paku=C5=82a?= , "daniel@fooishbar.org" References: <20260811003921.1398292-1-jerry.zuo@amd.com> <20260814164344.3098143-1-jerry.zuo@amd.com> Content-Language: en-US From: Adolfo In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 03 Sep 2026 07:33:13 +0000 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" I patched kernel 7.3-rc1 with the passive-VRR patches, but VRR is not engaging while on the desktop, only in game. On 01/09/2026 20:15, Zuo, Jerry wrote: > AMD General > >> -----Original Message----- >> From: Adolfo >> Sent: Monday, August 31, 2026 14:49 >> To: Zuo, Jerry ; amd-gfx@lists.freedesktop.org >> Cc: dri-devel@lists.freedesktop.org; Wentland, Harry >> ; Tomasz Pakuła >> ; daniel@fooishbar.org >> Subject: Re: [PATCH v4 0/4] HDMI 2.1 VRR and ALLM support >> >> [You don't often get email from adolfotregosa@gmail.com. Learn why this is >> important at https://aka.ms/LearnAboutSenderIdentification ] >> >> I patched kernel 7.3-rc1, and I have KDE's Adaptive Sync property set to >> Automatic (Always makes the display gamma flicker). VRR itself is only >> engaged when entering a game. >> >> My display (an LG C1 connected through an Onkyo RZ70 AVR) shows "fixed" >> when VRR is not active. While this seems logical, it causes the display to go >> blank every time I enter or exit a game, or, even worse, when I alt-tab while in >> a game. >> >> In my case, I can have periods of up to 10 seconds with no image while the >> devices in the HDMI chain disagree with each other, and sometimes I lose the >> image completely. >> >> A kernel parameter to force VRR to always be enabled should be available. >> This would prevent these signal-switching problems, and it is how "FreeSync" >> actually works and also with the unofficial kernel patches for AMD HDMI 2.1 >> + VRR on kernel 7.2. >> >> There is also some evidence that keeping VRR active can avoid the mode- >> switch behavior seen on some TVs when VRR is enabled or disabled. > Thanks for your feedback. Regarding to your concern, I've uploaded another > series of patches for "passive VRR". Please check and see if that works for you. > > Regards, > Jerry > >> On 14/08/2026 17:43, Fangzhi Zuo wrote: >>> This series adds HDMI 2.1 gaming support to amdgpu: Variable Refresh >>> Rate >>> (VRR) derived from the HDMI Forum VSDB (HF-VSDB), and Auto Low- >> Latency >>> Mode (ALLM). It builds on a drm/edid patch that parses the HF-VSDB >>> gaming capabilities into struct drm_hdmi_info. >>> >>> - Patch 1 reports FreeSync from the AMD VSDB (existing mechanism). >>> - Patch 2 (drm/edid) parses the HF-VSDB VRR range and ALLM bit. >>> - Patch 3 enables VRR from the HF-VSDB when the AMD VSDB has no >> range. >>> - Patch 4 signals ALLM_Mode in the HF-VSIF when Gaming-VRR is active. >>> >>> v1: >>> https://lore.kernel.org/amd-gfx/20260730171754.704049-1-jerry.zuo@amd. >>> com/ >>> v2: >>> https://lore.kernel.org/amd-gfx/20260806205449.16806-1-jerry.zuo@amd.c >>> om/ >>> v3: >>> https://lore.kernel.org/amd-gfx/20260811003921.1398292-1- >> jerry.zuo@amd >>> .com/ >>> >>> Changes since v3: >>> - Drop the content-type based ALLM heuristic. ALLM_Mode is now set >> only >>> for the mandatory Gaming-VRR case (VRR_EN=1 with a sink that >> advertises >>> ALLM), per HDMI 2.1 Section 7.6.6; it is no longer derived from the >>> content type. >>> >>> Changes since v2: >>> - Fix coding-style issues in the VTEM info-packet code. >>> >>> Fangzhi Zuo (3): >>> drm/amd/display: Add 2.1 FreeSync support for AMD VSDB EDID Block >>> drm/amd/display: Add HDMI 2.1 VRR support from HF-VSDB >>> drm/amd/display: Enable HDMI ALLM for Gaming-VRR >>> >>> Tomasz Pakuła (1): >>> drm/edid: parse HDMI 2.1 gaming (ALLM/VRR) capabilities from >>> HF-VSDB >>> >>> .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 5 +- >>> .../display/amdgpu_dm/amdgpu_dm_connector.c | 71 +++++++++++- >>> .../display/amdgpu_dm/amdgpu_dm_freesync.c | 41 +++++++ >>> .../amd/display/modules/inc/mod_info_packet.h | 4 + >>> .../display/modules/info_packet/info_packet.c | 109 ++++++++++++++++++ >>> drivers/gpu/drm/drm_edid.c | 42 +++++++ >>> include/drm/drm_connector.h | 47 ++++++++ >>> 7 files changed, 317 insertions(+), 2 deletions(-) >>> >>> >>> base-commit: de2622bbc20276eaaaafa8fdbd374ace1ced28dc