| /linux/drivers/gpu/drm/amd/display/dc/pg/dcn35/ |
| H A D | dcn35_pg_cntl.c | 32 #define TO_DCN_PG_CNTL(pg_cntl)\ argument 33 container_of(pg_cntl, struct dcn_pg_cntl, base) 45 pg_cntl->ctx->logger 47 static bool pg_cntl35_dsc_pg_status(struct pg_cntl *pg_cntl, unsigned int dsc_inst) in pg_cntl35_dsc_pg_status() argument 49 struct dcn_pg_cntl *pg_cntl_dcn = TO_DCN_PG_CNTL(pg_cntl); in pg_cntl35_dsc_pg_status() 52 if (pg_cntl->ctx->dc->debug.ignore_pg) in pg_cntl35_dsc_pg_status() 76 void pg_cntl35_dsc_pg_control(struct pg_cntl *pg_cntl, unsigned int dsc_inst, bool power_on) in pg_cntl35_dsc_pg_control() argument 78 struct dcn_pg_cntl *pg_cntl_dcn = TO_DCN_PG_CNTL(pg_cntl); in pg_cntl35_dsc_pg_control() 145 pg_cntl35_hubp_dpp_pg_status(struct pg_cntl * pg_cntl,unsigned int hubp_dpp_inst) pg_cntl35_hubp_dpp_pg_status() argument 175 pg_cntl35_hubp_dpp_pg_control(struct pg_cntl * pg_cntl,unsigned int hubp_dpp_inst,bool power_on) pg_cntl35_hubp_dpp_pg_control() argument 238 pg_cntl35_hpo_pg_status(struct pg_cntl * pg_cntl) pg_cntl35_hpo_pg_status() argument 249 pg_cntl35_hpo_pg_control(struct pg_cntl * pg_cntl,bool power_on) pg_cntl35_hpo_pg_control() argument 286 pg_cntl35_io_clk_status(struct pg_cntl * pg_cntl) pg_cntl35_io_clk_status() argument 297 pg_cntl35_io_clk_pg_control(struct pg_cntl * pg_cntl,bool power_on) pg_cntl35_io_clk_pg_control() argument 336 pg_cntl35_plane_otg_status(struct pg_cntl * pg_cntl) pg_cntl35_plane_otg_status() argument 347 pg_cntl35_mpcc_pg_control(struct pg_cntl * pg_cntl,unsigned int mpcc_inst,bool power_on) pg_cntl35_mpcc_pg_control() argument 357 pg_cntl35_opp_pg_control(struct pg_cntl * pg_cntl,unsigned int opp_inst,bool power_on) pg_cntl35_opp_pg_control() argument 367 pg_cntl35_optc_pg_control(struct pg_cntl * pg_cntl,unsigned int optc_inst,bool power_on) pg_cntl35_optc_pg_control() argument 377 pg_cntl35_plane_otg_pg_control(struct pg_cntl * pg_cntl,bool power_on) pg_cntl35_plane_otg_pg_control() argument 442 pg_cntl35_dwb_pg_control(struct pg_cntl * pg_cntl,bool power_on) pg_cntl35_dwb_pg_control() argument 450 pg_cntl35_mem_status(struct pg_cntl * pg_cntl) pg_cntl35_mem_status() argument 461 pg_cntl35_init_pg_status(struct pg_cntl * pg_cntl) pg_cntl35_init_pg_status() argument 495 pg_cntl35_print_pg_status(struct pg_cntl * pg_cntl,const char * debug_func,const char * debug_log) pg_cntl35_print_pg_status() argument 567 dcn_pg_cntl_destroy(struct pg_cntl ** pg_cntl) dcn_pg_cntl_destroy() argument [all...] |
| H A D | dcn35_pg_cntl.h | 166 struct pg_cntl base; 172 void pg_cntl35_dsc_pg_control(struct pg_cntl *pg_cntl, unsigned int dsc_inst, bool power_on); 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); [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H 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/ |
| H 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() 116 if (pg_cntl->funcs->hubp_dpp_pg_control) in dcn351_hw_block_power_down() 117 pg_cntl->funcs->hubp_dpp_pg_control(pg_cntl, in dcn351_hw_block_power_down() 156 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; dcn351_hw_block_power_up() local [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| H A D | dcn351_resource.c | 1689 if (pool->base.pg_cntl != NULL) in dcn35_dsc_create() 1690 dcn_pg_cntl_destroy(&pool->base.pg_cntl); in dcn35_dsc_create() 2155 pool->base.pg_cntl = pg_cntl35_create(ctx, &pg_cntl_regs, &pg_cntl_shift, &pg_cntl_mask); in dcn351_resource_construct() 2156 if (pool->base.pg_cntl == NULL) { in dcn351_resource_construct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
| H A D | dcn35_resource.c | 1709 if (pool->base.pg_cntl != NULL) in dcn35_dsc_create() 1710 dcn_pg_cntl_destroy(&pool->base.pg_cntl); in dcn35_dsc_create() 2183 pool->base.pg_cntl = pg_cntl35_create(ctx, &pg_cntl_regs, &pg_cntl_shift, &pg_cntl_mask); in dcn35_resource_construct() 2184 if (pool->base.pg_cntl == NULL) { in dcn35_resource_construct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/ |
| H A D | dcn36_resource.c | 1696 if (pool->base.pg_cntl != NULL) in dcn35_dsc_create() 1697 dcn_pg_cntl_destroy(&pool->base.pg_cntl); in dcn35_dsc_create() 2153 pool->base.pg_cntl = pg_cntl35_create(ctx, &pg_cntl_regs, &pg_cntl_shift, &pg_cntl_mask); in dcn36_resource_construct() 2154 if (pool->base.pg_cntl == NULL) { in dcn36_resource_construct()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 1960 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; in dc_hwss_enable_otg_pwa() 1993 if (pg_cntl != NULL) in dce110_enable_accelerated_mode() 1994 pg_cntl->funcs->dsc_pg_control(pg_cntl, dsc->inst, false); in dce110_enable_accelerated_mode() 1917 struct pg_cntl *pg_cntl = dc->res_pool->pg_cntl; clean_up_dsc_blocks() local
|