/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 663 fixed20_12 line_time; in dce_v6_0_average_bandwidth() local 669 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_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() 791 u32 line_time = wm->active_time + wm->blank_time; in dce_v6_0_check_latency_hiding() local 806 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v6_0_check_latency_hiding() 833 u32 line_time = 0; in dce_v6_0_program_watermarks() local 844 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v6_0_program_watermarks() 846 line_time = min(line_time, (u32)65535); in dce_v6_0_program_watermarks() 866 wm_high.blank_time = line_time - wm_high.active_time; in dce_v6_0_program_watermarks() [all …]
|
D | dce_v8_0.c | 800 fixed20_12 line_time; in dce_v8_0_average_bandwidth() local 806 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v8_0_average_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() 928 u32 line_time = wm->active_time + wm->blank_time; in dce_v8_0_check_latency_hiding() local 943 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v8_0_check_latency_hiding() 969 u32 line_time = 0; in dce_v8_0_program_watermarks() local 976 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v8_0_program_watermarks() 978 line_time = min(line_time, (u32)65535); in dce_v8_0_program_watermarks() 994 wm_high.blank_time = line_time - wm_high.active_time; in dce_v8_0_program_watermarks() [all …]
|
D | dce_v10_0.c | 865 fixed20_12 line_time; in dce_v10_0_average_bandwidth() local 871 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v10_0_average_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() 993 u32 line_time = wm->active_time + wm->blank_time; in dce_v10_0_check_latency_hiding() local 1008 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v10_0_check_latency_hiding() 1034 u32 line_time = 0; in dce_v10_0_program_watermarks() local 1041 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v10_0_program_watermarks() 1043 line_time = min(line_time, (u32)65535); in dce_v10_0_program_watermarks() 1059 wm_high.blank_time = line_time - wm_high.active_time; in dce_v10_0_program_watermarks() [all …]
|
D | dce_v11_0.c | 891 fixed20_12 line_time; in dce_v11_0_average_bandwidth() local 897 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v11_0_average_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() 1019 u32 line_time = wm->active_time + wm->blank_time; in dce_v11_0_check_latency_hiding() local 1034 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v11_0_check_latency_hiding() 1060 u32 line_time = 0; in dce_v11_0_program_watermarks() local 1067 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v11_0_program_watermarks() 1069 line_time = min(line_time, (u32)65535); in dce_v11_0_program_watermarks() 1085 wm_high.blank_time = line_time - wm_high.active_time; in dce_v11_0_program_watermarks() [all …]
|
D | amdgpu_mode.h | 414 u32 line_time; member
|
/linux-5.19.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()
|
/linux-5.19.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder.c | 1599 u32 line_time; in _dpu_encoder_calculate_linetime() local 1628 line_time = (pclk_period * mode->htotal) / 1000; in _dpu_encoder_calculate_linetime() 1629 if (line_time == 0) { in _dpu_encoder_calculate_linetime() 1636 pclk_rate, pclk_period, line_time); in _dpu_encoder_calculate_linetime() 1638 return line_time; in _dpu_encoder_calculate_linetime() 1646 u32 line_time; in dpu_encoder_vsync_time() local 1658 line_time = _dpu_encoder_calculate_linetime(dpu_enc, mode); in dpu_encoder_vsync_time() 1659 if (!line_time) in dpu_encoder_vsync_time() 1666 time_to_vsync = line_time * vtotal; in dpu_encoder_vsync_time() 1668 time_to_vsync = line_time * (vtotal - cur_line); in dpu_encoder_vsync_time()
|
/linux-5.19.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 | 2045 fixed20_12 line_time; in evergreen_average_bandwidth() local 2051 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in evergreen_average_bandwidth() 2052 line_time.full = dfixed_div(line_time, a); in evergreen_average_bandwidth() 2057 bandwidth.full = dfixed_div(bandwidth, line_time); in evergreen_average_bandwidth() 2130 u32 line_time = wm->active_time + wm->blank_time; in evergreen_check_latency_hiding() local 2145 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in evergreen_check_latency_hiding() 2161 u32 line_time = 0; in evergreen_program_watermarks() local 2173 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in evergreen_program_watermarks() 2175 line_time = min(line_time, (u32)65535); in evergreen_program_watermarks() 2194 wm_high.blank_time = line_time - wm_high.active_time; in evergreen_program_watermarks() [all …]
|
D | rv515.c | 931 fixed20_12 consumption_time, line_time, chunk_time, read_delay_latency; in rv515_crtc_bandwidth_compute() local 1000 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute() 1009 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute() 1048 tolerable_latency.full = line_time.full; in rv515_crtc_bandwidth_compute() 1053 tolerable_latency.full = line_time.full - tolerable_latency.full; in rv515_crtc_bandwidth_compute()
|
D | si.c | 2182 fixed20_12 line_time; in dce6_average_bandwidth() local 2188 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce6_average_bandwidth() 2189 line_time.full = dfixed_div(line_time, a); in dce6_average_bandwidth() 2194 bandwidth.full = dfixed_div(bandwidth, line_time); in dce6_average_bandwidth() 2270 u32 line_time = wm->active_time + wm->blank_time; in dce6_check_latency_hiding() local 2285 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce6_check_latency_hiding() 2301 u32 line_time = 0; in dce6_program_watermarks() local 2312 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce6_program_watermarks() 2314 line_time = min(line_time, (u32)65535); in dce6_program_watermarks() 2337 wm_high.blank_time = line_time - wm_high.active_time; in dce6_program_watermarks() [all …]
|
D | cik.c | 9067 fixed20_12 line_time; in dce8_average_bandwidth() local 9073 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce8_average_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() 9195 u32 line_time = wm->active_time + wm->blank_time; in dce8_check_latency_hiding() local 9210 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce8_check_latency_hiding() 9236 u32 line_time = 0; in dce8_program_watermarks() local 9243 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce8_program_watermarks() 9245 line_time = min(line_time, (u32)65535); in dce8_program_watermarks() 9262 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 | 5315 if (radeon_crtc->line_time <= 0) in si_upload_smc_data() 5325 radeon_crtc->wm_high / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data() 5330 radeon_crtc->wm_low / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
|
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 5814 if (amdgpu_crtc->line_time <= 0) in si_upload_smc_data() 5824 amdgpu_crtc->wm_high / amdgpu_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data() 5829 amdgpu_crtc->wm_low / amdgpu_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
|