Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Josip Pavic and committed by
Alex Deucher
f11aee97 822b84ec

+4
+4
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
··· 295 295 if (dc->res_pool->hubbub->funcs->init_crb) 296 296 dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub); 297 297 #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; 298 302 } 299 303 300 304 void dcn31_dsc_pg_control(