Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c1611 unsigned int cur_src_width = cur_width; in calculate_ttu_cursor() local
1618 ASSERT(cur_src_width <= 256); in calculate_ttu_cursor()
1622 if (cur_src_width > 0) { in calculate_ttu_cursor()
1630 if (cur_src_width >= 1 && cur_src_width <= 16) in calculate_ttu_cursor()
1632 else if (cur_src_width >= 17 && cur_src_width <= 31) in calculate_ttu_cursor()
1639 cur_width_ub = dml_ceil((double) cur_src_width / (double) cur_req_width, 1) in calculate_ttu_cursor()
1642 …hactive_cur = (double) cur_src_width / hscl_ratio; // TODO: oswin to think about what to do for cu… in calculate_ttu_cursor()
1649 * (double) cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
1660 * (double) cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
Ddisplay_rq_dlg_calc_20v2.c1612 unsigned int cur_src_width = cur_width; in calculate_ttu_cursor() local
1619 ASSERT(cur_src_width <= 256); in calculate_ttu_cursor()
1623 if (cur_src_width > 0) { in calculate_ttu_cursor()
1631 if (cur_src_width >= 1 && cur_src_width <= 16) in calculate_ttu_cursor()
1633 else if (cur_src_width >= 17 && cur_src_width <= 31) in calculate_ttu_cursor()
1640 cur_width_ub = dml_ceil((double) cur_src_width / (double) cur_req_width, 1) in calculate_ttu_cursor()
1643 …hactive_cur = (double) cur_src_width / hscl_ratio; // TODO: oswin to think about what to do for cu… in calculate_ttu_cursor()
1650 * (double) cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
1661 * (double) cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c1725 unsigned int cur_src_width = cur_width; in calculate_ttu_cursor() local
1732 ASSERT(cur_src_width <= 256); in calculate_ttu_cursor()
1736 if (cur_src_width > 0) { in calculate_ttu_cursor()
1744 if (cur_src_width >= 1 && cur_src_width <= 16) in calculate_ttu_cursor()
1746 else if (cur_src_width >= 17 && cur_src_width <= 31) in calculate_ttu_cursor()
1753 cur_width_ub = dml_ceil((double) cur_src_width / (double) cur_req_width, 1) in calculate_ttu_cursor()
1756 …hactive_cur = (double) cur_src_width / hscl_ratio; // FIXME: oswin to think about what to do for c… in calculate_ttu_cursor()
1763 * (double) cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
1774 * (double) cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c812 unsigned int cur_src_width = cur_width; in calculate_ttu_cursor() local
819 ASSERT(cur_src_width <= 256); in calculate_ttu_cursor()
823 if (cur_src_width > 0) { in calculate_ttu_cursor()
831 if (cur_src_width >= 1 && cur_src_width <= 16) in calculate_ttu_cursor()
833 else if (cur_src_width >= 17 && cur_src_width <= 31) in calculate_ttu_cursor()
840 cur_width_ub = dml_ceil((double)cur_src_width / (double)cur_req_width, 1) in calculate_ttu_cursor()
843 …hactive_cur = (double)cur_src_width / hscl_ratio; // FIXME: oswin to think about what to do for cu… in calculate_ttu_cursor()
850 * (double)cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
861 * (double)cur_src_width / hscale_pixel_rate_l in calculate_ttu_cursor()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c793 unsigned int cur_src_width = cur_width; in calculate_ttu_cursor() local
800 ASSERT(cur_src_width <= 256); in calculate_ttu_cursor()
804 if (cur_src_width > 0) { in calculate_ttu_cursor()
812 if (cur_src_width >= 1 && cur_src_width <= 16) in calculate_ttu_cursor()
814 else if (cur_src_width >= 17 && cur_src_width <= 31) in calculate_ttu_cursor()
821 …cur_width_ub = dml_ceil((double) cur_src_width / (double) cur_req_width, 1) * (double) cur_req_wid… in calculate_ttu_cursor()
823 …hactive_cur = (double) cur_src_width / hscl_ratio; // FIXME: oswin to think about what to do for c… in calculate_ttu_cursor()
828 …*refcyc_per_req_delivery_pre_cur = (double) refclk_freq_in_mhz * (double) cur_src_width / hscale_p… in calculate_ttu_cursor()
836 …*refcyc_per_req_delivery_cur = (double) refclk_freq_in_mhz * (double) cur_src_width / hscale_pixel… in calculate_ttu_cursor()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c880 unsigned int cur_src_width = cur_width; in calculate_ttu_cursor() local
887 ASSERT(cur_src_width <= 256); in calculate_ttu_cursor()
891 if (cur_src_width > 0) { in calculate_ttu_cursor()
899 if (cur_src_width >= 1 && cur_src_width <= 16) in calculate_ttu_cursor()
901 else if (cur_src_width >= 17 && cur_src_width <= 31) in calculate_ttu_cursor()
908 …cur_width_ub = dml_ceil((double) cur_src_width / (double) cur_req_width, 1) * (double) cur_req_wid… in calculate_ttu_cursor()
910 …hactive_cur = (double) cur_src_width / hscl_ratio; // FIXME: oswin to think about what to do for c… in calculate_ttu_cursor()
915 …*refcyc_per_req_delivery_pre_cur = (double) refclk_freq_in_mhz * (double) cur_src_width / hscale_p… in calculate_ttu_cursor()
922 …*refcyc_per_req_delivery_cur = (double) refclk_freq_in_mhz * (double) cur_src_width / hscale_pixel… in calculate_ttu_cursor()