xf86-video-intel: src/drmmode_display.c
Kristian Høgsberg
krh at kemper.freedesktop.org
Thu Aug 20 14:18:28 PDT 2009
Rebased ref, commits from common ancestor:
commit 6955fc7a74edf6034a292c31a304577c35e925e6
Author: Kristian Høgsberg <krh at redhat.com>
Date: Thu Aug 20 16:48:58 2009 -0400
kms: Don't use fb offset when using shadow buffer
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 4fb20d9..af5e56b 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -366,8 +366,11 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
fb_id = drmmode->fb_id;
- if (drmmode_crtc->rotate_fb_id)
+ if (drmmode_crtc->rotate_fb_id) {
fb_id = drmmode_crtc->rotate_fb_id;
+ x = 0;
+ y = 0;
+ }
ret = drmModeSetCrtc(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id,
fb_id, x, y, output_ids, output_count, &kmode);
if (ret)
More information about the xorg-commit
mailing list