Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn6_stage_optimizers.c1335 int right_cache_id; in calculate_first_second_splitting() local
1359 for (right_cache_id = num_boundaries - 1; right_cache_id >= -1; right_cache_id--) { in calculate_first_second_splitting()
1360 if (right_cache_id >= 0) in calculate_first_second_splitting()
1361 range_start = mcache_boundaries[right_cache_id] - shift; in calculate_first_second_splitting()
1370 right_cache_id = (right_cache_id + 1) % num_boundaries; in calculate_first_second_splitting()
1372 if (right_cache_id == left_cache_id) { in calculate_first_second_splitting()
1378 } else if (right_cache_id == (left_cache_id + 1) % num_boundaries) { in calculate_first_second_splitting()
1381 *second_offset = right_cache_id; in calculate_first_second_splitting()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/
H A Ddcn60_resource.c820 int right_cache_id; in dc_calculate_first_second_splitting() local
844 for (right_cache_id = num_boundaries - 1; right_cache_id >= -1; right_cache_id--) { in dc_calculate_first_second_splitting()
845 if (right_cache_id >= 0) in dc_calculate_first_second_splitting()
846 range_start = mcache_boundaries[right_cache_id] - shift; in dc_calculate_first_second_splitting()
855 right_cache_id = (right_cache_id + 1) % num_boundaries; in dc_calculate_first_second_splitting()
857 if (right_cache_id == left_cache_id) { in dc_calculate_first_second_splitting()
863 } else if (right_cache_id == (left_cache_id + 1) % num_boundaries) { in dc_calculate_first_second_splitting()
866 *second_offset = right_cache_id; in dc_calculate_first_second_splitting()