Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c391 static int get_available_dsc_slices(union dsc_enc_slice_caps slice_caps, int *available_slices) in get_available_dsc_slices() argument
395 memset(available_slices, -1, MIN_AVAILABLE_SLICES_SIZE); in get_available_dsc_slices()
398 available_slices[idx++] = 1; in get_available_dsc_slices()
401 available_slices[idx++] = 2; in get_available_dsc_slices()
404 available_slices[idx++] = 4; in get_available_dsc_slices()
407 available_slices[idx++] = 8; in get_available_dsc_slices()
416 int available_slices[MIN_AVAILABLE_SLICES_SIZE]; in get_max_dsc_slices() local
417 int end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); in get_max_dsc_slices()
420 max_slices = available_slices[end_idx - 1]; in get_max_dsc_slices()
430 int available_slices[MIN_AVAILABLE_SLICES_SIZE]; in inc_num_slices() local
[all …]