xf86-video-ati: Branch 'master'

Michel Dänzer daenzer at kemper.freedesktop.org
Mon Jan 31 03:37:33 PST 2011


 src/radeon_output.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 66eb81b62e5ae8e1d7bd44ed8a179e5ec1ca69af
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Mon Jan 31 12:26:20 2011 +0100

    UMS: Slightly improve xserver version check.
    
    This will ensure the xserver definitions necessary to compile the new code are
    there. xf86CrtcSetMode will be unresolved at runtime with a few xserver
    commits, but I'm afraid this is the best we can do.
    
    See https://bugs.freedesktop.org/show_bug.cgi?id=33719 .

diff --git a/src/radeon_output.c b/src/radeon_output.c
index 83aa7c3..877d711 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -1618,7 +1618,7 @@ radeon_set_mode_for_property(xf86OutputPtr output)
 	xf86CrtcPtr crtc = output->crtc;
 
 	if (crtc->enabled) {
-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,1,0)
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,901,0)
 	    xf86CrtcSetRec crtc_set_rec;
 
 	    crtc_set_rec.flags = (XF86CrtcSetMode |


More information about the xorg-commit mailing list