Home
last modified time | relevance | path

Searched refs:dccg (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dccg.c32 #define TO_DCN_DCCG(dccg)\ argument
33 container_of(dccg, struct dcn_dccg, base)
45 dccg->ctx->logger
47 void dccg2_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk) in dccg2_update_dpp_dto() argument
49 struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg); in dccg2_update_dpp_dto()
51 if (dccg->ref_dppclk && req_dppclk) { in dccg2_update_dpp_dto()
52 int ref_dppclk = dccg->ref_dppclk; in dccg2_update_dpp_dto()
74 dccg->pipe_dppclk_khz[dpp_inst] = req_dppclk; in dccg2_update_dpp_dto()
77 void dccg2_get_dccg_ref_freq(struct dccg *dccg, in dccg2_get_dccg_ref_freq() argument
81 struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg); in dccg2_get_dccg_ref_freq()
[all …]
Ddcn20_dccg.h116 struct dccg base;
122 void dccg2_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk);
124 void dccg2_get_dccg_ref_freq(struct dccg *dccg,
128 void dccg2_init(struct dccg *dccg);
130 struct dccg *dccg2_create(
136 void dcn_dccg_destroy(struct dccg **dccg);
Ddcn20_hwseq.c2417 if (res_pool->dccg->funcs->dccg_init) in dcn20_fpga_init_hw()
2418 res_pool->dccg->funcs->dccg_init(res_pool->dccg); in dcn20_fpga_init_hw()
Ddcn20_resource.c1560 if (pool->base.dccg != NULL) in dcn20_resource_destruct()
1561 dcn_dccg_destroy(&pool->base.dccg); in dcn20_resource_destruct()
3905 pool->base.dccg = dccg2_create(ctx, &dccg_regs, &dccg_shift, &dccg_mask);
3906 if (pool->base.dccg == NULL) {
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddccg.h32 struct dccg { struct
40 void (*update_dpp_dto)(struct dccg *dccg, argument
43 void (*get_dccg_ref_freq)(struct dccg *dccg,
46 void (*dccg_init)(struct dccg *dccg);
Dclk_mgr.h281 struct dccg;
283 …clk_mgr *dc_clk_mgr_create(struct dc_context *ctx, struct pp_smu_funcs *pp_smu, struct dccg *dccg);
Dclk_mgr_internal.h223 struct dccg *dccg; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dccg.c30 #define TO_DCN_DCCG(dccg)\ argument
31 container_of(dccg, struct dcn_dccg, base)
43 dccg->ctx->logger
52 struct dccg *dccg3_create( in dccg3_create()
59 struct dccg *base; in dccg3_create()
77 struct dccg *dccg30_create( in dccg30_create()
84 struct dccg *base; in dccg30_create()
Ddcn30_dccg.h54 struct dccg *dccg3_create(
60 struct dccg *dccg30_create(
Ddcn30_hwseq.c435 if (res_pool->dccg->funcs->dccg_init) in dcn30_init_hw()
436 res_pool->dccg->funcs->dccg_init(res_pool->dccg); in dcn30_init_hw()
470 if (res_pool->dccg && res_pool->hubbub) { in dcn30_init_hw()
472 (res_pool->dccg->funcs->get_dccg_ref_freq)(res_pool->dccg, in dcn30_init_hw()
Ddcn30_resource.c1322 if (pool->base.dccg != NULL) in dcn30_resource_destruct()
1323 dcn_dccg_destroy(&pool->base.dccg); in dcn30_resource_destruct()
2697 pool->base.dccg = dccg30_create(ctx, &dccg_regs, &dccg_shift, &dccg_mask); in dcn30_resource_construct()
2698 if (pool->base.dccg == NULL) { in dcn30_resource_construct()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c115 … clk_mgr *dc_clk_mgr_create(struct dc_context *ctx, struct pp_smu_funcs *pp_smu, struct dccg *dccg) in dc_clk_mgr_create() argument
166 rn_clk_mgr_construct(ctx, clk_mgr, pp_smu, dccg); in dc_clk_mgr_create()
171 rn_clk_mgr_construct(ctx, clk_mgr, pp_smu, dccg); in dc_clk_mgr_create()
188 dcn3_clk_mgr_construct(ctx, clk_mgr, pp_smu, dccg); in dc_clk_mgr_create()
192 dcn20_clk_mgr_construct(ctx, clk_mgr, pp_smu, dccg); in dc_clk_mgr_create()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.h29 void dcn2_update_clocks(struct clk_mgr *dccg,
44 struct dccg *dccg);
Ddcn20_clk_mgr.c108 clk_mgr->dccg->ref_dppclk = clk_mgr->base.clks.dppclk_khz; in dcn20_update_clocks_update_dpp_dto()
118 prev_dppclk_khz = clk_mgr->dccg->pipe_dppclk_khz[i]; in dcn20_update_clocks_update_dpp_dto()
121 clk_mgr->dccg->funcs->update_dpp_dto( in dcn20_update_clocks_update_dpp_dto()
122 clk_mgr->dccg, dpp_inst, dppclk_khz); in dcn20_update_clocks_update_dpp_dto()
326 clk_mgr_int->dccg->ref_dppclk = clk_mgr->clks.fclk_khz; in dcn2_update_clocks_fpga()
461 struct dccg *dccg) in dcn20_clk_mgr_construct() argument
470 clk_mgr->dccg = dccg; in dcn20_clk_mgr_construct()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.h39 struct dccg *dccg);
Drn_clk_mgr.c843 struct dccg *dccg) in rn_clk_mgr_construct() argument
859 clk_mgr->dccg = dccg; in rn_clk_mgr_construct()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.h34 struct dccg *dccg);
Ddcn30_clk_mgr.c501 struct dccg *dccg) in dcn3_clk_mgr_construct() argument
509 clk_mgr->dccg = dccg; in dcn3_clk_mgr_construct()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.h48 int dce12_get_dp_ref_freq_khz(struct clk_mgr *dccg);
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h237 struct dccg *dccg; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1266 if (dc->res_pool->dccg && dc->res_pool->dccg->funcs->dccg_init) in dcn10_init_hw()
1267 dc->res_pool->dccg->funcs->dccg_init(res_pool->dccg); in dcn10_init_hw()
1301 if (res_pool->dccg && res_pool->hubbub) { in dcn10_init_hw()
1303 (res_pool->dccg->funcs->get_dccg_ref_freq)(res_pool->dccg, in dcn10_init_hw()
2511 if (dc->res_pool->dccg) in dcn10_update_dchubp_dpp()
2512 dc->res_pool->dccg->funcs->update_dpp_dto( in dcn10_update_dchubp_dpp()
2513 dc->res_pool->dccg, in dcn10_update_dchubp_dpp()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c2512 struct clk_mgr *dccg = dc->clk_mgr; in dce110_prepare_bandwidth() local
2516 dccg->funcs->update_clocks( in dce110_prepare_bandwidth()
2517 dccg, in dce110_prepare_bandwidth()
2526 struct clk_mgr *dccg = dc->clk_mgr; in dce110_optimize_bandwidth() local
2530 dccg->funcs->update_clocks( in dce110_optimize_bandwidth()
2531 dccg, in dce110_optimize_bandwidth()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1015 if (pool->base.dccg != NULL) in dcn21_resource_destruct()
1016 dcn_dccg_destroy(&pool->base.dccg); in dcn21_resource_destruct()
1900 pool->base.dccg = dccg2_create(ctx, &dccg_regs, &dccg_shift, &dccg_mask); in dcn21_resource_construct()
1901 if (pool->base.dccg == NULL) { in dcn21_resource_construct()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc.c731 dc->clk_mgr = dc_clk_mgr_create(dc->ctx, dc->res_pool->pp_smu, dc->res_pool->dccg); in dc_construct()