drm/amd/display: Enable HDMI FRL by default
Subsystems (3)
PATCH 1/1 drm/amd/display: Enable HDMI FRL by default
FRL (Fixed Rate Link) was gated behind the DC_FRL_MASK feature flag, leaving it disabled unless a user explicitly opted in via the amdgpu.dcfeaturemask module parameter.
Invert the DC_FRL_MASK check so init_data.flags.enable_frl defaults to true, and repurpose the mask bit as an opt-out for users who need to fall back to TMDS-only signalling. Update the DC_FEATURE_MASK documentation accordingly.
Signed-off-by Fangzhi Zuo <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -1
@@ -555,7 +555,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)if (amdgpu_dc_feature_mask &DC_DISABLE_LTTPR_DP2_0 ) init_data.flags.allow_lttpr_non_transparent_mode.bits.DP2_0 = true; -if (amdgpu_dc_feature_mask &DC_FRL_MASK ) +/* FRL is enabled by default; DC_FRL_MASK can be set to opt out. */ +if (!(amdgpu_dc_feature_mask &DC_FRL_MASK )) init_data.flags.enable_frl = true; init_data.flags.seamless_boot_edp_requested = false;
drivers/gpu/drm/amd/include/amd_shared.h +1 -1
@@ -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; set to disable FRL */ DC_FRL_MASK = (1 << 10), };
Signature · 1 line
2.53.0