Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_dpia_bw.c192 static int get_host_router_total_dp_tunnel_bw(const struct dc *dc, uint8_t hr_index) in get_host_router_total_dp_tunnel_bw() argument
206 if (hr_index_temp == hr_index) { in get_host_router_total_dp_tunnel_bw()
500 uint8_t lowest_dpia_index, i, hr_index; in dpia_validate_usb4_bw() local
522 hr_index = (link[i]->link_index - lowest_dpia_index) / 2; in dpia_validate_usb4_bw()
523 bw_needed_per_hr[hr_index] += bw_granularity; in dpia_validate_usb4_bw()
527 for (hr_index = 0; hr_index < MAX_HR_NUM; ++hr_index) { in dpia_validate_usb4_bw()
528 if (bw_needed_per_hr[hr_index]) { in dpia_validate_usb4_bw()
529 host_router_total_dp_bw = get_host_router_total_dp_tunnel_bw(link[0]->dc, hr_index); in dpia_validate_usb4_bw()
530 if (bw_needed_per_hr[hr_index] > host_router_total_dp_bw) { in dpia_validate_usb4_bw()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c280 unsigned int hr_index = 0; in dcn35_notify_host_router_bw() local
289 hr_index = (link->link_index - lowest_dpia_index) / 2; in dcn35_notify_host_router_bw()
290 if (hr_index >= MAX_HOST_ROUTERS_NUM) in dcn35_notify_host_router_bw()
292 host_router_bw_kbps[hr_index] += dc_bandwidth_in_kbps_from_timing( in dcn35_notify_host_router_bw()