diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-08-19 16:54:14 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-08-20 12:47:49 +0900 |
commit | 0288a4b87b65ba54f37fbeeea3cb32238deee92e (patch) | |
tree | 7f293483f53f13e244359c114494de50a6c1750b /src/radeon_video.c | |
parent | 1d886b526dc49f32dc6744b7a882894bdac4e846 (diff) |
DRI2: Keep MSC monotonic when moving window between CRTCs
This mirrors the DRI3 implementation in xserver. Fixes VDPAU video
playback hanging when moving the window between CRTCs.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66384
(Ported from amdgpu commit 63948ea091a9b324327ade7ec4fc5d67ca7e6f6f)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r-- | src/radeon_video.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c index f66ba559..9b714e97 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -74,12 +74,6 @@ Bool radeon_crtc_is_enabled(xf86CrtcPtr crtc) return drmmode_crtc->dpms_mode == DPMSModeOn; } -uint32_t radeon_get_interpolated_vblanks(xf86CrtcPtr crtc) -{ - drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; - return drmmode_crtc->interpolated_vblanks; -} - xf86CrtcPtr radeon_pick_best_crtc(ScrnInfoPtr pScrn, Bool consider_disabled, int x1, int x2, int y1, int y2) |