summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-omapfb/0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2016-06-30 13:31:41 -0500
committerIsaac David <isacdaavid@isacdaavid.info>2016-06-30 13:31:41 -0500
commit82c1c2b3304e474f22956f8b02b6df8ad613bf11 (patch)
tree52b9235c1eb1de0d2bec087416f8337aff7a2daa /pcr/xf86-video-omapfb/0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch
parentbf0e3da018e1a7d88877df51f5c683929e6e7f34 (diff)
xf86-video-{armsoc-git,omap{,fb}}: add new packages to [pcr]
Diffstat (limited to 'pcr/xf86-video-omapfb/0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch')
-rw-r--r--pcr/xf86-video-omapfb/0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/xf86-video-omapfb/0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch b/pcr/xf86-video-omapfb/0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch
new file mode 100644
index 000000000..3bada29bc
--- /dev/null
+++ b/pcr/xf86-video-omapfb/0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch
@@ -0,0 +1,32 @@
+From 1b674f1f16bc43898865fa7ddfdb816692d18f4d Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+Date: Wed, 26 Jan 2011 13:27:20 +0100
+Subject: [PATCH 2/7] Revert "Set virtual size when configuring framebuffer"
+
+Virtual size too big, so revert it.
+
+This reverts commit 2653ef07883fbd1a5e7025f9300cf89b79ba429a.
+
+Upstream-Status: Pending
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ src/omapfb-crtc.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+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;
+--
+2.3.0
+