Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c849 int max_slices_h; in setup_dsc_config() local
941 max_slices_h = get_max_dsc_slices(dsc_common_caps.slice_caps); in setup_dsc_config()
943 while (max_slices_h > 0) { in setup_dsc_config()
944 if (pic_width % max_slices_h == 0) in setup_dsc_config()
947 max_slices_h = dec_num_slices(dsc_common_caps.slice_caps, max_slices_h); in setup_dsc_config()
960 while (min_slices_h <= max_slices_h) { in setup_dsc_config()
968 is_dsc_possible = (min_slices_h <= max_slices_h); in setup_dsc_config()
973 if (min_slices_h == 0 && max_slices_h == 0) in setup_dsc_config()
982 else if (max_slices_h > 0) { // Fall back to max slices if min slices is not working out in setup_dsc_config()
983 if (policy.max_slices_h) in setup_dsc_config()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_dsc.h50 int max_slices_h; // Maximum available if 0 member