| /linux/drivers/gpu/drm/amd/display/dc/pg/dcn35/ |
| A D | dcn35_pg_cntl.c | 45 pg_cntl->ctx->logger 247 static bool pg_cntl35_hpo_pg_status(struct pg_cntl *pg_cntl) in pg_cntl35_hpo_pg_status() argument 295 static bool pg_cntl35_io_clk_status(struct pg_cntl *pg_cntl) in pg_cntl35_io_clk_status() argument 345 static bool pg_cntl35_plane_otg_status(struct pg_cntl *pg_cntl) in pg_cntl35_plane_otg_status() argument 356 void pg_cntl35_mpcc_pg_control(struct pg_cntl *pg_cntl, in pg_cntl35_mpcc_pg_control() argument 366 void pg_cntl35_opp_pg_control(struct pg_cntl *pg_cntl, in pg_cntl35_opp_pg_control() argument 376 void pg_cntl35_optc_pg_control(struct pg_cntl *pg_cntl, in pg_cntl35_optc_pg_control() argument 459 static bool pg_cntl35_mem_status(struct pg_cntl *pg_cntl) in pg_cntl35_mem_status() argument 470 void pg_cntl35_init_pg_status(struct pg_cntl *pg_cntl) in pg_cntl35_init_pg_status() argument 545 void dcn_pg_cntl_destroy(struct pg_cntl **pg_cntl) in dcn_pg_cntl_destroy() argument [all …]
|
| A D | dcn35_pg_cntl.h | 166 struct pg_cntl base; 173 void pg_cntl35_hubp_dpp_pg_control(struct pg_cntl *pg_cntl, 175 void pg_cntl35_hpo_pg_control(struct pg_cntl *pg_cntl, bool power_on); 176 void pg_cntl35_io_clk_pg_control(struct pg_cntl *pg_cntl, bool power_on); 177 void pg_cntl35_plane_otg_pg_control(struct pg_cntl *pg_cntl, bool power_on); 178 void pg_cntl35_mpcc_pg_control(struct pg_cntl *pg_cntl, 180 void pg_cntl35_opp_pg_control(struct pg_cntl *pg_cntl, 182 void pg_cntl35_optc_pg_control(struct pg_cntl *pg_cntl, 184 void pg_cntl35_dwb_pg_control(struct pg_cntl *pg_cntl, bool power_on); 185 void pg_cntl35_init_pg_status(struct pg_cntl *pg_cntl); [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| A D | pg_cntl.h | 32 struct pg_cntl { struct 40 void (*dsc_pg_control)(struct pg_cntl *pg_cntl, unsigned int dsc_inst, bool power_on); argument 41 void (*hubp_dpp_pg_control)(struct pg_cntl *pg_cntl, unsigned int hubp_dpp_inst, bool power_on); 42 void (*hpo_pg_control)(struct pg_cntl *pg_cntl, bool power_on); 43 void (*io_clk_pg_control)(struct pg_cntl *pg_cntl, bool power_on); 44 void (*plane_otg_pg_control)(struct pg_cntl *pg_cntl, bool power_on); 45 void (*mpcc_pg_control)(struct pg_cntl *pg_cntl, unsigned int mpcc_inst, bool power_on); 46 void (*opp_pg_control)(struct pg_cntl *pg_cntl, unsigned int opp_inst, bool power_on); 47 void (*optc_pg_control)(struct pg_cntl *pg_cntl, unsigned int optc_inst, bool power_on); 48 void (*dwb_pg_control)(struct pg_cntl *pg_cntl, bool power_on); [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn351/ |
| A D | dcn351_hwseq.c | 103 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; in dcn351_hw_block_power_down() local 105 if (!pg_cntl || dc->debug.ignore_pg) in dcn351_hw_block_power_down() 110 if (pg_cntl->funcs->dsc_pg_control) in dcn351_hw_block_power_down() 111 pg_cntl->funcs->dsc_pg_control(pg_cntl, i, false); in dcn351_hw_block_power_down() 117 pg_cntl->funcs->hubp_dpp_pg_control(pg_cntl, i, false); in dcn351_hw_block_power_down() 125 pg_cntl->funcs->plane_otg_pg_control(pg_cntl, false); in dcn351_hw_block_power_down() 156 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; in dcn351_hw_block_power_up() local 158 if (!pg_cntl || dc->debug.ignore_pg) in dcn351_hw_block_power_up() 166 pg_cntl->funcs->plane_otg_pg_control(pg_cntl, true); in dcn351_hw_block_power_up() 174 pg_cntl->funcs->hubp_dpp_pg_control(pg_cntl, i, true); in dcn351_hw_block_power_up() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
| A D | dcn35_hwseq.c | 697 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; in dcn35_init_pipes() local 1206 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; in dcn35_hw_block_power_down() local 1215 pg_cntl->funcs->hpo_pg_control(pg_cntl, false); in dcn35_hw_block_power_down() 1230 pg_cntl->funcs->dsc_pg_control(pg_cntl, i, false); in dcn35_hw_block_power_down() 1237 pg_cntl->funcs->dsc_pg_control(pg_cntl, i, false); in dcn35_hw_block_power_down() 1283 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; in dcn35_hw_block_power_up() local 1292 pg_cntl->funcs->plane_otg_pg_control(pg_cntl, true); in dcn35_hw_block_power_up() 1298 pg_cntl->funcs->dsc_pg_control(pg_cntl, i, true); in dcn35_hw_block_power_up() 1312 pg_cntl->funcs->dsc_pg_control(pg_cntl, i, true); in dcn35_hw_block_power_up() 1318 pg_cntl->funcs->hpo_pg_control(pg_cntl, true); in dcn35_hw_block_power_up() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| A D | core_types.h | 299 struct pg_cntl *pg_cntl; member
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
| A D | dcn35_resource.c | 1560 if (pool->base.pg_cntl != NULL) in dcn35_resource_destruct() 1561 dcn_pg_cntl_destroy(&pool->base.pg_cntl); in dcn35_resource_destruct() 1984 pool->base.pg_cntl = pg_cntl35_create(ctx, &pg_cntl_regs, &pg_cntl_shift, &pg_cntl_mask); in dcn35_resource_construct() 1985 if (pool->base.pg_cntl == NULL) { in dcn35_resource_construct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| A D | dcn351_resource.c | 1540 if (pool->base.pg_cntl != NULL) in dcn351_resource_destruct() 1541 dcn_pg_cntl_destroy(&pool->base.pg_cntl); in dcn351_resource_destruct() 1962 pool->base.pg_cntl = pg_cntl35_create(ctx, &pg_cntl_regs, &pg_cntl_shift, &pg_cntl_mask); in dcn351_resource_construct() 1963 if (pool->base.pg_cntl == NULL) { in dcn351_resource_construct()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| A D | dce110_hwseq.c | 1833 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; in clean_up_dsc_blocks() local 1863 if (pg_cntl != NULL) in clean_up_dsc_blocks() 1864 pg_cntl->funcs->dsc_pg_control(pg_cntl, dsc->inst, false); in clean_up_dsc_blocks()
|