Home
last modified time | relevance | path

Searched refs:dsc_config (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddsc.h37 struct dsc_config { struct
96 bool (*dsc_validate_stream)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg);
97 void (*dsc_set_config)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
99 bool (*dsc_get_packed_pps)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddsc.h37 struct dsc_config { struct
100 bool (*dsc_validate_stream)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg);
101 void (*dsc_set_config)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
103 bool (*dsc_get_packed_pps)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dsc.c31 static bool dsc_prepare_config(const struct dsc_config *dsc_cfg, struct dsc_reg_values *dsc_reg_vals,
42 static bool dsc2_validate_stream(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg);
43 static void dsc2_set_config(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
45 static bool dsc2_get_packed_pps(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, uint8_t *dsc_packed_pps);
168 static bool dsc2_validate_stream(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg) in dsc2_validate_stream()
180 static void dsc_config_log(struct display_stream_compressor *dsc, const struct dsc_config *config) in dsc_config_log()
191 static void dsc2_set_config(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, in dsc2_set_config()
208 static bool dsc2_get_packed_pps(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, uint8_t *dsc_packed_pps) in dsc2_get_packed_pps()
333 static bool dsc_prepare_config(const struct dsc_config *dsc_cfg, struct dsc_reg_values *dsc_reg_vals, in dsc_prepare_config()
H A Ddcn20_resource.c2485 struct dsc_config dsc_cfg;
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dsc.c37 static bool dsc2_validate_stream(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg);
38 static void dsc2_set_config(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
166 static bool dsc2_validate_stream(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg) in dsc2_validate_stream()
178 void dsc_config_log(struct display_stream_compressor *dsc, const struct dsc_config *config) in dsc_config_log()
189 static void dsc2_set_config(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, in dsc2_set_config()
205 bool dsc2_get_packed_pps(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, uint8_t *dsc_packed_pps) in dsc2_get_packed_pps()
366 bool dsc_prepare_config(const struct dsc_config *dsc_cfg, struct dsc_reg_values *dsc_reg_vals, in dsc_prepare_config()
H A Ddcn20_dsc.h553 const struct dsc_config *config);
561 bool dsc_prepare_config(const struct dsc_config *dsc_cfg,
585 const struct dsc_config *dsc_cfg,
H A Ddcn20_resource.c1666 struct dsc_config dsc_cfg; in dcn20_validate_dsc()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_dsc.h30 * dsc_config - configures dsc encoder
36 void (*dsc_config)(struct dpu_hw_dsc *hw_dsc, member
H A Ddpu_hw_dsc.c185 ops->dsc_config = dpu_hw_dsc_config; in _setup_dsc_ops()
H A Ddpu_hw_dsc_1_2.c365 ops->dsc_config = dpu_hw_dsc_config_1_2; in _setup_dcs_ops_1_2()
H A Ddpu_encoder.c1811 if (hw_dsc->ops.dsc_config) in dpu_encoder_dsc_pipe_cfg()
1812 hw_dsc->ops.dsc_config(hw_dsc, dsc, common_mode, initial_lines); in dpu_encoder_dsc_pipe_cfg()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c559 struct dc_dsc_config dsc_config; in bpp_x16_from_pbn() local
567 (int) kbps, param.timing, &dsc_config); in bpp_x16_from_pbn()
569 return dsc_config.bits_per_pixel; in bpp_x16_from_pbn()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_hwss.c443 struct dsc_config dsc_cfg; in dp_set_dsc_on_stream()
547 struct dsc_config dsc_cfg; in dp_set_dsc_pps_sdp()
H A Ddc.c1976 if (stream_update->dsc_config) in check_update_surfaces_for_stream()
2257 if (update->dsc_config) { in copy_stream_update_to_stream()
2260 uint32_t enable_dsc = (update->dsc_config->num_slices_h != 0 && in copy_stream_update_to_stream()
2261 update->dsc_config->num_slices_v != 0); in copy_stream_update_to_stream()
2269 stream->timing.dsc_cfg = *update->dsc_config; in copy_stream_update_to_stream()
2274 update->dsc_config = NULL; in copy_stream_update_to_stream()
2280 update->dsc_config = NULL; in copy_stream_update_to_stream()
2342 if (stream_update->dsc_config) in commit_planes_do_stream_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h262 struct dc_dsc_config *dsc_config; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h339 struct dc_dsc_config *dsc_config; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2634 if (stream_update->dsc_config) in check_update_surfaces_for_stream()
2953 if (update->dsc_config) { in copy_stream_update_to_stream()
2956 uint32_t enable_dsc = (update->dsc_config->num_slices_h != 0 && in copy_stream_update_to_stream()
2957 update->dsc_config->num_slices_v != 0); in copy_stream_update_to_stream()
2965 stream->timing.dsc_cfg = *update->dsc_config; in copy_stream_update_to_stream()
2970 update->dsc_config = NULL; in copy_stream_update_to_stream()
2976 update->dsc_config = NULL; in copy_stream_update_to_stream()
3186 if (stream_update->dsc_config) in commit_planes_do_stream_update()
4234 stream_update->dsc_config || in full_update_required()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_hwseq.c107 struct dsc_config dsc_cfg; in update_dsc_on_stream()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c868 struct dc_dsc_config dsc_config; in bpp_x16_from_pbn() local
884 &dsc_config); in bpp_x16_from_pbn()
886 return dsc_config.bits_per_pixel; in bpp_x16_from_pbn()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c787 struct dsc_config dsc_cfg; in link_set_dsc_on_stream()
886 struct dsc_config dsc_cfg; in link_set_dsc_pps_packet()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.c1012 struct dsc_config dsc_cfg; in update_dsc_on_stream()

Completed in 40 milliseconds