Lines Matching defs:position
344 * scanout position we know that the current frame is
1777 * Retrieve current video scanout position of crtc on a given gpu, and
1792 * \param *vpos Location where vertical scanout position should be stored.
1793 * \param *hpos Location where horizontal scanout position should go.
1795 * scanout position query. Can be NULL to skip timestamp.
1797 * scanout position query. Can be NULL to skip timestamp.
1808 * DRM_SCANOUTPOS_ACCURATE = Returned position is accurate. A lack of
1809 * this flag means that returned position may be offset by a constant but
1810 * unknown small number of scanlines wrt. real scanout position.
1818 u32 stat_crtc = 0, vbl = 0, position = 0;
1834 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1841 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1848 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1855 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1862 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1869 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION +
1876 position = RREG32(AVIVO_D1CRTC_STATUS_POSITION);
1881 position = RREG32(AVIVO_D2CRTC_STATUS_POSITION);
1893 position = (RREG32(RADEON_CRTC_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL;
1903 position = (RREG32(RADEON_CRTC2_VLINE_CRNT_VLINE) >> 16) & RADEON_CRTC_V_TOTAL;
1918 /* Decode into vertical and horizontal scanout position. */
1919 *vpos = position & 0x1fff;
1920 *hpos = (position >> 16) & 0x1fff;
1947 * by the line buffer logic when the line buffer read position enters
1948 * the vblank, whereas our crtc scanout position naturally lags the
1949 * line buffer read position.
1954 /* Test scanout position against vblank region. */