Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_dsc_1_2.c61 static int _dsc_calc_output_buf_max_addr(struct dpu_hw_dsc *hw_dsc, int num_softslice) in _dsc_calc_output_buf_max_addr() argument
65 if (hw_dsc->caps->features & BIT(DPU_DSC_NATIVE_42x_EN)) in _dsc_calc_output_buf_max_addr()
71 static void dpu_hw_dsc_disable_1_2(struct dpu_hw_dsc *hw_dsc) in dpu_hw_dsc_disable_1_2() argument
76 if (!hw_dsc) in dpu_hw_dsc_disable_1_2()
79 hw = &hw_dsc->hw; in dpu_hw_dsc_disable_1_2()
80 sblk = hw_dsc->caps->sblk; in dpu_hw_dsc_disable_1_2()
87 static void dpu_hw_dsc_config_1_2(struct dpu_hw_dsc *hw_dsc, in dpu_hw_dsc_config_1_2() argument
99 if (!hw_dsc || !dsc) in dpu_hw_dsc_config_1_2()
102 hw = &hw_dsc->hw; in dpu_hw_dsc_config_1_2()
104 sblk = hw_dsc->caps->sblk; in dpu_hw_dsc_config_1_2()
[all …]
H A Ddpu_hw_dsc.c45 static void dpu_hw_dsc_config(struct dpu_hw_dsc *hw_dsc, in dpu_hw_dsc_config() argument
50 struct dpu_hw_blk_reg_map *c = &hw_dsc->hw; in dpu_hw_dsc_config()
127 static void dpu_hw_dsc_config_thresh(struct dpu_hw_dsc *hw_dsc, in dpu_hw_dsc_config_thresh() argument
131 struct dpu_hw_blk_reg_map *c = &hw_dsc->hw; in dpu_hw_dsc_config_thresh()
161 struct dpu_hw_dsc *hw_dsc, in dpu_hw_dsc_bind_pingpong_blk() argument
164 struct dpu_hw_blk_reg_map *c = &hw_dsc->hw; in dpu_hw_dsc_bind_pingpong_blk()
168 dsc_ctl_offset = DSC_CTL(hw_dsc->idx); in dpu_hw_dsc_bind_pingpong_blk()
175 hw_dsc->idx - DSC_0, pp - PINGPONG_0); in dpu_hw_dsc_bind_pingpong_blk()
178 hw_dsc->idx - DSC_0); in dpu_hw_dsc_bind_pingpong_blk()
H A Ddpu_hw_dsc.h27 void (*dsc_disable)(struct dpu_hw_dsc *hw_dsc);
36 void (*dsc_config)(struct dpu_hw_dsc *hw_dsc,
46 void (*dsc_config_thresh)(struct dpu_hw_dsc *hw_dsc,
49 void (*dsc_bind_pingpong_blk)(struct dpu_hw_dsc *hw_dsc,
H A Ddpu_encoder.c182 struct dpu_hw_dsc *hw_dsc[MAX_CHANNELS_PER_ENC]; member
1136 struct dpu_hw_blk *hw_dsc[MAX_CHANNELS_PER_ENC]; in dpu_encoder_virt_atomic_mode_set() local
1173 hw_dsc, ARRAY_SIZE(hw_dsc)); in dpu_encoder_virt_atomic_mode_set()
1175 dpu_enc->hw_dsc[i] = to_dpu_hw_dsc(hw_dsc[i]); in dpu_encoder_virt_atomic_mode_set()
1176 dsc_mask |= BIT(dpu_enc->hw_dsc[i]->idx - DSC_0); in dpu_encoder_virt_atomic_mode_set()
1859 struct dpu_hw_dsc *hw_dsc, in dpu_encoder_dsc_pipe_cfg() argument
1865 if (hw_dsc->ops.dsc_config) in dpu_encoder_dsc_pipe_cfg()
1866 hw_dsc->ops.dsc_config(hw_dsc, dsc, common_mode, initial_lines); in dpu_encoder_dsc_pipe_cfg()
1868 if (hw_dsc->ops.dsc_config_thresh) in dpu_encoder_dsc_pipe_cfg()
1869 hw_dsc->ops.dsc_config_thresh(hw_dsc, dsc); in dpu_encoder_dsc_pipe_cfg()
[all …]