diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-02-04 17:13:57 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-03-08 17:46:54 +0900 |
commit | 06602171386e538081c298645fb7ca1a70fe80cc (patch) | |
tree | 5cf7d36186f82c646b1260b6d1f8cf5400ed4f93 | |
parent | a88985f5d1e39caca49ceb65678aaa9cb622a0d2 (diff) |
Remove check for XF86_CRTC_VERSION 3
We require xserver >= 1.8, which was already at version 3.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | src/drmmode_display.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index f1ca02c5..c7491272 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; |