Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/xf86-video-qxl/dist initial import of xf86-vid...
details: https://anonhg.NetBSD.org/xsrc/rev/7424b4c6d3f5
branches: xorg
changeset: 7436:7424b4c6d3f5
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Feb 26 19:46:53 2023 +0000
description:
initial import of xf86-video-qxl-0.1.6
diffstat:
external/mit/xf86-video-qxl/dist/COPYING | 20 +
external/mit/xf86-video-qxl/dist/ChangeLog | 5797 ++
external/mit/xf86-video-qxl/dist/INSTALL | 370 +
external/mit/xf86-video-qxl/dist/Makefile.am | 38 +
external/mit/xf86-video-qxl/dist/Makefile.in | 896 +
external/mit/xf86-video-qxl/dist/NEWS | 47 +
external/mit/xf86-video-qxl/dist/README.md | 17 +
external/mit/xf86-video-qxl/dist/README.xspice | 163 +
external/mit/xf86-video-qxl/dist/TODO | 205 +
external/mit/xf86-video-qxl/dist/aclocal.m4 | 12563 +++++
external/mit/xf86-video-qxl/dist/compile | 348 +
external/mit/xf86-video-qxl/dist/config.guess | 1768 +
external/mit/xf86-video-qxl/dist/config.h.in | 98 +
external/mit/xf86-video-qxl/dist/config.sub | 1890 +
external/mit/xf86-video-qxl/dist/configure | 23035 ++++++++++
external/mit/xf86-video-qxl/dist/configure.ac | 214 +
external/mit/xf86-video-qxl/dist/depcomp | 791 +
external/mit/xf86-video-qxl/dist/examples/Makefile.am | 24 +
external/mit/xf86-video-qxl/dist/examples/Makefile.in | 555 +
external/mit/xf86-video-qxl/dist/examples/spiceqxl.xorg.conf.example | 230 +
external/mit/xf86-video-qxl/dist/install-sh | 541 +
external/mit/xf86-video-qxl/dist/ltmain.sh | 11429 ++++
external/mit/xf86-video-qxl/dist/missing | 215 +
external/mit/xf86-video-qxl/dist/scripts/Makefile.am | 24 +
external/mit/xf86-video-qxl/dist/scripts/Makefile.in | 569 +
external/mit/xf86-video-qxl/dist/scripts/Xspice | 364 +
external/mit/xf86-video-qxl/dist/src/Makefile.am | 128 +
external/mit/xf86-video-qxl/dist/src/Makefile.in | 1355 +
external/mit/xf86-video-qxl/dist/src/compat-api.h | 99 +
external/mit/xf86-video-qxl/dist/src/dfps.c | 417 +
external/mit/xf86-video-qxl/dist/src/dfps.h | 26 +
external/mit/xf86-video-qxl/dist/src/mspace.c | 2458 +
external/mit/xf86-video-qxl/dist/src/mspace.h | 156 +
external/mit/xf86-video-qxl/dist/src/murmurhash3.c | 357 +
external/mit/xf86-video-qxl/dist/src/murmurhash3.h | 39 +
external/mit/xf86-video-qxl/dist/src/qxl.h | 669 +
external/mit/xf86-video-qxl/dist/src/qxl_cursor.c | 206 +
external/mit/xf86-video-qxl/dist/src/qxl_driver.c | 1547 +
external/mit/xf86-video-qxl/dist/src/qxl_drmmode.c | 1007 +
external/mit/xf86-video-qxl/dist/src/qxl_drmmode.h | 94 +
external/mit/xf86-video-qxl/dist/src/qxl_image.c | 230 +
external/mit/xf86-video-qxl/dist/src/qxl_io.c | 212 +
external/mit/xf86-video-qxl/dist/src/qxl_kms.c | 782 +
external/mit/xf86-video-qxl/dist/src/qxl_mem.c | 720 +
external/mit/xf86-video-qxl/dist/src/qxl_option_helpers.c | 55 +
external/mit/xf86-video-qxl/dist/src/qxl_option_helpers.h | 16 +
external/mit/xf86-video-qxl/dist/src/qxl_ring.c | 156 +
external/mit/xf86-video-qxl/dist/src/qxl_surface.c | 847 +
external/mit/xf86-video-qxl/dist/src/qxl_surface.h | 55 +
external/mit/xf86-video-qxl/dist/src/qxl_surface_ums.c | 851 +
external/mit/xf86-video-qxl/dist/src/qxl_ums_mode.c | 506 +
external/mit/xf86-video-qxl/dist/src/qxl_uxa.c | 591 +
external/mit/xf86-video-qxl/dist/src/spiceccid/Makefile.am | 28 +
external/mit/xf86-video-qxl/dist/src/spiceccid/Makefile.in | 726 +
external/mit/xf86-video-qxl/dist/src/spiceccid/spiceccid.c | 488 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_audio.c | 547 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_audio.h | 31 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_display.c | 355 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_display.h | 35 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_driver.c | 155 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_driver.h | 32 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_inputs.c | 426 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_inputs.h | 32 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_io_port.c | 276 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_io_port.h | 32 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_main_loop.c | 444 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_main_loop.h | 33 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_smartcard.c | 193 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_smartcard.h | 31 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_spice_server.c | 318 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_spice_server.h | 34 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_uinput.c | 137 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_uinput.h | 9 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_util.c | 44 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_util.h | 30 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_vdagent.c | 177 +
external/mit/xf86-video-qxl/dist/src/spiceqxl_vdagent.h | 8 +
external/mit/xf86-video-qxl/dist/src/uxa/Makefile.am | 18 +
external/mit/xf86-video-qxl/dist/src/uxa/Makefile.in | 665 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa-accel.c | 1336 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa-damage.c | 1178 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa-damage.h | 239 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa-glyphs.c | 1194 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa-priv.h | 433 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa-render.c | 1957 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa-unaccel.c | 504 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa.c | 627 +
external/mit/xf86-video-qxl/dist/src/uxa/uxa.h | 585 +
88 files changed, 89147 insertions(+), 0 deletions(-)
diffs (truncated from 89499 to 300 lines):
diff -r f69c71092c6d -r 7424b4c6d3f5 external/mit/xf86-video-qxl/dist/COPYING
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xf86-video-qxl/dist/COPYING Sun Feb 26 19:46:53 2023 +0000
@@ -0,0 +1,20 @@
+Copyright 2008 Red Hat, Inc.
+Copyright 2009 Red Hat, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+on the rights to use, copy, modify, merge, publish, distribute, sub
+license, and/or sell copies of the Software, and to permit persons to whom
+the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice (including the next
+paragraph) shall be included in all copies or substantial portions of the
+Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff -r f69c71092c6d -r 7424b4c6d3f5 external/mit/xf86-video-qxl/dist/ChangeLog
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xf86-video-qxl/dist/ChangeLog Sun Feb 26 19:46:53 2023 +0000
@@ -0,0 +1,5797 @@
+commit f6f75e1b03ca0d25d546cf9e80d0317bd644bc8d
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Tue Jan 24 14:28:12 2023 +1000
+
+ qxl 0.1.6
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit ca70ff93dd8bbf35104d0f48b23a81aebf58bfac
+Author: Joachim Breuer <git%jmbreuer.net@localhost>
+Date: Tue Apr 12 19:35:21 2022 +0200
+
+ Default to one head if there is no NUM_HEADS option
+
+commit 9d0ddb12cb74a04ccd007ad884137a4fdaf39b44
+Author: Joachim Breuer <git%jmbreuer.net@localhost>
+Date: Tue Apr 12 19:33:45 2022 +0200
+
+ Initialize pScrn->{width, height} from primary
+
+ ... instead of pScrn->currentMode, the latter is not initialized
+ in xorg-server-21.1.3
+
+commit fe3acdf9503b836111fb20c4839a25562d0484f7
+Author: Joachim Breuer <git%jmbreuer.net@localhost>
+Date: Tue Apr 12 19:32:40 2022 +0200
+
+ fix pScrn->modes == NULL in xf86InitViewport()
+
+ track pScrn->modes along with qxl->x_modes
+
+commit 52e975263fe88105d151297768c7ac675ed94122
+Author: Adam Jackson <ajax%redhat.com@localhost>
+Date: Wed Feb 10 14:49:48 2021 -0500
+
+ configure: Simplify fragile libdrm detection
+
+ libdrm 2.4.46 always installs qxl_drm.h
+
+commit 670992bf6effa0f8e81b429cddf9609aa1b3bcd9
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Apr 6 14:41:16 2022 -0700
+
+ gitlab CI: stop requiring Signed-off-by in commits
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0a2e96d823e54a99b2079446f53aaf9cac15c279
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Feb 19 09:31:00 2022 -0800
+
+ uxa: Convert source files from ISO-8859-1 to UTF-8
+
+ Clears errors from FlawFinder in gitlab CI:
+ Error: encoding error in ./src/uxa/uxa-unaccel.c
+ 'utf-8' codec can't decode byte 0xa9 in position 19: invalid start byte
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 92984f5a3f3afc9352f6dbc405ae9287f02abd38
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jan 23 13:33:04 2022 -0800
+
+ gitlab CI: add a basic build test
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4e1963a812f2c1777ba5d56ea9e939a3e40a0496
+Author: Zoltán Böszörményi <zboszor%gmail.com@localhost>
+Date: Sat Aug 28 15:38:40 2021 +0200
+
+ Fix a build error with Xorg master
+
+ Use xf86ReturnOptValBool() in get_bool_option() instead of
+ options[option_index].value.bool to fix a compiler error with
+ current Xorg xserver master branch.
+
+ Also use xf86GetOptValInteger() in get_int_option() and
+ xf86GetOptValString() in get_str_option() for consistency.
+
+ The change causes a slight performance drop during option parsing
+ because the passed-in index_value is no longer used as an index
+ into the options array.
+
+ Instead, it's used as a token now for the standard option getter
+ functions which works since the index_value to the get_*_option()
+ functions are identical to the value of options[n].token in the
+ passed-in OptionInfoRec array.
+
+ Also rename "int option_index" to "int token" for clarity in all
+ three functions.
+
+ Signed-off-by: Zoltán Böszörményi <zboszor%gmail.com@localhost>
+
+commit 24f35015dca33564ce9ded309909b4b6c17763be
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jan 23 13:24:29 2022 -0800
+
+ Fix spelling/wording issues
+
+ Found by using:
+ codespell --builtin clear,rare,usage,informal,code,names
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit cdcfd033cc7dc8522c4532ffe7b8374eaeb29e7a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jan 23 13:21:52 2022 -0800
+
+ Build xz tarballs instead of bzip2
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 52c421c650f8813665b31890df691b31fabc366a
+Author: Adam Jackson <ajax%redhat.com@localhost>
+Date: Wed Feb 5 12:55:01 2020 -0500
+
+ qxl: Include only the dpms headers we need
+
+ dpms.h is provided by libXext, but nothing in our configure.ac is
+ verifying that we have libXext's headers. Fortunately we only need the
+ definitions in dpmsconst.h (which dpms.h included for us), which is in
+ xorgproto and thus implied by having an xserver DDK to build against.
+
+ And we're even trying to include dpmsconst.h when we think we have it,
+ meaning when HAVE_XEXTPROTO_71 is defined, but while many other drivers
+ define that macro in their configure.ac, we for no particularly good
+ reason do not. Oops. But since xextproto is about ten years old by now
+ we can probably just safely include it unconditionally.
+
+commit 922ec516beaae0c0735bbd46d470908f243e3605
+Author: Jeremy White <jwhite%codeweavers.com@localhost>
+Date: Fri Apr 5 09:38:31 2019 -0500
+
+ Correct a long standing led state bug in XSpice.
+
+ The CtrlProc for our keyboard driver incorrectly mapped
+ the device private to a SpiceKbd* intead of to a InputInfoPtr.
+
+ That resulted in led state being written into the driver name
+ for our driver structure, instead of into the led state.
+
+ That, in turn, led to a cool bug where if you pressed caps lock,
+ the two second sync timer in the spice server would cause it to
+ attempt to correct the state by pressing caps lock to get the
+ states to match. Since the states will never match, the caps
+ lock effectively cycles on and off every two seconds.
+
+ Signed-off-by: Jeremy White <jwhite%codeweavers.com@localhost>
+ Acked-by: Victor Toso <victortoso%redhat.com@localhost>
+
+commit e2981166c10c38b89adc35f106e20b95b15ac47e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Thu Dec 6 15:55:07 2018 -0800
+
+ Update configure.ac bug URL for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d92e9a8f798bf5d5375da2bbc0fc5ac5586765d7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 18 13:39:37 2018 -0800
+
+ Update README for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit cf2254c13497049a8dbc73a3b031f4cd43403ab1
+Author: Victor Toso <me%victortoso.com@localhost>
+Date: Tue Oct 23 13:48:58 2018 +0200
+
+ qxl: Initialize prev field while dup surface list
+
+ Otherwise we will can hit a segfault qxl_surface_kill()
+
+ │717 void
+ │718 qxl_surface_kill (qxl_surface_t *surface)
+ │719 {
+ │720 struct evacuated_surface_t *ev = surface->evacuated;
+ │721
+ │722 if (ev)
+ │723 {
+ │724 /* server side surface is already destroyed (via reset), don't
+ │725 * resend a destroy. Just mark surface as not to be recreated */
+ │726 ev->pixmap = NULL;│
+ │727 if (ev->image)│
+ │728 pixman_image_unref (ev->image);
+ │729 if (ev->next)
+ │730 ev->next->prev = ev->prev;
+ │731 if (ev->prev)
+ >│732 ev->prev->next = ev->next;
+ │733 free(ev);
+ │734 surface->evacuated = NULL;
+ │735 return;
+ │736 }
+
+ Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1641793
+
+ Signed-off-by: Victor Toso <victortoso%redhat.com@localhost>
+
+commit 64cb597c7f7fa1493aea95aa3656e2cae66728d2
+Author: Jonathon Jongsma <jjongsma%redhat.com@localhost>
+Date: Mon Nov 12 14:06:14 2018 -0600
+
+ Make output names match modesetting driver
+
+ The xrandr output name used by the QXL driver is based on the drm
+ connector type, but the names do not match the kernel names (see
+ /drivers/gpu/drm/drm_connector.c) or the modesetting driver names (see
+ hw/xfree86/drivers/modesetting/drmmode_display.c). Making these more
+ consistent will require less driver-specific special-case code if a user
+ wants to match an xrandr output to a drm connector.
+
+ Note that this patch should not actually change any behavior, since the
+ QXL driver only uses the 'Virtual' connector type, so this is done only
+ for consistency.
+
+ Signed-off-by: Jonathon Jongsma <jjongsma%redhat.com@localhost>
+ Acked-by: Frediano Ziglio <fziglio%redhat.com@localhost>
+
+commit 505a8bb0cd82e2a50fcf18ed4647788adacef6ee
+Author: Jonathon Jongsma <jjongsma%redhat.com@localhost>
+Date: Mon Nov 12 14:06:13 2018 -0600
+
+ Make output name numbering 1-based
+
+ The QXL driver names its outputs starting at 0 (e.g. Virtual-0,
+ Virtual-1, etc). This code was presumably copy/pasted from a different
+ driver, and is not necessary for the QXL driver. Other drivers simply
+ use the kernel connector_type_id which starts at 1. For example, the
+ modesetting driver changed from 0-based names to 1-based names for the
+ same reason in xserver commit 139e36dd.
+
+ This will help to make it easier to identify which xrandr outputs belong
+ to which drm connector without requiring as many driver-specific
+ special-cases.
+
+ This change might effect custom xorg configurations that references a
+ specific output name. But the same change was made in modesetting driver
+ despite that possibility.
+
+ Signed-off-by: Jonathon Jongsma <jjongsma%redhat.com@localhost>
+ Acked-by: Frediano Ziglio <fziglio%redhat.com@localhost>
+
+commit ee8f904ab0d590c741e640e9548c472e6a58b3cc
+Author: Dave Airlie <airlied%redhat.com@localhost>
+Date: Wed Mar 8 10:50:56 2017 +1000
+
+ qxl: call provider init
+
+ This prevents crashes when multiple QXL devices are configured in a VM.
+
+ https://bugzilla.redhat.com/show_bug.cgi?id=1428340
+
+commit 78abd5221f7efd87383aa357590efff083449aa3
+Author: Adam Jackson <ajax%redhat.com@localhost>
+Date: Tue Jun 13 09:29:28 2017 -0400
+
+ modesetting: Validate the atom for enum properties
+
+ The client could have said anything here, and if what they said doesn't
+ actually name an atom NameForAtom() will return NULL, and strcmp() will
+ be unhappy about that.
+
+ [copied from xserver d4995a3936ae283b9080fdaa0905daa669ebacfc]
+
+ Signed-off-by: Adam Jackson <ajax%redhat.com@localhost>
+
+commit 0728e0851f776a273e5c559a23dca7ef40be405f
+Author: Frediano Ziglio <fziglio%redhat.com@localhost>
+Date: Fri Apr 7 12:05:23 2017 +0100
+
Home |
Main Index |
Thread Index |
Old Index