Home
last modified time | relevance | path

Searched refs:dsc_enc_caps (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c227 struct dsc_enc_caps *dsc_enc_caps, in get_dsc_enc_caps() argument
232 memset(dsc_enc_caps, 0, sizeof(struct dsc_enc_caps)); in get_dsc_enc_caps()
235 dsc->funcs->dsc_get_enc_caps(dsc_enc_caps, pixel_clock_100Hz); in get_dsc_enc_caps()
237 dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_422 = 1; in get_dsc_enc_caps()
246 const struct dsc_enc_caps *dsc_enc_caps, in intersect_dsc_caps() argument
248 struct dsc_enc_caps *dsc_common_caps) in intersect_dsc_caps()
253 memset(dsc_common_caps, 0, sizeof(struct dsc_enc_caps)); in intersect_dsc_caps()
255 dsc_common_caps->dsc_version = min(dsc_sink_caps->dsc_version, dsc_enc_caps->dsc_version); in intersect_dsc_caps()
259 …s.bits.NUM_SLICES_1 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_1 && dsc_enc_caps->slice_caps.bit… in intersect_dsc_caps()
260 …s.bits.NUM_SLICES_2 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_2 && dsc_enc_caps->slice_caps.bit… in intersect_dsc_caps()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c40 static void dsc2_get_enc_caps(struct dsc_enc_caps *dsc_enc_caps, int pixel_clock_100Hz);
106 static void dsc2_get_enc_caps(struct dsc_enc_caps *dsc_enc_caps, int pixel_clock_100Hz) in dsc2_get_enc_caps() argument
108 dsc_enc_caps->dsc_version = 0x21; /* v1.2 - DP spec defined it in reverse order and we kept it */ in dsc2_get_enc_caps()
110 dsc_enc_caps->slice_caps.bits.NUM_SLICES_1 = 1; in dsc2_get_enc_caps()
111 dsc_enc_caps->slice_caps.bits.NUM_SLICES_2 = 1; in dsc2_get_enc_caps()
112 dsc_enc_caps->slice_caps.bits.NUM_SLICES_3 = 1; in dsc2_get_enc_caps()
113 dsc_enc_caps->slice_caps.bits.NUM_SLICES_4 = 1; in dsc2_get_enc_caps()
115 dsc_enc_caps->lb_bit_depth = 13; in dsc2_get_enc_caps()
116 dsc_enc_caps->is_block_pred_supported = true; in dsc2_get_enc_caps()
118 dsc_enc_caps->color_formats.bits.RGB = 1; in dsc2_get_enc_caps()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h81 struct dsc_enc_caps { struct
94 void (*dsc_get_enc_caps)(struct dsc_enc_caps *dsc_enc_caps, int pixel_clock_100Hz); argument