Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1562 unsigned int time_per_byte = 0; in dcn30_calc_max_scaled_time() local
1568 time_per_byte = time_per_pixel/4; in dcn30_calc_max_scaled_time()
1570 time_per_byte = time_per_pixel/8; in dcn30_calc_max_scaled_time()
1572 if (time_per_byte == 0) in dcn30_calc_max_scaled_time()
1573 time_per_byte = 1; in dcn30_calc_max_scaled_time()
1575 buf_lh_capability = (total_free_entry*time_per_byte*32) >> 6; /* time_per_byte is in u6.6*/ in dcn30_calc_max_scaled_time()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2396 unsigned int time_per_byte = 0; local
2404 time_per_byte = time_per_pixel/4;
2406 time_per_byte = time_per_pixel;
2408 time_per_byte = time_per_pixel * 819/1024;
2410 if (time_per_byte == 0)
2411 time_per_byte = 1;
2415 buf_lh_capability = max_free_entry*time_per_byte*32/16; /* there is 4bit fraction */