Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c498 struct dcn31_smu_dpm_clks *smu_dpm_clks) in dcn31_get_dpm_table_from_smu() argument
500 DpmClocks_t *table = smu_dpm_clks->dpm_clks; in dcn31_get_dpm_table_from_smu()
505 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn31_get_dpm_table_from_smu()
511 smu_dpm_clks->mc_address.high_part); in dcn31_get_dpm_table_from_smu()
513 smu_dpm_clks->mc_address.low_part); in dcn31_get_dpm_table_from_smu()
673 struct dcn31_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn31_clk_mgr_construct() local
700 smu_dpm_clks.dpm_clks = (DpmClocks_t *)dm_helpers_allocate_gpu_mem( in dcn31_clk_mgr_construct()
704 &smu_dpm_clks.mc_address.quad_part); in dcn31_clk_mgr_construct()
706 if (smu_dpm_clks.dpm_clks == NULL) { in dcn31_clk_mgr_construct()
707 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn31_clk_mgr_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c442 struct dcn315_smu_dpm_clks *smu_dpm_clks) in dcn315_get_dpm_table_from_smu() argument
444 DpmClocks_315_t *table = smu_dpm_clks->dpm_clks; in dcn315_get_dpm_table_from_smu()
449 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn315_get_dpm_table_from_smu()
455 smu_dpm_clks->mc_address.high_part); in dcn315_get_dpm_table_from_smu()
457 smu_dpm_clks->mc_address.low_part); in dcn315_get_dpm_table_from_smu()
610 struct dcn315_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn315_clk_mgr_construct() local
637 smu_dpm_clks.dpm_clks = (DpmClocks_315_t *)dm_helpers_allocate_gpu_mem( in dcn315_clk_mgr_construct()
641 &smu_dpm_clks.mc_address.quad_part); in dcn315_clk_mgr_construct()
643 if (smu_dpm_clks.dpm_clks == NULL) { in dcn315_clk_mgr_construct()
644 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn315_clk_mgr_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c517 struct dcn314_smu_dpm_clks *smu_dpm_clks) in dcn314_get_dpm_table_from_smu() argument
519 DpmClocks314_t *table = smu_dpm_clks->dpm_clks; in dcn314_get_dpm_table_from_smu()
524 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn314_get_dpm_table_from_smu()
530 smu_dpm_clks->mc_address.high_part); in dcn314_get_dpm_table_from_smu()
532 smu_dpm_clks->mc_address.low_part); in dcn314_get_dpm_table_from_smu()
723 struct dcn314_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn314_clk_mgr_construct() local
750 smu_dpm_clks.dpm_clks = (DpmClocks314_t *)dm_helpers_allocate_gpu_mem( in dcn314_clk_mgr_construct()
754 &smu_dpm_clks.mc_address.quad_part); in dcn314_clk_mgr_construct()
756 if (smu_dpm_clks.dpm_clks == NULL) { in dcn314_clk_mgr_construct()
757 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn314_clk_mgr_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c624 struct smu_dpm_clks *smu_dpm_clks) in vg_get_dpm_table_from_smu() argument
626 struct vg_dpm_clocks *table = smu_dpm_clks->dpm_clks; in vg_get_dpm_table_from_smu()
631 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in vg_get_dpm_table_from_smu()
637 smu_dpm_clks->mc_address.high_part); in vg_get_dpm_table_from_smu()
639 smu_dpm_clks->mc_address.low_part); in vg_get_dpm_table_from_smu()
649 struct smu_dpm_clks smu_dpm_clks = { 0 }; in vg_clk_mgr_construct() local
676 smu_dpm_clks.dpm_clks = (struct vg_dpm_clocks *)dm_helpers_allocate_gpu_mem( in vg_clk_mgr_construct()
680 &smu_dpm_clks.mc_address.quad_part); in vg_clk_mgr_construct()
682 if (smu_dpm_clks.dpm_clks == NULL) { in vg_clk_mgr_construct()
683 smu_dpm_clks.dpm_clks = &dummy_clocks; in vg_clk_mgr_construct()
[all …]
Ddcn301_smu.h124 struct smu_dpm_clks { struct
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c434 struct dcn316_smu_dpm_clks *smu_dpm_clks) in dcn316_get_dpm_table_from_smu() argument
436 DpmClocks_316_t *table = smu_dpm_clks->dpm_clks; in dcn316_get_dpm_table_from_smu()
441 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn316_get_dpm_table_from_smu()
447 smu_dpm_clks->mc_address.high_part); in dcn316_get_dpm_table_from_smu()
449 smu_dpm_clks->mc_address.low_part); in dcn316_get_dpm_table_from_smu()
619 struct dcn316_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn316_clk_mgr_construct() local
646 smu_dpm_clks.dpm_clks = (DpmClocks_316_t *)dm_helpers_allocate_gpu_mem( in dcn316_clk_mgr_construct()
650 &smu_dpm_clks.mc_address.quad_part); in dcn316_clk_mgr_construct()
652 if (smu_dpm_clks.dpm_clks == NULL) { in dcn316_clk_mgr_construct()
653 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn316_clk_mgr_construct()
[all …]