Skip to contentSkip to conversation

drm/amd/display: Enable HDMI FRL by default

PATCH In review Fangzhi Zuo 2 participants 2 messages Aug 27

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/amd/display: Enable HDMI FRL by default

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.

---
 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(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -1
index 53738b40c97f..9c2ff3e147d1 100644
@@ -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;
drivers/gpu/drm/amd/include/amd_shared.h +1 -1
index e3baef809cd1..7e29fe312ac6 100644
@@ -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),
 };
Signature · 1 line
2.53.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · 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.

Harry

Quoted 33 lines
---
 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(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -1
index 53738b40c97f..9c2ff3e147d1 100644
@@ -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;
drivers/gpu/drm/amd/include/amd_shared.h +1 -1
index e3baef809cd1..7e29fe312ac6 100644
@@ -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),
 };