Lines Matching refs:DSC

35 /* default DSC policy target bitrate limit is 16bpp */
38 /* default DSC policy enables DSC only when needed */
63 if (!timing->flags.DSC) {
94 if (timing->flags.DSC)
203 dm_error("%s: DPCD DSC buffer size not recognized.\n", __func__);
219 dm_error("%s: DPCD DSC buffer depth not recognized.\n", __func__);
279 dm_error("%s: DPCD DSC throughput mode not recognized.\n", __func__);
310 dm_error("%s: DPCD DSC bits-per-pixel increment not recognized.\n", __func__);
406 if (dpcd_dsc_branch_decoder_caps == NULL) { // branch decoder DPCD DSC data can be null for non branch device
444 /* If DSC is possbile, get DSC bandwidth range based on [min_bpp, max_bpp] target bitrate range and
446 * If DSC is not possible, leave '*range' untouched.
489 // This is a static HW query, so we can use any DSC
571 // TODO DSC: Remove this workaround for N422 and 420 once it's fixed, or move it to get_dsc_encoder_caps()
609 /* Decide DSC bandwidth range based on signal, timing, specs specific and input min and max
612 * and native timing bandwidth requirement when DSC is not used.
627 /* apply signal, timing, specs and explicitly specified DSC range requirements */
664 /* Decides if DSC should be used and calculates target bpp if it should, applying DSC policy.
668 * - 'false' if target bpp cannot be decided (e.g. cannot fit even with min DSC bpp),
839 /* Attempts to set DSC configuration for the stream, applying DSC policy.
844 * dsc_sink_caps - DSC sink decoder capabilities (from DPCD)
846 * dsc_enc_caps - DSC encoder capabilities
854 * dsc_cfg - DSC configuration to use if it was possible to come up with
856 * The target bitrate after DSC can be calculated by multiplying
896 // Intersect decoder with encoder DSC caps and validate DSC settings
903 // Validate available DSC settings against the mode timing
993 min_slices_h = 0; // DSC TODO: Maybe try increasing the number of slices first?
1022 // When we force 2:1 ODM, we can't have 1 slice to divide amongst 2 separate DSC instances
1079 // Final decission: can we do DSC or not?
1081 // Fill out the rest of DSC settings
1166 /* DSC Policy: Use minimum number of slices that fits the pixel clock */
1169 /* DSC Policy: Use max available slices
1174 /* DSC Policy: Use slice height recommended
1175 * by VESA DSC Spreadsheet user guide
1179 /* DSC Policy: follow DP specs with an internal upper limit to 16 bpp
1222 /* enable DSC when not needed, default false */