Skip to contentSkip to conversation

xorg-xserver: always enable forced outputs

PATCH New Jonathan Liu 2 participants 2 messages Jul 27, 2012 – Jul 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xorg-xserver: always enable forced outputs

If the user has gone to the effort of manually enabling an output in the configuration file assume that they know what they're doing.

X.org Bug 14611 <http://bugs.freedesktop.org/show_bug.cgi?id=14611>

---
 ...rg-server-03-always-enable-forced-outputs.patch | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/x11r7/xserver_xorg-server/xserver_xorg-server-03-always-enable-forced-outputs.patch
package/x11r7/xserver_xorg-server/xserver_xorg-server-03-always-enable-forced-outputs.patch new file +30 -0
new file mode 100644
index 0000000..bf27977
@@ -0,0 +1,30 @@
+From 93ff1bc5884cdfca1132af7fbc06c48e06f218c8 Mon Sep 17 00:00:00 2001
+From: Simon Farnsworth <[email protected]>
+Date: Mon, 15 Feb 2010 12:18:00 +0000
+Subject: Always enable outputs that have been forced on in the configuration file
+
+If the user has gone to the effort of manually enabling an output in
+the configuration file assume that they know what they're doing.
+
+X.org Bug 14611 <http://bugs.freedesktop.org/show_bug.cgi?id=14611>
+
+Signed-off-by: Simon Farnsworth <[email protected]>
+Reviewed-by: Alex Deucher <[email protected]>
+Signed-off-by: Keith Packard <[email protected]>
+---
+diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
+index 573fe96..9b1ff28 100644
+--- a/hw/xfree86/modes/xf86Crtc.c
++++ b/hw/xfree86/modes/xf86Crtc.c
+@@ -1573,7 +1573,8 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
+ 	 */
+ 	output->status = (*output->funcs->detect)(output);
+ 
+-	if (output->status == XF86OutputStatusDisconnected)
++	if (output->status == XF86OutputStatusDisconnected &&
++		!xf86ReturnOptValBool(output->options, OPTION_ENABLE, FALSE))
+ 	{
+ 	    xf86OutputSetEDID (output, NULL);
+ 	    continue;
+--
+cgit v0.9.0.2-2-gbebe
Signature · 1 line
1.7.11.2
#1 lore raw

PATCH 1/1 xorg-xserver: always enable forced outputs

Le Sat, 28 Jul 2012 00:17:32 +1000,
Jonathan Liu <[email protected]> a ?crit :

Quoted 6 lines

If the user has gone to the effort of manually enabling an output in the configuration file assume that they know what they're doing.

X.org Bug 14611 <http://bugs.freedesktop.org/show_bug.cgi?id=14611>

Applied, thanks.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com