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>
This commit is contained in:
committed by
Alex Deucher
parent
822b84ecfc
commit
f11aee97b1
@@ -295,6 +295,10 @@ void dcn31_init_hw(struct dc *dc)
|
|||||||
if (dc->res_pool->hubbub->funcs->init_crb)
|
if (dc->res_pool->hubbub->funcs->init_crb)
|
||||||
dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub);
|
dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Get DMCUB capabilities
|
||||||
|
dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub);
|
||||||
|
dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void dcn31_dsc_pg_control(
|
void dcn31_dsc_pg_control(
|
||||||
|
Reference in New Issue
Block a user