/linux-master/drivers/gpu/drm/amd/display/modules/freesync/ |
H A D | freesync.c | 114 unsigned int v_total) 117 (unsigned int)(div64_u64(((unsigned long long)(v_total) 128 unsigned int v_total; local 135 v_total = div64_u64(div64_u64(((unsigned long long)( 139 /* v_total cannot be less than nominal */ 140 if (v_total < stream->timing.v_total) { 141 ASSERT(v_total < stream->timing.v_total); 142 v_total 111 calc_duration_in_us_from_v_total( const struct dc_stream_state *stream, const struct mod_vrr_params *in_vrr, unsigned int v_total) argument 153 unsigned int v_total = 0; local 188 unsigned int v_total = 0; local [all...] |
/linux-master/drivers/video/fbdev/matrox/ |
H A D | matroxfb_g450.c | 234 unsigned int v_total; member in struct:output_desc 339 if (vtotal < outd->v_total) { 340 unsigned int yovr = outd->v_total - vtotal; 343 } else if (vtotal > outd->v_total) { 344 vdisplay = outd->v_total - 4; 345 vsyncend = outd->v_total; 347 upper = (outd->v_total - vsyncend) >> 1; /* in field lines */ 348 r->regs[0x17] = outd->v_total / 4; 349 r->regs[0x18] = outd->v_total & 3; 355 mt->VSyncStart = outd->v_total [all...] |
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-di.c | 207 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + local 212 .run_count = v_total * 2 - 1, 223 .run_count = v_total - 1, 231 .run_count = v_total / 2, 262 ipu_di_write(di, v_total / 2 - 1, DI_SCR_CONF); 270 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + local 288 .run_count = v_total - 1, 323 .run_count = v_total - 1, 352 .run_count = v_total - 1, 370 .run_count = v_total [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/optc/dcn10/ |
H A D | dcn10_optc.c | 166 uint32_t v_total; local 216 v_total = patched_crtc_timing.v_total - 1; 219 OTG_V_TOTAL, v_total); 224 optc->funcs->set_vtotal_min_max(optc, v_total, v_total); 234 asic_blank_start = patched_crtc_timing.v_total - 355 v_init = patched_crtc_timing.v_total - patched_crtc_timing.v_front_porch; 596 v_blank = (timing->v_total - timing->v_addressable - 621 timing->v_total > optc [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_mall_phantom.c | 247 pipe->stream->timing.v_total * pipe->stream->timing.h_total - 1) 248 / (double)(pipe->stream->timing.v_total * pipe->stream->timing.h_total); 266 unsigned int frame_us = (stream->timing.v_total * stream->timing.h_total / 377 microschedule_lines = (phantom->timing.v_total - phantom->timing.v_front_porch) + 400 vblank1_us = (((subvp_pipes[0]->stream->timing.v_total - subvp_pipes[0]->stream->timing.v_addressable) * 403 vblank2_us = (((subvp_pipes[1]->stream->timing.v_total - subvp_pipes[1]->stream->timing.v_addressable) * 464 prefetch_us = (phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total / 469 drr_frame_us = drr_timing->v_total * drr_timing->h_total / 475 drr_stretched_vblank_us = (drr_timing->v_total - drr_timing->v_addressable) * drr_timing->h_total / 562 prefetch_us = (phantom_timing->v_total [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/optc/dcn201/ |
H A D | dcn201_optc.c | 85 v_blank = (timing->v_total - timing->v_addressable - 106 timing->v_total > optc1->max_v_total)
|
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
H A D | dce110_clk_mgr.c | 101 uint32_t vertical_total_min = stream->timing.v_total; 165 cfg->v_refresh = (cfg->v_refresh + stream->timing.v_total / 2) 166 / stream->timing.v_total;
|
/linux-master/drivers/gpu/drm/amd/display/modules/info_packet/ |
H A D | info_packet.c | 467 && stream->timing.v_total >= 2160 574 info_packet->sb[1] = (stream->timing.v_total & 0x00FF); 575 info_packet->sb[2] = (stream->timing.v_total & 0xFF00) >> 8;
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mem_input.h | 128 uint32_t v_total,/* for current target */
|
H A D | optc.h | 76 uint32_t v_total; member in struct:dcn_otg_state
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_replay.c | 158 link->dc->link_srv->edp_set_coasting_vtotal(link, stream->timing.v_total);
|
H A D | amdgpu_dm_psr.c | 162 stream->timing.v_total),
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_opp.c | 324 uint32_t space1_size = timing->v_total - timing->v_addressable; 326 uint32_t space2_size = timing->v_total - timing->v_addressable;
|
/linux-master/drivers/gpu/drm/bridge/ |
H A D | lontium-lt9611.c | 132 u32 v_total, vactive, vsync_len, vfront_porch, vsync_porch; local 135 v_total = mode->vtotal; 147 regmap_write(lt9611->regmap, 0x830d, (u8)(v_total / 256)); 148 regmap_write(lt9611->regmap, 0x830e, (u8)(v_total % 256)); 290 u32 v_total, vactive, hactive_a, hactive_b, h_total_sysclk; local 301 /* v_total */ 305 v_total = temp; 326 "video check: hactive_a=%d, hactive_b=%d, vactive=%d, v_total=%d, h_total_sysclk=%d\n", 327 hactive_a, hactive_b, vactive, v_total, h_total_sysclk);
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 468 curr_v_blank = timing->v_total - timing->v_addressable; 470 stretched_frame_pix_cnt = (v_stretch_max + timing->v_total) * timing->h_total; 510 h_v_total = timing->h_total * timing->v_total; 676 pipe->stream->timing.v_total * pipe->stream->timing.h_total - (uint64_t)1); 677 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); 737 pipe->stream->timing.v_total * pipe->stream->timing.h_total - (uint64_t)1); 738 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total);
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | dcn314_fpu.c | 301 v_blank = timing->v_total - v_active; 336 pipes[pipe_cnt].pipe.dest.vtotal = timing->v_total; 340 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn35/ |
H A D | dcn35_fpu.c | 429 v_blank = timing->v_total - v_active; 465 pipe->stream->adjust.v_total_min > timing->v_total) { 468 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - 472 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn351/ |
H A D | dcn351_fpu.c | 464 v_blank = timing->v_total - v_active; 500 pipe->stream->adjust.v_total_min > timing->v_total) { 503 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - 507 pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive;
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 570 drr_frame_us = div64_u64(((uint64_t)drr_timing->v_total * drr_timing->h_total * 1000000), 579 prefetch_us = div64_u64(((uint64_t)(phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total * 1000000), 646 pipe_data->pipe_config.vblank_data.vblank_start = vblank_pipe->stream->timing.v_total - 648 pipe_data->pipe_config.vblank_data.vtotal = vblank_pipe->stream->timing.v_total; 653 vblank_pipe->stream->timing.v_total - vblank_pipe->stream->timing.v_front_porch - vblank_pipe->stream->timing.v_addressable; 693 subvp0_prefetch_us = div64_u64(((uint64_t)(phantom_timing0->v_total - phantom_timing0->v_front_porch) * 696 subvp1_prefetch_us = div64_u64(((uint64_t)(phantom_timing1->v_total - phantom_timing1->v_front_porch) * 750 pipe_data->pipe_config.subvp_data.vtotal = subvp_pipe->stream->timing.v_total; 752 main_timing->v_total - main_timing->v_front_porch; 754 main_timing->v_total [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce120/ |
H A D | dce120_timing_generator.c | 108 (timing->v_total - timing->v_addressable - 451 timing->v_total - 1); 459 timing->v_total - 1); 464 timing->v_total - 1); 476 tmp1 = timing->v_total - (v_sync_start + timing->v_border_top); 628 timing->v_total - timing->v_addressable -
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_legacy_tv.c | 428 unsigned int h_total, v_total, f_total; local 439 v_total = const_ptr->ver_total; 485 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(NTSC_TV_LINES_PER_FRAME); 487 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(PAL_TV_LINES_PER_FRAME); 496 tv_dac->tv.vrestart = restart % v_total; 497 restart /= v_total;
|
/linux-master/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 310 int v_total = (info->var.yres + info->var.lower_margin + local 313 int v_blank_e = v_total + 1; 320 v_total |= 1; 323 v_start = v_total - 3; 324 v_end = v_total - 2; 339 state->crtc[0x6] = SetBitField(v_total, 7: 0, 7:0); 340 state->crtc[0x7] = SetBitField(v_total, 8: 8, 0:0) 345 | SetBitField(v_total, 9: 9, 5:5) 368 | SetBitField(v_total, 10: 10, 0:0); 375 state->extra = SetBitField(v_total, 1 [all...] |
/linux-master/drivers/video/fbdev/aty/ |
H A D | aty128fb.c | 415 u32 v_total, v_sync_strt_wid; member in struct:aty128_crtc 1020 aty_st_le32(CRTC_V_TOTAL_DISP, crtc->v_total); 1037 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; local 1099 v_total = (yres + upper + vslen + lower - 1) & 0xFFFFL; 1101 /* check to make sure h_total and v_total are in range */ 1102 if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) { 1131 crtc->v_total = v_total | (v_disp << 16); 1226 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; local 1236 v_total [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_mem_input.c | 674 uint32_t v_total, 686 if (!h_total || v_total || !pix_clk_khz) 691 pixels_per_frame = h_total * v_total; 721 uint32_t v_total, 729 v_total, 672 get_dmif_switch_time_us( uint32_t h_total, uint32_t v_total, uint32_t pix_clk_khz) argument 718 dce_mi_allocate_dmif( struct mem_input *mi, uint32_t h_total, uint32_t v_total, uint32_t pix_clk_khz, uint32_t total_stream_num) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 447 s.v_total, 1992 vupdate_start += stream->timing.v_total; 1993 vupdate_end += stream->timing.v_total; 1994 vpos += stream->timing.v_total; 2018 vupdate_end += stream->timing.v_total; 2143 pipe->stream->timing.v_total; 2218 hw_crtc_timing[i].v_total; 3780 asic_blank_end = (patched_crtc_timing.v_total - 3799 *start_line = vupdate_pos - ((vupdate_pos / timing->v_total) * timing->v_total); [all...] |