Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c3822 int vline_pos = pipe_ctx->stream->periodic_interrupt.lines_offset; in dcn10_cal_vline_position() local
3825 if (vline_pos > 0) in dcn10_cal_vline_position()
3826 vline_pos--; in dcn10_cal_vline_position()
3827 else if (vline_pos < 0) in dcn10_cal_vline_position()
3828 vline_pos++; in dcn10_cal_vline_position()
3830 vline_pos += dc->hwss.get_vupdate_offset_from_vsync(pipe_ctx); in dcn10_cal_vline_position()
3831 if (vline_pos >= 0) in dcn10_cal_vline_position()
3832 *start_line = vline_pos - ((vline_pos / timing->v_total) * timing->v_total); in dcn10_cal_vline_position()
3834 *start_line = vline_pos + ((-vline_pos / timing->v_total) + 1) * timing->v_total - 1; in dcn10_cal_vline_position()
3838 *start_line = vline_pos; in dcn10_cal_vline_position()