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-vmware/dist initial import of xf86-...



details:   https://anonhg.NetBSD.org/xsrc/rev/5aa5d5548ac5
branches:  xorg
changeset: 7439:5aa5d5548ac5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 26 19:47:05 2023 +0000

description:
initial import of xf86-video-vmware-13.4.0

diffstat:

 external/mit/xf86-video-vmware/dist/ChangeLog                  |    644 +-
 external/mit/xf86-video-vmware/dist/Makefile.in                |     65 +-
 external/mit/xf86-video-vmware/dist/aclocal.m4                 |   3520 +-
 external/mit/xf86-video-vmware/dist/compile                    |    248 +-
 external/mit/xf86-video-vmware/dist/config.guess               |   1958 +-
 external/mit/xf86-video-vmware/dist/config.h.in                |     24 +-
 external/mit/xf86-video-vmware/dist/config.sub                 |   2824 +-
 external/mit/xf86-video-vmware/dist/configure                  |  17025 +++++----
 external/mit/xf86-video-vmware/dist/configure.ac               |     15 +-
 external/mit/xf86-video-vmware/dist/depcomp                    |    584 +-
 external/mit/xf86-video-vmware/dist/install-sh                 |    436 +-
 external/mit/xf86-video-vmware/dist/ltmain.sh                  |   6222 ++-
 external/mit/xf86-video-vmware/dist/man/Makefile.in            |     26 +-
 external/mit/xf86-video-vmware/dist/man/vmware.man             |      2 +-
 external/mit/xf86-video-vmware/dist/missing                    |    446 +-
 external/mit/xf86-video-vmware/dist/saa/Makefile.am            |      2 +-
 external/mit/xf86-video-vmware/dist/saa/Makefile.in            |     85 +-
 external/mit/xf86-video-vmware/dist/saa/saa.c                  |     72 +-
 external/mit/xf86-video-vmware/dist/saa/saa_pixmap.c           |      3 +-
 external/mit/xf86-video-vmware/dist/saa/saa_priv.h             |     17 +-
 external/mit/xf86-video-vmware/dist/src/Makefile.am            |      3 +-
 external/mit/xf86-video-vmware/dist/src/Makefile.in            |    104 +-
 external/mit/xf86-video-vmware/dist/src/common_compat.h        |     45 +
 external/mit/xf86-video-vmware/dist/src/svga_reg.h             |      3 +-
 external/mit/xf86-video-vmware/dist/src/vmware.c               |     45 +-
 external/mit/xf86-video-vmware/dist/src/vmware_bootstrap.c     |     23 +-
 external/mit/xf86-video-vmware/dist/src/vmwarectrlproto.h      |     70 +-
 external/mit/xf86-video-vmware/dist/src/vmwarecurs.c           |      2 +-
 external/mit/xf86-video-vmware/dist/src/vmwaremodes.c          |      3 +-
 external/mit/xf86-video-vmware/dist/src/vmwarevideo.c          |     14 +-
 external/mit/xf86-video-vmware/dist/vmwarectrl/Makefile.in     |     50 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/Makefile.am         |      8 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/Makefile.in         |    166 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_crtc.c       |      5 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_dri2.c       |     43 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_dri3.c       |    310 +
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_driver.c     |    155 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_driver.h     |     38 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_drmi.c       |    251 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_hosted.c     |     10 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_layout.c     |      5 +
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_output.c     |      2 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_overlay.c    |     19 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_saa.c        |     37 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_saa_priv.h   |      6 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_tex_video.c  |    107 +-
 external/mit/xf86-video-vmware/dist/vmwgfx/vmwgfx_xa_surface.c |      4 +-
 47 files changed, 20822 insertions(+), 14924 deletions(-)

diffs (truncated from 53316 to 300 lines):

