Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_irq.c661 int vbl_status; in drm_calc_vbltimestamp_from_scanoutpos() local
702 vbl_status = dev->driver->get_scanout_position(dev, crtc, flags, &vpos, in drm_calc_vbltimestamp_from_scanoutpos()
706 if (!(vbl_status & DRM_SCANOUTPOS_VALID)) { in drm_calc_vbltimestamp_from_scanoutpos()
708 crtc, vbl_status); in drm_calc_vbltimestamp_from_scanoutpos()
734 invbl = vbl_status & DRM_SCANOUTPOS_IN_VBLANK; in drm_calc_vbltimestamp_from_scanoutpos()
757 crtc, (int)vbl_status, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
762 vbl_status = DRM_VBLANKTIME_SCANOUTPOS_METHOD; in drm_calc_vbltimestamp_from_scanoutpos()
764 vbl_status |= DRM_VBLANKTIME_IN_VBLANK; in drm_calc_vbltimestamp_from_scanoutpos()
766 return vbl_status; in drm_calc_vbltimestamp_from_scanoutpos()
/drivers/gpu/drm/radeon/
Dradeon_pm.c1614 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
1622 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, 0, &vpos, &hpos, NULL, NULL); in radeon_pm_in_vbl()
1623 if ((vbl_status & DRM_SCANOUTPOS_VALID) && in radeon_pm_in_vbl()
1624 !(vbl_status & DRM_SCANOUTPOS_IN_VBLANK)) in radeon_pm_in_vbl()