/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 662 fixed20_12 line_time; in dce_v6_0_average_bandwidth() local 668 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth() 669 line_time.full = dfixed_div(line_time, a); in dce_v6_0_average_bandwidth() 674 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v6_0_average_bandwidth() 790 u32 line_time = wm->active_time + wm->blank_time; in dce_v6_0_check_latency_hiding() local 805 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v6_0_check_latency_hiding() 832 u32 line_time = 0; in dce_v6_0_program_watermarks() local 843 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v6_0_program_watermarks() 845 line_time = min(line_time, (u32)65535); in dce_v6_0_program_watermarks() 865 wm_high.blank_time = line_time - wm_high.active_time; in dce_v6_0_program_watermarks() [all …]
|
D | dce_v8_0.c | 799 fixed20_12 line_time; in dce_v8_0_average_bandwidth() local 805 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v8_0_average_bandwidth() 806 line_time.full = dfixed_div(line_time, a); in dce_v8_0_average_bandwidth() 811 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v8_0_average_bandwidth() 927 u32 line_time = wm->active_time + wm->blank_time; in dce_v8_0_check_latency_hiding() local 942 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v8_0_check_latency_hiding() 968 u32 line_time = 0; in dce_v8_0_program_watermarks() local 975 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v8_0_program_watermarks() 977 line_time = min(line_time, (u32)65535); in dce_v8_0_program_watermarks() 993 wm_high.blank_time = line_time - wm_high.active_time; in dce_v8_0_program_watermarks() [all …]
|
D | dce_v10_0.c | 864 fixed20_12 line_time; in dce_v10_0_average_bandwidth() local 870 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v10_0_average_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() 992 u32 line_time = wm->active_time + wm->blank_time; in dce_v10_0_check_latency_hiding() local 1007 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v10_0_check_latency_hiding() 1033 u32 line_time = 0; in dce_v10_0_program_watermarks() local 1040 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v10_0_program_watermarks() 1042 line_time = min(line_time, (u32)65535); in dce_v10_0_program_watermarks() 1058 wm_high.blank_time = line_time - wm_high.active_time; in dce_v10_0_program_watermarks() [all …]
|
D | dce_v11_0.c | 890 fixed20_12 line_time; in dce_v11_0_average_bandwidth() local 896 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v11_0_average_bandwidth() 897 line_time.full = dfixed_div(line_time, a); in dce_v11_0_average_bandwidth() 902 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v11_0_average_bandwidth() 1018 u32 line_time = wm->active_time + wm->blank_time; in dce_v11_0_check_latency_hiding() local 1033 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v11_0_check_latency_hiding() 1059 u32 line_time = 0; in dce_v11_0_program_watermarks() local 1066 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v11_0_program_watermarks() 1068 line_time = min(line_time, (u32)65535); in dce_v11_0_program_watermarks() 1084 wm_high.blank_time = line_time - wm_high.active_time; in dce_v11_0_program_watermarks() [all …]
|
D | amdgpu_mode.h | 421 u32 line_time; member
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | mt9v011.c | 235 unsigned row_time, line_time; in calc_speed() local 248 line_time = height + vblank + 1; in calc_speed() 256 do_div(speed, row_time * line_time); in calc_speed()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder.c | 1654 u32 line_time; in _dpu_encoder_calculate_linetime() local 1683 line_time = (pclk_period * mode->htotal) / 1000; in _dpu_encoder_calculate_linetime() 1684 if (line_time == 0) { in _dpu_encoder_calculate_linetime() 1691 pclk_rate, pclk_period, line_time); in _dpu_encoder_calculate_linetime() 1693 return line_time; in _dpu_encoder_calculate_linetime() 1701 u32 line_time; in dpu_encoder_vsync_time() local 1713 line_time = _dpu_encoder_calculate_linetime(dpu_enc, mode); in dpu_encoder_vsync_time() 1714 if (!line_time) in dpu_encoder_vsync_time() 1721 time_to_vsync = line_time * vtotal; in dpu_encoder_vsync_time() 1723 time_to_vsync = line_time * (vtotal - cur_line); in dpu_encoder_vsync_time()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | rs690.c | 280 fixed20_12 consumption_time, line_time, chunk_time, read_delay_latency; in rs690_crtc_bandwidth_compute() local 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() 429 tolerable_latency.full = line_time.full; in rs690_crtc_bandwidth_compute() 434 tolerable_latency.full = line_time.full - tolerable_latency.full; in rs690_crtc_bandwidth_compute()
|
D | evergreen.c | 2044 fixed20_12 line_time; in evergreen_average_bandwidth() local 2050 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in evergreen_average_bandwidth() 2051 line_time.full = dfixed_div(line_time, a); in evergreen_average_bandwidth() 2056 bandwidth.full = dfixed_div(bandwidth, line_time); in evergreen_average_bandwidth() 2129 u32 line_time = wm->active_time + wm->blank_time; in evergreen_check_latency_hiding() local 2144 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in evergreen_check_latency_hiding() 2160 u32 line_time = 0; in evergreen_program_watermarks() local 2172 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in evergreen_program_watermarks() 2174 line_time = min(line_time, (u32)65535); in evergreen_program_watermarks() 2193 wm_high.blank_time = line_time - wm_high.active_time; in evergreen_program_watermarks() [all …]
|
D | rv515.c | 963 fixed20_12 consumption_time, line_time, chunk_time, read_delay_latency; in rv515_crtc_bandwidth_compute() local 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() 1080 tolerable_latency.full = line_time.full; in rv515_crtc_bandwidth_compute() 1085 tolerable_latency.full = line_time.full - tolerable_latency.full; in rv515_crtc_bandwidth_compute()
|
D | si.c | 2187 fixed20_12 line_time; in dce6_average_bandwidth() local 2193 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce6_average_bandwidth() 2194 line_time.full = dfixed_div(line_time, a); in dce6_average_bandwidth() 2199 bandwidth.full = dfixed_div(bandwidth, line_time); in dce6_average_bandwidth() 2275 u32 line_time = wm->active_time + wm->blank_time; in dce6_check_latency_hiding() local 2290 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce6_check_latency_hiding() 2306 u32 line_time = 0; in dce6_program_watermarks() local 2317 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce6_program_watermarks() 2319 line_time = min(line_time, (u32)65535); in dce6_program_watermarks() 2342 wm_high.blank_time = line_time - wm_high.active_time; in dce6_program_watermarks() [all …]
|
D | cik.c | 9084 fixed20_12 line_time; in dce8_average_bandwidth() local 9090 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce8_average_bandwidth() 9091 line_time.full = dfixed_div(line_time, a); in dce8_average_bandwidth() 9096 bandwidth.full = dfixed_div(bandwidth, line_time); in dce8_average_bandwidth() 9212 u32 line_time = wm->active_time + wm->blank_time; in dce8_check_latency_hiding() local 9227 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce8_check_latency_hiding() 9253 u32 line_time = 0; in dce8_program_watermarks() local 9260 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce8_program_watermarks() 9262 line_time = min(line_time, (u32)65535); in dce8_program_watermarks() 9279 wm_high.blank_time = line_time - wm_high.active_time; in dce8_program_watermarks() [all …]
|
D | radeon_mode.h | 367 u32 line_time; member
|
D | si_dpm.c | 5317 if (radeon_crtc->line_time <= 0) in si_upload_smc_data() 5327 radeon_crtc->wm_high / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data() 5332 radeon_crtc->wm_low / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.c | 5774 if (amdgpu_crtc->line_time <= 0) in si_upload_smc_data() 5784 amdgpu_crtc->wm_high / amdgpu_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data() 5789 amdgpu_crtc->wm_low / amdgpu_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 28748 + * = line_bandwidth / line_time
|