/linux/drivers/gpu/drm/radeon/ |
H A D | rs690.c | 83 rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 88 rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 97 rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 104 rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 106 rdev->pm.igp_ht_link_clk.full = dfixed_div(rdev->pm.igp_ht_link_clk, tmp); in rs690_pm_info() 136 rdev->pm.ht_bandwidth.full = dfixed_div(rdev->pm.ht_bandwidth, tmp); in rs690_pm_info() 147 rdev->pm.sideport_bandwidth.full = dfixed_div(rdev->pm.sideport_bandwidth, tmp); in rs690_pm_info() 299 sclk.full = dfixed_div(sclk, a); in rs690_crtc_bandwidth_compute() 303 core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); in rs690_crtc_bandwidth_compute() 312 a.full = dfixed_div(b, c); in rs690_crtc_bandwidth_compute() [all …]
|
H A D | rv515.c | 951 sclk.full = dfixed_div(sclk, a); in rv515_crtc_bandwidth_compute() 960 a.full = dfixed_div(b, c); in rv515_crtc_bandwidth_compute() 977 a.full = dfixed_div(a, b); in rv515_crtc_bandwidth_compute() 978 pclk.full = dfixed_div(b, a); in rv515_crtc_bandwidth_compute() 985 b.full = dfixed_div(b, c); in rv515_crtc_bandwidth_compute() 986 consumption_time.full = dfixed_div(pclk, b); in rv515_crtc_bandwidth_compute() 991 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rv515_crtc_bandwidth_compute() 1010 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute() 1018 chunk_time.full = dfixed_div(a, sclk); in rv515_crtc_bandwidth_compute() 1063 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); in rv515_crtc_bandwidth_compute() [all …]
|
H A D | evergreen.c | 1959 yclk.full = dfixed_div(yclk, a); in evergreen_dram_bandwidth() 1963 dram_efficiency.full = dfixed_div(dram_efficiency, a); in evergreen_dram_bandwidth() 1979 yclk.full = dfixed_div(yclk, a); in evergreen_dram_bandwidth_for_display() 1983 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in evergreen_dram_bandwidth_for_display() 1999 sclk.full = dfixed_div(sclk, a); in evergreen_data_return_bandwidth() 2002 return_efficiency.full = dfixed_div(return_efficiency, a); in evergreen_data_return_bandwidth() 2019 disp_clk.full = dfixed_div(disp_clk, a); in evergreen_dmif_request_bandwidth() 2022 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in evergreen_dmif_request_bandwidth() 2054 line_time.full = dfixed_div(line_time, a); in evergreen_average_bandwidth() 2059 bandwidth.full = dfixed_div(bandwidth, line_time); in evergreen_average_bandwidth() [all …]
|
H A D | si.c | 2058 yclk.full = dfixed_div(yclk, a); in dce6_dram_bandwidth() 2062 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce6_dram_bandwidth() 2078 yclk.full = dfixed_div(yclk, a); in dce6_dram_bandwidth_for_display() 2082 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce6_dram_bandwidth_for_display() 2098 sclk.full = dfixed_div(sclk, a); in dce6_data_return_bandwidth() 2101 return_efficiency.full = dfixed_div(return_efficiency, a); in dce6_data_return_bandwidth() 2124 disp_clk.full = dfixed_div(disp_clk, a); in dce6_dmif_request_bandwidth() 2130 sclk.full = dfixed_div(sclk, a); in dce6_dmif_request_bandwidth() 2136 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce6_dmif_request_bandwidth() 2170 line_time.full = dfixed_div(line_time, a); in dce6_average_bandwidth() [all …]
|
H A D | r100.c | 3292 pix_clk.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3299 pix_clk2.full = dfixed_div(pix_clk2, temp_ff); in r100_bandwidth_update() 3426 mc_latency_sclk.full = dfixed_div(sclk_delay_ff, sclk_eff_ff); in r100_bandwidth_update() 3450 mc_latency_mclk.full = dfixed_div(mc_latency_mclk, mclk_ff); in r100_bandwidth_update() 3451 mc_latency_mclk.full += dfixed_div(temp_ff, sclk_eff_ff); in r100_bandwidth_update() 3460 cur_latency_mclk.full = dfixed_div(temp_ff, mclk_ff); in r100_bandwidth_update() 3463 cur_latency_sclk.full = dfixed_div(temp_ff, sclk_eff_ff); in r100_bandwidth_update() 3468 disp_latency_overhead.full = dfixed_div(disp_latency_overhead, sclk_ff); in r100_bandwidth_update() 3497 disp_drain_rate.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3577 disp_drain_rate2.full = dfixed_div(pix_clk2, temp_ff); in r100_bandwidth_update() [all …]
|
H A D | radeon_device.c | 733 rdev->pm.sclk.full = dfixed_div(rdev->pm.sclk, a); in radeon_update_bandwidth_info() 735 rdev->pm.mclk.full = dfixed_div(rdev->pm.mclk, a); in radeon_update_bandwidth_info() 740 rdev->pm.core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); in radeon_update_bandwidth_info()
|
H A D | cik.c | 8932 yclk.full = dfixed_div(yclk, a); in dce8_dram_bandwidth() 8936 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce8_dram_bandwidth() 8961 yclk.full = dfixed_div(yclk, a); in dce8_dram_bandwidth_for_display() 8965 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce8_dram_bandwidth_for_display() 8990 sclk.full = dfixed_div(sclk, a); in dce8_data_return_bandwidth() 8993 return_efficiency.full = dfixed_div(return_efficiency, a); in dce8_data_return_bandwidth() 9019 disp_clk.full = dfixed_div(disp_clk, a); in dce8_dmif_request_bandwidth() 9025 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce8_dmif_request_bandwidth() 9074 line_time.full = dfixed_div(line_time, a); in dce8_average_bandwidth() 9079 bandwidth.full = dfixed_div(bandwidth, line_time); in dce8_average_bandwidth() [all …]
|
H A D | radeon_display.c | 1759 radeon_crtc->vsc.full = dfixed_div(a, b); in radeon_crtc_scaling_mode_fixup() 1762 radeon_crtc->hsc.full = dfixed_div(a, b); in radeon_crtc_scaling_mode_fixup()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v6_0.c | 547 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth() 551 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v6_0_dram_bandwidth() 576 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth_for_display() 580 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v6_0_dram_bandwidth_for_display() 605 sclk.full = dfixed_div(sclk, a); in dce_v6_0_data_return_bandwidth() 608 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v6_0_data_return_bandwidth() 634 disp_clk.full = dfixed_div(disp_clk, a); in dce_v6_0_dmif_request_bandwidth() 640 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v6_0_dmif_request_bandwidth() 689 line_time.full = dfixed_div(line_time, a); in dce_v6_0_average_bandwidth() 694 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v6_0_average_bandwidth() [all …]
|
H A D | dce_v8_0.c | 682 yclk.full = dfixed_div(yclk, a); in dce_v8_0_dram_bandwidth() 686 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v8_0_dram_bandwidth() 711 yclk.full = dfixed_div(yclk, a); in dce_v8_0_dram_bandwidth_for_display() 715 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v8_0_dram_bandwidth_for_display() 740 sclk.full = dfixed_div(sclk, a); in dce_v8_0_data_return_bandwidth() 743 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v8_0_data_return_bandwidth() 769 disp_clk.full = dfixed_div(disp_clk, a); in dce_v8_0_dmif_request_bandwidth() 775 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v8_0_dmif_request_bandwidth() 824 line_time.full = dfixed_div(line_time, a); in dce_v8_0_average_bandwidth() 829 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v8_0_average_bandwidth() [all …]
|
H A D | dce_v10_0.c | 729 yclk.full = dfixed_div(yclk, a); in dce_v10_0_dram_bandwidth() 733 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v10_0_dram_bandwidth() 758 yclk.full = dfixed_div(yclk, a); in dce_v10_0_dram_bandwidth_for_display() 762 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v10_0_dram_bandwidth_for_display() 787 sclk.full = dfixed_div(sclk, a); in dce_v10_0_data_return_bandwidth() 790 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v10_0_data_return_bandwidth() 816 disp_clk.full = dfixed_div(disp_clk, a); in dce_v10_0_dmif_request_bandwidth() 822 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v10_0_dmif_request_bandwidth() 871 line_time.full = dfixed_div(line_time, a); in dce_v10_0_average_bandwidth() 876 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v10_0_average_bandwidth() [all …]
|
H A D | dce_v11_0.c | 761 yclk.full = dfixed_div(yclk, a); in dce_v11_0_dram_bandwidth() 765 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v11_0_dram_bandwidth() 790 yclk.full = dfixed_div(yclk, a); in dce_v11_0_dram_bandwidth_for_display() 794 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v11_0_dram_bandwidth_for_display() 819 sclk.full = dfixed_div(sclk, a); in dce_v11_0_data_return_bandwidth() 822 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v11_0_data_return_bandwidth() 848 disp_clk.full = dfixed_div(disp_clk, a); in dce_v11_0_dmif_request_bandwidth() 854 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v11_0_dmif_request_bandwidth() 903 line_time.full = dfixed_div(line_time, a); in dce_v11_0_average_bandwidth() 908 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v11_0_average_bandwidth() [all …]
|
H A D | amdgpu_display.c | 1500 amdgpu_crtc->vsc.full = dfixed_div(a, b); in amdgpu_display_crtc_scaling_mode_fixup() 1503 amdgpu_crtc->hsc.full = dfixed_div(a, b); in amdgpu_display_crtc_scaling_mode_fixup()
|
/linux/include/drm/ |
H A D | drm_fixed.h | 64 static inline u32 dfixed_div(fixed20_12 A, fixed20_12 B) in dfixed_div() function
|
/linux/drivers/gpu/drm/tegra/ |
H A D | dc.c | 155 dda_inc = dfixed_div(inf, outf); in compute_dda_inc()
|