Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/pg/dcn35/
H A Ddcn35_pg_cntl.c32 #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()
83 bool skip_pg = pg_cntl->ctx->dc->debug.ignore_pg || in pg_cntl35_dsc_pg_control()
84 pg_cntl->ctx->dc->debug.disable_dsc_power_gate || in pg_cntl35_dsc_pg_control()
[all …]
H A Ddcn35_pg_cntl.h166 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 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/
H 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()
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, i, false); in dcn351_hw_block_power_down()
124 if (pg_cntl->funcs->plane_otg_pg_control) 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()
[all …]