Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn30/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c2400 unsigned int time_per_byte = 0; local
2408 time_per_byte = time_per_pixel/4;
2410 time_per_byte = time_per_pixel;
2412 time_per_byte = time_per_pixel * 819/1024;
2414 if (time_per_byte == 0)
2415 time_per_byte = 1;
2419 buf_lh_capability = max_free_entry*time_per_byte*32/16; /* there is 4bit fraction */