Home
last modified time | relevance | path

Searched refs:power_gate (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn302/
Ddcn302_hwseq.c47 uint32_t power_gate = power_on ? 0 : 1; in dcn302_dpp_pg_control() local
58 DOMAIN1_POWER_GATE, power_gate); in dcn302_dpp_pg_control()
66 DOMAIN3_POWER_GATE, power_gate); in dcn302_dpp_pg_control()
74 DOMAIN5_POWER_GATE, power_gate); in dcn302_dpp_pg_control()
82 DOMAIN7_POWER_GATE, power_gate); in dcn302_dpp_pg_control()
90 DOMAIN9_POWER_GATE, power_gate); in dcn302_dpp_pg_control()
104 uint32_t power_gate = power_on ? 0 : 1; in dcn302_hubp_pg_control() local
115 DOMAIN0_POWER_GATE, power_gate); in dcn302_hubp_pg_control()
123 DOMAIN2_POWER_GATE, power_gate); in dcn302_hubp_pg_control()
131 DOMAIN4_POWER_GATE, power_gate); in dcn302_hubp_pg_control()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/pg/dcn35/
Ddcn35_pg_cntl.c79 uint32_t power_gate = power_on ? 0 : 1; in pg_cntl35_dsc_pg_control() local
110 DOMAIN_POWER_GATE, power_gate); in pg_cntl35_dsc_pg_control()
118 DOMAIN_POWER_GATE, power_gate); in pg_cntl35_dsc_pg_control()
126 DOMAIN_POWER_GATE, power_gate); in pg_cntl35_dsc_pg_control()
134 DOMAIN_POWER_GATE, power_gate); in pg_cntl35_dsc_pg_control()
188 uint32_t power_gate = power_on ? 0 : 1; in pg_cntl35_hubp_dpp_pg_control() local
215 REG_UPDATE(DOMAIN0_PG_CONFIG, DOMAIN_POWER_GATE, power_gate); in pg_cntl35_hubp_dpp_pg_control()
220 REG_UPDATE(DOMAIN1_PG_CONFIG, DOMAIN_POWER_GATE, power_gate); in pg_cntl35_hubp_dpp_pg_control()
225 REG_UPDATE(DOMAIN2_PG_CONFIG, DOMAIN_POWER_GATE, power_gate); in pg_cntl35_hubp_dpp_pg_control()
230 REG_UPDATE(DOMAIN3_PG_CONFIG, DOMAIN_POWER_GATE, power_gate); in pg_cntl35_hubp_dpp_pg_control()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
Ddcn31_hwseq.c284 uint32_t power_gate = power_on ? 0 : 1; in dcn31_dsc_pg_control() local
304 DOMAIN_POWER_GATE, power_gate); in dcn31_dsc_pg_control()
312 DOMAIN_POWER_GATE, power_gate); in dcn31_dsc_pg_control()
320 DOMAIN_POWER_GATE, power_gate); in dcn31_dsc_pg_control()
443 uint32_t power_gate = power_on ? 0 : 1; in dcn31_hubp_pg_control() local
457 REG_SET(DOMAIN0_PG_CONFIG, 0, DOMAIN_POWER_GATE, power_gate); in dcn31_hubp_pg_control()
461 REG_SET(DOMAIN1_PG_CONFIG, 0, DOMAIN_POWER_GATE, power_gate); in dcn31_hubp_pg_control()
465 REG_SET(DOMAIN2_PG_CONFIG, 0, DOMAIN_POWER_GATE, power_gate); in dcn31_hubp_pg_control()
469 REG_SET(DOMAIN3_PG_CONFIG, 0, DOMAIN_POWER_GATE, power_gate); in dcn31_hubp_pg_control()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c239 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_vcn_enable() local
251 if (atomic_read(&power_gate->vcn_gated) ^ enable) in smu_dpm_set_vcn_enable()
256 atomic_set(&power_gate->vcn_gated, !enable); in smu_dpm_set_vcn_enable()
265 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_jpeg_enable() local
274 if (atomic_read(&power_gate->jpeg_gated) ^ enable) in smu_dpm_set_jpeg_enable()
279 atomic_set(&power_gate->jpeg_gated, !enable); in smu_dpm_set_jpeg_enable()
288 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_vpe_enable() local
294 if (atomic_read(&power_gate->vpe_gated) ^ enable) in smu_dpm_set_vpe_enable()
299 atomic_set(&power_gate->vpe_gated, !enable); in smu_dpm_set_vpe_enable()
308 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_umsch_mm_enable() local
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
Ddcn314_hwseq.c203 uint32_t power_gate = power_on ? 0 : 1; in dcn314_dsc_pg_control() local
223 DOMAIN_POWER_GATE, power_gate); in dcn314_dsc_pg_control()
231 DOMAIN_POWER_GATE, power_gate); in dcn314_dsc_pg_control()
239 DOMAIN_POWER_GATE, power_gate); in dcn314_dsc_pg_control()
247 DOMAIN_POWER_GATE, power_gate); in dcn314_dsc_pg_control()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c74 uint32_t power_gate = power_on ? 0 : 1; in dcn32_dsc_pg_control() local
89 DC_LOG_DSC("%s DSC power gate for inst %d", power_gate ? "enable" : "disable", dsc_inst); in dcn32_dsc_pg_control()
93 DOMAIN_POWER_GATE, power_gate); in dcn32_dsc_pg_control()
101 DOMAIN_POWER_GATE, power_gate); in dcn32_dsc_pg_control()
109 DOMAIN_POWER_GATE, power_gate); in dcn32_dsc_pg_control()
117 DOMAIN_POWER_GATE, power_gate); in dcn32_dsc_pg_control()
165 uint32_t power_gate = power_on ? 0 : 1; in dcn32_hubp_pg_control() local
176 REG_SET(DOMAIN0_PG_CONFIG, 0, DOMAIN_POWER_GATE, power_gate); in dcn32_hubp_pg_control()
180 REG_SET(DOMAIN1_PG_CONFIG, 0, DOMAIN_POWER_GATE, power_gate); in dcn32_hubp_pg_control()
184 REG_SET(DOMAIN2_PG_CONFIG, 0, DOMAIN_POWER_GATE, power_gate); in dcn32_hubp_pg_control()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
Ddcn20_hwseq.c470 uint32_t power_gate = power_on ? 0 : 1; in dcn20_dsc_pg_control() local
487 DOMAIN16_POWER_GATE, power_gate); in dcn20_dsc_pg_control()
495 DOMAIN17_POWER_GATE, power_gate); in dcn20_dsc_pg_control()
503 DOMAIN18_POWER_GATE, power_gate); in dcn20_dsc_pg_control()
511 DOMAIN19_POWER_GATE, power_gate); in dcn20_dsc_pg_control()
519 DOMAIN20_POWER_GATE, power_gate); in dcn20_dsc_pg_control()
527 DOMAIN21_POWER_GATE, power_gate); in dcn20_dsc_pg_control()
547 uint32_t power_gate = power_on ? 0 : 1; in dcn20_dpp_pg_control() local
558 DOMAIN1_POWER_GATE, power_gate); in dcn20_dpp_pg_control()
566 DOMAIN3_POWER_GATE, power_gate); in dcn20_dpp_pg_control()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
Ddcn35_hwseq.c499 uint32_t power_gate = power_on ? 0 : 1; in dcn35_dsc_pg_control() local
514 DOMAIN_POWER_GATE, power_gate); in dcn35_dsc_pg_control()
522 DOMAIN_POWER_GATE, power_gate); in dcn35_dsc_pg_control()
530 DOMAIN_POWER_GATE, power_gate); in dcn35_dsc_pg_control()
538 DOMAIN_POWER_GATE, power_gate); in dcn35_dsc_pg_control()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
Ddcn10_hwseq.c682 uint32_t power_gate = power_on ? 0 : 1; in dcn10_dpp_pg_control() local
693 DOMAIN1_POWER_GATE, power_gate); in dcn10_dpp_pg_control()
701 DOMAIN3_POWER_GATE, power_gate); in dcn10_dpp_pg_control()
709 DOMAIN5_POWER_GATE, power_gate); in dcn10_dpp_pg_control()
717 DOMAIN7_POWER_GATE, power_gate); in dcn10_dpp_pg_control()
743 uint32_t power_gate = power_on ? 0 : 1; in dcn10_hubp_pg_control() local
754 DOMAIN0_POWER_GATE, power_gate); in dcn10_hubp_pg_control()
762 DOMAIN2_POWER_GATE, power_gate); in dcn10_hubp_pg_control()
770 DOMAIN4_POWER_GATE, power_gate); in dcn10_hubp_pg_control()
778 DOMAIN6_POWER_GATE, power_gate); in dcn10_hubp_pg_control()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h411 struct smu_power_gate power_gate; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h2059 uint8_t power_gate : 1; /**< 1=power gate, 0=power up */ member