/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | rs690.c | 127 rdev->pm.k8_bandwidth.full = dfixed_mul(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 132 rdev->pm.ht_bandwidth.full = dfixed_mul(rdev->pm.igp_ht_link_clk, in rs690_pm_info() 143 rdev->pm.sideport_bandwidth.full = dfixed_mul(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 311 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute() 333 b.full = dfixed_mul(b, crtc->hsc); in rs690_crtc_bandwidth_compute() 350 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute() 359 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute() 372 read_delay_latency.full = dfixed_mul(read_delay_latency, a); in rs690_crtc_bandwidth_compute() 385 sclk.full = dfixed_mul(max_bandwidth, a); in rs690_crtc_bandwidth_compute() 394 chunk_time.full = dfixed_mul(sclk, a); in rs690_crtc_bandwidth_compute() [all …]
|
D | rv515.c | 988 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute() 1010 b.full = dfixed_mul(b, crtc->hsc); in rv515_crtc_bandwidth_compute() 1027 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute() 1036 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute() 1058 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rv515_crtc_bandwidth_compute() 1079 tolerable_latency.full = dfixed_mul(tolerable_latency, chunk_time); in rv515_crtc_bandwidth_compute() 1133 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1136 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1140 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1147 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority() [all …]
|
D | evergreen.c | 1957 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth() 1958 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth() 1977 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display() 1978 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in evergreen_dram_bandwidth_for_display() 1997 bandwidth.full = dfixed_mul(a, sclk); in evergreen_data_return_bandwidth() 1998 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in evergreen_data_return_bandwidth() 2017 bandwidth.full = dfixed_mul(a, disp_clk); in evergreen_dmif_request_bandwidth() 2018 bandwidth.full = dfixed_mul(bandwidth, disp_clk_request_efficiency); in evergreen_dmif_request_bandwidth() 2050 bandwidth.full = dfixed_mul(src_width, bpp); in evergreen_average_bandwidth() 2051 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth() [all …]
|
D | r100.c | 3260 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3270 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update() 3277 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); in r100_bandwidth_update() 3280 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); in r100_bandwidth_update() 3381 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); in r100_bandwidth_update() 3418 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); in r100_bandwidth_update() 3420 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); in r100_bandwidth_update() 3422 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); in r100_bandwidth_update() 3423 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); in r100_bandwidth_update() 3478 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); in r100_bandwidth_update() [all …]
|
D | si.c | 2083 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth() 2084 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce6_dram_bandwidth() 2103 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth_for_display() 2104 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce6_dram_bandwidth_for_display() 2123 bandwidth.full = dfixed_mul(a, sclk); in dce6_data_return_bandwidth() 2124 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce6_data_return_bandwidth() 2146 b1.full = dfixed_mul(a, disp_clk); in dce6_dmif_request_bandwidth() 2152 b2.full = dfixed_mul(a, sclk); in dce6_dmif_request_bandwidth() 2161 bandwidth.full = dfixed_mul(a, disp_clk_request_efficiency); in dce6_dmif_request_bandwidth() 2193 bandwidth.full = dfixed_mul(src_width, bpp); in dce6_average_bandwidth() [all …]
|
D | cik.c | 8954 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth() 8955 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce8_dram_bandwidth() 8983 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth_for_display() 8984 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce8_dram_bandwidth_for_display() 9012 bandwidth.full = dfixed_mul(a, sclk); in dce8_data_return_bandwidth() 9013 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce8_data_return_bandwidth() 9038 b.full = dfixed_mul(a, disp_clk); in dce8_dmif_request_bandwidth() 9044 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce8_dmif_request_bandwidth() 9094 bandwidth.full = dfixed_mul(src_width, bpp); in dce8_average_bandwidth() 9095 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce8_average_bandwidth()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 517 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 518 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 546 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display() 547 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v6_0_dram_bandwidth_for_display() 575 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth() 576 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v6_0_data_return_bandwidth() 601 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth() 607 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v6_0_dmif_request_bandwidth() 657 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth() 658 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth() [all …]
|
D | dce_v8_0.c | 655 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth() 656 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth() 684 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display() 685 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display() 713 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth() 714 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth() 739 b.full = dfixed_mul(a, disp_clk); in dce_v8_0_dmif_request_bandwidth() 745 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth() 795 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth() 796 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
|
D | dce_v11_0.c | 746 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth() 747 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v11_0_dram_bandwidth() 775 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth_for_display() 776 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v11_0_dram_bandwidth_for_display() 804 bandwidth.full = dfixed_mul(a, sclk); in dce_v11_0_data_return_bandwidth() 805 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v11_0_data_return_bandwidth() 830 b.full = dfixed_mul(a, disp_clk); in dce_v11_0_dmif_request_bandwidth() 836 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v11_0_dmif_request_bandwidth() 886 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v11_0_average_bandwidth() 887 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth()
|
D | dce_v10_0.c | 720 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth() 721 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v10_0_dram_bandwidth() 749 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth_for_display() 750 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v10_0_dram_bandwidth_for_display() 778 bandwidth.full = dfixed_mul(a, sclk); in dce_v10_0_data_return_bandwidth() 779 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v10_0_data_return_bandwidth() 804 b.full = dfixed_mul(a, disp_clk); in dce_v10_0_dmif_request_bandwidth() 810 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v10_0_dmif_request_bandwidth() 860 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v10_0_average_bandwidth() 861 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth()
|
/Linux-v4.19/include/drm/ |
D | drm_fixed.h | 39 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro
|