summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch
blob: a3fd0d5f90eb077ed2d1332ab97554a423b06449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
commit cbae688d7df59938ccb4af534ec2ff75cbbe9221
Author: Koen Kooi <koen@dominion.thruhere.net>
Date:   Wed Jan 26 13:27:20 2011 +0100

    Revert "Set virtual size when configuring framebuffer"

    Virtual size too big, so revert it.

    This reverts commit 2653ef07883fbd1a5e7025f9300cf89b79ba429a.

diff --git a/src/omapfb-crtc.c b/src/omapfb-crtc.c
index cbeff35..9655db2 100644
--- a/src/omapfb-crtc.c
+++ b/src/omapfb-crtc.c
@@ -98,8 +98,6 @@ OMAPFBCrtcCommitChangeMode (xf86CrtcPtr crtc)
 	v = ofb->state_info;
 	v.xres = mode->HDisplay;
 	v.yres = mode->VDisplay;
-	v.xres_virtual = crtc->scrn->virtualX;
-	v.yres_virtual = crtc->scrn->virtualY;
 	v.activate = FB_ACTIVATE_NOW;
 	v.pixclock = KHZ2PICOS(mode->Clock ? mode->Clock : 56000);
 	v.left_margin = mode->HTotal - mode->HSyncEnd;