Home
last modified time | relevance | path

Searched refs:line_time (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c800 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 …]
Ddce_v6_0.c663 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 …]
Ddce_v10_0.c865 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 …]
Ddce_v11_0.c891 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 …]
Damdgpu_mode.h424 u32 line_time; member
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.c1655 u32 line_time; in _dpu_encoder_calculate_linetime() local
1684 line_time = (pclk_period * mode->htotal) / 1000; in _dpu_encoder_calculate_linetime()
1685 if (line_time == 0) { in _dpu_encoder_calculate_linetime()
1692 pclk_rate, pclk_period, line_time); in _dpu_encoder_calculate_linetime()
1694 return line_time; in _dpu_encoder_calculate_linetime()
1702 u32 line_time; in dpu_encoder_vsync_time() local
1714 line_time = _dpu_encoder_calculate_linetime(dpu_enc, mode); in dpu_encoder_vsync_time()
1715 if (!line_time) in dpu_encoder_vsync_time()
1722 time_to_vsync = line_time * vtotal; in dpu_encoder_vsync_time()
1724 time_to_vsync = line_time * (vtotal - cur_line); in dpu_encoder_vsync_time()
/drivers/media/i2c/
Dmt9v011.c235 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()
/drivers/gpu/drm/radeon/
Drs690.c280 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()
Devergreen.c2045 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 …]
Drv515.c931 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()
Dsi.c2182 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 …]
Dcik.c9067 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 …]
Dradeon_mode.h367 u32 line_time; member
Dsi_dpm.c5315 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()
/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c5774 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()