/linux-6.1.9/drivers/gpu/drm/radeon/ |
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 …]
|
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 …]
|
D | evergreen.c | 1958 yclk.full = dfixed_div(yclk, a); in evergreen_dram_bandwidth() 1962 dram_efficiency.full = dfixed_div(dram_efficiency, a); in evergreen_dram_bandwidth() 1978 yclk.full = dfixed_div(yclk, a); in evergreen_dram_bandwidth_for_display() 1982 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in evergreen_dram_bandwidth_for_display() 1998 sclk.full = dfixed_div(sclk, a); in evergreen_data_return_bandwidth() 2001 return_efficiency.full = dfixed_div(return_efficiency, a); in evergreen_data_return_bandwidth() 2018 disp_clk.full = dfixed_div(disp_clk, a); in evergreen_dmif_request_bandwidth() 2021 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in evergreen_dmif_request_bandwidth() 2053 line_time.full = dfixed_div(line_time, a); in evergreen_average_bandwidth() 2058 bandwidth.full = dfixed_div(bandwidth, line_time); in evergreen_average_bandwidth() [all …]
|
D | si.c | 2077 yclk.full = dfixed_div(yclk, a); in dce6_dram_bandwidth() 2081 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce6_dram_bandwidth() 2097 yclk.full = dfixed_div(yclk, a); in dce6_dram_bandwidth_for_display() 2101 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce6_dram_bandwidth_for_display() 2117 sclk.full = dfixed_div(sclk, a); in dce6_data_return_bandwidth() 2120 return_efficiency.full = dfixed_div(return_efficiency, a); in dce6_data_return_bandwidth() 2143 disp_clk.full = dfixed_div(disp_clk, a); in dce6_dmif_request_bandwidth() 2149 sclk.full = dfixed_div(sclk, a); in dce6_dmif_request_bandwidth() 2155 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce6_dmif_request_bandwidth() 2189 line_time.full = dfixed_div(line_time, a); in dce6_average_bandwidth() [all …]
|
D | r100.c | 3271 pix_clk.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3278 pix_clk2.full = dfixed_div(pix_clk2, temp_ff); in r100_bandwidth_update() 3405 mc_latency_sclk.full = dfixed_div(sclk_delay_ff, sclk_eff_ff); in r100_bandwidth_update() 3429 mc_latency_mclk.full = dfixed_div(mc_latency_mclk, mclk_ff); in r100_bandwidth_update() 3430 mc_latency_mclk.full += dfixed_div(temp_ff, sclk_eff_ff); in r100_bandwidth_update() 3439 cur_latency_mclk.full = dfixed_div(temp_ff, mclk_ff); in r100_bandwidth_update() 3442 cur_latency_sclk.full = dfixed_div(temp_ff, sclk_eff_ff); in r100_bandwidth_update() 3447 disp_latency_overhead.full = dfixed_div(disp_latency_overhead, sclk_ff); in r100_bandwidth_update() 3476 disp_drain_rate.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3556 disp_drain_rate2.full = dfixed_div(pix_clk2, temp_ff); in r100_bandwidth_update() [all …]
|
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()
|
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 …]
|
D | radeon_display.c | 1765 radeon_crtc->vsc.full = dfixed_div(a, b); in radeon_crtc_scaling_mode_fixup() 1768 radeon_crtc->hsc.full = dfixed_div(a, b); in radeon_crtc_scaling_mode_fixup()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 528 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth() 532 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v6_0_dram_bandwidth() 557 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth_for_display() 561 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v6_0_dram_bandwidth_for_display() 586 sclk.full = dfixed_div(sclk, a); in dce_v6_0_data_return_bandwidth() 589 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v6_0_data_return_bandwidth() 615 disp_clk.full = dfixed_div(disp_clk, a); in dce_v6_0_dmif_request_bandwidth() 621 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v6_0_dmif_request_bandwidth() 670 line_time.full = dfixed_div(line_time, a); in dce_v6_0_average_bandwidth() 675 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v6_0_average_bandwidth() [all …]
|
D | dce_v8_0.c | 665 yclk.full = dfixed_div(yclk, a); in dce_v8_0_dram_bandwidth() 669 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v8_0_dram_bandwidth() 694 yclk.full = dfixed_div(yclk, a); in dce_v8_0_dram_bandwidth_for_display() 698 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v8_0_dram_bandwidth_for_display() 723 sclk.full = dfixed_div(sclk, a); in dce_v8_0_data_return_bandwidth() 726 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v8_0_data_return_bandwidth() 752 disp_clk.full = dfixed_div(disp_clk, a); in dce_v8_0_dmif_request_bandwidth() 758 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v8_0_dmif_request_bandwidth() 807 line_time.full = dfixed_div(line_time, a); in dce_v8_0_average_bandwidth() 812 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v8_0_average_bandwidth() [all …]
|
D | dce_v10_0.c | 730 yclk.full = dfixed_div(yclk, a); in dce_v10_0_dram_bandwidth() 734 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v10_0_dram_bandwidth() 759 yclk.full = dfixed_div(yclk, a); in dce_v10_0_dram_bandwidth_for_display() 763 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v10_0_dram_bandwidth_for_display() 788 sclk.full = dfixed_div(sclk, a); in dce_v10_0_data_return_bandwidth() 791 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v10_0_data_return_bandwidth() 817 disp_clk.full = dfixed_div(disp_clk, a); in dce_v10_0_dmif_request_bandwidth() 823 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v10_0_dmif_request_bandwidth() 872 line_time.full = dfixed_div(line_time, a); in dce_v10_0_average_bandwidth() 877 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v10_0_average_bandwidth() [all …]
|
D | dce_v11_0.c | 756 yclk.full = dfixed_div(yclk, a); in dce_v11_0_dram_bandwidth() 760 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v11_0_dram_bandwidth() 785 yclk.full = dfixed_div(yclk, a); in dce_v11_0_dram_bandwidth_for_display() 789 disp_dram_allocation.full = dfixed_div(disp_dram_allocation, a); in dce_v11_0_dram_bandwidth_for_display() 814 sclk.full = dfixed_div(sclk, a); in dce_v11_0_data_return_bandwidth() 817 return_efficiency.full = dfixed_div(return_efficiency, a); in dce_v11_0_data_return_bandwidth() 843 disp_clk.full = dfixed_div(disp_clk, a); in dce_v11_0_dmif_request_bandwidth() 849 disp_clk_request_efficiency.full = dfixed_div(disp_clk_request_efficiency, a); in dce_v11_0_dmif_request_bandwidth() 898 line_time.full = dfixed_div(line_time, a); in dce_v11_0_average_bandwidth() 903 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v11_0_average_bandwidth() [all …]
|
D | amdgpu_display.c | 1380 amdgpu_crtc->vsc.full = dfixed_div(a, b); in amdgpu_display_crtc_scaling_mode_fixup() 1383 amdgpu_crtc->hsc.full = dfixed_div(a, b); in amdgpu_display_crtc_scaling_mode_fixup()
|
/linux-6.1.9/include/drm/ |
D | drm_fixed.h | 62 static inline u32 dfixed_div(fixed20_12 A, fixed20_12 B) in dfixed_div() function
|
/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | dc.c | 154 dda_inc = dfixed_div(inf, outf); in compute_dda_inc()
|