xf86-video-intel: src/drmmode_display.c

Dave Airlie airlied at kemper.freedesktop.org
Sun Dec 28 17:34:41 PST 2008


 src/drmmode_display.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6b9f421b792c701e909d81ae2b6e6a47fb069b0b
Author: Dave Airlie <airlied at linux.ie>
Date:   Mon Dec 29 11:51:58 2008 +1000

    modeset: transformPresent is a new API member

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 8c73fda..4994251 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -148,7 +148,9 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
 	crtc->x = x;
 	crtc->y = y;
 	crtc->rotation = rotation;
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,5,99,0,0)
 	crtc->transformPresent = FALSE;
+#endif
 
 	output_ids = xcalloc(sizeof(uint32_t), xf86_config->num_output);
 	if (!output_ids) {


More information about the xorg-commit mailing list