[PATCH xf86-video-amdgpu 08/12] Remove check for XF86_CRTC_VERSION 3

Michel Dänzer michel at daenzer.net
Fri Mar 18 10:01:33 UTC 2016


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

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

(Ported from radeon commit 06602171386e538081c298645fb7ca1a70fe80cc)

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

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 2c75f82..9a2c70b 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -746,11 +746,8 @@ 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
 
 	return ret;
 }
-- 
2.7.0



More information about the xorg-driver-ati mailing list