Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c33 int max_slices_h; // Maximum available if 0 member
41 ….max_slices_h = 0, // DSC Policy: Use max available slices (in our case 4 for or 8, depending on t…
518 int max_slices_h; in setup_dsc_config() local
615 max_slices_h = get_max_dsc_slices(dsc_common_caps.slice_caps); in setup_dsc_config()
617 while (max_slices_h > 0) { in setup_dsc_config()
618 if (pic_width % max_slices_h == 0) in setup_dsc_config()
621 max_slices_h = dec_num_slices(dsc_common_caps.slice_caps, max_slices_h); in setup_dsc_config()
634 while (min_slices_h <= max_slices_h) { in setup_dsc_config()
645 is_dsc_possible = (min_slices_h <= max_slices_h); in setup_dsc_config()
652 else if (max_slices_h > 0) { // Fall back to max slices if min slices is not working out in setup_dsc_config()
[all …]