AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/amd/display: Enable HDMI FRL by default
@ 2026-08-27 15:54 Fangzhi Zuo
  2026-08-27 19:12 ` Harry Wentland
  0 siblings, 1 reply; 2+ messages in thread
From: Fangzhi Zuo @ 2026-08-27 15:54 UTC (permalink / raw)
  To: amd-gfx; +Cc: Harry Wentland, Fangzhi Zuo

FRL (Fixed Rate Link) is required to drive HDMI 2.1 high-bandwidth
modes and is broadly supported on capable sinks, but it was left
disabled unless a user explicitly opted in via the
amdgpu.dcfeaturemask module parameter.

Enable it by default by adding DC_FRL_MASK to the default
amdgpu_dc_feature_mask value, keeping the mask semantics unchanged.

Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c  | 3 ++-
 drivers/gpu/drm/amd/include/amd_shared.h | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 53738b40c97f..9c2ff3e147d1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -218,8 +218,9 @@ int amdgpu_smu_pptable_id = -1;
  * DISABLE_FRACTIONAL_PWM (bit 2) disabled by default
  * PSR (bit 3) disabled by default
  * EDP NO POWER SEQUENCING (bit 4) disabled by default
+ * FRL (bit 10) enabled by default
  */
-uint amdgpu_dc_feature_mask = 2;
+uint amdgpu_dc_feature_mask = DC_MULTI_MON_PP_MCLK_SWITCH_MASK | DC_FRL_MASK;
 uint amdgpu_dc_debug_mask;
 uint amdgpu_dc_visual_confirm;
 int amdgpu_async_gfx_ring = 1;
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index e3baef809cd1..7e29fe312ac6 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -287,7 +287,7 @@ enum DC_FEATURE_MASK {
 	 */
 	DC_REPLAY_MASK = (1 << 9),
 	/**
-	 * @DC_FRL_MASK: (0x400) disabled by default
+	 * @DC_FRL_MASK: (0x400) enabled by default
 	 */
 	DC_FRL_MASK = (1 << 10),
 };
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] drm/amd/display: Enable HDMI FRL by default
  2026-08-27 15:54 [PATCH v2] drm/amd/display: Enable HDMI FRL by default Fangzhi Zuo
@ 2026-08-27 19:12 ` Harry Wentland
  0 siblings, 0 replies; 2+ messages in thread
From: Harry Wentland @ 2026-08-27 19:12 UTC (permalink / raw)
  To: Fangzhi Zuo, amd-gfx



On 2026-08-27 11:54, Fangzhi Zuo wrote:
> FRL (Fixed Rate Link) is required to drive HDMI 2.1 high-bandwidth
> modes and is broadly supported on capable sinks, but it was left
> disabled unless a user explicitly opted in via the
> amdgpu.dcfeaturemask module parameter.
> 
> Enable it by default by adding DC_FRL_MASK to the default
> amdgpu_dc_feature_mask value, keeping the mask semantics unchanged.
> 
> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c  | 3 ++-
>  drivers/gpu/drm/amd/include/amd_shared.h | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> index 53738b40c97f..9c2ff3e147d1 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -218,8 +218,9 @@ int amdgpu_smu_pptable_id = -1;
>   * DISABLE_FRACTIONAL_PWM (bit 2) disabled by default
>   * PSR (bit 3) disabled by default
>   * EDP NO POWER SEQUENCING (bit 4) disabled by default
> + * FRL (bit 10) enabled by default
>   */
> -uint amdgpu_dc_feature_mask = 2;
> +uint amdgpu_dc_feature_mask = DC_MULTI_MON_PP_MCLK_SWITCH_MASK | DC_FRL_MASK;
>  uint amdgpu_dc_debug_mask;
>  uint amdgpu_dc_visual_confirm;
>  int amdgpu_async_gfx_ring = 1;
> diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
> index e3baef809cd1..7e29fe312ac6 100644
> --- a/drivers/gpu/drm/amd/include/amd_shared.h
> +++ b/drivers/gpu/drm/amd/include/amd_shared.h
> @@ -287,7 +287,7 @@ enum DC_FEATURE_MASK {
>  	 */
>  	DC_REPLAY_MASK = (1 << 9),
>  	/**
> -	 * @DC_FRL_MASK: (0x400) disabled by default
> +	 * @DC_FRL_MASK: (0x400) enabled by default
>  	 */
>  	DC_FRL_MASK = (1 << 10),
>  };


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-27 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27 15:54 [PATCH v2] drm/amd/display: Enable HDMI FRL by default Fangzhi Zuo
2026-08-27 19:12 ` Harry Wentland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox