| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | rs690.c | 129 rdev->pm.k8_bandwidth.full = dfixed_mul(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 134 rdev->pm.ht_bandwidth.full = dfixed_mul(rdev->pm.igp_ht_link_clk, in rs690_pm_info() 145 rdev->pm.sideport_bandwidth.full = dfixed_mul(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 313 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute() 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() 361 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute() 374 read_delay_latency.full = dfixed_mul(read_delay_latency, a); 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() [all …]
|
| H A D | rv515.c | 993 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute() 1015 b.full = dfixed_mul(b, crtc->hsc); in rv515_crtc_bandwidth_compute() 1032 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute() 1041 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute() 1063 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rv515_crtc_bandwidth_compute() 1084 tolerable_latency.full = dfixed_mul(tolerable_latency, chunk_time); in rv515_crtc_bandwidth_compute() 1138 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1141 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1145 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1152 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority() [all …]
|
| H A D | evergreen.c | 1961 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth() 1962 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth() 1981 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display() 1982 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in evergreen_dram_bandwidth_for_display() 2001 bandwidth.full = dfixed_mul(a, sclk); in evergreen_data_return_bandwidth() 2002 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in evergreen_data_return_bandwidth() 2021 bandwidth.full = dfixed_mul(a, disp_clk); in evergreen_dmif_request_bandwidth() 2022 bandwidth.full = dfixed_mul(bandwidth, disp_clk_request_efficiency); in evergreen_dmif_request_bandwidth() 2054 bandwidth.full = dfixed_mul(src_width, bpp); in evergreen_average_bandwidth() 2055 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth() [all …]
|
| H A D | r100.c | 3266 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3276 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update() 3283 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); in r100_bandwidth_update() 3286 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); in r100_bandwidth_update() 3387 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); in r100_bandwidth_update() 3424 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); in r100_bandwidth_update() 3426 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); in r100_bandwidth_update() 3428 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); in r100_bandwidth_update() 3429 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); in r100_bandwidth_update() 3484 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); in r100_bandwidth_update() [all …]
|
| H A D | si.c | 2087 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth() 2088 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce6_dram_bandwidth() 2107 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth_for_display() 2108 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce6_dram_bandwidth_for_display() 2127 bandwidth.full = dfixed_mul(a, sclk); in dce6_data_return_bandwidth() 2128 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce6_data_return_bandwidth() 2150 b1.full = dfixed_mul(a, disp_clk); in dce6_dmif_request_bandwidth() 2156 b2.full = dfixed_mul(a, sclk); in dce6_dmif_request_bandwidth() 2165 bandwidth.full = dfixed_mul(a, disp_clk_request_efficiency); in dce6_dmif_request_bandwidth() 2197 bandwidth.full = dfixed_mul(src_width, bpp); in dce6_average_bandwidth() [all …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v6_0.c | 532 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 533 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 561 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display() 562 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v6_0_dram_bandwidth_for_display() 590 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth() 591 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v6_0_data_return_bandwidth() 616 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth() 622 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v6_0_dmif_request_bandwidth() 672 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth() 673 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth() [all …]
|
| H A D | dce_v8_0.c | 669 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth() 670 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth() 698 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display() 699 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display() 727 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth() 728 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth() 753 b.full = dfixed_mul(a, disp_clk); in dce_v8_0_dmif_request_bandwidth() 759 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth() 809 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth() 810 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
|
| H 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()
|
| H A D | dce_v11_0.c | 760 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth() 761 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v11_0_dram_bandwidth() 789 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth_for_display() 790 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v11_0_dram_bandwidth_for_display() 818 bandwidth.full = dfixed_mul(a, sclk); in dce_v11_0_data_return_bandwidth() 819 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v11_0_data_return_bandwidth() 844 b.full = dfixed_mul(a, disp_clk); in dce_v11_0_dmif_request_bandwidth() 850 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v11_0_dmif_request_bandwidth() 900 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v11_0_average_bandwidth() 901 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth()
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_fixed.h | 39 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro
|