mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
646a5c1cbf
a/pkgtools-15.0-noarch-13.txz: Rebuilt. installpkg: default line length for --terselength is the number of columns. removepkg: added --terse mode. upgradepkg: default line length for --terselength is the number of columns. upgradepkg: accept -option in addition to --option. ap/vim-8.1.0026-x86_64-1.txz: Upgraded. d/bison-3.0.5-x86_64-1.txz: Upgraded. e/emacs-26.1-x86_64-1.txz: Upgraded. kde/kopete-4.14.3-x86_64-8.txz: Rebuilt. Recompiled against libidn-1.35. n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded. n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded. n/libnftnl-1.1.0-x86_64-1.txz: Upgraded. n/links-2.16-x86_64-2.txz: Rebuilt. Rebuilt to enable X driver for -g mode. n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded. n/nftables-0.8.5-x86_64-1.txz: Upgraded. n/p11-kit-0.23.11-x86_64-1.txz: Upgraded. n/ulogd-2.0.7-x86_64-1.txz: Upgraded. n/whois-5.3.1-x86_64-1.txz: Upgraded. xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded. xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded.
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
From 09bf64d69d97172f22fe08eb495bf50f920ae9ec Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= <ville.syrjala@linux.intel.com>
|
|
Date: Tue, 31 May 2016 11:11:21 +0300
|
|
Subject: [PATCH] sna: Avoid clobbering output physical size with
|
|
xf86OutputSetEDID()
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
|
|
---
|
|
src/sna/sna_display.c | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
|
|
index 10d33f2..57de410 100644
|
|
--- a/src/sna/sna_display.c
|
|
+++ b/src/sna/sna_display.c
|
|
@@ -3576,6 +3576,7 @@ sna_output_attach_edid(xf86OutputPtr output)
|
|
{
|
|
struct sna *sna = to_sna(output->scrn);
|
|
struct sna_output *sna_output = output->driver_private;
|
|
+ unsigned old_mm_width, old_mm_height;
|
|
struct drm_mode_get_blob blob;
|
|
void *old, *raw = NULL;
|
|
xf86MonPtr mon = NULL;
|
|
@@ -3678,12 +3679,17 @@ skip_read:
|
|
}
|
|
|
|
done:
|
|
+ output = sna_output->base;
|
|
+ old_mm_width = output->mm_width;
|
|
+ old_mm_height = output->mm_height;
|
|
sna_output_set_parsed_edid(output, mon);
|
|
if (raw) {
|
|
sna_output->edid_raw = raw;
|
|
sna_output->edid_len = blob.length;
|
|
sna_output->edid_blob_id = blob.blob_id;
|
|
}
|
|
+ output->mm_width = old_mm_width;
|
|
+ output->mm_height = old_mm_height;
|
|
}
|
|
|
|
static void
|
|
--
|
|
2.7.4
|
|
|