drm/amd/display: Initialize replay_config var
authorKaitlyn Tse <Kaitlyn.Tse@amd.com>
Mon, 23 Sep 2024 16:29:12 +0000 (12:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2024 18:17:10 +0000 (14:17 -0400)
commit527b197bb41a8520e2242b060119975011264e5f
tree432967f32827e6638d893c36ee6ebed0bacfed71
parentbcb4a5c6a3dcbd2fa4350aa2155a6cb532183b07
drm/amd/display: Initialize replay_config var

[Why]
Uninitialized variables could cause some bits to be set, thus enabling
features unintentionally.

[How]
Initialize replay_config variable to avoid future issues.

Reviewed-by: Harry Vanzylldejong <harry.vanzylldejong@amd.com>
Reviewed-by: Iswara Nagulendran <iswara.nagulendran@amd.com>
Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Signed-off-by: Kaitlyn Tse <Kaitlyn.Tse@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c