| /linux/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 | r100.c | 3284 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3294 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update() 3301 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); in r100_bandwidth_update() 3304 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); in r100_bandwidth_update() 3405 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); in r100_bandwidth_update() 3442 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); in r100_bandwidth_update() 3444 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); in r100_bandwidth_update() 3446 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); in r100_bandwidth_update() 3447 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); in r100_bandwidth_update() 3502 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); in r100_bandwidth_update() [all …]
|
| A D | evergreen.c | 1964 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth() 1965 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth() 1984 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display() 2004 bandwidth.full = dfixed_mul(a, sclk); in evergreen_data_return_bandwidth() 2024 bandwidth.full = dfixed_mul(a, disp_clk); in evergreen_dmif_request_bandwidth() 2057 bandwidth.full = dfixed_mul(src_width, bpp); in evergreen_average_bandwidth() 2058 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth() 2262 c.full = dfixed_mul(c, b); in evergreen_program_watermarks() 2263 c.full = dfixed_mul(c, radeon_crtc->hsc); in evergreen_program_watermarks() 2274 c.full = dfixed_mul(c, b); in evergreen_program_watermarks() [all …]
|
| A D | si.c | 2063 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth() 2083 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth_for_display() 2103 bandwidth.full = dfixed_mul(a, sclk); in dce6_data_return_bandwidth() 2126 b1.full = dfixed_mul(a, disp_clk); in dce6_dmif_request_bandwidth() 2132 b2.full = dfixed_mul(a, sclk); in dce6_dmif_request_bandwidth() 2173 bandwidth.full = dfixed_mul(src_width, bpp); in dce6_average_bandwidth() 2174 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce6_average_bandwidth() 2386 c.full = dfixed_mul(c, b); in dce6_program_watermarks() 2387 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks() 2398 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/drivers/gpu/drm/amd/amdgpu/ |
| A D | dce_v6_0.c | 552 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 553 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 581 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display() 610 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth() 636 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth() 692 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth() 693 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth() 953 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks() 954 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks() 965 c.full = dfixed_mul(c, b); in dce_v6_0_program_watermarks() [all …]
|
| A D | dce_v8_0.c | 687 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth() 688 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth() 716 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display() 717 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display() 745 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth() 746 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth() 771 b.full = dfixed_mul(a, disp_clk); in dce_v8_0_dmif_request_bandwidth() 777 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth() 827 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth() 828 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
|
| A D | dce_v10_0.c | 734 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth() 735 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v10_0_dram_bandwidth() 763 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth_for_display() 764 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v10_0_dram_bandwidth_for_display() 792 bandwidth.full = dfixed_mul(a, sclk); in dce_v10_0_data_return_bandwidth() 793 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v10_0_data_return_bandwidth() 818 b.full = dfixed_mul(a, disp_clk); in dce_v10_0_dmif_request_bandwidth() 824 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v10_0_dmif_request_bandwidth() 874 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v10_0_average_bandwidth() 875 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth()
|
| A D | dce_v11_0.c | 766 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth() 767 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v11_0_dram_bandwidth() 795 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth_for_display() 796 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v11_0_dram_bandwidth_for_display() 824 bandwidth.full = dfixed_mul(a, sclk); in dce_v11_0_data_return_bandwidth() 825 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v11_0_data_return_bandwidth() 850 b.full = dfixed_mul(a, disp_clk); in dce_v11_0_dmif_request_bandwidth() 856 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v11_0_dmif_request_bandwidth() 906 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v11_0_average_bandwidth() 907 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth()
|
| /linux/include/drm/ |
| A D | drm_fixed.h | 41 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro
|