Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpu/drm/
Ddrm_irq.c581 int vbl_status, vtotal, vdisplay; in drm_calc_vbltimestamp_from_scanoutpos() local
631 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos); in drm_calc_vbltimestamp_from_scanoutpos()
639 if (!(vbl_status & DRM_SCANOUTPOS_VALID)) { in drm_calc_vbltimestamp_from_scanoutpos()
641 crtc, vbl_status); in drm_calc_vbltimestamp_from_scanoutpos()
666 invbl = vbl_status & DRM_SCANOUTPOS_INVBL; in drm_calc_vbltimestamp_from_scanoutpos()
689 vbl_status |= 0x8; in drm_calc_vbltimestamp_from_scanoutpos()
698 crtc, (int)vbl_status, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
703 vbl_status = DRM_VBLANKTIME_SCANOUTPOS_METHOD; in drm_calc_vbltimestamp_from_scanoutpos()
705 vbl_status |= DRM_VBLANKTIME_INVBL; in drm_calc_vbltimestamp_from_scanoutpos()
707 return vbl_status; in drm_calc_vbltimestamp_from_scanoutpos()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_pm.c779 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
787 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, &vpos, &hpos); in radeon_pm_in_vbl()
788 if ((vbl_status & DRM_SCANOUTPOS_VALID) && in radeon_pm_in_vbl()
789 !(vbl_status & DRM_SCANOUTPOS_INVBL)) in radeon_pm_in_vbl()