Home
last modified time | relevance | path

Searched refs:pg_cntl (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/pg/dcn35/
A Ddcn35_pg_cntl.c45 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 Ddcn35_pg_cntl.h166 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 Dpg_cntl.h32 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 Ddcn351_hwseq.c103 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 Ddcn35_hwseq.c697 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 Dcore_types.h299 struct pg_cntl *pg_cntl; member
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
A Ddcn35_resource.c1560 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 Ddcn351_resource.c1540 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 Ddce110_hwseq.c1833 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()

Completed in 32 milliseconds