Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/gpu/drm/
Ddrm_irq.c571 int vbl_status, vtotal, vdisplay; in drm_calc_vbltimestamp_from_scanoutpos() local
621 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos); in drm_calc_vbltimestamp_from_scanoutpos()
629 if (!(vbl_status & DRM_SCANOUTPOS_VALID)) { in drm_calc_vbltimestamp_from_scanoutpos()
631 crtc, vbl_status); in drm_calc_vbltimestamp_from_scanoutpos()
656 invbl = vbl_status & DRM_SCANOUTPOS_INVBL; in drm_calc_vbltimestamp_from_scanoutpos()
679 vbl_status |= 0x8; in drm_calc_vbltimestamp_from_scanoutpos()
688 crtc, (int) vbl_status, hpos, vpos, raw_time.tv_sec, in drm_calc_vbltimestamp_from_scanoutpos()
692 vbl_status = DRM_VBLANKTIME_SCANOUTPOS_METHOD; in drm_calc_vbltimestamp_from_scanoutpos()
694 vbl_status |= DRM_VBLANKTIME_INVBL; in drm_calc_vbltimestamp_from_scanoutpos()
696 return vbl_status; in drm_calc_vbltimestamp_from_scanoutpos()
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_pm.c737 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
745 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, &vpos, &hpos); in radeon_pm_in_vbl()
746 if ((vbl_status & DRM_SCANOUTPOS_VALID) && in radeon_pm_in_vbl()
747 !(vbl_status & DRM_SCANOUTPOS_INVBL)) in radeon_pm_in_vbl()