Subversion Repositories Kolibri OS

Rev

Rev 5078 | Rev 5346 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5078 Rev 5271
Line 1477... Line 1477...
1477
	 */
1477
	 */
1478
	for (crtc = 0; (crtc < rdev->num_crtc) && in_vbl; crtc++) {
1478
	for (crtc = 0; (crtc < rdev->num_crtc) && in_vbl; crtc++) {
1479
		if (rdev->pm.active_crtcs & (1 << crtc)) {
1479
		if (rdev->pm.active_crtcs & (1 << crtc)) {
1480
			vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, 0, &vpos, &hpos, NULL, NULL);
1480
			vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, 0, &vpos, &hpos, NULL, NULL);
1481
			if ((vbl_status & DRM_SCANOUTPOS_VALID) &&
1481
			if ((vbl_status & DRM_SCANOUTPOS_VALID) &&
1482
			    !(vbl_status & DRM_SCANOUTPOS_INVBL))
1482
			    !(vbl_status & DRM_SCANOUTPOS_IN_VBLANK))
1483
				in_vbl = false;
1483
				in_vbl = false;
1484
		}
1484
		}
1485
		}
1485
		}
Line 1486... Line 1486...
1486
 
1486