[PATCH xf86-video-ati 1/3] Remove check for XF86_CRTC_VERSION 3

Michel Dänzer michel at daenzer.net
Tue Mar 8 09:48:13 UTC 2016


From: Michel Dänzer <michel.daenzer at amd.com>

We require xserver >= 1.8, which was already at version 3.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 src/drmmode_display.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index f1ca02c..c749127 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -803,11 +803,9 @@ done:
 		crtc->y = saved_y;
 		crtc->rotation = saved_rotation;
 		crtc->mode = saved_mode;
-	}
-#if defined(XF86_CRTC_VERSION) && XF86_CRTC_VERSION >= 3
-	else
+	} else
 		crtc->active = TRUE;
-#endif
+
 	free(output_ids);
 
 	return ret;
-- 
2.7.0



More information about the xorg-driver-ati mailing list