Skip to content

Commit f11aee9

Browse files
Josip Pavicalexdeucher
authored andcommitted
drm/amd/display: copy dmub caps to dc on dcn31
[Why & How] Add code path to copy dmub caps to dc, which is missing on dcn31 Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Josip Pavic <Josip.Pavic@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 822b84e commit f11aee9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ void dcn31_init_hw(struct dc *dc)
295295
if (dc->res_pool->hubbub->funcs->init_crb)
296296
dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub);
297297
#endif
298+
299+
// Get DMCUB capabilities
300+
dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub);
301+
dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr;
298302
}
299303

300304
void dcn31_dsc_pg_control(

0 commit comments

Comments
 (0)