aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
diff options
context:
space:
mode:
authorOleh Kuzhylnyi <[email protected]>2025-05-14 12:21:15 +0000
committerAlex Deucher <[email protected]>2025-06-03 19:35:47 +0000
commited8045a731107e96b1fda80879a85b5de7658941 (patch)
tree3e93704243d45cfd45a9d287a90741832b822310 /drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
parentdrm/amd/display: Add disconnect case on dongle check (diff)
downloadkernel-ed8045a731107e96b1fda80879a85b5de7658941.tar.gz
kernel-ed8045a731107e96b1fda80879a85b5de7658941.zip
drm/amd/display: Add DML path for FAMS methods
[Why] DML needs a path for FAMS methods. [How] Apply instance of fams2_stream_sub_params_v2 structure with a FAMS placeholder for DML. Reviewed-by: Alvin Lee <[email protected]> Signed-off-by: Oleh Kuzhylnyi <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
index 8c52d3fea1d8..00ea81fa9573 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
+++ b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
@@ -1758,7 +1758,7 @@ static void dc_dmub_srv_ib_based_fams2_update_config(struct dc *dc,
/* copy stream static sub-state */
memcpy(&config->stream_v1[i].sub_state,
- &context->bw_ctx.bw.dcn.fams2_stream_sub_params[i],
+ &context->bw_ctx.bw.dcn.fams2_stream_sub_params_v2[i],
sizeof(config->stream_v1[i].sub_state));
}
}