summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-qxl/files/patch-src-qxl_driver.c
diff options
context:
space:
mode:
authorRonald Klop <ronald@FreeBSD.org>2023-02-15 15:43:11 +0100
committerRonald Klop <ronald@FreeBSD.org>2023-03-07 20:44:06 +0100
commit46488274d9a842b80594d5e7bb0a079b298de344 (patch)
treeb0cf0198696fe6c9daf08ebcc01f054f4da2ee24 /x11-drivers/xf86-video-qxl/files/patch-src-qxl_driver.c
parentx11/plasma5-plasma-workspace: Unbreak "Regional Settings" KCM. (diff)
x11-drivers/xf86-video-qxl: upgrade to 0.1.6
- 4 patches are in the source now (checked manually) - made portlint, portclippy & portfmt happy - poudriere stage-qa: ok - compiles on aarch64 - maintainer timeout on review changelog: https://lists.x.org/archives/xorg-announce/2023-January/003316.html Differential Revision: https://reviews.freebsd.org/D38612
Diffstat (limited to 'x11-drivers/xf86-video-qxl/files/patch-src-qxl_driver.c')
-rw-r--r--x11-drivers/xf86-video-qxl/files/patch-src-qxl_driver.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/x11-drivers/xf86-video-qxl/files/patch-src-qxl_driver.c b/x11-drivers/xf86-video-qxl/files/patch-src-qxl_driver.c
deleted file mode 100644
index 1eecfe2c9cb7..000000000000
--- a/x11-drivers/xf86-video-qxl/files/patch-src-qxl_driver.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/qxl_driver.c.orig 2016-12-19 17:25:56 UTC
-+++ src/qxl_driver.c
-@@ -807,8 +807,8 @@ qxl_screen_init (SCREEN_INIT_ARGS_DECL)
-
- CHECK_POINT ();
-
-- pScreen->width = pScrn->currentMode->HDisplay;
-- pScreen->height = pScrn->currentMode->VDisplay;
-+ pScreen->width = qxl->primary_mode.x_res;
-+ pScreen->height = qxl->primary_mode.y_res;
-
- if (!xf86CrtcScreenInit (pScreen))
- return FALSE;
-@@ -1005,6 +1005,11 @@ qxl_pre_init_common(ScrnInfoPtr pScrn)
- get_bool_option (qxl->options, OPTION_DEBUG_RENDER_FALLBACKS, "QXL_DEBUG_RENDER_FALLBACKS");
- qxl->num_heads =
- get_int_option (qxl->options, OPTION_NUM_HEADS, "QXL_NUM_HEADS");
-+ if (qxl->num_heads == 0) {
-+ xf86DrvMsg (scrnIndex, X_INFO, "QXL_NUM_HEADS not configured, "
-+ "defaulting to 1\n");
-+ qxl->num_heads = 1;
-+ }
-
- qxl->deferred_fps = get_int_option(qxl->options, OPTION_SPICE_DEFERRED_FPS, "XSPICE_DEFERRED_FPS");
- if (qxl->deferred_fps > 0)