Home
last modified time | relevance | path

Searched refs:dfixed_trunc (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/include/drm/
Ddrm_fixed.h42 #define dfixed_trunc(A) ((A).full >> 12) macro
47 u32 non_frac = dfixed_trunc(A); in dfixed_floor()
54 u32 non_frac = dfixed_trunc(A); in dfixed_ceil()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drs690.c318 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth); in rs690_crtc_bandwidth_compute()
408 if (dfixed_trunc(wm->num_line_pair) > 1) { in rs690_crtc_bandwidth_compute()
428 if ((2+wm->lb_request_fifo_depth) >= dfixed_trunc(request_fifo_depth)) { in rs690_crtc_bandwidth_compute()
450 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) { in rs690_crtc_bandwidth_compute()
475 if (dfixed_trunc(wm0->dbpp) > 64) in rs690_compute_mode_priority()
479 if (dfixed_trunc(wm1->dbpp) > 64) in rs690_compute_mode_priority()
521 *d1mode_priority_a_cnt = dfixed_trunc(priority_mark02); in rs690_compute_mode_priority()
522 *d2mode_priority_a_cnt = dfixed_trunc(priority_mark12); in rs690_compute_mode_priority()
528 if (dfixed_trunc(wm0->dbpp) > 64) in rs690_compute_mode_priority()
551 *d1mode_priority_a_cnt = dfixed_trunc(priority_mark02); in rs690_compute_mode_priority()
[all …]
Drv515.c998 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth); in rv515_crtc_bandwidth_compute()
1061 if (dfixed_trunc(wm->num_line_pair) > 1) { in rv515_crtc_bandwidth_compute()
1079 if ((2+wm->lb_request_fifo_depth) >= dfixed_trunc(request_fifo_depth)) { in rv515_crtc_bandwidth_compute()
1101 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) { in rv515_crtc_bandwidth_compute()
1126 if (dfixed_trunc(wm0->dbpp) > 64) in rv515_compute_mode_priority()
1130 if (dfixed_trunc(wm1->dbpp) > 64) in rv515_compute_mode_priority()
1172 *d1mode_priority_a_cnt = dfixed_trunc(priority_mark02); in rv515_compute_mode_priority()
1173 *d2mode_priority_a_cnt = dfixed_trunc(priority_mark12); in rv515_compute_mode_priority()
1179 if (dfixed_trunc(wm0->dbpp) > 64) in rv515_compute_mode_priority()
1202 *d1mode_priority_a_cnt = dfixed_trunc(priority_mark02); in rv515_compute_mode_priority()
[all …]
Devergreen.c1964 return dfixed_trunc(bandwidth); in evergreen_dram_bandwidth()
1984 return dfixed_trunc(bandwidth); in evergreen_dram_bandwidth_for_display()
2004 return dfixed_trunc(bandwidth); in evergreen_data_return_bandwidth()
2024 return dfixed_trunc(bandwidth); in evergreen_dmif_request_bandwidth()
2058 return dfixed_trunc(bandwidth); in evergreen_average_bandwidth()
2092 lb_fill_bw = min(dfixed_trunc(a), wm->disp_clk * wm->bytes_per_pixel / 1000); in evergreen_latency_watermark()
2099 line_fill_time = dfixed_trunc(a); in evergreen_latency_watermark()
2264 priority_a_mark = dfixed_trunc(c); in evergreen_program_watermarks()
2276 priority_b_mark = dfixed_trunc(c); in evergreen_program_watermarks()
Dsi.c2090 return dfixed_trunc(bandwidth); in dce6_dram_bandwidth()
2110 return dfixed_trunc(bandwidth); in dce6_dram_bandwidth_for_display()
2130 return dfixed_trunc(bandwidth); in dce6_data_return_bandwidth()
2162 min_bandwidth = min(dfixed_trunc(b1), dfixed_trunc(b2)); in dce6_dmif_request_bandwidth()
2167 return dfixed_trunc(bandwidth); in dce6_dmif_request_bandwidth()
2201 return dfixed_trunc(bandwidth); in dce6_average_bandwidth()
2236 tmp = min(dfixed_trunc(a), tmp); in dce6_latency_watermark()
2245 line_fill_time = dfixed_trunc(a); in dce6_latency_watermark()
2415 priority_a_mark = dfixed_trunc(c); in dce6_program_watermarks()
2427 priority_b_mark = dfixed_trunc(c); in dce6_program_watermarks()
Dcik.c8957 return dfixed_trunc(bandwidth); in dce8_dram_bandwidth()
8986 return dfixed_trunc(bandwidth); in dce8_dram_bandwidth_for_display()
9015 return dfixed_trunc(bandwidth); in dce8_data_return_bandwidth()
9046 return dfixed_trunc(bandwidth); in dce8_dmif_request_bandwidth()
9098 return dfixed_trunc(bandwidth); in dce8_average_bandwidth()
9142 tmp = min(dfixed_trunc(a), tmp); in dce8_latency_watermark()
9151 line_fill_time = dfixed_trunc(a); in dce8_latency_watermark()
Dr100.c3487 critical_point = dfixed_trunc(crit_point_ff); in r100_bandwidth_update()
3597 critical_point2 = dfixed_trunc(crit_point_ff); in r100_bandwidth_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c535 return dfixed_trunc(bandwidth); in dce_v6_0_dram_bandwidth()
564 return dfixed_trunc(bandwidth); in dce_v6_0_dram_bandwidth_for_display()
593 return dfixed_trunc(bandwidth); in dce_v6_0_data_return_bandwidth()
624 return dfixed_trunc(bandwidth); in dce_v6_0_dmif_request_bandwidth()
676 return dfixed_trunc(bandwidth); in dce_v6_0_average_bandwidth()
720 tmp = min(dfixed_trunc(a), tmp); in dce_v6_0_latency_watermark()
729 line_fill_time = dfixed_trunc(a); in dce_v6_0_latency_watermark()
938 priority_a_mark = dfixed_trunc(c); in dce_v6_0_program_watermarks()
950 priority_b_mark = dfixed_trunc(c); in dce_v6_0_program_watermarks()
Ddce_v8_0.c672 return dfixed_trunc(bandwidth); in dce_v8_0_dram_bandwidth()
701 return dfixed_trunc(bandwidth); in dce_v8_0_dram_bandwidth_for_display()
730 return dfixed_trunc(bandwidth); in dce_v8_0_data_return_bandwidth()
761 return dfixed_trunc(bandwidth); in dce_v8_0_dmif_request_bandwidth()
813 return dfixed_trunc(bandwidth); in dce_v8_0_average_bandwidth()
857 tmp = min(dfixed_trunc(a), tmp); in dce_v8_0_latency_watermark()
866 line_fill_time = dfixed_trunc(a); in dce_v8_0_latency_watermark()
Ddce_v10_0.c737 return dfixed_trunc(bandwidth); in dce_v10_0_dram_bandwidth()
766 return dfixed_trunc(bandwidth); in dce_v10_0_dram_bandwidth_for_display()
795 return dfixed_trunc(bandwidth); in dce_v10_0_data_return_bandwidth()
826 return dfixed_trunc(bandwidth); in dce_v10_0_dmif_request_bandwidth()
878 return dfixed_trunc(bandwidth); in dce_v10_0_average_bandwidth()
922 tmp = min(dfixed_trunc(a), tmp); in dce_v10_0_latency_watermark()
931 line_fill_time = dfixed_trunc(a); in dce_v10_0_latency_watermark()
Ddce_v11_0.c763 return dfixed_trunc(bandwidth); in dce_v11_0_dram_bandwidth()
792 return dfixed_trunc(bandwidth); in dce_v11_0_dram_bandwidth_for_display()
821 return dfixed_trunc(bandwidth); in dce_v11_0_data_return_bandwidth()
852 return dfixed_trunc(bandwidth); in dce_v11_0_dmif_request_bandwidth()
904 return dfixed_trunc(bandwidth); in dce_v11_0_average_bandwidth()
948 tmp = min(dfixed_trunc(a), tmp); in dce_v11_0_latency_watermark()
957 line_fill_time = dfixed_trunc(a); in dce_v11_0_latency_watermark()