/kernel/linux/linux-6.6/include/drm/display/ |
H A D | drm_dsc_helper.h | 23 const struct drm_dsc_config *dsc_cfg); 24 void drm_dsc_set_const_params(struct drm_dsc_config *vdsc_cfg); 25 void drm_dsc_set_rc_buf_thresh(struct drm_dsc_config *vdsc_cfg); 26 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg, enum drm_dsc_params_type type); 27 int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg); 28 u8 drm_dsc_initial_scale_value(const struct drm_dsc_config *dsc); 29 u32 drm_dsc_flatness_det_thresh(const struct drm_dsc_config *dsc); 30 u32 drm_dsc_get_bpp_int(const struct drm_dsc_config *vdsc_cfg);
|
H A D | drm_dsc.h | 70 * struct drm_dsc_config - Parameters required to configure DSC 75 struct drm_dsc_config { struct
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | rc_calc_dpi.c | 30 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() 72 static void copy_rc_to_cfg(struct drm_dsc_config *dsc_cfg, const struct rc_params *rc) in copy_rc_to_cfg() 99 int dscc_compute_dsc_parameters(const struct drm_dsc_config *pps, struct dsc_parameters *dsc_params) in dscc_compute_dsc_parameters() 103 struct drm_dsc_config dsc_cfg; in dscc_compute_dsc_parameters()
|
H A D | dscc_types.h | 42 struct drm_dsc_config pps; 49 int dscc_compute_dsc_parameters(const struct drm_dsc_config *pps, struct dsc_parameters *dsc_params);
|
H A D | rc_calc.h | 80 void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps); 81 u32 calc_dsc_bytes_per_pixel(const struct drm_dsc_config *pps);
|
H A D | rc_calc.c | 312 * This function expects a drm_dsc_config data struct with all the required DSC 319 void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps) in calc_rc_params() 347 * Based on the information inside drm_dsc_config, this function calculates the 356 u32 calc_dsc_bytes_per_pixel(const struct drm_dsc_config *pps) in calc_dsc_bytes_per_pixel()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | rc_calc_dpi.c | 29 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() 71 static void copy_rc_to_cfg(struct drm_dsc_config *dsc_cfg, const struct rc_params *rc) in copy_rc_to_cfg() 98 int dscc_compute_dsc_parameters(const struct drm_dsc_config *pps, in dscc_compute_dsc_parameters() 103 struct drm_dsc_config dsc_cfg; in dscc_compute_dsc_parameters()
|
H A D | dscc_types.h | 42 struct drm_dsc_config pps; 51 int dscc_compute_dsc_parameters(const struct drm_dsc_config *pps,
|
H A D | rc_calc.h | 32 void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps);
|
H A D | rc_calc.c | 33 * This function expects a drm_dsc_config data struct with all the required DSC 40 void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps) in calc_rc_params()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_dsc_helper.h | 21 static inline u32 msm_dsc_get_slices_per_intf(const struct drm_dsc_config *dsc, u32 intf_width) in msm_dsc_get_slices_per_intf() 33 static inline u32 msm_dsc_get_bytes_per_line(const struct drm_dsc_config *dsc) in msm_dsc_get_bytes_per_line()
|
H A D | msm_drv.h | 346 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi); 376 static inline struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi) in msm_dsi_get_dsc_config()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/display/ |
H A D | drm_dsc_helper.c | 88 * &struct drm_dsc_config 98 const struct drm_dsc_config *dsc_cfg) in drm_dsc_pps_payload_pack() 280 void drm_dsc_set_const_params(struct drm_dsc_config *vdsc_cfg) in drm_dsc_set_const_params() 307 void drm_dsc_set_rc_buf_thresh(struct drm_dsc_config *vdsc_cfg) in drm_dsc_set_rc_buf_thresh() 1242 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg, enum drm_dsc_params_type type) in drm_dsc_setup_rc_params() 1304 * &struct drm_dsc_config in accordance with the DSC 1.2 1311 int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg) in drm_dsc_compute_rc_parameters() 1445 u32 drm_dsc_get_bpp_int(const struct drm_dsc_config *vdsc_cfg) in drm_dsc_get_bpp_int() 1458 u8 drm_dsc_initial_scale_value(const struct drm_dsc_config *dsc) in drm_dsc_initial_scale_value() 1470 u32 drm_dsc_flatness_det_thresh(const struct drm_dsc_config *ds [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_dsc.h | 37 struct drm_dsc_config *dsc, 47 struct drm_dsc_config *dsc);
|
H A D | dpu_hw_dsc.c | 44 struct drm_dsc_config *dsc, in dpu_hw_dsc_config() 126 struct drm_dsc_config *dsc) in dpu_hw_dsc_config_thresh()
|
H A D | dpu_encoder.c | 168 * @dsc: drm_dsc_config pointer, for DSC-enabled encoders 212 struct drm_dsc_config *dsc; 552 static struct drm_dsc_config *dpu_encoder_get_dsc_config(struct drm_encoder *drm_enc) in dpu_encoder_get_dsc_config() 569 struct drm_dsc_config *dsc) in dpu_encoder_get_topology() 627 struct drm_dsc_config *dsc; in dpu_encoder_virt_atomic_check() 1780 dpu_encoder_dsc_initial_line_calc(struct drm_dsc_config *dsc, in dpu_encoder_dsc_initial_line_calc() 1807 struct drm_dsc_config *dsc, in dpu_encoder_dsc_pipe_cfg() 1831 struct drm_dsc_config *dsc) in dpu_encoder_prep_dsc()
|
H A D | dpu_hw_dsc_1_2.c | 86 struct drm_dsc_config *dsc, in dpu_hw_dsc_config_1_2() 240 struct drm_dsc_config *dsc) in dpu_hw_dsc_config_thresh_1_2()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_dsc.h | 70 * struct drm_dsc_config - Parameters required to configure DSC 75 struct drm_dsc_config { struct 606 const struct drm_dsc_config *dsc_cfg); 607 int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_vdsc.c | 56 intel_vdsc_set_min_max_qp(struct drm_dsc_config *vdsc_cfg, int buf, in intel_vdsc_set_min_max_qp() 78 calculate_rc_params(struct drm_dsc_config *vdsc_cfg) in calculate_rc_params() 218 struct drm_dsc_config *vdsc_cfg) in intel_dsc_slice_dimensions_valid() 244 struct drm_dsc_config *vdsc_cfg = &pipe_config->dsc.config; in intel_dsc_compute_params() 367 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_pps_configure() 883 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_dsi_pps_write() 906 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_dp_pps_write() 994 struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_get_config()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_dsc.c | 60 * &struct drm_dsc_config 70 const struct drm_dsc_config *dsc_cfg) in drm_dsc_pps_payload_pack() 249 * &struct drm_dsc_config in accordance with the DSC 1.2 256 int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg) in drm_dsc_compute_rc_parameters()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_vdsc.c | 383 struct drm_dsc_config *vdsc_cfg = &pipe_config->dsc.config; in intel_dsc_compute_params() 498 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_pps_configure() 980 struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_get_config() 1028 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_dsi_pps_write() 1049 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_dp_pps_write()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 38 static int dsi_populate_dsc_params(struct msm_dsi_host *msm_host, struct drm_dsc_config *dsc); 163 struct drm_dsc_config *dsc; 533 const struct drm_dsc_config *dsc) in dsi_adjust_pclk_for_compression() 544 const struct drm_dsc_config *dsc, bool is_bonded_dsi) in dsi_get_pclk_rate() 830 struct drm_dsc_config *dsc = msm_host->dsc; in dsi_update_dsc_timing() 917 struct drm_dsc_config *dsc = msm_host->dsc; in dsi_timing_setup() 1742 static int dsi_populate_dsc_params(struct msm_dsi_host *msm_host, struct drm_dsc_config *dsc) in dsi_populate_dsc_params() 2460 struct drm_dsc_config *dsc = msm_host->dsc; in msm_dsi_host_check_dsc() 2560 struct drm_dsc_config *msm_dsi_host_get_dsc_config(struct mipi_dsi_host *host) in msm_dsi_host_get_dsc_config()
|
H A D | dsi.h | 137 struct drm_dsc_config *msm_dsi_host_get_dsc_config(struct mipi_dsi_host *host);
|
H A D | dsi.c | 15 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi) in msm_dsi_get_dsc_config()
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_mipi_dsi.h | 197 struct drm_dsc_config *dsc;
|