diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-07-18 22:21:59 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2009-07-18 22:21:59 +0200 |
commit | a43c660a00147bfae5ca601f4720b2680b75211f (patch) | |
tree | b43fd06d7a00c22da80a60cb3be749b7367d678f /src/drmmode_display.c | |
parent | f32069f42b3e4643f15148d0b96164def00dcc74 (diff) |
Set CRTC active flag to TRUE after a successful KMS mode set.
Otherwise some things like changing the colour map won't work properly.
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index ea2f71f4..42b0b157 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -323,7 +323,9 @@ done: crtc->y = saved_y; crtc->rotation = saved_rotation; crtc->mode = saved_mode; - } + } else + crtc->active = TRUE; + return ret; } |