Home
last modified time | relevance | path

Searched refs:perf_cfg (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c40 static u64 _dpu_core_perf_calc_bw(const struct dpu_perf_cfg *perf_cfg, in _dpu_core_perf_calc_bw() argument
56 bw_factor = perf_cfg->bw_inefficiency_factor; in _dpu_core_perf_calc_bw()
72 static u64 _dpu_core_perf_calc_clk(const struct dpu_perf_cfg *perf_cfg, in _dpu_core_perf_calc_clk() argument
93 clk_factor = perf_cfg->clk_inefficiency_factor; in _dpu_core_perf_calc_clk()
114 const struct dpu_perf_cfg *perf_cfg = core_perf->perf_cfg; in _dpu_core_perf_calc_crtc() local
116 if (!perf_cfg || !crtc || !state || !perf) { in _dpu_core_perf_calc_crtc()
132 perf->bw_ctl = _dpu_core_perf_calc_bw(perf_cfg, crtc); in _dpu_core_perf_calc_crtc()
133 perf->max_per_pipe_ib = perf_cfg->min_dram_ib; in _dpu_core_perf_calc_crtc()
134 perf->core_clk_rate = _dpu_core_perf_calc_clk(perf_cfg, crtc, state); in _dpu_core_perf_calc_crtc()
190 threshold = kms->perf.perf_cfg->max_bw_high; in dpu_core_perf_crtc_check()
[all …]
H A Ddpu_core_perf.h47 const struct dpu_perf_cfg *perf_cfg; member
88 const struct dpu_perf_cfg *perf_cfg,