Lines Matching full:vpos
131 int vpos, hpos; in amdgpu_display_flip_work_func() local
142 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func()
1525 * fudged earlier start of vblank in *vpos and the distance
1528 * \param *vpos Location where vertical scanout position should be stored.
1535 * Returns vpos as a positive number while in active scanout area.
1536 * Returns vpos as a negative number inside vblank, counting the number
1550 unsigned int pipe, unsigned int flags, int *vpos, in amdgpu_display_get_crtc_scanoutpos() argument
1576 *vpos = position & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1594 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos()
1611 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_display_get_crtc_scanoutpos()
1621 *vpos -= vbl_start; in amdgpu_display_get_crtc_scanoutpos()
1626 * vpos will then be >=0 in video scanout area, but negative in amdgpu_display_get_crtc_scanoutpos()
1632 if (in_vbl && (*vpos >= vbl_start)) { in amdgpu_display_get_crtc_scanoutpos()
1635 /* With variable refresh rate displays the vpos can exceed in amdgpu_display_get_crtc_scanoutpos()
1639 *vpos = (*vpos < vtotal) ? (*vpos - vtotal) : 0; in amdgpu_display_get_crtc_scanoutpos()
1643 *vpos = *vpos - vbl_end; in amdgpu_display_get_crtc_scanoutpos()
1672 bool in_vblank_irq, int *vpos, in amdgpu_crtc_get_scanout_position() argument
1679 return amdgpu_display_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in amdgpu_crtc_get_scanout_position()