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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: dc cleanup for tests

[WHY&HOW]
Code cleanup found in internal tests

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Sridevi Arvindekar <Sridevi.Arvindekar@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Sridevi Arvindekar and committed by
Alex Deucher
9aa75e3b 0e64c9aa

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
··· 2855 2855 res_pool->mpc->funcs->mpc_init(res_pool->mpc); 2856 2856 2857 2857 /* initialize OPP mpc_tree parameter */ 2858 - for (i = 0; i < dc->res_pool->res_cap->num_opp; i++) { 2858 + for (i = 0; i < dc->res_pool->pipe_count; i++) { 2859 2859 res_pool->opps[i]->mpc_tree_params.opp_id = res_pool->opps[i]->inst; 2860 2860 res_pool->opps[i]->mpc_tree_params.opp_list = NULL; 2861 2861 for (j = 0; j < MAX_PIPES; j++)