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.c845 fixed20_12 line_time; in dce_v8_0_average_bandwidth() local
851 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v8_0_average_bandwidth()
852 line_time.full = dfixed_div(line_time, a); in dce_v8_0_average_bandwidth()
857 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v8_0_average_bandwidth()
973 u32 line_time = wm->active_time + wm->blank_time; in dce_v8_0_check_latency_hiding() local
988 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v8_0_check_latency_hiding()
1014 u32 line_time = 0; in dce_v8_0_program_watermarks() local
1021 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v8_0_program_watermarks()
1023 line_time = min(line_time, (u32)65535); in dce_v8_0_program_watermarks()
1039 wm_high.blank_time = line_time - wm_high.active_time; in dce_v8_0_program_watermarks()
[all …]
Ddce_v6_0.c705 fixed20_12 line_time; in dce_v6_0_average_bandwidth() local
711 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth()
712 line_time.full = dfixed_div(line_time, a); in dce_v6_0_average_bandwidth()
717 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v6_0_average_bandwidth()
833 u32 line_time = wm->active_time + wm->blank_time; in dce_v6_0_check_latency_hiding() local
848 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v6_0_check_latency_hiding()
875 u32 line_time = 0; in dce_v6_0_program_watermarks() local
886 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v6_0_program_watermarks()
888 line_time = min(line_time, (u32)65535); in dce_v6_0_program_watermarks()
908 wm_high.blank_time = line_time - wm_high.active_time; in dce_v6_0_program_watermarks()
[all …]
Ddce_v11_0.c932 fixed20_12 line_time; in dce_v11_0_average_bandwidth() local
938 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v11_0_average_bandwidth()
939 line_time.full = dfixed_div(line_time, a); in dce_v11_0_average_bandwidth()
944 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v11_0_average_bandwidth()
1060 u32 line_time = wm->active_time + wm->blank_time; in dce_v11_0_check_latency_hiding() local
1075 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v11_0_check_latency_hiding()
1101 u32 line_time = 0; in dce_v11_0_program_watermarks() local
1108 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v11_0_program_watermarks()
1110 line_time = min(line_time, (u32)65535); in dce_v11_0_program_watermarks()
1126 wm_high.blank_time = line_time - wm_high.active_time; in dce_v11_0_program_watermarks()
[all …]
Ddce_v10_0.c908 fixed20_12 line_time; in dce_v10_0_average_bandwidth() local
914 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v10_0_average_bandwidth()
915 line_time.full = dfixed_div(line_time, a); in dce_v10_0_average_bandwidth()
920 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v10_0_average_bandwidth()
1036 u32 line_time = wm->active_time + wm->blank_time; in dce_v10_0_check_latency_hiding() local
1051 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce_v10_0_check_latency_hiding()
1077 u32 line_time = 0; in dce_v10_0_program_watermarks() local
1084 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce_v10_0_program_watermarks()
1086 line_time = min(line_time, (u32)65535); in dce_v10_0_program_watermarks()
1102 wm_high.blank_time = line_time - wm_high.active_time; in dce_v10_0_program_watermarks()
[all …]
Damdgpu_mode.h395 u32 line_time; member
Dsi_dpm.c5792 if (amdgpu_crtc->line_time <= 0) in si_upload_smc_data()
5802 amdgpu_crtc->wm_high / amdgpu_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
5807 amdgpu_crtc->wm_low / amdgpu_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
/drivers/media/i2c/
Dmt9v011.c236 unsigned row_time, line_time; in calc_speed() local
249 line_time = height + vblank + 1; in calc_speed()
257 do_div(speed, row_time * line_time); in calc_speed()
/drivers/gpu/drm/radeon/
Drs690.c278 fixed20_12 consumption_time, line_time, chunk_time, read_delay_latency; in rs690_crtc_bandwidth_compute() local
350 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute()
359 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute()
427 tolerable_latency.full = line_time.full; in rs690_crtc_bandwidth_compute()
432 tolerable_latency.full = line_time.full - tolerable_latency.full; in rs690_crtc_bandwidth_compute()
Devergreen.c2040 fixed20_12 line_time; in evergreen_average_bandwidth() local
2046 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in evergreen_average_bandwidth()
2047 line_time.full = dfixed_div(line_time, a); in evergreen_average_bandwidth()
2052 bandwidth.full = dfixed_div(bandwidth, line_time); in evergreen_average_bandwidth()
2125 u32 line_time = wm->active_time + wm->blank_time; in evergreen_check_latency_hiding() local
2140 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in evergreen_check_latency_hiding()
2156 u32 line_time = 0; in evergreen_program_watermarks() local
2168 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in evergreen_program_watermarks()
2170 line_time = min(line_time, (u32)65535); in evergreen_program_watermarks()
2189 wm_high.blank_time = line_time - wm_high.active_time; in evergreen_program_watermarks()
[all …]
Drv515.c958 fixed20_12 consumption_time, line_time, chunk_time, read_delay_latency; in rv515_crtc_bandwidth_compute() local
1027 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute()
1036 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute()
1075 tolerable_latency.full = line_time.full; in rv515_crtc_bandwidth_compute()
1080 tolerable_latency.full = line_time.full - tolerable_latency.full; in rv515_crtc_bandwidth_compute()
Dsi.c2183 fixed20_12 line_time; in dce6_average_bandwidth() local
2189 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce6_average_bandwidth()
2190 line_time.full = dfixed_div(line_time, a); in dce6_average_bandwidth()
2195 bandwidth.full = dfixed_div(bandwidth, line_time); in dce6_average_bandwidth()
2271 u32 line_time = wm->active_time + wm->blank_time; in dce6_check_latency_hiding() local
2286 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce6_check_latency_hiding()
2302 u32 line_time = 0; in dce6_program_watermarks() local
2313 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce6_program_watermarks()
2315 line_time = min(line_time, (u32)65535); in dce6_program_watermarks()
2338 wm_high.blank_time = line_time - wm_high.active_time; in dce6_program_watermarks()
[all …]
Dcik.c9070 fixed20_12 line_time; in dce8_average_bandwidth() local
9076 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce8_average_bandwidth()
9077 line_time.full = dfixed_div(line_time, a); in dce8_average_bandwidth()
9082 bandwidth.full = dfixed_div(bandwidth, line_time); in dce8_average_bandwidth()
9198 u32 line_time = wm->active_time + wm->blank_time; in dce8_check_latency_hiding() local
9213 latency_hiding = (latency_tolerant_lines * line_time + wm->blank_time); in dce8_check_latency_hiding()
9239 u32 line_time = 0; in dce8_program_watermarks() local
9246 line_time = (u32) div_u64((u64)mode->crtc_htotal * 1000000, in dce8_program_watermarks()
9248 line_time = min(line_time, (u32)65535); in dce8_program_watermarks()
9265 wm_high.blank_time = line_time - wm_high.active_time; in dce8_program_watermarks()
[all …]
Dradeon_mode.h369 u32 line_time; member
Dsi_dpm.c5333 if (radeon_crtc->line_time <= 0) in si_upload_smc_data()
5343 radeon_crtc->wm_high / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
5348 radeon_crtc->wm_low / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
/drivers/staging/media/atomisp/i2c/
Dap1302.h143 u32 line_time; member