summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-12-06 19:17:39 -0500
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-12-08 10:21:12 +0800
commitf05a0c9628a2696c8719a41cfcb7663db3383019 (patch)
treefb7cdee0249fb066e1cea39675a735ea0d040403 /src
parent1f74f7491508973240a649e9b480d435b013d847 (diff)
Fix KMS compilation.
(cherry picked from commit 3ad9c9a82d7b359b9b711070628e6ff07a2aa9f7)
Diffstat (limited to 'src')
-rw-r--r--src/drmmode_display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 680071a5..186ff2d1 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -146,6 +146,7 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
crtc->x = x;
crtc->y = y;
crtc->rotation = rotation;
+ crtc->transformPresent = FALSE;
output_ids = xcalloc(sizeof(uint32_t), xf86_config->num_output);
if (!output_ids) {
@@ -166,7 +167,7 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
output_count++;
}
- if (!xf86CrtcRotate(crtc, mode, rotation)) {
+ if (!xf86CrtcRotate(crtc)) {
goto done;
}