Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c850 int min_slices_h; in setup_dsc_config() local
954 min_slices_h = pic_width / dsc_common_caps.max_slice_width; in setup_dsc_config()
956 min_slices_h++; in setup_dsc_config()
958 min_slices_h = fit_num_slices_up(dsc_common_caps.slice_caps, min_slices_h); in setup_dsc_config()
960 while (min_slices_h <= max_slices_h) { in setup_dsc_config()
961 int pix_clk_per_slice_khz = dsc_div_by_10_round_up(timing->pix_clk_100hz) / min_slices_h; in setup_dsc_config()
965 min_slices_h = inc_num_slices(dsc_common_caps.slice_caps, min_slices_h); in setup_dsc_config()
968 is_dsc_possible = (min_slices_h <= max_slices_h); in setup_dsc_config()
970 if (pic_width % min_slices_h != 0) in setup_dsc_config()
971 min_slices_h = 0; // DSC TODO: Maybe try increasing the number of slices first? in setup_dsc_config()
[all …]