Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_irq.c590 int vbl_status, vtotal, vdisplay; in drm_calc_vbltimestamp_from_scanoutpos() local
640 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos); in drm_calc_vbltimestamp_from_scanoutpos()
650 if (!(vbl_status & DRM_SCANOUTPOS_VALID)) { in drm_calc_vbltimestamp_from_scanoutpos()
652 crtc, vbl_status); in drm_calc_vbltimestamp_from_scanoutpos()
677 invbl = vbl_status & DRM_SCANOUTPOS_INVBL; in drm_calc_vbltimestamp_from_scanoutpos()
700 vbl_status |= 0x8; in drm_calc_vbltimestamp_from_scanoutpos()
715 crtc, (int)vbl_status, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
720 vbl_status = DRM_VBLANKTIME_SCANOUTPOS_METHOD; in drm_calc_vbltimestamp_from_scanoutpos()
722 vbl_status |= DRM_VBLANKTIME_INVBL; in drm_calc_vbltimestamp_from_scanoutpos()
724 return vbl_status; in drm_calc_vbltimestamp_from_scanoutpos()
/drivers/gpu/drm/radeon/
Dradeon_pm.c744 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
752 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, &vpos, &hpos); in radeon_pm_in_vbl()
753 if ((vbl_status & DRM_SCANOUTPOS_VALID) && in radeon_pm_in_vbl()
754 !(vbl_status & DRM_SCANOUTPOS_INVBL)) in radeon_pm_in_vbl()