Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c408 uint32_t available_hblank_bw = 0; /* in stream symbols */ in calculate_available_hblank_bw_in_symbols() local
453 available_hblank_bw = dc_fixpt_floor(available_stream_sym_count); in calculate_available_hblank_bw_in_symbols()
454 available_hblank_bw *= dp_link_info->lane_count; in calculate_available_hblank_bw_in_symbols()
455 available_hblank_bw -= crtc_info->dsc_num_slices * 4; /* EOC overhead */ in calculate_available_hblank_bw_in_symbols()
457 if (available_hblank_bw < dp_link_info->hblank_min_symbol_width) in calculate_available_hblank_bw_in_symbols()
459 available_hblank_bw = 4 * dp_link_info->hblank_min_symbol_width; in calculate_available_hblank_bw_in_symbols()
461 if (available_hblank_bw < 12) in calculate_available_hblank_bw_in_symbols()
462 available_hblank_bw = 0; in calculate_available_hblank_bw_in_symbols()
464 available_hblank_bw -= 12; /* Main link overhead */ in calculate_available_hblank_bw_in_symbols()
466 return available_hblank_bw; in calculate_available_hblank_bw_in_symbols()
[all …]