min_slices_h 519 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c int min_slices_h; min_slices_h 628 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c min_slices_h = pic_width / dsc_common_caps.max_slice_width; min_slices_h 630 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c min_slices_h++; min_slices_h 632 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c min_slices_h = fit_num_slices_up(dsc_common_caps.slice_caps, min_slices_h); min_slices_h 634 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c while (min_slices_h <= max_slices_h) { min_slices_h 635 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c int pix_clk_per_slice_khz = dsc_div_by_10_round_up(timing->pix_clk_100hz) / min_slices_h; min_slices_h 639 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c min_slices_h = inc_num_slices(dsc_common_caps.slice_caps, min_slices_h); min_slices_h 642 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (pic_width % min_slices_h != 0) min_slices_h 643 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c min_slices_h = 0; // DSC TODO: Maybe try increasing the number of slices first? min_slices_h 645 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (min_slices_h <= max_slices_h); min_slices_h 650 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (min_slices_h > 0) min_slices_h 651 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c num_slices_h = min_slices_h; min_slices_h 665 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c } else if (min_slices_h > 0) // Fall back to min slices if max slices is not possible min_slices_h 666 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c num_slices_h = min_slices_h;