Home
last modified time | relevance | path

Searched refs:level_change_req (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c673 struct dm_pp_power_level_change_request level_change_req; in dce_update_clocks() local
680 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce_update_clocks()
682 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce_update_clocks()
683 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce_update_clocks()
684 if (dm_pp_apply_power_level_change_request(clk_mgr->ctx, &level_change_req)) in dce_update_clocks()
685 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce_update_clocks()
700 struct dm_pp_power_level_change_request level_change_req; in dce11_update_clocks() local
707 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr, context); in dce11_update_clocks()
709 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce11_update_clocks()
710 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce11_update_clocks()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
Ddce112_clk_mgr.c198 struct dm_pp_power_level_change_request level_change_req; in dce112_update_clocks() local
205 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce112_update_clocks()
207 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce112_update_clocks()
208 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce112_update_clocks()
209 if (dm_pp_apply_power_level_change_request(clk_mgr_base->ctx, &level_change_req)) in dce112_update_clocks()
210 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce112_update_clocks()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c253 struct dm_pp_power_level_change_request level_change_req; in dce11_update_clocks() local
260 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce11_update_clocks()
262 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce11_update_clocks()
263 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce11_update_clocks()
264 if (dm_pp_apply_power_level_change_request(clk_mgr_base->ctx, &level_change_req)) in dce11_update_clocks()
265 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce11_update_clocks()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c400 struct dm_pp_power_level_change_request level_change_req; in dce_update_clocks() local
407 level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context); in dce_update_clocks()
409 if ((level_change_req.power_level < clk_mgr_dce->cur_min_clks_state && safe_to_lower) in dce_update_clocks()
410 || level_change_req.power_level > clk_mgr_dce->cur_min_clks_state) { in dce_update_clocks()
411 if (dm_pp_apply_power_level_change_request(clk_mgr_base->ctx, &level_change_req)) in dce_update_clocks()
412 clk_mgr_dce->cur_min_clks_state = level_change_req.power_level; in dce_update_clocks()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddm_services.h237 struct dm_pp_power_level_change_request *level_change_req);
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c485 struct dm_pp_power_level_change_request *level_change_req) in dm_pp_apply_power_level_change_request() argument