diff -r 4efa605f45a8 -r 5aa5d5548ac5 external/mit/xf86-video-vmware/dist/ChangeLog
--- a/external/mit/xf86-video-vmware/dist/ChangeLog     Sun Feb 26 19:47:01 2023 +0000
+++ b/external/mit/xf86-video-vmware/dist/ChangeLog     Sun Feb 26 19:47:05 2023 +0000
@@ -1,12 +1,627 @@
-commit 0e94cd85b2fa1501d4d883de3c97074c5ea5c373
+commit f82ce27f17e1c706f34a0fdc5cceaf6e42db1476
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Tue Jan 24 12:01:58 2023 +1000
+
+    Bump the version number to 13.4.0
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 3ec2fad6ed1a291f050cac4d33ea81e06c469c62
+Author: Ville Skyttä <ville.skytta%iki.fi@localhost>
+Date:   Sun Dec 15 13:56:04 2013 +0200
+
+    Man page syntax fix.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c59c5d241a5f09244be0cdea6dbdc938774c9486
+Author: Ville Skyttä <ville.skytta%iki.fi@localhost>
+Date:   Sun Dec 15 13:56:03 2013 +0200
+
+    Spelling fixes.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f7d50aa328d9488527eb2c97fba6a06c2b445d44
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 24 09:09:00 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 790d641d1da415ffcda1c251961da63a60c06921
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Jul 18 17:16:33 2022 -0700
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit ff5637a14c52e6ec592592c88938104b087e925c
+Author: Martin Krastev <krastevm%vmware.com@localhost>
+Date:   Tue Jan 25 15:11:08 2022 +0200
+
+    Garbled XvPutImage output for FOURCC_YV12 when using 3D-accel-texture adaptor
+    
+    A helper for the PutImage callback in adaptor 'XA G3D Textured Video' was not
+    taking into account the source data pitches for YV12 format, resulting in
+    garbled frames for misaligned frame widths. Issue reported by Doug Brown.
+    This patch is based off the patch proposed by Doug.
+    
+    Repro of the original issue:
+    gst-launch-1.0 videotestsrc ! video/x-raw,format=YV12,width=449,height=240 ! xvimagesink
+    
+    Reported-by: Doug Brown <doug%schmorgal.com@localhost>
+    Signed-off-by: Martin Krastev <krastevm%vmware.com@localhost>
+    Reviewed-by: Zack Rusin <zackr%vmware.com@localhost>
+
+commit 77b8183b3395333d5d4c73e25c2d011748f15eda
+Author: Rudi Heitbaum <rudi%heitbaum.com@localhost>
+Date:   Sun May 8 03:00:10 2022 +0000
+
+    vmwgfx: fix missing array notation
+    
+     Fixes error identified by gcc-12.1.0 compiler
+    
+    make
+      CC       libvmwgfx_la-vmwgfx_tex_video.lo
+    vmwgfx_tex_video.c: In function 'stop_video':
+    vmwgfx_tex_video.c:240:20: error: the comparison will always evaluate as 'true' for the address of 'yuv' will never be NULL [-Werror=address]
+      240 |                if (priv->yuv[i]) {
+          |                    ^~~~
+
+commit 50ab008cb965dc9e47e0a84a1950e2485bbd3c44
+Author: Martin Krastev <krastevm%vmware.com@localhost>
+Date:   Tue Nov 30 11:47:39 2021 -0800
+
+    vmwgfx: Change header inclusion order to avoid xorg headers catching stdbool.h
+    
+    libdrm commit e641e2a632d779f638ac2ba983b9fceb20b3fac4 added
+    stdbool.h to the library headers which conflicts with xorg headers.
+    
+    Signed-off-by: Martin Krastev <krastevm%vmware.com@localhost>
+    Reviewed-by: Zack Rusin <zackr%vmware.com@localhost>
+    Signed-off-by: Zack Rusin <zackr%vmware.com@localhost>
+
+commit 5569f16a14a1b6974051b57cd2850f00882a899c
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Thu Jan 17 10:19:04 2019 +0100
+
+    vmwgfx: Unify style in scanout_update and present functions
+    
+    Since the functions are pretty similar, Make them look more similar in terms
+    of memory allocation methods and variable names
+    
+    Reported-by: Brian Paul <brianp%vmware.com@localhost>
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost>
+
+commit 0a7c3570c92d2d831fec34415b3d821af18ba858
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Wed Jan 9 09:40:03 2019 +0100
+
+    vmwgfx: Limit the number of cliprects in a drm present_readback command v3
+    
+    The drm present readback command number of cliprects should not exceed
+    DRM_MODE_FB_DIRTY_MAX_CLIPS. If that number is exceeded, split
+    the command up.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost>
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost> #v1
+
+commit 357ce6e48c2e8f2ba2b2d889d4f2041818947eb3
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Wed Jan 9 09:20:45 2019 +0100
+
+    vmwgfx: Limit the number of cliprects in a drm present command v3
+    
+    The drm present command number of cliprects should not exceed
+    DRM_MODE_FB_DIRTY_MAX_CLIPS. If that number is exceeded, split
+    the command up.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost> #v2
+    Reviewed-by: Deepak Rawat < drawat%vmware.com@localhost> #v1
+
+commit 86189966c3dee0e0c10dd4926cebbe478129c6f0
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Wed Jan 9 08:27:16 2019 +0100
+
+    vmwgfx: Limit the number of cliprects in a drm dirtyfb command v3
+    
+    The drm dirtyfb command would error if the number of cliprects were larger
+    than DRM_MODE_FB_DIRTY_MAX_CLIPS. If that number is exceeded, split the
+    command up.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost> #v2
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost> #v1
+
+commit ba4ef498fd1f66f81aaffc3dac504044b2ad7cc3
 Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
-Date:   Wed Nov 16 11:22:53 2016 +0700
-
-    Bump minor for release.
+Date:   Wed Jan 9 08:00:00 2019 +0100
+
+    vmwgfx: Don't exceed the device command size limit v3
+    
+    With a huge number of DMA clip rects we could exceed the device command
+    buffer command size limit. Fix this by sending multiple DMA commands
+    when we exceed the limit.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost>
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost> #v1
+
+commit d31e8e77e1453c26a02f24b26d96b4660d29e1df
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Tue Nov 27 08:37:13 2018 +0100
+
+    vmwgfx: Fix invalid memory accesses in CloseScreen
+    
+    Some of the CloseScreen callbacks were referencing XA objects so move the
+    destruction of the XA state tracker to the end of drv_close_screen to avoid
+    referencing freed resources.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost>
+
+commit 79d066da48dddcbdfcf41ecbe29cd96aaae2e11c
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Tue Nov 27 08:29:06 2018 +0100
+
+    saa: Make sure damage destruction happens at the correct location
+    
+    Incorrect DestroyPixmap wrapping previously made the destruction of damage
+    objects typically happen in damageDestroyPixmap(), leaving a dangling
+    damage pointer in saa_destroy_pixmap() which was only cleared. However in
+    some cases that caused us to leak damage objects.
+    
+    Rework saa initialization somewhat to make sure saa_destroy_pixmap happens
+    before damageDestroyPixmap and destroy the damage object in saa_destroy_pixmap.
+    Also add a damage object destruction notifier callback that clears the
+    saa pixmap damage pointer should the damage object destruction accidentally
+    happen elsewhere.
+    
+    This makes sure we don't leak damage objects.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost>
+
+commit 53e87117bbf1cba05a5b5046db9efa961b18fc74
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Fri Nov 23 09:30:42 2018 +0100
+
+    vmwgfx: Use libdrm to obtain the drm device node name v2
+    
+    We were relying on a linux-specific way to do this. Now that the code is
+    used also on FreeBSD and there is functionality in libdrm to do this,
+    Use that functionality.
+    
+    v2:
+    Remove unused variable warning in the !VMWGFX_LIBDRM_DEVICENAME case.
+    
+    Co-authored-by: Johannes Lundberg <johalun0%gmail.com@localhost>
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost> #v1
+
+commit 0b34df288f0e163750962e0e59f5e329642ca457
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Tue Nov 27 16:36:21 2018 +0100
+
+    vmwgfx: Fix a memory leak
+    
+    We were leaking a pointer to a drm encoder.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost>
+
+commit 4ec3d67da829f4e7a35ab08427002b9d7e4e5f4b
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Tue Nov 27 16:20:32 2018 +0100
+
+    vmwgfx: Fix XVideo memory leaks
+    
+    We were not properly freeing the port privates.
+    In order to access those at CloseScreen time, don't free the adaptor pointers
+    at XV screen init, but hold on to them until CloseScreen.
+    
+    Also properly free the new_adaptors pointer.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost>
+
+commit 71c85a70f1c5ff93e931181d0858af22cba231ec
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Nov 10 13:12:13 2018 -0800
+
+    Remove obsolete B16 & B32 tags in struct definitions
+    
+    They were defined as empty strings on all platforms except for the
+    long unsupported Cray systems which needed to use bitfields to define
+    any type smaller than 64-bits.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Reviewed-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+
+commit a5815ba3eba0b222e8082a2e868d68cdc6993d5e
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Tue May 15 13:57:27 2018 +0200
+
+    Bump version number for release
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Sinclair Yeh <syeh%vmware.com@localhost>
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost>
+
+commit 7b163c018b6343590cc36ecd58adcdc30852ee28
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Tue May 15 09:52:53 2018 +0200
+
+    Require at least XA version 2.4 to enable dri3
+    
+    The XA version was bumped from 2.3 to 2.4 to signal that there were no
+    significant correctness or performance regressions when running dri3
+    compared to dri2 on the vmware driver stack.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost>
+    Reviewed-by: Sinclair Yeh <syeh%vmware.com@localhost>
+    Reviewed-by: Deepak Rawat <drawat%vmware.com@localhost>
+
+commit 6b7dc2f9304298e669e7ac97594b948d1476ae52
+Author: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+Date:   Thu Mar 22 08:28:57 2018 +0100
+
+    vmwgfx: Clear the DRM mode before use
+    
+    Avoid sending partially uninitialized data to the kernel.
+    
+    Signed-off-by: Thomas Hellstrom <thellstrom%vmware.com@localhost>
+    Reviewed-by: Brian Paul <brianp%vmware.com@localhost>
+    Reviewed-by: Sinclair Yeh <syeh%vmware.com@localhost>
+
+commit 0f90e2ed52082c1e2af3b47424a6c7c5d4c0c81e
+Author: Adam Jackson <ajax%redhat.com@localhost>
+Date:   Wed Mar 14 21:49:14 2018 +0100
+
+    saa: Build compatibility with xserver 1.20
+    
+    fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL
+    and we'll do the right thing.
+    



Home | Main Index | Thread Index | Old Index