/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | dsc.h | 37 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 D | dsc.h | 37 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 D | dcn20_dsc.c | 31 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 D | dcn20_resource.c | 2485 struct dsc_config dsc_cfg;
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dsc.c | 37 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 D | dcn20_dsc.h | 553 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 D | dcn20_resource.c | 1666 struct dsc_config dsc_cfg; in dcn20_validate_dsc()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_dsc.h | 30 * dsc_config - configures dsc encoder 36 void (*dsc_config)(struct dpu_hw_dsc *hw_dsc, member
|
H A D | dpu_hw_dsc.c | 185 ops->dsc_config = dpu_hw_dsc_config; in _setup_dsc_ops()
|
H A D | dpu_hw_dsc_1_2.c | 365 ops->dsc_config = dpu_hw_dsc_config_1_2; in _setup_dcs_ops_1_2()
|
H A D | dpu_encoder.c | 1811 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 D | amdgpu_dm_mst_types.c | 559 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 D | dc_link_hwss.c | 443 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 D | dc.c | 1976 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 D | dc_stream.h | 262 struct dc_dsc_config *dsc_config; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_stream.h | 339 struct dc_dsc_config *dsc_config; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 2634 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 D | dcn314_hwseq.c | 107 struct dsc_config dsc_cfg; in update_dsc_on_stream()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 868 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 D | link_dpms.c | 787 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 D | dcn32_hwseq.c | 1012 struct dsc_config dsc_cfg; in update_dsc_on_stream()
|