Home
last modified time | relevance | path

Searched refs:mpcc_to_remove (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn10/
Ddcn10_mpc.c290 struct mpcc *mpcc_to_remove) in mpc1_remove_mpcc() argument
294 int mpcc_id = mpcc_to_remove->mpcc_id; in mpc1_remove_mpcc()
296 if (tree->opp_list == mpcc_to_remove) { in mpc1_remove_mpcc()
299 if (mpcc_to_remove->mpcc_bot) { in mpc1_remove_mpcc()
301 tree->opp_list = mpcc_to_remove->mpcc_bot; in mpc1_remove_mpcc()
312 while (temp_mpcc && temp_mpcc->mpcc_bot != mpcc_to_remove) in mpc1_remove_mpcc()
315 if (temp_mpcc && temp_mpcc->mpcc_bot == mpcc_to_remove) { in mpc1_remove_mpcc()
317 temp_mpcc->mpcc_bot = mpcc_to_remove->mpcc_bot; in mpc1_remove_mpcc()
318 if (mpcc_to_remove->mpcc_bot) { in mpc1_remove_mpcc()
321 MPCC_BOT_SEL, mpcc_to_remove->mpcc_bot->mpcc_id); in mpc1_remove_mpcc()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
Ddcn201_hwseq.c384 struct mpcc *mpcc_to_remove = NULL; in dcn201_plane_atomic_disconnect() local
392 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp_from_secondary(mpc_tree_params, dpp_id); in dcn201_plane_atomic_disconnect()
395 if (mpcc_to_remove != NULL && mpc->funcs->remove_mpcc_from_secondary) { in dcn201_plane_atomic_disconnect()
396 mpc->funcs->remove_mpcc_from_secondary(mpc, mpc_tree_params, mpcc_to_remove); in dcn201_plane_atomic_disconnect()
401 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, dpp_id); in dcn201_plane_atomic_disconnect()
402 if (mpcc_to_remove != NULL) { in dcn201_plane_atomic_disconnect()
403 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in dcn201_plane_atomic_disconnect()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
Ddcn10_hwseq.c1234 struct mpcc *mpcc_to_remove = NULL; in dcn10_plane_atomic_disconnect() local
1238 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, dpp_id); in dcn10_plane_atomic_disconnect()
1241 if (mpcc_to_remove == NULL) in dcn10_plane_atomic_disconnect()
1244 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in dcn10_plane_atomic_disconnect()