Lines Matching defs:position
351 * scanout position we know that the current frame is
1772 * Retrieve current video scanout position of crtc on a given gpu, and
1787 * \param *vpos Location where vertical scanout position should be stored.
1788 * \param *hpos Location where horizontal scanout position should go.
1790 * scanout position query. Can be NULL to skip timestamp.
1792 * scanout position query. Can be NULL to skip timestamp.
1803 * DRM_SCANOUTPOS_ACCURATE = Returned position is accurate. A lack of
1804 * this flag means that returned position may be offset by a constant but
1805 * unknown small number of scanlines wrt. real scanout position.
1813 u32 stat_crtc = 0, vbl = 0, position = 0;
1829 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1836 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1843 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1850 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1857 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1864 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1871 position = RREG32(AVIVO_D1CRTC_STATUS_POSITION);
1876 position = RREG32(AVIVO_D2CRTC_STATUS_POSITION);
1888 position = (RREG32(RADEON_CRTC_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL;
1898 position = (RREG32(RADEON_CRTC2_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL;
1913 /* Decode into vertical and horizontal scanout position. */
1914 *vpos = position & 0x1fff;
1915 *hpos = (position >> 16) & 0x1fff;
1942 * by the line buffer logic when the line buffer read position enters
1943 * the vblank, whereas our crtc scanout position naturally lags the
1944 * line buffer read position.
1949 /* Test scanout position against vblank region. */