Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c6003 unsigned int cursor_width_bytes = 0; in calculate_cursor_req_attributes() local
6016 cursor_width_bytes = (unsigned int)math_ceil2((double)cursor_width * cursor_bpp / 8, 1); in calculate_cursor_req_attributes()
6017 if (cursor_width_bytes <= 64) in calculate_cursor_req_attributes()
6019 else if (cursor_width_bytes <= 128) in calculate_cursor_req_attributes()
6025 …*cursor_bytes_per_line = (unsigned int)math_ceil2((double)cursor_width_bytes, cursor_bytes_per_req… in calculate_cursor_req_attributes()
6066 dml2_printf("DML::%s: cursor_width_bytes = %d\n", __func__, cursor_width_bytes); in calculate_cursor_req_attributes()
Ddml2_core_dcn4_calcs.c3337 unsigned int cursor_width_bytes = 0; in calculate_cursor_req_attributes() local
3350 cursor_width_bytes = (unsigned int)math_ceil2((double)cursor_width * cursor_bpp / 8, 1); in calculate_cursor_req_attributes()
3351 if (cursor_width_bytes <= 64) in calculate_cursor_req_attributes()
3353 else if (cursor_width_bytes <= 128) in calculate_cursor_req_attributes()
3359 …*cursor_bytes_per_line = (unsigned int)math_ceil2((double)cursor_width_bytes, cursor_bytes_per_req… in calculate_cursor_req_attributes()
3400 dml2_printf("DML::%s: cursor_width_bytes = %d\n", __func__, cursor_width_bytes); in calculate_cursor_req_attributes()