Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder_phys_wb.c46 struct dpu_vbif_set_ot_params ot_params; in dpu_encoder_phys_wb_set_ot_limit() local
48 memset(&ot_params, 0, sizeof(ot_params)); in dpu_encoder_phys_wb_set_ot_limit()
49 ot_params.xin_id = hw_wb->caps->xin_id; in dpu_encoder_phys_wb_set_ot_limit()
50 ot_params.num = hw_wb->idx - WB_0; in dpu_encoder_phys_wb_set_ot_limit()
51 ot_params.width = phys_enc->cached_mode.hdisplay; in dpu_encoder_phys_wb_set_ot_limit()
52 ot_params.height = phys_enc->cached_mode.vdisplay; in dpu_encoder_phys_wb_set_ot_limit()
53 ot_params.is_wfd = true; in dpu_encoder_phys_wb_set_ot_limit()
54 ot_params.frame_rate = drm_mode_vrefresh(&phys_enc->cached_mode); in dpu_encoder_phys_wb_set_ot_limit()
55 ot_params.vbif_idx = hw_wb->caps->vbif_idx; in dpu_encoder_phys_wb_set_ot_limit()
56 ot_params.clk_ctrl = hw_wb->caps->clk_ctrl; in dpu_encoder_phys_wb_set_ot_limit()
[all …]
H A Ddpu_plane.c349 struct dpu_vbif_set_ot_params ot_params; in _dpu_plane_set_ot_limit() local
352 memset(&ot_params, 0, sizeof(ot_params)); in _dpu_plane_set_ot_limit()
353 ot_params.xin_id = pipe->sspp->cap->xin_id; in _dpu_plane_set_ot_limit()
354 ot_params.num = pipe->sspp->idx - SSPP_NONE; in _dpu_plane_set_ot_limit()
355 ot_params.width = drm_rect_width(&pipe_cfg->src_rect); in _dpu_plane_set_ot_limit()
356 ot_params.height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_set_ot_limit()
357 ot_params.is_wfd = !pdpu->is_rt_pipe; in _dpu_plane_set_ot_limit()
358 ot_params.frame_rate = frame_rate; in _dpu_plane_set_ot_limit()
359 ot_params.vbif_idx = VBIF_RT; in _dpu_plane_set_ot_limit()
360 ot_params.clk_ctrl = pipe->sspp->cap->clk_ctrl; in _dpu_plane_set_ot_limit()
[all …]