Skip to contentSkip to conversation

xf86-video-ati: (revised #2) add support for vblank on crtc > 1

PATCH New Ilija Hadzic 1 participant 1 message Mar 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xf86-video-ati: (revised #2) add support for vblank on crtc > 1

Hi Alex,

Enclosed is a revised version of two patches sent on Mar 18 and Mar 22, respectively. Details summarized in these two threads:
http://lists.freedesktop.org/archives/dri-devel/2011-March/009463.html
http://lists.freedesktop.org/archives/dri-devel/2011-March/009582.html

This patch reconciles the DDX with the change in libdrm sent to this list earlier today. Specifically, it refers to a symbol that has been renamed from DRM_CAP_HIGH_CRTC to DRM_CAP_VBLANK_HIGH_CRTC. It *supersedes* the previous patch (i.e. apply it to the master branch as it exists at the time of this writing, not as an incremental patch to the one sent previously).

Regards,

Ilija

---
 src/radeon.h      |    3 +++
 src/radeon_dri2.c |   53 +++++++++++++++++++++++++++++++++++++++--------------
 2 files changed, 42 insertions(+), 14 deletions(-)
src/radeon.h +3 -0
index a6d20d7..1a746c7 100644
@@ -931,6 +931,9 @@ typedef struct {
 
     RADEONFBLayout    CurrentLayout;
 
+#ifdef RADEON_DRI2
+    Bool              high_crtc_works;
+#endif
 #ifdef XF86DRI
     Bool              directRenderingEnabled;
     Bool              directRenderingInited;
src/radeon_dri2.c +39 -14

119 lines not on this page · raw message

Signature · 1 line
1.7.4.1