mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
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>
This commit is contained in:
parent
0e64c9aad0
commit
9aa75e3baa
|
|
@ -2855,7 +2855,7 @@ void dcn20_fpga_init_hw(struct dc *dc)
|
|||
res_pool->mpc->funcs->mpc_init(res_pool->mpc);
|
||||
|
||||
/* initialize OPP mpc_tree parameter */
|
||||
for (i = 0; i < dc->res_pool->res_cap->num_opp; i++) {
|
||||
for (i = 0; i < dc->res_pool->pipe_count; i++) {
|
||||
res_pool->opps[i]->mpc_tree_params.opp_id = res_pool->opps[i]->inst;
|
||||
res_pool->opps[i]->mpc_tree_params.opp_list = NULL;
|
||||
for (j = 0; j < MAX_PIPES; j++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user