dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adolfo <adolfotregosa@gmail.com>
To: Fangzhi Zuo <jerry.zuo@amd.com>, amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org,
	"Harry Wentland" <harry.wentland@amd.com>,
	"Tomasz Pakuła" <tomasz.pakula.oficjalny@gmail.com>,
	daniel@fooishbar.org
Subject: Re: [PATCH v4 0/4] HDMI 2.1 VRR and ALLM support
Date: Mon, 31 Aug 2026 19:49:05 +0100	[thread overview]
Message-ID: <c42ced8f-5e3a-42c9-ade4-d357575114ca@gmail.com> (raw)
In-Reply-To: <20260814164344.3098143-1-jerry.zuo@amd.com>

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.

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.com/
> 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

  parent reply	other threads:[~2026-09-01  7:36 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260730171754.704049-1-jerry.zuo@amd.com>
2026-08-06 20:54 ` [PATCH v2 0/4] HDMI 2.1 VRR and ALLM support Fangzhi Zuo
2026-08-06 20:54   ` [PATCH v2 1/4] drm/amd/display: Add 2.1 FreeSync support for AMD VSDB EDID Block Fangzhi Zuo
2026-08-06 21:13     ` sashiko-bot
2026-08-06 20:54   ` [PATCH v2 2/4] drm/edid: parse HDMI 2.1 gaming (ALLM/VRR) capabilities from HF-VSDB Fangzhi Zuo
2026-08-06 20:54   ` [PATCH v2 3/4] drm/amd/display: Add HDMI 2.1 VRR support " Fangzhi Zuo
2026-08-06 21:07     ` sashiko-bot
2026-08-06 20:54   ` [PATCH v2 4/4] drm/amd/display: Add HDMI ALLM support Fangzhi Zuo
2026-08-06 21:08     ` sashiko-bot
2026-08-10 21:04     ` Harry Wentland
2026-08-11  0:39   ` [PATCH v3 0/4] HDMI 2.1 VRR and " Fangzhi Zuo
2026-08-11  0:39     ` [PATCH v3 1/4] drm/amd/display: Add 2.1 FreeSync support for AMD VSDB EDID Block Fangzhi Zuo
2026-08-11  0:39     ` [PATCH v3 2/4] drm/edid: parse HDMI 2.1 gaming (ALLM/VRR) capabilities from HF-VSDB Fangzhi Zuo
2026-08-11 17:35       ` Harry Wentland
2026-08-11 17:38         ` Deucher, Alexander
2026-08-11  0:39     ` [PATCH v3 3/4] drm/amd/display: Add HDMI 2.1 VRR support " Fangzhi Zuo
2026-08-11  0:39     ` [PATCH v3 4/4] drm/amd/display: Add HDMI ALLM support Fangzhi Zuo
2026-08-11 13:48       ` Derek Foreman
2026-08-11 15:23         ` Daniel Stone
2026-08-11 17:42           ` Harry Wentland
2026-08-13 10:29             ` Daniel Stone
2026-08-13 13:36               ` Harry Wentland
2026-08-12  0:43           ` Zuo, Jerry
2026-08-13  8:35             ` Daniel Stone
2026-08-14 15:41               ` Zuo, Jerry
2026-09-03 16:43                 ` Daniel Stone
2026-08-14 16:43     ` [PATCH v4 0/4] HDMI 2.1 VRR and " Fangzhi Zuo
2026-08-14 16:43       ` [PATCH v4 1/4] drm/amd/display: Add 2.1 FreeSync support for AMD VSDB EDID Block Fangzhi Zuo
2026-08-14 16:55         ` sashiko-bot
2026-08-14 16:43       ` [PATCH v4 2/4] drm/edid: parse HDMI 2.1 gaming (ALLM/VRR) capabilities from HF-VSDB Fangzhi Zuo
2026-08-14 16:49         ` sashiko-bot
2026-08-14 16:43       ` [PATCH v4 3/4] drm/amd/display: Add HDMI 2.1 VRR support " Fangzhi Zuo
2026-08-14 16:55         ` sashiko-bot
2026-08-14 16:43       ` [PATCH v4 4/4] drm/amd/display: Enable HDMI ALLM for Gaming-VRR Fangzhi Zuo
2026-08-14 17:01         ` sashiko-bot
2026-08-24 19:59         ` Harry Wentland
2026-08-31 18:49       ` Adolfo [this message]
2026-09-01 19:15         ` [PATCH v4 0/4] HDMI 2.1 VRR and ALLM support Zuo, Jerry
2026-09-01 20:25           ` Adolfo Rodrigues
2026-09-01 22:12           ` Adolfo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c42ced8f-5e3a-42c9-ade4-d357575114ca@gmail.com \
    --to=adolfotregosa@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=daniel@fooishbar.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=jerry.zuo@amd.com \
    --cc=tomasz.pakula.oficjalny@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox