/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | rs690.c | 335 b.full = dfixed_mul(b, crtc->hsc); in rs690_crtc_bandwidth_compute() 352 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute() 387 sclk.full = dfixed_mul(max_bandwidth, a); in rs690_crtc_bandwidth_compute() 396 chunk_time.full = dfixed_mul(sclk, a); in rs690_crtc_bandwidth_compute() 487 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority() 488 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority() 494 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority() 501 b.full = dfixed_mul(b, wm1->active_time); in rs690_compute_mode_priority() 502 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority() 535 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority() [all …]
|
A D | rv515.c | 983 b.full = dfixed_mul(b, crtc->hsc); in rv515_crtc_bandwidth_compute() 1000 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute() 1106 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1109 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1113 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1120 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority() 1123 a.full = dfixed_mul(wm1->worst_case_latency, in rv515_compute_mode_priority() 1127 a.full = dfixed_mul(wm1->worst_case_latency, in rv515_compute_mode_priority() 1154 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1157 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() [all …]
|
A D | evergreen.c | 1963 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth() 1964 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth() 1983 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display() 2003 bandwidth.full = dfixed_mul(a, sclk); in evergreen_data_return_bandwidth() 2023 bandwidth.full = dfixed_mul(a, disp_clk); in evergreen_dmif_request_bandwidth() 2056 bandwidth.full = dfixed_mul(src_width, bpp); in evergreen_average_bandwidth() 2057 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth() 2261 c.full = dfixed_mul(c, b); in evergreen_program_watermarks() 2262 c.full = dfixed_mul(c, radeon_crtc->hsc); in evergreen_program_watermarks() 2273 c.full = dfixed_mul(c, b); in evergreen_program_watermarks() [all …]
|
A D | r100.c | 3263 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3273 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update() 3280 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); in r100_bandwidth_update() 3283 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); in r100_bandwidth_update() 3384 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); in r100_bandwidth_update() 3421 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); in r100_bandwidth_update() 3423 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); in r100_bandwidth_update() 3425 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); in r100_bandwidth_update() 3426 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); in r100_bandwidth_update() 3481 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); in r100_bandwidth_update() [all …]
|
A D | si.c | 2082 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth() 2102 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth_for_display() 2122 bandwidth.full = dfixed_mul(a, sclk); in dce6_data_return_bandwidth() 2145 b1.full = dfixed_mul(a, disp_clk); in dce6_dmif_request_bandwidth() 2151 b2.full = dfixed_mul(a, sclk); in dce6_dmif_request_bandwidth() 2192 bandwidth.full = dfixed_mul(src_width, bpp); in dce6_average_bandwidth() 2193 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce6_average_bandwidth() 2405 c.full = dfixed_mul(c, b); in dce6_program_watermarks() 2406 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks() 2417 c.full = dfixed_mul(c, b); in dce6_program_watermarks() [all …]
|
A D | cik.c | 8937 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth() 8938 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce8_dram_bandwidth() 8966 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth_for_display() 8967 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce8_dram_bandwidth_for_display() 8995 bandwidth.full = dfixed_mul(a, sclk); in dce8_data_return_bandwidth() 8996 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce8_data_return_bandwidth() 9021 b.full = dfixed_mul(a, disp_clk); in dce8_dmif_request_bandwidth() 9027 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce8_dmif_request_bandwidth() 9077 bandwidth.full = dfixed_mul(src_width, bpp); in dce8_average_bandwidth() 9078 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce8_average_bandwidth()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | dce_v6_0.c | 535 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 536 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 564 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display() 593 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth() 619 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth() 675 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth() 676 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth() 936 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks() 937 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks() 948 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks() [all …]
|
A D | dce_v8_0.c | 672 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth() 673 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth() 701 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display() 702 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display() 730 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth() 731 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth() 756 b.full = dfixed_mul(a, disp_clk); in dce_v8_0_dmif_request_bandwidth() 762 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth() 812 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth() 813 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
|
A D | dce_v10_0.c | 737 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth() 738 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v10_0_dram_bandwidth() 766 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth_for_display() 767 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v10_0_dram_bandwidth_for_display() 795 bandwidth.full = dfixed_mul(a, sclk); in dce_v10_0_data_return_bandwidth() 796 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v10_0_data_return_bandwidth() 821 b.full = dfixed_mul(a, disp_clk); in dce_v10_0_dmif_request_bandwidth() 827 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v10_0_dmif_request_bandwidth() 877 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v10_0_average_bandwidth() 878 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth()
|
A D | dce_v11_0.c | 763 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth() 764 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v11_0_dram_bandwidth() 792 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth_for_display() 793 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v11_0_dram_bandwidth_for_display() 821 bandwidth.full = dfixed_mul(a, sclk); in dce_v11_0_data_return_bandwidth() 822 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v11_0_data_return_bandwidth() 847 b.full = dfixed_mul(a, disp_clk); in dce_v11_0_dmif_request_bandwidth() 853 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v11_0_dmif_request_bandwidth() 903 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v11_0_average_bandwidth() 904 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth()
|
/linux-6.3-rc2/include/drm/ |
A D | drm_fixed.h | 40 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro
|