Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c500 struct dcn31_smu_dpm_clks *smu_dpm_clks) in dcn31_get_dpm_table_from_smu() argument
502 DpmClocks_t *table = smu_dpm_clks->dpm_clks; in dcn31_get_dpm_table_from_smu()
507 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn31_get_dpm_table_from_smu()
513 smu_dpm_clks->mc_address.high_part); in dcn31_get_dpm_table_from_smu()
515 smu_dpm_clks->mc_address.low_part); in dcn31_get_dpm_table_from_smu()
677 struct dcn31_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn31_clk_mgr_construct() local
705 smu_dpm_clks.dpm_clks = (DpmClocks_t *)dm_helpers_allocate_gpu_mem( in dcn31_clk_mgr_construct()
709 &smu_dpm_clks.mc_address.quad_part); in dcn31_clk_mgr_construct()
711 if (smu_dpm_clks.dpm_clks == NULL) { in dcn31_clk_mgr_construct()
712 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn31_clk_mgr_construct()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c452 struct dcn315_smu_dpm_clks *smu_dpm_clks) in dcn315_get_dpm_table_from_smu() argument
454 DpmClocks_315_t *table = smu_dpm_clks->dpm_clks; in dcn315_get_dpm_table_from_smu()
459 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn315_get_dpm_table_from_smu()
465 smu_dpm_clks->mc_address.high_part); in dcn315_get_dpm_table_from_smu()
467 smu_dpm_clks->mc_address.low_part); in dcn315_get_dpm_table_from_smu()
600 struct dcn315_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn315_clk_mgr_construct() local
628 smu_dpm_clks.dpm_clks = (DpmClocks_315_t *)dm_helpers_allocate_gpu_mem( in dcn315_clk_mgr_construct()
632 &smu_dpm_clks.mc_address.quad_part); in dcn315_clk_mgr_construct()
634 if (smu_dpm_clks.dpm_clks == NULL) { in dcn315_clk_mgr_construct()
635 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn315_clk_mgr_construct()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c518 struct dcn314_smu_dpm_clks *smu_dpm_clks) in dcn314_get_dpm_table_from_smu() argument
520 DpmClocks314_t *table = smu_dpm_clks->dpm_clks; in dcn314_get_dpm_table_from_smu()
525 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn314_get_dpm_table_from_smu()
531 smu_dpm_clks->mc_address.high_part); in dcn314_get_dpm_table_from_smu()
533 smu_dpm_clks->mc_address.low_part); in dcn314_get_dpm_table_from_smu()
724 struct dcn314_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn314_clk_mgr_construct() local
752 smu_dpm_clks.dpm_clks = (DpmClocks314_t *)dm_helpers_allocate_gpu_mem( in dcn314_clk_mgr_construct()
756 &smu_dpm_clks.mc_address.quad_part); in dcn314_clk_mgr_construct()
758 if (smu_dpm_clks.dpm_clks == NULL) { in dcn314_clk_mgr_construct()
759 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn314_clk_mgr_construct()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c639 struct smu_dpm_clks *smu_dpm_clks) in vg_get_dpm_table_from_smu() argument
641 struct vg_dpm_clocks *table = smu_dpm_clks->dpm_clks; in vg_get_dpm_table_from_smu()
646 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in vg_get_dpm_table_from_smu()
652 smu_dpm_clks->mc_address.high_part); in vg_get_dpm_table_from_smu()
654 smu_dpm_clks->mc_address.low_part); in vg_get_dpm_table_from_smu()
664 struct smu_dpm_clks smu_dpm_clks = { 0 }; in vg_clk_mgr_construct() local
692 smu_dpm_clks.dpm_clks = (struct vg_dpm_clocks *)dm_helpers_allocate_gpu_mem( in vg_clk_mgr_construct()
696 &smu_dpm_clks.mc_address.quad_part); in vg_clk_mgr_construct()
698 if (smu_dpm_clks.dpm_clks == NULL) { in vg_clk_mgr_construct()
699 smu_dpm_clks.dpm_clks = &dummy_clocks; in vg_clk_mgr_construct()
[all …]
Ddcn301_smu.h124 struct smu_dpm_clks { struct
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c417 struct dcn316_smu_dpm_clks *smu_dpm_clks) in dcn316_get_dpm_table_from_smu() argument
419 DpmClocks_316_t *table = smu_dpm_clks->dpm_clks; in dcn316_get_dpm_table_from_smu()
424 if (!table || smu_dpm_clks->mc_address.quad_part == 0) in dcn316_get_dpm_table_from_smu()
430 smu_dpm_clks->mc_address.high_part); in dcn316_get_dpm_table_from_smu()
432 smu_dpm_clks->mc_address.low_part); in dcn316_get_dpm_table_from_smu()
573 struct dcn316_smu_dpm_clks smu_dpm_clks = { 0 }; in dcn316_clk_mgr_construct() local
601 smu_dpm_clks.dpm_clks = (DpmClocks_316_t *)dm_helpers_allocate_gpu_mem( in dcn316_clk_mgr_construct()
605 &smu_dpm_clks.mc_address.quad_part); in dcn316_clk_mgr_construct()
607 if (smu_dpm_clks.dpm_clks == NULL) { in dcn316_clk_mgr_construct()
608 smu_dpm_clks.dpm_clks = &dummy_clocks; in dcn316_clk_mgr_construct()
[all …]