Home
last modified time | relevance | path

Searched refs:dpp_inst (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn20/
H A Ddcn20_dccg.c47 void dccg2_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk) in dccg2_update_dpp_dto() argument
64 REG_SET_2(DPPCLK_DTO_PARAM[dpp_inst], 0, in dccg2_update_dpp_dto()
68 DPPCLK_DTO_ENABLE[dpp_inst], 1); in dccg2_update_dpp_dto()
71 DPPCLK_DTO_ENABLE[dpp_inst], 0); in dccg2_update_dpp_dto()
74 dccg->pipe_dppclk_khz[dpp_inst] = req_dppclk; in dccg2_update_dpp_dto()
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn21/
H A Ddcn21_dccg.c46 static void dccg21_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk) in dccg21_update_dpp_dto() argument
88 REG_SET_2(DPPCLK_DTO_PARAM[dpp_inst], 0, in dccg21_update_dpp_dto()
93 DPPCLK_DTO_ENABLE[dpp_inst], 1); in dccg21_update_dpp_dto()
96 dccg->pipe_dppclk_khz[dpp_inst] = req_dppclk; in dccg21_update_dpp_dto()
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn314/
H A Ddcn314_dccg.c331 unsigned int dpp_inst, in dccg314_dpp_root_clock_control() argument
336 if (dccg->dpp_clock_gated[dpp_inst] != clock_on) in dccg314_dpp_root_clock_control()
341 REG_UPDATE(DPPCLK_DTO_CTRL, DPPCLK_DTO_ENABLE[dpp_inst], 0); in dccg314_dpp_root_clock_control()
342 REG_SET_2(DPPCLK_DTO_PARAM[dpp_inst], 0, in dccg314_dpp_root_clock_control()
347 REG_UPDATE(DPPCLK_DTO_CTRL, DPPCLK_DTO_ENABLE[dpp_inst], 1); in dccg314_dpp_root_clock_control()
348 REG_SET_2(DPPCLK_DTO_PARAM[dpp_inst], 0, in dccg314_dpp_root_clock_control()
353 dccg->dpp_clock_gated[dpp_inst] = !clock_on; in dccg314_dpp_root_clock_control()
/linux/drivers/gpu/drm/amd/display/dc/hwss/
H A Dhw_sequencer_private.h119 unsigned int dpp_inst,
123 unsigned int dpp_inst,
130 unsigned int dpp_inst,
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn401/
H A Ddcn401_dccg.c56 uint32_t dpp_inst, uint32_t enable) in dcn401_set_dppclk_enable() argument
60 switch (dpp_inst) { in dcn401_set_dppclk_enable()
77 void dccg401_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk) in dccg401_update_dpp_dto() argument
94 REG_SET_2(DPPCLK_DTO_PARAM[dpp_inst], 0, in dccg401_update_dpp_dto()
97 dcn401_set_dppclk_enable(dccg, dpp_inst, true); in dccg401_update_dpp_dto()
99 dcn401_set_dppclk_enable(dccg, dpp_inst, false); in dccg401_update_dpp_dto()
102 dccg->pipe_dppclk_khz[dpp_inst] = req_dppclk; in dccg401_update_dpp_dto()
H A Ddcn401_dccg.h195 void dccg401_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk);
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn31/
H A Ddcn31_dccg.c46 void dccg31_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk) in dccg31_update_dpp_dto() argument
50 if (dccg->dpp_clock_gated[dpp_inst]) { in dccg31_update_dpp_dto()
71 REG_SET_2(DPPCLK_DTO_PARAM[dpp_inst], 0, in dccg31_update_dpp_dto()
75 DPPCLK_DTO_ENABLE[dpp_inst], 1); in dccg31_update_dpp_dto()
78 DPPCLK_DTO_ENABLE[dpp_inst], 0); in dccg31_update_dpp_dto()
80 dccg->pipe_dppclk_khz[dpp_inst] = req_dppclk; in dccg31_update_dpp_dto()
H A Ddcn31_dccg.h205 int dpp_inst,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn302/
H A Ddcn302_hwseq.c45 void dcn302_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on) in dcn302_dpp_pg_control() argument
55 switch (dpp_inst) { in dcn302_dpp_pg_control()
H A Ddcn302_hwseq.h31 void dcn302_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on);
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddccg.h97 int dpp_inst,
195 unsigned int dpp_inst,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn303/
H A Ddcn303_hwseq.h32 void dcn303_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on);
H A Ddcn303_hwseq.c46 void dcn303_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on) in dcn303_dpp_pg_control() argument
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
H A Ddcn314_hwseq.h46 void dcn314_dpp_root_clock_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool clock_on);
H A Ddcn314_hwseq.c429 void dcn314_dpp_root_clock_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool clock_on) in dcn314_dpp_root_clock_control() argument
436 hws->ctx->dc->res_pool->dccg, dpp_inst, clock_on); in dcn314_dpp_root_clock_control()
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn201/
H A Ddcn201_dccg.c47 static void dccg201_update_dpp_dto(struct dccg *dccg, int dpp_inst, in dccg201_update_dpp_dto() argument
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
H A Drn_clk_mgr.c114 int dpp_inst, dppclk_khz, prev_dppclk_khz; in rn_update_clocks_update_dpp_dto() local
119 dpp_inst = clk_mgr->base.ctx->dc->res_pool->dpps[i]->inst; in rn_update_clocks_update_dpp_dto()
122 prev_dppclk_khz = clk_mgr->dccg->pipe_dppclk_khz[dpp_inst]; in rn_update_clocks_update_dpp_dto()
126 clk_mgr->dccg, dpp_inst, dppclk_khz); in rn_update_clocks_update_dpp_dto()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.h38 void dcn35_dpp_root_clock_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool clock_on);
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.c111 int dpp_inst, dppclk_khz, prev_dppclk_khz; in dcn20_update_clocks_update_dpp_dto() local
116 dpp_inst = i; in dcn20_update_clocks_update_dpp_dto()
123 clk_mgr->dccg, dpp_inst, dppclk_khz); in dcn20_update_clocks_update_dpp_dto()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_replay.c153 copy_settings_data->dpp_inst = pipe_ctx->plane_res.dpp->inst; in dmub_replay_copy_settings()
155 copy_settings_data->dpp_inst = 0; in dmub_replay_copy_settings()
H A Ddmub_psr.c344 copy_settings_data->dpp_inst = pipe_ctx->plane_res.dpp->inst; in dmub_psr_copy_settings()
346 copy_settings_data->dpp_inst = 0; in dmub_psr_copy_settings()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.h104 unsigned int dpp_inst,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.h92 unsigned int dpp_inst,
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c217 int dpp_inst = 0, dppclk_khz, prev_dppclk_khz; in dcn35_update_clocks_update_dpp_dto() local
222 dpp_inst = context->res_ctx.pipe_ctx[i].plane_res.dpp->inst; in dcn35_update_clocks_update_dpp_dto()
240 clk_mgr->dccg, dpp_inst, dppclk_khz); in dcn35_update_clocks_update_dpp_dto()
241 dppclk_active[dpp_inst] = true; in dcn35_update_clocks_update_dpp_dto()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c321 int dpp_inst = 0, dppclk_khz, prev_dppclk_khz; in dcn32_update_clocks_update_dpp_dto() local
326 dpp_inst = context->res_ctx.pipe_ctx[i].plane_res.dpp->inst; in dcn32_update_clocks_update_dpp_dto()
344 clk_mgr->dccg, dpp_inst, dppclk_khz); in dcn32_update_clocks_update_dpp_dto()

12