git rm two patch dropped in the last two commits
This commit is contained in:
parent
13fda10f5c
commit
e9e97bbb71
@ -1,32 +0,0 @@
|
||||
From 4a1ad0a98f4ca1ebe21f1fe22975318cff0de8f1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= <sandmann@redhat.com>
|
||||
Date: Thu, 11 Sep 2008 12:51:31 -0400
|
||||
Subject: [PATCH 03/17] Make room for an external monitor if we have enough video RAM
|
||||
|
||||
---
|
||||
hw/xfree86/modes/xf86Crtc.c | 9 +++++++++
|
||||
1 files changed, 9 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
|
||||
index b2daec7..85d499a 100644
|
||||
--- a/hw/xfree86/modes/xf86Crtc.c
|
||||
+++ b/hw/xfree86/modes/xf86Crtc.c
|
||||
@@ -1074,6 +1074,15 @@ xf86DefaultScreenLimits (ScrnInfoPtr scrn, int *widthp, int *heightp,
|
||||
if (crtc_height > height)
|
||||
height = crtc_height;
|
||||
}
|
||||
+
|
||||
+ /* Make room for an external monitor if we have enough video ram */
|
||||
+ if (scrn->videoRam >= 65536)
|
||||
+ width += 1920;
|
||||
+ else if (scrn->videoRam >= 32768)
|
||||
+ width += 1280;
|
||||
+ else if (scrn->videoRam >= 16384)
|
||||
+ width += 1024;
|
||||
+
|
||||
if (config->maxWidth && width > config->maxWidth) width = config->maxWidth;
|
||||
if (config->maxHeight && height > config->maxHeight) height = config->maxHeight;
|
||||
if (config->minWidth && width < config->minWidth) width = config->minWidth;
|
||||
--
|
||||
1.7.1
|
||||
|
@ -1,26 +0,0 @@
|
||||
From e3824df6768a3d254d02de65b514cdf561838bb8 Mon Sep 17 00:00:00 2001
|
||||
From: Adam Jackson <ajax@redhat.com>
|
||||
Date: Tue, 7 Oct 2008 11:09:14 -0400
|
||||
Subject: [PATCH 05/17] Force ModeDebug on.
|
||||
|
||||
---
|
||||
hw/xfree86/modes/xf86Crtc.c | 3 +--
|
||||
1 files changed, 1 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
|
||||
index 85d499a..883bf3b 100644
|
||||
--- a/hw/xfree86/modes/xf86Crtc.c
|
||||
+++ b/hw/xfree86/modes/xf86Crtc.c
|
||||
@@ -2363,8 +2363,7 @@ xf86InitialConfiguration (ScrnInfoPtr scrn, Bool canGrow)
|
||||
xf86ProcessOptions (scrn->scrnIndex,
|
||||
scrn->options,
|
||||
config->options);
|
||||
- config->debug_modes = xf86ReturnOptValBool (config->options,
|
||||
- OPTION_MODEDEBUG, FALSE);
|
||||
+ config->debug_modes = TRUE;
|
||||
|
||||
if (scrn->display->virtualX)
|
||||
width = scrn->display->virtualX;
|
||||
--
|
||||
1.7.1
|
||||
|
Loading…
Reference in New Issue
Block a user