ChangeLog revision 25dbecb6
125dbecb6Smrgcommit f82ce27f17e1c706f34a0fdc5cceaf6e42db1476 225dbecb6SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 325dbecb6SmrgDate: Tue Jan 24 12:01:58 2023 +1000 425dbecb6Smrg 525dbecb6Smrg Bump the version number to 13.4.0 625dbecb6Smrg 725dbecb6Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 825dbecb6Smrg 925dbecb6Smrgcommit 3ec2fad6ed1a291f050cac4d33ea81e06c469c62 1025dbecb6SmrgAuthor: Ville Skyttä <ville.skytta@iki.fi> 1125dbecb6SmrgDate: Sun Dec 15 13:56:04 2013 +0200 1225dbecb6Smrg 1325dbecb6Smrg Man page syntax fix. 1425dbecb6Smrg 1525dbecb6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1625dbecb6Smrg 1725dbecb6Smrgcommit c59c5d241a5f09244be0cdea6dbdc938774c9486 1825dbecb6SmrgAuthor: Ville Skyttä <ville.skytta@iki.fi> 1925dbecb6SmrgDate: Sun Dec 15 13:56:03 2013 +0200 2025dbecb6Smrg 2125dbecb6Smrg Spelling fixes. 2225dbecb6Smrg 2325dbecb6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2425dbecb6Smrg 2525dbecb6Smrgcommit f7d50aa328d9488527eb2c97fba6a06c2b445d44 2625dbecb6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2725dbecb6SmrgDate: Sun Jul 24 09:09:00 2022 -0700 2825dbecb6Smrg 2925dbecb6Smrg Build xz tarballs instead of bzip2 3025dbecb6Smrg 3125dbecb6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3225dbecb6Smrg 3325dbecb6Smrgcommit 790d641d1da415ffcda1c251961da63a60c06921 3425dbecb6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3525dbecb6SmrgDate: Mon Jul 18 17:16:33 2022 -0700 3625dbecb6Smrg 3725dbecb6Smrg gitlab CI: add a basic build test 3825dbecb6Smrg 3925dbecb6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4025dbecb6Smrg 4125dbecb6Smrgcommit ff5637a14c52e6ec592592c88938104b087e925c 4225dbecb6SmrgAuthor: Martin Krastev <krastevm@vmware.com> 4325dbecb6SmrgDate: Tue Jan 25 15:11:08 2022 +0200 4425dbecb6Smrg 4525dbecb6Smrg Garbled XvPutImage output for FOURCC_YV12 when using 3D-accel-texture adaptor 4625dbecb6Smrg 4725dbecb6Smrg A helper for the PutImage callback in adaptor 'XA G3D Textured Video' was not 4825dbecb6Smrg taking into account the source data pitches for YV12 format, resulting in 4925dbecb6Smrg garbled frames for misaligned frame widths. Issue reported by Doug Brown. 5025dbecb6Smrg This patch is based off the patch proposed by Doug. 5125dbecb6Smrg 5225dbecb6Smrg Repro of the original issue: 5325dbecb6Smrg gst-launch-1.0 videotestsrc ! video/x-raw,format=YV12,width=449,height=240 ! xvimagesink 5425dbecb6Smrg 5525dbecb6Smrg Reported-by: Doug Brown <doug@schmorgal.com> 5625dbecb6Smrg Signed-off-by: Martin Krastev <krastevm@vmware.com> 5725dbecb6Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 5825dbecb6Smrg 5925dbecb6Smrgcommit 77b8183b3395333d5d4c73e25c2d011748f15eda 6025dbecb6SmrgAuthor: Rudi Heitbaum <rudi@heitbaum.com> 6125dbecb6SmrgDate: Sun May 8 03:00:10 2022 +0000 6225dbecb6Smrg 6325dbecb6Smrg vmwgfx: fix missing array notation 6425dbecb6Smrg 6525dbecb6Smrg Fixes error identified by gcc-12.1.0 compiler 6625dbecb6Smrg 6725dbecb6Smrg make 6825dbecb6Smrg CC libvmwgfx_la-vmwgfx_tex_video.lo 6925dbecb6Smrg vmwgfx_tex_video.c: In function 'stop_video': 7025dbecb6Smrg 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] 7125dbecb6Smrg 240 | if (priv->yuv[i]) { 7225dbecb6Smrg | ^~~~ 7325dbecb6Smrg 7425dbecb6Smrgcommit 50ab008cb965dc9e47e0a84a1950e2485bbd3c44 7525dbecb6SmrgAuthor: Martin Krastev <krastevm@vmware.com> 7625dbecb6SmrgDate: Tue Nov 30 11:47:39 2021 -0800 7725dbecb6Smrg 7825dbecb6Smrg vmwgfx: Change header inclusion order to avoid xorg headers catching stdbool.h 7925dbecb6Smrg 8025dbecb6Smrg libdrm commit e641e2a632d779f638ac2ba983b9fceb20b3fac4 added 8125dbecb6Smrg stdbool.h to the library headers which conflicts with xorg headers. 8225dbecb6Smrg 8325dbecb6Smrg Signed-off-by: Martin Krastev <krastevm@vmware.com> 8425dbecb6Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 8525dbecb6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 8625dbecb6Smrg 8725dbecb6Smrgcommit 5569f16a14a1b6974051b57cd2850f00882a899c 8825dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 8925dbecb6SmrgDate: Thu Jan 17 10:19:04 2019 +0100 9025dbecb6Smrg 9125dbecb6Smrg vmwgfx: Unify style in scanout_update and present functions 9225dbecb6Smrg 9325dbecb6Smrg Since the functions are pretty similar, Make them look more similar in terms 9425dbecb6Smrg of memory allocation methods and variable names 9525dbecb6Smrg 9625dbecb6Smrg Reported-by: Brian Paul <brianp@vmware.com> 9725dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 9825dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 9925dbecb6Smrg 10025dbecb6Smrgcommit 0a7c3570c92d2d831fec34415b3d821af18ba858 10125dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10225dbecb6SmrgDate: Wed Jan 9 09:40:03 2019 +0100 10325dbecb6Smrg 10425dbecb6Smrg vmwgfx: Limit the number of cliprects in a drm present_readback command v3 10525dbecb6Smrg 10625dbecb6Smrg The drm present readback command number of cliprects should not exceed 10725dbecb6Smrg DRM_MODE_FB_DIRTY_MAX_CLIPS. If that number is exceeded, split 10825dbecb6Smrg the command up. 10925dbecb6Smrg 11025dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11125dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 11225dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> #v1 11325dbecb6Smrg 11425dbecb6Smrgcommit 357ce6e48c2e8f2ba2b2d889d4f2041818947eb3 11525dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11625dbecb6SmrgDate: Wed Jan 9 09:20:45 2019 +0100 11725dbecb6Smrg 11825dbecb6Smrg vmwgfx: Limit the number of cliprects in a drm present command v3 11925dbecb6Smrg 12025dbecb6Smrg The drm present command number of cliprects should not exceed 12125dbecb6Smrg DRM_MODE_FB_DIRTY_MAX_CLIPS. If that number is exceeded, split 12225dbecb6Smrg the command up. 12325dbecb6Smrg 12425dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12525dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> #v2 12625dbecb6Smrg Reviewed-by: Deepak Rawat < drawat@vmware.com> #v1 12725dbecb6Smrg 12825dbecb6Smrgcommit 86189966c3dee0e0c10dd4926cebbe478129c6f0 12925dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13025dbecb6SmrgDate: Wed Jan 9 08:27:16 2019 +0100 13125dbecb6Smrg 13225dbecb6Smrg vmwgfx: Limit the number of cliprects in a drm dirtyfb command v3 13325dbecb6Smrg 13425dbecb6Smrg The drm dirtyfb command would error if the number of cliprects were larger 13525dbecb6Smrg than DRM_MODE_FB_DIRTY_MAX_CLIPS. If that number is exceeded, split the 13625dbecb6Smrg command up. 13725dbecb6Smrg 13825dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13925dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> #v2 14025dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> #v1 14125dbecb6Smrg 14225dbecb6Smrgcommit ba4ef498fd1f66f81aaffc3dac504044b2ad7cc3 14325dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 14425dbecb6SmrgDate: Wed Jan 9 08:00:00 2019 +0100 14525dbecb6Smrg 14625dbecb6Smrg vmwgfx: Don't exceed the device command size limit v3 14725dbecb6Smrg 14825dbecb6Smrg With a huge number of DMA clip rects we could exceed the device command 14925dbecb6Smrg buffer command size limit. Fix this by sending multiple DMA commands 15025dbecb6Smrg when we exceed the limit. 15125dbecb6Smrg 15225dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 15325dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 15425dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> #v1 15525dbecb6Smrg 15625dbecb6Smrgcommit d31e8e77e1453c26a02f24b26d96b4660d29e1df 15725dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 15825dbecb6SmrgDate: Tue Nov 27 08:37:13 2018 +0100 15925dbecb6Smrg 16025dbecb6Smrg vmwgfx: Fix invalid memory accesses in CloseScreen 16125dbecb6Smrg 16225dbecb6Smrg Some of the CloseScreen callbacks were referencing XA objects so move the 16325dbecb6Smrg destruction of the XA state tracker to the end of drv_close_screen to avoid 16425dbecb6Smrg referencing freed resources. 16525dbecb6Smrg 16625dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16725dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 16825dbecb6Smrg 16925dbecb6Smrgcommit 79d066da48dddcbdfcf41ecbe29cd96aaae2e11c 17025dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17125dbecb6SmrgDate: Tue Nov 27 08:29:06 2018 +0100 17225dbecb6Smrg 17325dbecb6Smrg saa: Make sure damage destruction happens at the correct location 17425dbecb6Smrg 17525dbecb6Smrg Incorrect DestroyPixmap wrapping previously made the destruction of damage 17625dbecb6Smrg objects typically happen in damageDestroyPixmap(), leaving a dangling 17725dbecb6Smrg damage pointer in saa_destroy_pixmap() which was only cleared. However in 17825dbecb6Smrg some cases that caused us to leak damage objects. 17925dbecb6Smrg 18025dbecb6Smrg Rework saa initialization somewhat to make sure saa_destroy_pixmap happens 18125dbecb6Smrg before damageDestroyPixmap and destroy the damage object in saa_destroy_pixmap. 18225dbecb6Smrg Also add a damage object destruction notifier callback that clears the 18325dbecb6Smrg saa pixmap damage pointer should the damage object destruction accidentally 18425dbecb6Smrg happen elsewhere. 18525dbecb6Smrg 18625dbecb6Smrg This makes sure we don't leak damage objects. 18725dbecb6Smrg 18825dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18925dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 19025dbecb6Smrg 19125dbecb6Smrgcommit 53e87117bbf1cba05a5b5046db9efa961b18fc74 19225dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19325dbecb6SmrgDate: Fri Nov 23 09:30:42 2018 +0100 19425dbecb6Smrg 19525dbecb6Smrg vmwgfx: Use libdrm to obtain the drm device node name v2 19625dbecb6Smrg 19725dbecb6Smrg We were relying on a linux-specific way to do this. Now that the code is 19825dbecb6Smrg used also on FreeBSD and there is functionality in libdrm to do this, 19925dbecb6Smrg Use that functionality. 20025dbecb6Smrg 20125dbecb6Smrg v2: 20225dbecb6Smrg Remove unused variable warning in the !VMWGFX_LIBDRM_DEVICENAME case. 20325dbecb6Smrg 20425dbecb6Smrg Co-authored-by: Johannes Lundberg <johalun0@gmail.com> 20525dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20625dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> #v1 20725dbecb6Smrg 20825dbecb6Smrgcommit 0b34df288f0e163750962e0e59f5e329642ca457 20925dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 21025dbecb6SmrgDate: Tue Nov 27 16:36:21 2018 +0100 21125dbecb6Smrg 21225dbecb6Smrg vmwgfx: Fix a memory leak 21325dbecb6Smrg 21425dbecb6Smrg We were leaking a pointer to a drm encoder. 21525dbecb6Smrg 21625dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21725dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 21825dbecb6Smrg 21925dbecb6Smrgcommit 4ec3d67da829f4e7a35ab08427002b9d7e4e5f4b 22025dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22125dbecb6SmrgDate: Tue Nov 27 16:20:32 2018 +0100 22225dbecb6Smrg 22325dbecb6Smrg vmwgfx: Fix XVideo memory leaks 22425dbecb6Smrg 22525dbecb6Smrg We were not properly freeing the port privates. 22625dbecb6Smrg In order to access those at CloseScreen time, don't free the adaptor pointers 22725dbecb6Smrg at XV screen init, but hold on to them until CloseScreen. 22825dbecb6Smrg 22925dbecb6Smrg Also properly free the new_adaptors pointer. 23025dbecb6Smrg 23125dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 23225dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 23325dbecb6Smrg 23425dbecb6Smrgcommit 71c85a70f1c5ff93e931181d0858af22cba231ec 23525dbecb6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 23625dbecb6SmrgDate: Sat Nov 10 13:12:13 2018 -0800 23725dbecb6Smrg 23825dbecb6Smrg Remove obsolete B16 & B32 tags in struct definitions 23925dbecb6Smrg 24025dbecb6Smrg They were defined as empty strings on all platforms except for the 24125dbecb6Smrg long unsupported Cray systems which needed to use bitfields to define 24225dbecb6Smrg any type smaller than 64-bits. 24325dbecb6Smrg 24425dbecb6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24525dbecb6Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 24625dbecb6Smrg 24725dbecb6Smrgcommit a5815ba3eba0b222e8082a2e868d68cdc6993d5e 24825dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24925dbecb6SmrgDate: Tue May 15 13:57:27 2018 +0200 25025dbecb6Smrg 25125dbecb6Smrg Bump version number for release 25225dbecb6Smrg 25325dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25425dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 25525dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 25625dbecb6Smrg 25725dbecb6Smrgcommit 7b163c018b6343590cc36ecd58adcdc30852ee28 25825dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25925dbecb6SmrgDate: Tue May 15 09:52:53 2018 +0200 26025dbecb6Smrg 26125dbecb6Smrg Require at least XA version 2.4 to enable dri3 26225dbecb6Smrg 26325dbecb6Smrg The XA version was bumped from 2.3 to 2.4 to signal that there were no 26425dbecb6Smrg significant correctness or performance regressions when running dri3 26525dbecb6Smrg compared to dri2 on the vmware driver stack. 26625dbecb6Smrg 26725dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 26825dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 26925dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 27025dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 27125dbecb6Smrg 27225dbecb6Smrgcommit 6b7dc2f9304298e669e7ac97594b948d1476ae52 27325dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27425dbecb6SmrgDate: Thu Mar 22 08:28:57 2018 +0100 27525dbecb6Smrg 27625dbecb6Smrg vmwgfx: Clear the DRM mode before use 27725dbecb6Smrg 27825dbecb6Smrg Avoid sending partially uninitialized data to the kernel. 27925dbecb6Smrg 28025dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 28125dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 28225dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 28325dbecb6Smrg 28425dbecb6Smrgcommit 0f90e2ed52082c1e2af3b47424a6c7c5d4c0c81e 28525dbecb6SmrgAuthor: Adam Jackson <ajax@redhat.com> 28625dbecb6SmrgDate: Wed Mar 14 21:49:14 2018 +0100 28725dbecb6Smrg 28825dbecb6Smrg saa: Build compatibility with xserver 1.20 28925dbecb6Smrg 29025dbecb6Smrg fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL 29125dbecb6Smrg and we'll do the right thing. 29225dbecb6Smrg 29325dbecb6Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 29425dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 29525dbecb6Smrg 29625dbecb6Smrgcommit 3cdeaa5db76f5db7ce9482d3e067d3014076f8e4 29725dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 29825dbecb6SmrgDate: Fri Feb 16 13:55:37 2018 +0100 29925dbecb6Smrg 30025dbecb6Smrg Fix a couple of shadowed declaration warnings 30125dbecb6Smrg 30225dbecb6Smrg In some enviroments, "index", "y1" and "y2" are defined globally causing 30325dbecb6Smrg warnings about shadowed declarations. Fix this. 30425dbecb6Smrg 30525dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 30625dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 30725dbecb6Smrg 30825dbecb6Smrgcommit 4ea5c4d5fa1dcb125137bcb76b402490ac134b4f 30925dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 31025dbecb6SmrgDate: Fri Feb 16 13:37:56 2018 +0100 31125dbecb6Smrg 31225dbecb6Smrg Build fixes 31325dbecb6Smrg 31425dbecb6Smrg A couple of more build fixes for older X servers. 31525dbecb6Smrg 31625dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 31725dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 31825dbecb6Smrg 31925dbecb6Smrgcommit 1899b0896dae4ce86c9871fa491b464f6af88526 32025dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 32125dbecb6SmrgDate: Wed Feb 14 08:10:41 2018 +0100 32225dbecb6Smrg 32325dbecb6Smrg vmwgfx: Fix server termination due to a mesa loader bug 32425dbecb6Smrg 32525dbecb6Smrg Some versions of the Gallium loader close our drm file descriptor if 32625dbecb6Smrg xa_tracker_create() fails (typically 2D VMs.) While this is mostly fixed 32725dbecb6Smrg everywhere, we implement a workaround to avoid tracking down the same bug 32825dbecb6Smrg again and again on those setups where this is not fixed in mesa. 32925dbecb6Smrg 33025dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 33125dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 33225dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 33325dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 33425dbecb6Smrg 33525dbecb6Smrgcommit ea77ce3a200bae7d97d6e45becc898765c1aa259 33625dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 33725dbecb6SmrgDate: Wed Feb 14 11:15:46 2018 +0100 33825dbecb6Smrg 33925dbecb6Smrg legacy: Silence a warning about an unused constant 34025dbecb6Smrg 34125dbecb6Smrg VMWAREBuildStr was only used in the !LIBPCIACCESS path. 34225dbecb6Smrg 34325dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 34425dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 34525dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 34625dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 34725dbecb6Smrg 34825dbecb6Smrgcommit 7503135a72ab47928f5db838273851693b0dddbb 34925dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 35025dbecb6SmrgDate: Wed Feb 14 11:12:29 2018 +0100 35125dbecb6Smrg 35225dbecb6Smrg legacy: Avoid using the xf86[Un]blockSigio functions 35325dbecb6Smrg 35425dbecb6Smrg They have been deprecated since mouse doesn't use SIGIO anymore. 35525dbecb6Smrg 35625dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 35725dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 35825dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 35925dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 36025dbecb6Smrg 36125dbecb6Smrgcommit 69632d06e2bf255b002d39df49aaf99ae86eaf4e 36225dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 36325dbecb6SmrgDate: Wed Feb 14 10:33:51 2018 +0100 36425dbecb6Smrg 36525dbecb6Smrg vmwgfx: Fix potential libudev include and link failures 36625dbecb6Smrg 36725dbecb6Smrg We were not including the proper include- and link flags for libudev. 36825dbecb6Smrg 36925dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 37025dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 37125dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 37225dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 37325dbecb6Smrg 37425dbecb6Smrgcommit dc85a6da15768f7a9622677e79c618bfb35ce513 37525dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 37625dbecb6SmrgDate: Wed Feb 14 10:14:20 2018 +0100 37725dbecb6Smrg 37825dbecb6Smrg Fix a number of compilation warnings 37925dbecb6Smrg 38025dbecb6Smrg There are a number of compilation warnings caused by const char pointers 38125dbecb6Smrg being either explicitly or implicitly cast to char pointers. There 38225dbecb6Smrg are a number of ABI differences that have hindered this so far, but 38325dbecb6Smrg make a new attempt using the common_compat.h defines. 38425dbecb6Smrg 38525dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 38625dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 38725dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 38825dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 38925dbecb6Smrg 39025dbecb6Smrgcommit 98199b4c0aca89b70d4f0a0e37e1e27ac15a23c7 39125dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 39225dbecb6SmrgDate: Wed Feb 14 08:24:25 2018 +0100 39325dbecb6Smrg 39425dbecb6Smrg vmwgfx: Remove old XWayland and XMir drivers 39525dbecb6Smrg 39625dbecb6Smrg Old-style XWayland and XMir aren't available anymore. 39725dbecb6Smrg 39825dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 39925dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 40025dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 40125dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 40225dbecb6Smrg 40325dbecb6Smrgcommit 943548ac765e5dd49d275da2b72ff07b3a64694a 40425dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 40525dbecb6SmrgDate: Wed Feb 14 08:04:54 2018 +0100 40625dbecb6Smrg 40725dbecb6Smrg vmwgfx: Fix compilation failure if dri3 is not available 40825dbecb6Smrg 40925dbecb6Smrg Compilation on CentOS failed due to some code not being conditioned on 41025dbecb6Smrg DRI3 headers being present. 41125dbecb6Smrg 41225dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 41325dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 41425dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 41525dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 41625dbecb6Smrg 41725dbecb6Smrgcommit 2d769dc01ea16df65d294f094bea5632e0b2a04e 41825dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 41925dbecb6SmrgDate: Wed Feb 14 07:59:57 2018 +0100 42025dbecb6Smrg 42125dbecb6Smrg saa: Fix an include path 42225dbecb6Smrg 42325dbecb6Smrg Fix compilation failure on CentOS 6.5 due to an incorrect include path. 42425dbecb6Smrg 42525dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 42625dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 42725dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 42825dbecb6Smrg Reviewed-by: Deepak Rawat <drawat@vmware.com> 42925dbecb6Smrg 43025dbecb6Smrgcommit c0a2f40d978e77287d0cac95254fb6f26b2449a8 43125dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 43225dbecb6SmrgDate: Wed Jan 3 21:28:56 2018 +0100 43325dbecb6Smrg 43425dbecb6Smrg Bump version number for release candidate 43525dbecb6Smrg 43625dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 43725dbecb6Smrg 43825dbecb6Smrgcommit 1674782e357950ca3a7438ac2a0eefece5566ffd 43925dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 44025dbecb6SmrgDate: Wed Jan 3 21:26:22 2018 +0100 44125dbecb6Smrg 44225dbecb6Smrg Add the common_compat.h source file for distribution 44325dbecb6Smrg 44425dbecb6Smrg The common_compat.h source file was missing from Makefile.am causing 44525dbecb6Smrg "make distcheck" to fail. 44625dbecb6Smrg 44725dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 44825dbecb6Smrg 44925dbecb6Smrgcommit 08ad438e2793248452dab100822cbfcaa05b9938 45025dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 45125dbecb6SmrgDate: Thu Mar 23 08:57:44 2017 +0100 45225dbecb6Smrg 45325dbecb6Smrg vmwgfx: Support DRI3 v2 45425dbecb6Smrg 45525dbecb6Smrg Add server-side DRI3 support 45625dbecb6Smrg 45725dbecb6Smrg Currently DRI3 introduces extra latency with gnome-shell for 45825dbecb6Smrg the following reasons: 45925dbecb6Smrg 1) We enable GLX_EXT_buffer_age. Causes gnome-shell to post fullscreen damage. 46025dbecb6Smrg 2) We enable GLX_OML_sync_control. Cases additional slowdown. 46125dbecb6Smrg Not exactly sure why. 46225dbecb6Smrg 46325dbecb6Smrg Probably we want to implement workarounds in mesa so that we don't enable 46425dbecb6Smrg these extensions for gnome-shell. That can be done with driconf, using some 46525dbecb6Smrg trickery. 46625dbecb6Smrg 46725dbecb6Smrg v2: Verify that sharing an ARGB surface as XRGB works before enabling 46825dbecb6Smrg DRI3. 46925dbecb6Smrg 47025dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 47125dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 47225dbecb6Smrg 47325dbecb6Smrgcommit c8b8b2ee4a7b1085990443bbf1903ec265ff46f0 474591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 47525dbecb6SmrgDate: Thu May 11 04:39:57 2017 -0700 476591e32d7Ssnj 47725dbecb6Smrg Revert "vmware/vmwgfx: Support multiple dri driver names" 47825dbecb6Smrg 47925dbecb6Smrg This reverts commit d5550b7f8375c3d9003731578c1570e014577348. 48025dbecb6Smrg 48125dbecb6Smrg The commit was intended to support video drivers, but has the side effect 48225dbecb6Smrg that GLX thinks our driver supports more than it does. 483591e32d7Ssnj 484591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 48525dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 48625dbecb6Smrg 48725dbecb6Smrgcommit 3aff4ee5ca885d09d3b4ad2b0980b84978597815 48825dbecb6SmrgAuthor: Deepak Singh Rawat <drawat@vmware.com> 48925dbecb6SmrgDate: Mon Aug 7 16:02:59 2017 -0700 49025dbecb6Smrg 49125dbecb6Smrg vmware/vmwgfx: Wrap deprecated 49225dbecb6Smrg 49325dbecb6Smrg Deprecated with 43dbc556f3a4d743b9121d6cfc21961be4a9da56 49425dbecb6Smrg 49525dbecb6Smrg Signed-off-by: Deepak Rawat <drawat@vmware.com> 49625dbecb6Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 497591e32d7Ssnj 49825dbecb6Smrgcommit d8c2f8501307a9c0c65601e897e7d919e42ba0b3 49925dbecb6SmrgAuthor: Deepak Singh Rawat <drawat@vmware.com> 50025dbecb6SmrgDate: Mon Aug 7 15:57:56 2017 -0700 50125dbecb6Smrg 50225dbecb6Smrg vmware: Fix build warnings 50325dbecb6Smrg 50425dbecb6Smrg Due to following commit in xserver there were 50525dbecb6Smrg build warnings, as variables now declared const. 50625dbecb6Smrg 50725dbecb6Smrg d89b42bda46d36fc0879611cc3b3566957ce36d0 50825dbecb6Smrg e1e01d2e33c632e395d7e396f73fba8ae606b15a 50925dbecb6Smrg 51025dbecb6Smrg Added a compat header file. 51125dbecb6Smrg 51225dbecb6Smrg Signed-off-by: Deepak Rawat <drawat@vmware.com> 51325dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 51425dbecb6Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>:q 51525dbecb6Smrg 51625dbecb6Smrgcommit ed0fd2f2823917a5dfefa3d3af774d4cdb40f958 51725dbecb6SmrgAuthor: Sinclair Yeh <syeh@vmware.com> 51825dbecb6SmrgDate: Thu Jul 13 20:16:19 2017 +0200 51925dbecb6Smrg 52025dbecb6Smrg Revert "Revert "vmware/vmwgfx: Support multiple dri driver names"" 52125dbecb6Smrg 52225dbecb6Smrg This reverts commit ea94dc570846655bbb8a7c75bf465907e454bef9. 52325dbecb6Smrg 52425dbecb6Smrg Temporarily revert this for internal testing. 52525dbecb6Smrg 52625dbecb6Smrgcommit 1388a1592cdab7cc8217546fb1e97da293e70393 52725dbecb6SmrgAuthor: Sinclair Yeh <syeh@vmware.com> 52825dbecb6SmrgDate: Thu Jul 13 20:15:52 2017 +0200 52925dbecb6Smrg 53025dbecb6Smrg Revert "vmwgfx: Support DRI3 v2" 53125dbecb6Smrg 53225dbecb6Smrg This reverts commit d0d5cf3e35fd47b44f32065c5cb64ba62661f03a. 53325dbecb6Smrg 53425dbecb6Smrg Temporarily revert this for internal testing. 53525dbecb6Smrg 53625dbecb6Smrgcommit d0d5cf3e35fd47b44f32065c5cb64ba62661f03a 53725dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 53825dbecb6SmrgDate: Thu Mar 23 08:57:44 2017 +0100 53925dbecb6Smrg 54025dbecb6Smrg vmwgfx: Support DRI3 v2 54125dbecb6Smrg 54225dbecb6Smrg Add server-side DRI3 support 54325dbecb6Smrg 54425dbecb6Smrg Currently DRI3 introduces extra latency with gnome-shell for 54525dbecb6Smrg the following reasons: 54625dbecb6Smrg 1) We enable GLX_EXT_buffer_age. Causes gnome-shell to post fullscreen damage. 54725dbecb6Smrg 2) We enable GLX_OML_sync_control. Cases additional slowdown. 54825dbecb6Smrg Not exactly sure why. 54925dbecb6Smrg 55025dbecb6Smrg Probably we want to implement workarounds in mesa so that we don't enable 55125dbecb6Smrg these extensions for gnome-shell. That can be done with driconf, using some 55225dbecb6Smrg trickery. 55325dbecb6Smrg 55425dbecb6Smrg v2: Verify that sharing an ARGB surface as XRGB works before enabling 55525dbecb6Smrg DRI3. 55625dbecb6Smrg 55725dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 55825dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 55925dbecb6Smrg 56025dbecb6Smrgcommit ea94dc570846655bbb8a7c75bf465907e454bef9 56125dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 56225dbecb6SmrgDate: Thu May 11 04:39:57 2017 -0700 56325dbecb6Smrg 56425dbecb6Smrg Revert "vmware/vmwgfx: Support multiple dri driver names" 56525dbecb6Smrg 56625dbecb6Smrg This reverts commit d5550b7f8375c3d9003731578c1570e014577348. 56725dbecb6Smrg 56825dbecb6Smrg The commit was intended to support video drivers, but has the side effect 56925dbecb6Smrg that GLX thinks our driver supports more than it does. 57025dbecb6Smrg 57125dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 57225dbecb6Smrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 57325dbecb6Smrg 57425dbecb6Smrgcommit ed9d2a3fde597f2ff397fc11640c7001b816f3a6 57525dbecb6SmrgAuthor: Mihail Konev <k.mvc@ya.ru> 57625dbecb6SmrgDate: Thu Jan 26 14:00:22 2017 +1000 57725dbecb6Smrg 57825dbecb6Smrg autogen: add default patch prefix 57925dbecb6Smrg 58025dbecb6Smrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 58125dbecb6Smrg 58225dbecb6Smrgcommit fa4998d1b9e392c47ceff2fe9663950efbb6b134 58325dbecb6SmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com> 58425dbecb6SmrgDate: Mon Mar 9 12:00:52 2015 +0000 58525dbecb6Smrg 58625dbecb6Smrg autogen.sh: use quoted string variables 58725dbecb6Smrg 58825dbecb6Smrg Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 58925dbecb6Smrg fall-outs, when they contain space. 59025dbecb6Smrg 59125dbecb6Smrg Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 59225dbecb6Smrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 59325dbecb6Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 59425dbecb6Smrg 59525dbecb6Smrgcommit 4a96179cdbeb4a418dfc0b7223d9253a355e91de 59625dbecb6SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 59725dbecb6SmrgDate: Tue Jan 24 10:32:07 2017 +1000 59825dbecb6Smrg 59925dbecb6Smrg autogen.sh: use exec instead of waiting for configure to finish 60025dbecb6Smrg 60125dbecb6Smrg Syncs the invocation of configure with the one from the server. 60225dbecb6Smrg 60325dbecb6Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 60425dbecb6Smrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 60525dbecb6Smrg 60625dbecb6Smrgcommit 670db8dbf2c8a98df34a7c6592a6277ad9beb15a 60725dbecb6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 60825dbecb6SmrgDate: Sun Jun 1 21:03:14 2014 -0700 60925dbecb6Smrg 61025dbecb6Smrg autogen.sh: Honor NOCONFIGURE=1 61125dbecb6Smrg 61225dbecb6Smrg See http://people.gnome.org/~walters/docs/build-api.txt 61325dbecb6Smrg 61425dbecb6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61525dbecb6Smrg 61625dbecb6Smrgcommit 91881a66195f4bc41e075a0d573ada7cdc803ba0 61725dbecb6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 61825dbecb6SmrgDate: Sun Jun 1 21:03:13 2014 -0700 61925dbecb6Smrg 62025dbecb6Smrg configure: Drop AM_MAINTAINER_MODE 62125dbecb6Smrg 62225dbecb6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 62325dbecb6Smrg 62425dbecb6Smrgcommit fade4f46e84e93153edc3472abb73635f87555e6 62534a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 62634a0776dSmrgDate: Wed Nov 16 11:35:58 2016 +0700 62734a0776dSmrg 62834a0776dSmrg vmware/vmwgfx: Add a missing source file for distribution 62934a0776dSmrg 63034a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 63134a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 63234a0776dSmrg 63325dbecb6Smrgcommit d64d01c7a599dc3c79125701f076a3e459cefdc2 63434a0776dSmrgAuthor: Hans de Goede <hdegoede@redhat.com> 63534a0776dSmrgDate: Thu Sep 29 19:37:22 2016 +0200 63634a0776dSmrg 63734a0776dSmrg Adapt Block/WakeupHandler signature for ABI 23 63834a0776dSmrg 63934a0776dSmrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 64034a0776dSmrg Acked-by: Thomas Hellstrom <thellstrom@vmware.com> 64125dbecb6Smrg 64225dbecb6Smrgcommit d5550b7f8375c3d9003731578c1570e014577348 64325dbecb6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 64425dbecb6SmrgDate: Wed Apr 20 20:10:41 2016 +0200 64525dbecb6Smrg 64625dbecb6Smrg vmware/vmwgfx: Support multiple dri driver names 64725dbecb6Smrg 64825dbecb6Smrg Support sending multiple driver names and dri2 INFOREC v4. 64925dbecb6Smrg 65025dbecb6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 65125dbecb6Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 65234a0776dSmrg 65334a0776dSmrgcommit 0bcd4df1843f00f8e8507750401ec2a2a29330dc 65434a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 65534a0776dSmrgDate: Thu Feb 11 09:45:58 2016 +0100 65634a0776dSmrg 65734a0776dSmrg vmware: Bump minor to signal availability of new features 65834a0776dSmrg 65934a0776dSmrg While this may never be an official release, bump minor to enable the 66034a0776dSmrg new resolutionKMS functionality. This signals the availability of 66134a0776dSmrg autolayout and resolutionKMS support. 66234a0776dSmrg 66334a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 66434a0776dSmrg Reviewed-by: Brian Paul <brianp@vmware.com> 66534a0776dSmrg 66634a0776dSmrgcommit 5036e9d11a899d831b1471f64132eefcf459b222 66734a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 66834a0776dSmrgDate: Thu Feb 11 09:40:55 2016 +0100 66934a0776dSmrg 67034a0776dSmrg vmware/vmwgfx: Don't require screen objects to run 67134a0776dSmrg 67234a0776dSmrg Using the vmwgfx ldu backend works just as fine except that we're limited 67334a0776dSmrg to implicit layout placement. 67434a0776dSmrg 67534a0776dSmrg With this test on, we may end up in the odd situation that the vmwgfx kernel 67634a0776dSmrg module and the vwmare legacy Xorg driver are enabled simultaneously, and that 67734a0776dSmrg is an unsupported configuration. It will also break resolutionKMS which will 67834a0776dSmrg be enabled based on vmwgfx version but should be disabled since the legacy 67934a0776dSmrg Xorg driver runs... 68034a0776dSmrg 68134a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 68234a0776dSmrg Reviewed-by: Brian Paul <brianp@vmware.com> 68334a0776dSmrg 68434a0776dSmrgcommit 57d4499cc252bd1c3362a569ca7fd99ba6b645ed 68534a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 68634a0776dSmrgDate: Wed Jan 20 19:08:21 2016 +0100 68734a0776dSmrg 68834a0776dSmrg vmware/vmwgfx: Disable autolayout if we detect an old resolutionset 68934a0776dSmrg 69034a0776dSmrg While the autolayout feature should really avoid races both with the old 69134a0776dSmrg resolutionSet RandR12 code and with new compositor layout code, let's 69234a0776dSmrg disable the autolayout feature if someone tries to set the 69334a0776dSmrg layout / resolution through the vmwarectrl interface. 69434a0776dSmrg That's most likely an old resolutionSet. 69534a0776dSmrg 69634a0776dSmrg Autolayout is turned on on each new screen generation. 69734a0776dSmrg 69834a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 69934a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 70034a0776dSmrg 70134a0776dSmrgcommit 48fb82f13ca290e9fbb8c7f79aba5ee119a3ce7f 70234a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 70334a0776dSmrgDate: Wed Jan 20 14:21:40 2016 +0100 70434a0776dSmrg 70534a0776dSmrg vmware/vmwgfx: Read the implicit output status from KMS if available. 70634a0776dSmrg 70734a0776dSmrg This information is used to switch to software cursors if we have 70834a0776dSmrg multiple overlapping explicit outputs and thus might need to display 70934a0776dSmrg two cursors simultaneously. 71034a0776dSmrg 71134a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 71234a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 71334a0776dSmrg 71434a0776dSmrgcommit a81e359d88151159e3a19ceb95027029fef0a9ba 71534a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 71634a0776dSmrgDate: Wed Jan 20 14:04:13 2016 +0100 71734a0776dSmrg 71834a0776dSmrg vmware/vmwgfx: Avoid filling the log with modeline printouts 71934a0776dSmrg 72034a0776dSmrg There are specific debug options for that. 72134a0776dSmrg 72234a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 72334a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 72434a0776dSmrg 72534a0776dSmrgcommit 5978597da92898a424837ee89e66f66a8120480c 72634a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 72734a0776dSmrgDate: Wed Jan 20 13:01:21 2016 +0100 72834a0776dSmrg 72934a0776dSmrg vmware/vmwgfx: Add a layout handler v2 73034a0776dSmrg 73134a0776dSmrg Add a handler that, on hotplug events, scans for a new GUI layout and 73234a0776dSmrg tries to set that layout using XRandR similar to what the RandR1.2 part of 73334a0776dSmrg vmware tools resolutionSet module is doing today. 73434a0776dSmrg 73534a0776dSmrg v2: Address review comments 73634a0776dSmrg - Keep the old layout in case of screen resizing errors 73734a0776dSmrg - Fix the vmwgfx_layout handler() declaration. 73834a0776dSmrg 73934a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 74034a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 74134a0776dSmrg 74234a0776dSmrgcommit 885e360b16fd88b48b40930c6277637615aab188 74334a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 74434a0776dSmrgDate: Wed Jan 20 12:09:22 2016 +0100 74534a0776dSmrg 74634a0776dSmrg vmware/vmwgfx: Update RandR output properties on hotplug events v2 74734a0776dSmrg 74834a0776dSmrg Update also RandR output properties when we receive hotplug events; 74934a0776dSmrg the RRGetInfo function doesn't do this. 75034a0776dSmrg 75134a0776dSmrg This makes sure RandR sends out property change events to clients. 75234a0776dSmrg Also remove some debugging printouts. 75334a0776dSmrg 75434a0776dSmrg v2: Address review comment from Sinclair Yeh; 75534a0776dSmrg make sure struct output_private::drm_connector is always valid. 75634a0776dSmrg 75734a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 75834a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 75934a0776dSmrg 76034a0776dSmrgcommit ada41a5988df8414011ed37ec51cbb402c9c8716 76134a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 76234a0776dSmrgDate: Wed Jan 20 11:51:46 2016 +0100 76334a0776dSmrg 76434a0776dSmrg vmware/vmwgfx: Add missing includes of the config.h header. 76534a0776dSmrg 76634a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 76734a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 76834a0776dSmrg 76934a0776dSmrgcommit 755e38f373a511bd774a61c9420a67f630f71037 77034a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 77134a0776dSmrgDate: Thu Dec 18 10:46:42 2014 +0100 77234a0776dSmrg 77334a0776dSmrg vmware/vmwgfx: Expose kernel connector attributes and react to hotplug events 77434a0776dSmrg 77534a0776dSmrg Much of this code is borrowed from the xf86-video-modesetting driver. 77634a0776dSmrg 77734a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 77834a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 77934a0776dSmrg 78034a0776dSmrgcommit 1e443c4717a8b107c0c9283e222482703ac0f358 78134a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 78234a0776dSmrgDate: Wed Feb 25 01:51:11 2015 -0800 78334a0776dSmrg 78434a0776dSmrg vmware/vmwgfx: Try to use only_hw_present semantics if screen targets are enabled 78534a0776dSmrg 78634a0776dSmrg If screen targets are enabled and there is a reasonable chance that the vmwgfx 78734a0776dSmrg drm driver can use the surface backing a pixmap as a screen target surface, 78834a0776dSmrg then make that surface a modesetting framebuffer rather than the corresponding 78934a0776dSmrg DMA buffer. In practice this applies when we start scanning out from the 79034a0776dSmrg origin (0,0) of the pixmap. However, we would also like to apply the constraint 79134a0776dSmrg that the scanout area is the entire pixmap, since that is the constraint used 79234a0776dSmrg by the drm driver, but that would currently require drm framebuffer 79334a0776dSmrg reallocations and possible flicker, so disable that for now. The drm driver 79434a0776dSmrg will correctly handle the possibly oversized surface handed to it anyway, and 79534a0776dSmrg the cost we pay for this is an extra hardware copy of the dirtied area when 79634a0776dSmrg doing a software update of the scanout. 79734a0776dSmrg 79834a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 79934a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 80034a0776dSmrg 80134a0776dSmrgcommit 8f0cf7c03597532feb1a8ccf3bb1cafcd6170f89 80234a0776dSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 80334a0776dSmrgDate: Sun Aug 10 11:04:51 2014 +0200 80434a0776dSmrg 80534a0776dSmrg Add 2560x1440 to supported resolutions. 80634a0776dSmrg 80734a0776dSmrg Native resolution on iMac 27". 80834a0776dSmrg Reported missing by Benjamin Lorenz in 80934a0776dSmrg http://gnats.netbsd.org/49094 81034a0776dSmrg 81134a0776dSmrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 81234a0776dSmrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 81334a0776dSmrg 81434a0776dSmrgcommit ab5be2312023d8ccc7156a05ccc1b0abe7679244 815591e32d7SsnjAuthor: Adam Jackson <ajax@redhat.com> 816591e32d7SsnjDate: Thu Dec 4 10:35:04 2014 -0500 817591e32d7Ssnj 818591e32d7Ssnj saa: Adapt to GC client clip changes in xserver 1.17 819591e32d7Ssnj 820591e32d7Ssnj 1.17 always stores the client clip as a region, so there's no longer a 821591e32d7Ssnj clientClipType member to look at. Change the code to just inspect 822591e32d7Ssnj whether the clientClip is non-null, since that works both before and 823591e32d7Ssnj after 1.17. 824591e32d7Ssnj 825591e32d7Ssnj Signed-off-by: Adam Jackson <ajax@redhat.com> 826591e32d7Ssnj Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 827591e32d7Ssnj 82834a0776dSmrgcommit 3f7defa8dc595342e2502206ed2006f2be20a884 82934a0776dSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 83034a0776dSmrgDate: Mon Nov 17 19:18:15 2014 +0100 83134a0776dSmrg 83234a0776dSmrg vmware/vmwgfx: Make large Xv video blits cheaper 83334a0776dSmrg 83434a0776dSmrg As screens grow larger, attempt to make large Xv video blits cheaper by 83534a0776dSmrg performing the color conversion and scaling in two steps: 83634a0776dSmrg 83734a0776dSmrg 1) Color conversion which has a 4x4 matrix multiplication shader is performed 83834a0776dSmrg to a bounce buffer the size of which is never larger than the source image. 83934a0776dSmrg 2) Scaling is performed as a src composite blit to the destination image with 84034a0776dSmrg a simple copy shader. 84134a0776dSmrg 84234a0776dSmrg This split is done only if the destination image is substantially larger than 84334a0776dSmrg the source image / bounce buffer 84434a0776dSmrg 84534a0776dSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 84634a0776dSmrg Reviewed-by: Sinclair Yeh <syeh@vmware.com> 84734a0776dSmrg 848591e32d7Ssnjcommit 4664412d7a5266d2b392957406b34abc5db95e48 849591e32d7SsnjAuthor: Stefan Dirsch <sndirsch@suse.de> 850591e32d7SsnjDate: Tue Oct 7 11:29:32 2014 +0200 851591e32d7Ssnj 852591e32d7Ssnj xf86xv.h cannot be included without first including xorg-server.h. 853591e32d7Ssnj 854591e32d7Ssnj Without this the build fails on systems with the latest glibc, 855591e32d7Ssnj throwing this error: 856591e32d7Ssnj 857591e32d7Ssnj In file included from /usr/include/string.h:634:0, 858591e32d7Ssnj from /usr/include/xorg/os.h:53, 859591e32d7Ssnj from /usr/include/xorg/misc.h:115, 860591e32d7Ssnj from /usr/include/xorg/screenint.h:50, 861591e32d7Ssnj from /usr/include/xorg/scrnintstr.h:50, 862591e32d7Ssnj from /usr/include/xorg/xvdix.h:55, 863591e32d7Ssnj from /usr/include/xorg/xf86xv.h:32, 864591e32d7Ssnj from vmwgfx_overlay.c:38: 865591e32d7Ssnj /usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' 866591e32d7Ssnj strndup(const char *str, size_t n); 867591e32d7Ssnj 868591e32d7Ssnj This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h), 869591e32d7Ssnj causing os.h to redefine it. 870591e32d7Ssnj 871591e32d7Ssnj Signed-off-by: Stefan Dirsch <sndirsch@suse.de> 872591e32d7Ssnj Reviewed-by: Daniel Stone <daniels@collabora.com> 873591e32d7Ssnj Acked-by: Thomas Hellstrom <thellstrom@vmware.com> 874591e32d7Ssnj 875591e32d7Ssnjcommit 8e1c4e5bd521ec2d4f1a21da432f110c606b3fde 876591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 877591e32d7SsnjDate: Mon Sep 22 12:09:13 2014 +0200 878591e32d7Ssnj 879591e32d7Ssnj vmware/saa: Fix saa_check_poly_fill_rect_noreadback v2 880591e32d7Ssnj 881591e32d7Ssnj We were not clipping the dirty region correctly, Fix this. 882591e32d7Ssnj Also actually do what the comment in the function says: If there are more than 883591e32d7Ssnj an ad-hoc number of rectangles to read back, then revert to the default 884591e32d7Ssnj saa_check_poly_fill_rect function that reads back the whole damage region. 885591e32d7Ssnj 886591e32d7Ssnj v2: Fix commit log message. 887591e32d7Ssnj 888591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 889591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 890591e32d7Ssnj Reviewed-by: Sinclair Yeh <syeh@vmware.com> 891591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 892591e32d7Ssnj 893591e32d7Ssnjcommit c23fd33d8ce8491891255d93c04e053bf333bd4e 894591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 895591e32d7SsnjDate: Mon Sep 22 11:43:02 2014 +0200 896591e32d7Ssnj 897591e32d7Ssnj vmware/saa: Fix saa_check_copy_window dirty region v3 898591e32d7Ssnj 899591e32d7Ssnj The saa_check_copy_window could dirty regions that were never touched, since 900591e32d7Ssnj we were using the X server provided damage region rather than the more 901591e32d7Ssnj detailed region actually copied. This would have been OK if we had first done 902591e32d7Ssnj a read-back of the region to be dirtied, but since we want to avoid that, 903591e32d7Ssnj instead compute the detailed destination region and use that for dirtying. 904591e32d7Ssnj 905591e32d7Ssnj This fixes rendering glitches seen with motif applications. 906591e32d7Ssnj 907591e32d7Ssnj v2: Fix whitespace error. 908591e32d7Ssnj v3: Move dirty region computation. 909591e32d7Ssnj 910591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 911591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 912591e32d7Ssnj Reviewed-by: Sinclair Yeh <syeh@vmware.com> 913591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 914591e32d7Ssnj 915591e32d7Ssnjcommit f86434ac69bd288c7fba65d178c22a91a0f4f6c2 916591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 917591e32d7SsnjDate: Mon Sep 15 15:13:53 2014 +0200 918591e32d7Ssnj 919591e32d7Ssnj Revert "vmware/saa: Disable the noreadback polyfillrect optimization" 920591e32d7Ssnj 921591e32d7Ssnj This reverts commit 88c487cb19aaf2882d582f7f887a52935ef8d92e. 922591e32d7Ssnj 923591e32d7Ssnj While the commit made the rendering artefacts less frequent, they didn't 924591e32d7Ssnj disappear completely and are likely caused by something else, so revert this 925591e32d7Ssnj commit. 926591e32d7Ssnj 927591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 928591e32d7Ssnj Acked-by: Sinclair Yeh <syeh@vmware.com> 929591e32d7Ssnj 930591e32d7Ssnjcommit 8545a166931617af0d2a9ca8175fd8b11c67e246 931591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 932591e32d7SsnjDate: Tue Sep 9 01:59:07 2014 -0700 933591e32d7Ssnj 934591e32d7Ssnj vmware/vmwgfx: Fix cursor problem with multimon 935591e32d7Ssnj 936591e32d7Ssnj In a multimon environment, the cursor would sometimes disappear on the 937591e32d7Ssnj newly enabled screen. Fix this. 938591e32d7Ssnj 939591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 940591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 941591e32d7Ssnj 942591e32d7Ssnjcommit 32562129750077a23f26f2e69adc8403eb24bf3f 943591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 944591e32d7SsnjDate: Wed Sep 3 07:08:41 2014 -0700 945591e32d7Ssnj 946591e32d7Ssnj vmware/vmwgfx: Don't add pixmaps to the pixmap list if they're already on it 947591e32d7Ssnj 948591e32d7Ssnj This could cause loops through the list to spin indefinitely. 949591e32d7Ssnj This would most likely occur at VT switches. 950591e32d7Ssnj 951591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 952591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 953591e32d7Ssnj 954591e32d7Ssnjcommit 8b6316a312689d83ca8f8de939698bc137206f58 955591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 956591e32d7SsnjDate: Thu Aug 28 15:32:45 2014 +0200 957591e32d7Ssnj 958591e32d7Ssnj vmware/legacy: Fix overlay related compile breakage on earlier X servers 959591e32d7Ssnj 960591e32d7Ssnj Introduced by commit: 961591e32d7Ssnj vmware/legacy: Apply same fix to auto colrkey fill 962591e32d7Ssnj 963591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 964591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 965591e32d7Ssnj 966591e32d7Ssnjcommit 8a47e9a45036005d46a60cf8df366baffcb9a8d1 967591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 968591e32d7SsnjDate: Thu Aug 28 13:43:03 2014 +0200 969591e32d7Ssnj 970591e32d7Ssnj vmware: Fix bootstrap related compile errors on earlier X servers 971591e32d7Ssnj 972591e32d7Ssnj Introduced by commit 973591e32d7Ssnj Add support for XSERVER_PLATFORM_BUS 974591e32d7Ssnj 975591e32d7Ssnj Note that the vmware DriverRec declaration can be cleaned up 976591e32d7Ssnj considerably using C99 designated initializers. Perhaps something for 977591e32d7Ssnj the next release... 978591e32d7Ssnj 979591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 980591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 981591e32d7Ssnj 982591e32d7Ssnjcommit f5d8c8f1fe2de727018600f471b6a8829fe492ad 983591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 984591e32d7SsnjDate: Wed Aug 20 13:02:58 2014 +0200 985591e32d7Ssnj 986591e32d7Ssnj vmware: Clear the PITCHLOCK register if available before modeset 987591e32d7Ssnj 988591e32d7Ssnj In some situations the fbdev driver may have set this register before legacy 989591e32d7Ssnj driver startup causing a weird-looking desktop. Make sure this register 990591e32d7Ssnj is cleared on each modeset. 991591e32d7Ssnj 992591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 993591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 994591e32d7Ssnj 995591e32d7Ssnjcommit b1697434348799b0808a6c9e9a899394075b980c 996591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 997591e32d7SsnjDate: Thu Aug 14 16:42:05 2014 +0200 998591e32d7Ssnj 999591e32d7Ssnj vmware/legacy: Fix out of bound array indexing 1000591e32d7Ssnj 1001591e32d7Ssnj Spotted by coverity. 1002591e32d7Ssnj 1003591e32d7Ssnj Reported-by: Adam Jackson <ajax@redhat.com> 1004591e32d7Ssnj Reviewed-by: Adam Jackson <ajax@redhat.com> 1005591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1006591e32d7Ssnj 1007591e32d7Ssnjcommit 0825d98744b20a20af7bd81d347334ab4a1de015 1008591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 1009591e32d7SsnjDate: Sat Aug 9 00:19:17 2014 +0200 1010591e32d7Ssnj 1011591e32d7Ssnj vmware/vmwgfx: Fix compilation issue on older X servers 1012591e32d7Ssnj 1013591e32d7Ssnj Introduced in 268307 "Add support for server managed fds" 1014591e32d7Ssnj 1015591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1016591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 1017591e32d7Ssnj 1018591e32d7Ssnjcommit 0a212afefd8670a1823c9b6474de8bf26d33bdeb 1019591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 1020591e32d7SsnjDate: Fri Aug 8 21:37:38 2014 +0200 1021591e32d7Ssnj 1022591e32d7Ssnj vmware/legacy: Fix uninitialized values in video commands 1023591e32d7Ssnj 1024591e32d7Ssnj Fixed bug where video stopped working on systems that didn't have the new kms 1025591e32d7Ssnj enabled kernel driver installed. Found on CentOS 6.4. 1026591e32d7Ssnj 1027591e32d7Ssnj After updating the register header SVGA_VIDEO_NUM_REGS value got upped by two 1028591e32d7Ssnj in order to support GMR and Screen Objects. Since this path is mostly used 1029591e32d7Ssnj on older hosts that may not support them, don't send them at all. 1030591e32d7Ssnj 1031591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1032591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 1033591e32d7Ssnj 1034591e32d7Ssnjcommit 0a596fd0c92fdcf73071869a59029263a2596018 1035591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1036591e32d7SsnjDate: Wed Jul 2 14:21:45 2014 +0200 1037591e32d7Ssnj 1038591e32d7Ssnj vmware/vmwgfx: Fix an error path segfault 1039591e32d7Ssnj 1040591e32d7Ssnj Part of freedesktop.org bugzilla bug #80645 1041591e32d7Ssnj If taking a scanout reference on a pixmap fails, the 1042591e32d7Ssnj struct vmwgfx_screen_entry::pixmap pointer must be set to NULL, otherwise 1043591e32d7Ssnj the driver will incorrectly attempt to remove the scanout reference in the 1044591e32d7Ssnj error path, causing a segfault. 1045591e32d7Ssnj 1046591e32d7Ssnj This problem is seen in the above-mentioned bug, but it is not the root 1047591e32d7Ssnj cause of the problem. With this patch applied, the server will terminate 1048591e32d7Ssnj cleanly instead of segfaulting. 1049591e32d7Ssnj 1050591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1051591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1052591e32d7Ssnj 1053591e32d7Ssnjcommit 4e378a730d2d2deffc915af2a3d013d2a994a1b0 1054591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 1055591e32d7SsnjDate: Wed May 21 11:52:29 2014 +0200 1056591e32d7Ssnj 1057591e32d7Ssnj vmware/legacy: Apply same fix to auto colorkey fill 1058591e32d7Ssnj 1059591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1060591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 1061591e32d7Ssnj 1062591e32d7Ssnjcommit 82c9b0c1d34459c568d004521e3f35a69f5d7ae3 1063591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 1064591e32d7SsnjDate: Wed May 21 11:51:46 2014 +0200 1065591e32d7Ssnj 1066591e32d7Ssnj vmware/vmwgfx: Fix auto colorkey fill usage 1067591e32d7Ssnj 1068591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1069591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 1070591e32d7Ssnj 1071591e32d7Ssnjcommit 43e043868fbd74e28cd392a3665b36abdfe87de0 1072591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 1073591e32d7SsnjDate: Wed May 21 11:54:48 2014 +0200 1074591e32d7Ssnj 1075591e32d7Ssnj vmware/vmwgfx: A bit more error logging when handling cursors 1076591e32d7Ssnj 1077591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1078591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 1079591e32d7Ssnj 1080591e32d7Ssnjcommit aa7309254808e27a4ac5d3dc674be179646280b5 1081591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 1082591e32d7SsnjDate: Wed May 21 11:54:24 2014 +0200 1083591e32d7Ssnj 1084591e32d7Ssnj vmware/vmwgfx: Don't move cursors without images 1085591e32d7Ssnj 1086591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1087591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 1088591e32d7Ssnj 1089591e32d7Ssnjcommit e8d6facf34adf1c601a3afd0a984ce90ad8fe059 1090591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1091591e32d7SsnjDate: Tue May 20 06:29:19 2014 -0700 1092591e32d7Ssnj 1093591e32d7Ssnj vmware/vmwgfx: Fix xwayland build on newer XA versions 1094591e32d7Ssnj 1095591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1096591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1097591e32d7Ssnj 1098591e32d7Ssnjcommit 268307e85c06be27345a6808bcf2b3c9887bf8bc 1099591e32d7SsnjAuthor: Hans de Goede <hdegoede@redhat.com> 1100591e32d7SsnjDate: Tue May 6 16:33:21 2014 +0200 1101591e32d7Ssnj 1102591e32d7Ssnj Add support for server managed fds 1103591e32d7Ssnj 1104591e32d7Ssnj Signed-off-by: Hans de Goede <hdegoede@redhat.com> 1105591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1106591e32d7Ssnj 1107591e32d7Ssnjcommit 675fe58eee8acdb302c3501236b86a3289991053 1108591e32d7SsnjAuthor: Hans de Goede <hdegoede@redhat.com> 1109591e32d7SsnjDate: Tue May 6 16:00:50 2014 +0200 1110591e32d7Ssnj 1111591e32d7Ssnj Add support for XSERVER_PLATFORM_BUS 1112591e32d7Ssnj 1113591e32d7Ssnj This is a preparation patch for adding support for server managed fds. 1114591e32d7Ssnj 1115591e32d7Ssnj Signed-off-by: Hans de Goede <hdegoede@redhat.com> 1116591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1117591e32d7Ssnj 1118591e32d7Ssnjcommit 88c487cb19aaf2882d582f7f887a52935ef8d92e 1119591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1120591e32d7SsnjDate: Fri May 9 09:35:59 2014 +0200 1121591e32d7Ssnj 1122591e32d7Ssnj vmware/saa: Disable the noreadback polyfillrect optimization 1123591e32d7Ssnj 1124591e32d7Ssnj It causes rendering artefacts with some motif applications due to 1125591e32d7Ssnj damage area confusion. Until that is sorted out, temporarily disable the 1126591e32d7Ssnj optimization. 1127591e32d7Ssnj 1128591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1129591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1130591e32d7Ssnj 1131591e32d7Ssnjcommit f31eed4a578784329a7038aa01acaa10a2d0c246 1132591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1133591e32d7SsnjDate: Thu May 8 09:24:04 2014 +0200 1134591e32d7Ssnj 1135591e32d7Ssnj vmware/vmwgfx: Fix initial dirty region for pixmaps 1136591e32d7Ssnj 1137591e32d7Ssnj When storage is attached to pixmaps for the first time the dirty region is 1138591e32d7Ssnj set to cover either the hardware surface or the software buffer based on 1139591e32d7Ssnj the presence of the hardware surface. 1140591e32d7Ssnj 1141591e32d7Ssnj However, if the storage was created as part of an accelerated operation, 1142591e32d7Ssnj the dirty region was assigned before the hardware surface was assigned to the 1143591e32d7Ssnj pixmap, causing the dirty region to incorrectly cover the software buffer. 1144591e32d7Ssnj 1145591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1146591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1147591e32d7Ssnj 1148591e32d7Ssnjcommit 1ed14687a3f1092db8504fb9cf4f446451801665 1149591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1150591e32d7SsnjDate: Thu Apr 10 14:05:24 2014 +0200 1151591e32d7Ssnj 1152591e32d7Ssnj vmware/vmwgfx: Set desired modes after xMir screen init 1153591e32d7Ssnj 1154591e32d7Ssnj While XMir does initial mode configuration, it leaves setting initial 1155591e32d7Ssnj modes to the DDX driver. 1156591e32d7Ssnj 1157591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1158591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 1159591e32d7Ssnj 1160591e32d7Ssnjcommit 64e0faf1480663a990e0f6aeef7af0e69845af49 1161591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1162591e32d7SsnjDate: Wed Apr 2 14:05:23 2014 +0200 1163591e32d7Ssnj 1164591e32d7Ssnj vmware/vmwgfx: Don't tell XA that we have a mask when we haven't 1165591e32d7Ssnj 1166591e32d7Ssnj In some cases, the X server sends us a composit operation with 1167591e32d7Ssnj mask_pict != NULL, but mask_pix == NULL. Assume there's no mask 1168591e32d7Ssnj involved in that case. 1169591e32d7Ssnj 1170591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1171591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 1172591e32d7Ssnj 1173591e32d7Ssnjcommit c062d08a50a26c99a3b8f565a8b2b00e8dc21c3f 1174591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1175591e32d7SsnjDate: Thu Jan 16 18:27:57 2014 +0100 1176591e32d7Ssnj 1177591e32d7Ssnj vmware/vmwgfx: Don't change backing-store of active scanout surfaces 1178591e32d7Ssnj 1179591e32d7Ssnj With option "HwPresents" on, the driver would sometimes change backing 1180591e32d7Ssnj store of active scanout surfaces, making the kernel module refuse to 1181591e32d7Ssnj present. This was caused by scanout surfaces not having the RENDERTARGET flag 1182591e32d7Ssnj on by default. So when rendered to, using copies or composites, they 1183591e32d7Ssnj would be reallocated. Fix this by adding the RENDERTARGET flag from start. 1184591e32d7Ssnj 1185591e32d7Ssnj Also add code that prints out an error message when we change backing store 1186591e32d7Ssnj of active scanout surfaces 1187591e32d7Ssnj 1188591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1189591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1190591e32d7Ssnj 1191591e32d7Ssnjcommit c42e1f750629f18144d065b8bba5e2eaf6cbf675 1192591e32d7SsnjAuthor: Julien Cristau <jcristau@debian.org> 1193591e32d7SsnjDate: Tue Apr 1 10:11:13 2014 +0200 1194591e32d7Ssnj 1195591e32d7Ssnj configure: fix build without xatracker 1196591e32d7Ssnj 1197591e32d7Ssnj ACTION-IF-NOT-FOUND is the fourth argument to PKG_CHECK_MODULES, not the 1198591e32d7Ssnj fifth. 1199591e32d7Ssnj 1200591e32d7Ssnj Debian bug#743239 <https://bugs.debian.org/743239> 1201591e32d7Ssnj 1202591e32d7Ssnj Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 1203591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 1204591e32d7Ssnj Signed-off-by: Julien Cristau <jcristau@debian.org> 1205591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 1206591e32d7Ssnj 120722f7e8e5Smrgcommit cbd56b3759f01ec18ae0705d023e4c0b2ab38c25 120822f7e8e5SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 120922f7e8e5SmrgDate: Wed Mar 26 12:45:52 2014 +0100 121022f7e8e5Smrg 121122f7e8e5Smrg Bump the version number to 13.0.2 121222f7e8e5Smrg 121322f7e8e5Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 121422f7e8e5Smrg 121522f7e8e5Smrgcommit 51cdfa6f5102bde92c98630ace6650e4b286f6e2 121622f7e8e5SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 121722f7e8e5SmrgDate: Fri Feb 21 18:10:07 2014 +0100 121822f7e8e5Smrg 121922f7e8e5Smrg vmware: Fix compilation on newer X servers 122022f7e8e5Smrg 122122f7e8e5Smrg Found by Bryan Lee. Later versions of X.org turns dispMode pointers 122222f7e8e5Smrg into const upsetting gcc, turn them into size_t's instead. 122322f7e8e5Smrg 122422f7e8e5Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 122522f7e8e5Smrg 122622f7e8e5Smrgcommit 8da981712f62050076cff53e1b40ed1e307fcca8 122722f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 122822f7e8e5SmrgDate: Wed Jan 15 11:04:05 2014 +0100 122922f7e8e5Smrg 123022f7e8e5Smrg vmware/vmwgfx: Always allocate shared hardware surfaces. 123122f7e8e5Smrg 123222f7e8e5Smrg Hardware surfaces are all likely to be shared at some point, and we *really* 123322f7e8e5Smrg don't want to change a hardware surface that is bound as a drm framebuffer. 123422f7e8e5Smrg 123522f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 123622f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 123722f7e8e5Smrg 123822f7e8e5Smrgcommit 31bff9f7f3d9a68fd1449532e8ab50065de63857 123922f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 124022f7e8e5SmrgDate: Thu Jan 9 13:53:59 2014 +0100 124122f7e8e5Smrg 124222f7e8e5Smrg vmware: Require libdrm 2.4.38 to build XMir. 124322f7e8e5Smrg 124422f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 124522f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 124622f7e8e5Smrg 124722f7e8e5Smrgcommit d6b179a5addef6456325adf241eb8dcaf8e4c3d6 124822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 124922f7e8e5SmrgDate: Thu Jan 9 13:28:22 2014 +0100 125022f7e8e5Smrg 125122f7e8e5Smrg vmware: Fix build errors and warnings 125222f7e8e5Smrg 125322f7e8e5Smrg A previous commit and the hosted merge unfortunately brought in some build 125422f7e8e5Smrg errors / warnings on early X servers. 125522f7e8e5Smrg 125622f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 125722f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 125822f7e8e5Smrg 125922f7e8e5Smrgcommit f37684e7169b9c0ab23ff748d5acacb65fad82f7 126022f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 126122f7e8e5SmrgDate: Tue Jan 7 17:55:49 2014 +0100 126222f7e8e5Smrg 126322f7e8e5Smrg vmwgfx: Block DMA to prime surfaces for now 126422f7e8e5Smrg 126522f7e8e5Smrg Since there is currently no _good_ way to get the surface format of a 126622f7e8e5Smrg prime surface, we block DMA to these surfaces; we don't know if our 126722f7e8e5Smrg software data is compatible with the surface format. 126822f7e8e5Smrg 126922f7e8e5Smrg This patch also makes sure that there is a hardware surface backing the 127022f7e8e5Smrg drawable we copy from. 127122f7e8e5Smrg 127222f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 127322f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 127422f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 127522f7e8e5Smrg 127622f7e8e5Smrgcommit 97ce302ddd6e86397ea56ea9089b9549af73c3ac 127722f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 127822f7e8e5SmrgDate: Mon Jan 6 12:37:36 2014 +0100 127922f7e8e5Smrg 128022f7e8e5Smrg vmwgfx: Enable direct dmas 128122f7e8e5Smrg 128222f7e8e5Smrg Enable direct dmas instead of using the xa-provided dma functionality. 128322f7e8e5Smrg This saves a bounce-buffer software copy of all dma'd contents. 128422f7e8e5Smrg 128522f7e8e5Smrg This also implies that all drawables with mixed software / hardware contents 128622f7e8e5Smrg will use a kernel buffer for software rendering. 128722f7e8e5Smrg 128822f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 128922f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 129022f7e8e5Smrg 129122f7e8e5Smrgcommit fd636e39a3f32a6dcd107c370513d8cb9aae26c2 129222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 129322f7e8e5SmrgDate: Mon Dec 16 06:21:09 2013 -0800 129422f7e8e5Smrg 129522f7e8e5Smrg vmwgfx: Add support for XWayland 129622f7e8e5Smrg 129722f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 129822f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 129922f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 130022f7e8e5Smrg 130122f7e8e5Smrgcommit c020923597d3bc30dffa89ba0a47f3b9517dd5fb 130222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 130322f7e8e5SmrgDate: Mon Dec 16 06:13:25 2013 -0800 130422f7e8e5Smrg 130522f7e8e5Smrg vmwgfx: Add support for XMir v2. 130622f7e8e5Smrg 130722f7e8e5Smrg Use the hosted infrastructure to add support for XMir. 130822f7e8e5Smrg Helpers go in vmwgfx_saa.c. 130922f7e8e5Smrg 131022f7e8e5Smrg v2: Added comments for the helpers, and added a 131122f7e8e5Smrg vmwgfx_flush_dri2 to be executed when coming back from vt switch. 131222f7e8e5Smrg 131322f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 131422f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 131522f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 131622f7e8e5Smrg 131722f7e8e5Smrgcommit c8e1c498431b1f8758f62c94131c302cf3d07b39 131822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 131922f7e8e5SmrgDate: Mon Dec 16 06:05:35 2013 -0800 132022f7e8e5Smrg 132122f7e8e5Smrg vmwgfx: Add an infrastructure to be able to run hosted under a compositor v2 132222f7e8e5Smrg 132322f7e8e5Smrg Figure out what's needed both for XMir and XWayland and make a common 132422f7e8e5Smrg driver structure out of it. 132522f7e8e5Smrg 132622f7e8e5Smrg v2: Added a lot of comments. No code change. 132722f7e8e5Smrg 132822f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 132922f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 133022f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 133122f7e8e5Smrg 133222f7e8e5Smrgcommit f45a551e9b70ccec8f92df02747d4e2af299cf8c 133322f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 133422f7e8e5SmrgDate: Mon Dec 16 10:38:21 2013 +0100 133522f7e8e5Smrg 133622f7e8e5Smrg vmwgfx: Fix compile breakage on XA version 1. 133722f7e8e5Smrg 133822f7e8e5Smrg A recent revert brought back code that assumed XA version 2. 133922f7e8e5Smrg 134022f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 134122f7e8e5Smrg Reviewed-by: trivial 134222f7e8e5Smrg 134322f7e8e5Smrgcommit 93228f3dd3355a25583d22dbb96791678b93be3e 134422f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 134522f7e8e5SmrgDate: Wed Dec 11 06:54:02 2013 -0800 134622f7e8e5Smrg 134722f7e8e5Smrg vmwgfx: Really allow XA version 2. 134822f7e8e5Smrg 134922f7e8e5Smrg When XA starts to correctly advertise version 2, we didn't allow it. 135022f7e8e5Smrg Fix this. 135122f7e8e5Smrg 135222f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 135322f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 135422f7e8e5Smrg 135522f7e8e5Smrgcommit 4af6062ce281a7f4aaa50985fe757e9569208ee1 135622f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 135722f7e8e5SmrgDate: Wed Dec 11 04:59:49 2013 -0800 135822f7e8e5Smrg 135922f7e8e5Smrg Revert "vmwgfx: Get rid of device-specific DMA code" 136022f7e8e5Smrg 136122f7e8e5Smrg This reverts commit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932. 136222f7e8e5Smrg 136322f7e8e5Smrg Reverting this because using direct DMA for shared pixmaps should 136422f7e8e5Smrg boost performance. It should be usable both in a composited environment 136522f7e8e5Smrg and when running hosted. Need to retest the DMA flaws I saw before disabling 136622f7e8e5Smrg this code. 136722f7e8e5Smrg 136822f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 136922f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 137022f7e8e5Smrg 137122f7e8e5Smrgcommit c36cbcefb8526944141eb431e1e736dc4485a36e 137222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 137322f7e8e5SmrgDate: Mon Dec 9 00:19:55 2013 -0800 137422f7e8e5Smrg 137522f7e8e5Smrg vmwgfx: Remove stray 1 137622f7e8e5Smrg 137722f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 137822f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 137922f7e8e5Smrg 138022f7e8e5Smrgcommit a40cbd7b4fa19219849b4b0a48f07538772c3e22 138122f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 138222f7e8e5SmrgDate: Thu Dec 5 02:58:47 2013 -0800 138322f7e8e5Smrg 138422f7e8e5Smrg vmwgfx: Support also XA version 1 v2 138522f7e8e5Smrg 138622f7e8e5Smrg We need to support also XA version 1, since we want to be backwards 138722f7e8e5Smrg compatible with older mesa releases. 138822f7e8e5Smrg Unfortunately, the intended way of detecting XA major version at 138922f7e8e5Smrg compile-time was broken on mesa 10 so we need a workaround that tests 139022f7e8e5Smrg for XA version 2 at config time. 139122f7e8e5Smrg 139222f7e8e5Smrg v2: Update the test for XA version 2. 139322f7e8e5Smrg 139422f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 139522f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 139622f7e8e5Smrg 139722f7e8e5Smrgcommit 7ac45326eccbf3bea9a4a8f95b9662a36ab58eb0 139822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 139922f7e8e5SmrgDate: Thu Nov 28 02:02:20 2013 -0800 140022f7e8e5Smrg 140122f7e8e5Smrg vmwgfx: Fix some compilation warnings and indentations 140222f7e8e5Smrg 140322f7e8e5Smrg Most of the compilation warnings we're seeing are due to bad xorg headers, 140422f7e8e5Smrg but fix the ones we can fix in the driver. Some indentation fixes as well. 140522f7e8e5Smrg 140622f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 140722f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 140822f7e8e5Smrg 140922f7e8e5Smrgcommit e26dec8f5278df74a102493bf6d2d8444dab5d6d 141022f7e8e5SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 141122f7e8e5SmrgDate: Mon Oct 28 18:21:29 2013 -0400 141222f7e8e5Smrg 141322f7e8e5Smrg vmwgfx: handle changes of DamageUnregister API in 1.14.99.2 141422f7e8e5Smrg 141522f7e8e5Smrg Fix is inspired from the intel driver. 141622f7e8e5Smrg 141722f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 141822f7e8e5Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 141922f7e8e5Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 142022f7e8e5Smrg 142122f7e8e5Smrgcommit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932 142222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 142322f7e8e5SmrgDate: Wed Sep 19 21:50:40 2012 +0200 142422f7e8e5Smrg 142522f7e8e5Smrg vmwgfx: Get rid of device-specific DMA code 142622f7e8e5Smrg 142722f7e8e5Smrg It's rarely used and things seem to work well enough on top of XA. 142822f7e8e5Smrg 142922f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 143022f7e8e5Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 143122f7e8e5Smrg 143222f7e8e5Smrgcommit 7192acf9f0bf8e7176ab0b803b861a858623f709 143322f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 143422f7e8e5SmrgDate: Wed Sep 19 20:36:57 2012 +0200 143522f7e8e5Smrg 143622f7e8e5Smrg vmwgfx: Implement textured video completely on top of XA. 143722f7e8e5Smrg 143822f7e8e5Smrg Remove device-specific hacks. This may increase resource usage a little 143922f7e8e5Smrg on old hardware revisions, but we don't need separate code paths on 144022f7e8e5Smrg different hardware revisions. 144122f7e8e5Smrg 144222f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 144322f7e8e5Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 144422f7e8e5Smrg 144522f7e8e5Smrgcommit 835ce4698f916ba080f4132988fd4caf898e0b1e 144622f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 144722f7e8e5SmrgDate: Thu Sep 26 01:25:33 2013 -0700 144822f7e8e5Smrg 144922f7e8e5Smrg vmwgfx: Avoid HW operations when not master 145022f7e8e5Smrg 145122f7e8e5Smrg Note that for DRI2, a dri2_copy_region becomes a NOP when not master. 145222f7e8e5Smrg Additionally, all dri2 operations that lead to a potential kernel 145322f7e8e5Smrg access will return FALSE. 145422f7e8e5Smrg 145522f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 145622f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 145722f7e8e5Smrg 145822f7e8e5Smrgcommit 0945bea5fc32eacb7bf42639efbd45dcd43e7ab5 145922f7e8e5SmrgAuthor: Rob Clark <robdclark@gmail.com> 146022f7e8e5SmrgDate: Mon Jun 10 13:31:31 2013 -0400 146122f7e8e5Smrg 146222f7e8e5Smrg vmwgfx: update for XA API changes 146322f7e8e5Smrg 146422f7e8e5Smrg Signed-off-by: Rob Clark <robdclark@gmail.com> 146522f7e8e5Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 146622f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 146722f7e8e5Smrg Tested-by: Jakob Bornecrantz <jakob@vmware.com> 146822f7e8e5Smrg 14693bfa90b6Smrgcommit b3345886332ee2b9fd1348dc2cd36257dfd71986 14703bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 14713bfa90b6SmrgDate: Wed Apr 17 12:03:32 2013 +0200 14723bfa90b6Smrg 14733bfa90b6Smrg Bump the version number to 13.0.1 14743bfa90b6Smrg 14753bfa90b6Smrgcommit d13a6334fe76f4e869b2cb8c0a6a13c185b1bedd 14763bfa90b6SmrgAuthor: Loïc Yhuel <loic.yhuel@gmail.com> 14773bfa90b6SmrgDate: Thu Apr 11 11:29:10 2013 +0200 14783bfa90b6Smrg 14793bfa90b6Smrg vmwgfx: Use myGlyphs to fix crashes 14803bfa90b6Smrg 14813bfa90b6Smrg Tested-by: Christian Hesse <mail@eworm.de> 14823bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 14833bfa90b6Smrg Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com> 14843bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 14853bfa90b6Smrg 14863bfa90b6Smrgcommit 23d87c92b7211cc5249eefe4ab3a2c7f370e279e 14873bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 14883bfa90b6SmrgDate: Thu Feb 14 14:33:01 2013 -0800 14893bfa90b6Smrg 14903bfa90b6Smrg Kill mibstore 14913bfa90b6Smrg 14923bfa90b6Smrg It was a noop for at least 5 years and it has been removed. 14933bfa90b6Smrg 14943bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 14953bfa90b6Smrg 14963bfa90b6Smrgcommit 686859fba16ed2616c38bbe5d4e38abf4c5b7ae9 14973bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 14983bfa90b6SmrgDate: Tue Jan 15 12:05:45 2013 -0800 14993bfa90b6Smrg 15003bfa90b6Smrg Bump the version number to 13.0.0 15013bfa90b6Smrg 15023bfa90b6Smrg New abi and various fixes 15033bfa90b6Smrg 15043bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 15053bfa90b6Smrg 15063bfa90b6Smrgcommit adf375f3d400e51b1e445e89de6bd82be0bb4ef3 15073bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 15083bfa90b6SmrgDate: Thu Dec 6 16:40:13 2012 -0500 15093bfa90b6Smrg 15103bfa90b6Smrg xf86-video-vmware 12.0.99.901 15113bfa90b6Smrg 15123bfa90b6Smrg Internal release for a round of QE testing 15133bfa90b6Smrg 15143bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 15153bfa90b6Smrg 15163bfa90b6Smrgcommit 007bed30270ca9548dfe6e359972b56cbb8e2f13 15173bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 15183bfa90b6SmrgDate: Tue May 29 23:01:14 2012 +0200 15193bfa90b6Smrg 15203bfa90b6Smrg vmwgfx: Guard against null rotate pixmap in shadow destroy 15213bfa90b6Smrg 15223bfa90b6Smrg Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 15233bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 15243bfa90b6Smrg 15253bfa90b6Smrgcommit e5ac80d8f72963313358e31cfb1ab98583e26f23 15263bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com> 15273bfa90b6SmrgDate: Tue Jul 3 13:50:30 2012 +0100 15283bfa90b6Smrg 15293bfa90b6Smrg vmware: avoid warnings about shadowing 'i' 15303bfa90b6Smrg 15313bfa90b6Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 15323bfa90b6Smrg 15333bfa90b6Smrgcommit 46c0862d205eefa985e36a74391ca392640cb898 15343bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com> 15353bfa90b6SmrgDate: Sat Jun 16 14:43:52 2012 +0100 15363bfa90b6Smrg 15373bfa90b6Smrg vmware: drop infoFromScreen inline in favour of new interface 15383bfa90b6Smrg 15393bfa90b6Smrg This also should fix the build regression introduced with the fix 15403bfa90b6Smrg for this macro. 15413bfa90b6Smrg 15423bfa90b6Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 15433bfa90b6Smrg 15443bfa90b6Smrgcommit 50c01998c7800bc02fd6656cc14efa715bf63e08 15453bfa90b6SmrgAuthor: Robert Hooker <sarvatt@ubuntu.com> 15463bfa90b6SmrgDate: Fri Jun 15 11:56:59 2012 -0400 15473bfa90b6Smrg 15483bfa90b6Smrg vmware: Fix up some warnings after new compat API change. 15493bfa90b6Smrg 15503bfa90b6Smrg Fixes multiple instances of these warnings on x86_64: 15513bfa90b6Smrg ../../src/vmware.h:180:5: warning: implicit declaration of function 'xf86ScreenToScrn' [-Wimplicit-function-declaration] 15523bfa90b6Smrg ../../src/vmware.h:180:5: warning: nested extern declaration of 'xf86ScreenToScrn' [-Wnested-externs] 15533bfa90b6Smrg ../../src/vmware.h:180:5: warning: return makes pointer from integer without a cast [enabled by default] 15543bfa90b6Smrg Function `xf86ScreenToScrn' implicitly converted to pointer at ../../src/vmware.h:180 15553bfa90b6Smrg 15563bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 15573bfa90b6Smrg Signed-off-by: Robert Hooker <sarvatt@ubuntu.com> 15583bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 15593bfa90b6Smrg 15603bfa90b6Smrgcommit 61df95a86f4997e342d50d7779b00aba2e8849a6 15613bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com> 15623bfa90b6SmrgDate: Wed Jun 6 09:58:01 2012 +0100 15633bfa90b6Smrg 15643bfa90b6Smrg vmware: port vmware driver to new compat API 15653bfa90b6Smrg 15663bfa90b6Smrg This is a port of the vmware driver to the new compat API. 15673bfa90b6Smrg 15683bfa90b6Smrg Tested-by: Jakob Bornecrantz <jakob@vmware.com> 15693bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 15703bfa90b6Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 15713bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 15723bfa90b6Smrg 15733bfa90b6Smrgcommit 46cdf0ed0ad9df66f36f95e27b209d454f67d526 15743bfa90b6SmrgAuthor: Brian Paul <brianp@vmware.com> 15753bfa90b6SmrgDate: Fri Apr 20 14:24:26 2012 -0600 15763bfa90b6Smrg 15773bfa90b6Smrg vmwgfx: set the XA_FLAG_SHARED flag for composite dest surfaces 15783bfa90b6Smrg 15793bfa90b6Smrg This fixes a failed assertion in the gallium/svga driver in the 15803bfa90b6Smrg svga_texture_get_handle() function. The texture resource wasn't 15813bfa90b6Smrg getting created with the PIPE_BIND_SHARED flag so the !cachable 15823bfa90b6Smrg assertion would fail and the X session would abort. This didn't 15833bfa90b6Smrg happen with release builds. 15843bfa90b6Smrg 15853bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 15863bfa90b6Smrg 15873bfa90b6Smrgcommit 4d76cfe5e8e5d594ec357b0ef3339f56eeca9c64 15883bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 15893bfa90b6SmrgDate: Tue Mar 20 22:05:30 2012 +0100 15903bfa90b6Smrg 15913bfa90b6Smrg Bump version number for the release 15923bfa90b6Smrg 15933bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 15943bfa90b6Smrg 15953bfa90b6Smrgcommit c6f27561c7cf7c30f89493d64e3c5694b5f53469 15963bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 15973bfa90b6SmrgDate: Mon Mar 19 14:53:34 2012 +0100 15983bfa90b6Smrg 15993bfa90b6Smrg vmware/legacy: Fix crash on Xserver 1.12.0 16003bfa90b6Smrg 16013bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 16023bfa90b6Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 16033bfa90b6Smrg 16043bfa90b6Smrgcommit b70116b907aa8545f0275589a52275235083bb40 16053bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 16063bfa90b6SmrgDate: Thu Mar 15 11:37:26 2012 -0400 16073bfa90b6Smrg 16083bfa90b6Smrg Fix a memory corruption due to a redundant free. 16093bfa90b6Smrg 16103bfa90b6Smrg We use the empty rect purely as a placeholder and never 16113bfa90b6Smrg initialize it with its own memory so lets not try to free 16123bfa90b6Smrg it. 16133bfa90b6Smrg Spotted by Dave Airlie. 16143bfa90b6Smrg 16153bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 16163bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 16173bfa90b6Smrg 16183bfa90b6Smrgcommit 57f1204292a116b35d5930752bc06f9065332879 16193bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 16203bfa90b6SmrgDate: Tue Mar 13 21:41:11 2012 +0100 16213bfa90b6Smrg 16223bfa90b6Smrg Bump version number for the release 16233bfa90b6Smrg 16243bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 16253bfa90b6Smrg 16263bfa90b6Smrgcommit e585f9ea04bbd17398d2fa804be38a4e75bc60e4 16273bfa90b6SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 16283bfa90b6SmrgDate: Tue Mar 13 09:44:46 2012 -0400 16293bfa90b6Smrg 16303bfa90b6Smrg config: move AC_SYS_LARGEFILE in autoconf init section 16313bfa90b6Smrg 16323bfa90b6Smrg There is no need for this statement to be conditionally included. 16333bfa90b6Smrg It adds support for large files without taking anything away. 16343bfa90b6Smrg 16353bfa90b6Smrg http://www.gnu.org/software/autoconf/manual/autoconf.html 16363bfa90b6Smrg 16373bfa90b6Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 16383bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 16393bfa90b6Smrg 16403bfa90b6Smrgcommit 04169f3860e4a7d03485631bee40c05fc45b72c6 16413bfa90b6SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 16423bfa90b6SmrgDate: Mon Mar 12 14:51:38 2012 -0400 16433bfa90b6Smrg 16443bfa90b6Smrg config: include saa and vmwgfx subdirs in the tarball 16453bfa90b6Smrg 16463bfa90b6Smrg Use AM_CONDITIONAL. Automake knows what to distribute. 16473bfa90b6Smrg It needs to be able to navigate down the subdirs to find what 16483bfa90b6Smrg needs to be included in the tarball. 16493bfa90b6Smrg 16503bfa90b6Smrg To test reliably, create a tarball and expand it into a separate 16513bfa90b6Smrg directory and build with xatracker. Distcheck will not detect 16523bfa90b6Smrg missing code when such code is configured not to build. 16533bfa90b6Smrg 16543bfa90b6Smrg The content of a tarball *must* always be identical, regardless 16553bfa90b6Smrg of the configuration options used or on which platform it was configured. 16563bfa90b6Smrg 16573bfa90b6Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 16583bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 16593bfa90b6Smrg 16603bfa90b6Smrgcommit e6836ff099e5565dea58a53bba9b2df377241ef7 16613bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 16623bfa90b6SmrgDate: Thu Mar 8 09:55:07 2012 -0500 16633bfa90b6Smrg 16643bfa90b6Smrg Bump version number for the release 16653bfa90b6Smrg 16663bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 16673bfa90b6Smrg 16683bfa90b6Smrgcommit c5c38bab8c493985349356be5fadc14d3aee8040 16693bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16703bfa90b6SmrgDate: Wed Feb 8 15:00:20 2012 +0100 16713bfa90b6Smrg 16723bfa90b6Smrg vmware/legacy: Fix initial mode size v2 16733bfa90b6Smrg 16743bfa90b6Smrg Commit "vmwlegacy: Make the default be a minium of 800x600..." 16753bfa90b6Smrg read the dimensions from the incorrect register pair. 16763bfa90b6Smrg 16773bfa90b6Smrg v2: Also treat initial widths and heights larger than the maximum 16783bfa90b6Smrg values as an error and revert back to the minimum. 16793bfa90b6Smrg 16803bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16813bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 16823bfa90b6Smrg 16833bfa90b6Smrgcommit 49b4cbc5100ce9a4cc40132c2839f9401a58b92e 16843bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16853bfa90b6SmrgDate: Mon Feb 6 19:48:57 2012 +0100 16863bfa90b6Smrg 16873bfa90b6Smrg saa: Try to avoid readbacks during polyFillRect 16883bfa90b6Smrg 16893bfa90b6Smrg This significantly improves performance of shaped windows on top of 3D 16903bfa90b6Smrg contents 16913bfa90b6Smrg 16923bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16933bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 16943bfa90b6Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 16953bfa90b6Smrg 16963bfa90b6Smrgcommit ecf6c5b1081e70ec64132a8188c8cc15945c2290 16973bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16983bfa90b6SmrgDate: Thu Feb 2 10:24:26 2012 +0100 16993bfa90b6Smrg 17003bfa90b6Smrg vmware: Kill warnings on Xserver 1.12 17013bfa90b6Smrg 17023bfa90b6Smrg Compile-tested on servers 1.0 through 1.12. 17033bfa90b6Smrg 17043bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17053bfa90b6Smrg 17063bfa90b6Smrgcommit 3e18d43c7f8ab5dcb94ac285a687eaaa1a578250 17073bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17083bfa90b6SmrgDate: Wed Feb 1 17:30:52 2012 +0100 17093bfa90b6Smrg 17103bfa90b6Smrg vmwgfx: Kill a deprecation warning on server 1.12 17113bfa90b6Smrg 17123bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17133bfa90b6Smrg 17143bfa90b6Smrgcommit bfb286bea967c26426aebda2a581f35da0d86884 17153bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17163bfa90b6SmrgDate: Wed Feb 1 17:25:19 2012 +0100 17173bfa90b6Smrg 17183bfa90b6Smrg vmwgfx: Fix up swap[sl] for server 1.12 17193bfa90b6Smrg 17203bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17213bfa90b6Smrg 17223bfa90b6Smrgcommit 8ff19c2b2f288d6851b444dbda39544980837b73 17233bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17243bfa90b6SmrgDate: Wed Feb 1 16:59:13 2012 +0100 17253bfa90b6Smrg 17263bfa90b6Smrg vmwgfx: Avoid including a library header and use pixman for type conversion 17273bfa90b6Smrg 17283bfa90b6Smrg The PictTransform type is a typedef of a pixman type. 17293bfa90b6Smrg 17303bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17313bfa90b6Smrg 17323bfa90b6Smrgcommit 193b5118199028ea0180785bb3f4c8a16359b8b0 17333bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17343bfa90b6SmrgDate: Fri Jan 13 17:01:02 2012 +0100 17353bfa90b6Smrg 17363bfa90b6Smrg Bump version number for release 17373bfa90b6Smrg 17383bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17393bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 17403bfa90b6Smrg 17413bfa90b6Smrgcommit c5af120177949c82cbd0611da565fef9c2c829cb 17423bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17433bfa90b6SmrgDate: Fri Jan 13 17:14:47 2012 +0100 17443bfa90b6Smrg 17453bfa90b6Smrg Make the driver build pass "make distcheck" 17463bfa90b6Smrg 17473bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17483bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 17493bfa90b6Smrg 17503bfa90b6Smrgcommit e6d03aceb1195de0b490f39024f34a33b1a8f6fc 17513bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17523bfa90b6SmrgDate: Thu Jan 12 14:00:41 2012 +0100 17533bfa90b6Smrg 17543bfa90b6Smrg vmwgfx: Adapt to new XA version number v2 17553bfa90b6Smrg 17563bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17573bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 17583bfa90b6Smrg 17593bfa90b6Smrgcommit 59435d2d3af8a9f64ee40eac4f0479470ba6badf 17603bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17613bfa90b6SmrgDate: Thu Jan 12 17:57:37 2012 +0100 17623bfa90b6Smrg 17633bfa90b6Smrg vmwgfx,saa: Fix a bunch of compilation warnings 17643bfa90b6Smrg 17653bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17663bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 17673bfa90b6Smrg 17683bfa90b6Smrgcommit 0628ad20f31a239f99fcbbfe42197c56a5ae8864 17693bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 17703bfa90b6SmrgDate: Fri Dec 9 07:34:58 2011 +0100 17713bfa90b6Smrg 17723bfa90b6Smrg vmwlegacy: Make the default be a minimum of 800x600 17733bfa90b6Smrg 17743bfa90b6Smrg This patch and the corresponding vmwgfx patch formalizes both drivers 17753bfa90b6Smrg on the same behviour. The minimum is 800x600 (unless the max size is 17763bfa90b6Smrg smaller). This makes it unnecessary to check against VRAM size since 17773bfa90b6Smrg it is always at least large enough to fit the max values. 17783bfa90b6Smrg 17793bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 17803bfa90b6Smrg 17813bfa90b6Smrgcommit 8ddbb3216d29b2ecd336d50461216feef0900fd9 17823bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17833bfa90b6SmrgDate: Thu Jan 12 10:00:41 2012 +0100 17843bfa90b6Smrg 17853bfa90b6Smrg vmware: Make sure the driver builds on old servers 17863bfa90b6Smrg 17873bfa90b6Smrg Move things around a bit so the driver compiles with 17883bfa90b6Smrg servers back to Xserver 1.0. 17893bfa90b6Smrg 17903bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17913bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 17923bfa90b6Smrg 17933bfa90b6Smrgcommit 194ff6f1517d0a8250e64c3d768a9b7ae9ed3140 17943bfa90b6SmrgAuthor: Thomas Hellström <thellstrom@vmware.com> 17953bfa90b6SmrgDate: Wed Jan 11 14:49:56 2012 +0100 17963bfa90b6Smrg 17973bfa90b6Smrg vmware: Update Manpage 17983bfa90b6Smrg 17993bfa90b6Smrg Update the Manpage with new options and a brief modesetting- and 3D 18003bfa90b6Smrg description. 18013bfa90b6Smrg 18023bfa90b6Smrg Signed-off-by: Thomas Hellström <thellstrom@vmware.com> 18033bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 18043bfa90b6Smrg 18053bfa90b6Smrgcommit b5546fb1de3f3859151a91e98ab0bd24b6789e2e 18063bfa90b6SmrgMerge: abf9cb7 5748c33 18073bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18083bfa90b6SmrgDate: Mon Dec 19 20:25:43 2011 +0100 18093bfa90b6Smrg 18103bfa90b6Smrg Merge branch 'vmwgfx_branch' 18113bfa90b6Smrg 18123bfa90b6Smrgcommit 5748c33535bc7d3009b9758653885e6ae0e73002 18133bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18143bfa90b6SmrgDate: Wed Dec 14 12:38:27 2011 +0100 18153bfa90b6Smrg 18163bfa90b6Smrg saa, vmwgfx: Fix saa_copy_composite 18173bfa90b6Smrg 18183bfa90b6Smrg The traditional accelerated copy methods aren't format aware. 18193bfa90b6Smrg Make saa copy format aware,and pass formats on to the driver copy function 18203bfa90b6Smrg if available. If the driver can't handle format conversions it needs to 18213bfa90b6Smrg return FALSE. 18223bfa90b6Smrg 18233bfa90b6Smrg This fixes format confusion in the copy composite fastpath. 18243bfa90b6Smrg 18253bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18263bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 18273bfa90b6Smrg 18283bfa90b6Smrgcommit f664e31d73bd31594e069d8bcca872687b84d8d9 18293bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18303bfa90b6SmrgDate: Wed Dec 14 10:22:22 2011 +0100 18313bfa90b6Smrg 18323bfa90b6Smrg saa: Always read back hw contents on poly_fill_rect 18333bfa90b6Smrg 18343bfa90b6Smrg The damage region may be much larger than the actual area 18353bfa90b6Smrg filled, so make sure we read back any hw contents in the damage region 18363bfa90b6Smrg since we use it to mark sw dirty. 18373bfa90b6Smrg Revisit this in the future since it may increase readbacks in an 18383bfa90b6Smrg undesired way. There are workarounds. 18393bfa90b6Smrg 18403bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18413bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 18423bfa90b6Smrg 18433bfa90b6Smrgcommit 0eef22437093d29f572abea845fff9c03fca5e4e 18443bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18453bfa90b6SmrgDate: Wed Dec 14 10:18:16 2011 +0100 18463bfa90b6Smrg 18473bfa90b6Smrg saa: Only try to accelerate pixmaps that are driver pixmaps 18483bfa90b6Smrg 18493bfa90b6Smrg Trying to accelerate scratch pixmaps doesn't work currently, 18503bfa90b6Smrg and I'm not sure it's a big benefit either. 18513bfa90b6Smrg 18523bfa90b6Smrg This is in line with what EXA does. 18533bfa90b6Smrg 18543bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18553bfa90b6Smrg Reviewed-by: Jakob Bornecrants <jakob@vmware.com> 18563bfa90b6Smrg 18573bfa90b6Smrgcommit afd2f828b8a8b2ccc6ebe4d56104db3d03d08493 18583bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18593bfa90b6SmrgDate: Thu Dec 8 13:14:57 2011 +0100 18603bfa90b6Smrg 18613bfa90b6Smrg vmwgfx: Reduce system resource usage with textured video 18623bfa90b6Smrg 18633bfa90b6Smrg Use U and V textures and corresponding dma buffers that match 18643bfa90b6Smrg the size of the input UV data rather than using textures and DMA buffers 18653bfa90b6Smrg that match the Y data. This simplifies data copy and reduces the amount of 18663bfa90b6Smrg image data transfered to the host by up to 50% (YV12). 18673bfa90b6Smrg 18683bfa90b6Smrg It also reduces dma buffer- and surface memory usage correspondingly. 18693bfa90b6Smrg 18703bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18713bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 18723bfa90b6Smrg 18733bfa90b6Smrgcommit 121dba0093d24eb0aefa3d27a22f05f85ac66f72 18743bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18753bfa90b6SmrgDate: Wed Dec 7 20:19:34 2011 +0100 18763bfa90b6Smrg 18773bfa90b6Smrg vmwgfx: Hook up XV color conversion control attributes 18783bfa90b6Smrg 18793bfa90b6Smrg This enables the standard XV color conversion control attributes 18803bfa90b6Smrg contrast, scaling, saturation and hue. 18813bfa90b6Smrg 18823bfa90b6Smrg Currently the attribute change takes effect on the next image only. 18833bfa90b6Smrg If we ever implement a ReputImage callback, we can use it to update 18843bfa90b6Smrg the image immediately on attribute change. 18853bfa90b6Smrg 18863bfa90b6Smrg The attribute ranges follow those used by the proprietary Nvidia driver. 18873bfa90b6Smrg 18883bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18893bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 18903bfa90b6Smrg 18913bfa90b6Smrgcommit 8bdc6004d34e274d815bb3f3e0aa223085ea848c 18923bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18933bfa90b6SmrgDate: Wed Dec 7 14:17:45 2011 +0100 18943bfa90b6Smrg 18953bfa90b6Smrg vmwgfx: Adapt to new interface of xa_yuv_planar_blit 18963bfa90b6Smrg 18973bfa90b6Smrg Also make it easier to modify the color conversion matrix based on 18983bfa90b6Smrg yuv encoding properties. 18993bfa90b6Smrg 19003bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19013bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19023bfa90b6Smrg 19033bfa90b6Smrgcommit dba7b865d36ebe06b54987176b1a83cdbc2f846a 19043bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19053bfa90b6SmrgDate: Tue Dec 6 10:00:00 2011 +0100 19063bfa90b6Smrg 19073bfa90b6Smrg vmwgfx: Fix MessageType members that are incorrectly typed as Bool 19083bfa90b6Smrg 19093bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19103bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19113bfa90b6Smrg 19123bfa90b6Smrgcommit 2c438ad8b82f47ac3252403052df16655184acbd 19133bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19143bfa90b6SmrgDate: Tue Dec 6 09:53:16 2011 +0100 19153bfa90b6Smrg 19163bfa90b6Smrg vmwgfx: Add an option to enable rendercheck mode 19173bfa90b6Smrg 19183bfa90b6Smrg Rendercheck mode is used to enable acceleration of all supported composite 19193bfa90b6Smrg operations, regardless of the current data location. The mode is off by 19203bfa90b6Smrg default, but could be turned on to test the hardware composite operation 19213bfa90b6Smrg implementation. Due to excessive data migration, rendercheck mode will be 19223bfa90b6Smrg slow. 19233bfa90b6Smrg 19243bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19253bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19263bfa90b6Smrg 19273bfa90b6Smrgcommit 1736a76246f0a0dab01f5a1066332168d34b2803 19283bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19293bfa90b6SmrgDate: Tue Dec 6 09:21:25 2011 +0100 19303bfa90b6Smrg 19313bfa90b6Smrg vmwgfx: Adapt to the dri state tracker sending depth instead of bpp 19323bfa90b6Smrg 19333bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19343bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19353bfa90b6Smrg 19363bfa90b6Smrgcommit fb35176958bba2f86d6d466ccb7baadcff806512 19373bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19383bfa90b6SmrgDate: Mon Dec 5 20:58:45 2011 +0100 19393bfa90b6Smrg 19403bfa90b6Smrg vmwgfx: Don't register back buffers as "hw_is_dri2_fronts" v2 19413bfa90b6Smrg 19423bfa90b6Smrg That is reserved for dri2 front or fake front pixmaps that need 19433bfa90b6Smrg immediate flushing of software contents to hardware. 19443bfa90b6Smrg 19453bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19463bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19473bfa90b6Smrg 19483bfa90b6Smrgcommit 3c2486e05e98f2ff8f4e3d2633d91e14140a676e 19493bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 19503bfa90b6SmrgDate: Thu Dec 1 16:47:41 2011 +0100 19513bfa90b6Smrg 19523bfa90b6Smrg vmwgfx: Include drm.h from correct path 19533bfa90b6Smrg 19543bfa90b6Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 19553bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 19563bfa90b6Smrg 19573bfa90b6Smrgcommit 995d86ceb0ae8cf2904100405ba6710c89f7f1b7 19583bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19593bfa90b6SmrgDate: Mon Nov 28 14:51:36 2011 +0100 19603bfa90b6Smrg 19613bfa90b6Smrg vmwgfx: Make the drm device name persistent 19623bfa90b6Smrg 19633bfa90b6Smrg The DRI2 code doesn't copy the device name, but assumes the storage 19643bfa90b6Smrg is persistent. 19653bfa90b6Smrg 19663bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19673bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19683bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 19693bfa90b6Smrg 19703bfa90b6Smrgcommit 08ca819238f2c2a0494b0bd8452393fc62907cc1 19713bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19723bfa90b6SmrgDate: Fri Nov 25 14:38:45 2011 +0100 19733bfa90b6Smrg 19743bfa90b6Smrg vmwgfx: Get the drm device name from the open file descriptor 19753bfa90b6Smrg 19763bfa90b6Smrg Rather than hardcoding it. 19773bfa90b6Smrg 19783bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19793bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19803bfa90b6Smrg 19813bfa90b6Smrgcommit d7576c2c50dd0f3b7f70f97d9bde4e8b859e89e5 19823bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19833bfa90b6SmrgDate: Fri Nov 25 11:27:26 2011 +0100 19843bfa90b6Smrg 19853bfa90b6Smrg vmwgfx: Use config options to optionally set GUI topology 19863bfa90b6Smrg 19873bfa90b6Smrg Use option "StaticXinerama" or "GuiLayout" to set initial GUI topology, 19883bfa90b6Smrg similar to how these options are used with the legacy driver. 19893bfa90b6Smrg 19903bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19913bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 19923bfa90b6Smrg 19933bfa90b6Smrgcommit 22d3e58b8810a73c4818d4d3943776a387147b83 19943bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19953bfa90b6SmrgDate: Wed Nov 23 11:02:00 2011 +0100 19963bfa90b6Smrg 19973bfa90b6Smrg vmwlegacy: Factor out code that can be common for vmwgfx and vmwlegacy 19983bfa90b6Smrg 19993bfa90b6Smrg In this case it's the parsing of the gui / statix xinerama topology. 20003bfa90b6Smrg 20013bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20023bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20033bfa90b6Smrg 20043bfa90b6Smrgcommit 2e8aac7031a83f507169f6fe42924c51bdaf7326 20053bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20063bfa90b6SmrgDate: Wed Nov 23 10:49:33 2011 +0100 20073bfa90b6Smrg 20083bfa90b6Smrg vmwlegacy: Accept option "GuiLayout" as a synonym for "staticXinerama" 20093bfa90b6Smrg 20103bfa90b6Smrg It's more user-friendly and in line with what it's being used for in the 20113bfa90b6Smrg vmwgfx driver. 20123bfa90b6Smrg 20133bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20143bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20153bfa90b6Smrg 20163bfa90b6Smrgcommit 31e80b2a609631d85341025d7f2d0fb818f386f5 20173bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20183bfa90b6SmrgDate: Fri Nov 25 09:42:16 2011 +0100 20193bfa90b6Smrg 20203bfa90b6Smrg vmware: Update library dependencies 20213bfa90b6Smrg 20223bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20233bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20243bfa90b6Smrg 20253bfa90b6Smrgcommit da29c648051208b98704860f851564a80bd3b123 20263bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20273bfa90b6SmrgDate: Tue Nov 22 21:06:24 2011 +0100 20283bfa90b6Smrg 20293bfa90b6Smrg vmwgfx: Pre-init fixes 20303bfa90b6Smrg 20313bfa90b6Smrg A bunch of fixes that makes the fallback from vmwgfx to vmwlegacy easier. 20323bfa90b6Smrg 20333bfa90b6Smrg 1) Allow only 16 and 24 bit depths with vmwgfx. We may revisit this later. 20343bfa90b6Smrg 2) Try to reclaim some resources if pre_init fails. 20353bfa90b6Smrg 3) Print error messages so the user understands what happens on fallback. 20363bfa90b6Smrg 20373bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20383bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20393bfa90b6Smrg 20403bfa90b6Smrgcommit e52b1505cfc4a7d0507e14c3b6335a9b9652c50f 20413bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20423bfa90b6SmrgDate: Fri Nov 25 09:15:32 2011 +0100 20433bfa90b6Smrg 20443bfa90b6Smrg vmware: Update the vmware register definition 20453bfa90b6Smrg 20463bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20473bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20483bfa90b6Smrg 20493bfa90b6Smrgcommit 1c77e3d7434f04c59233ce7e497a949e386e1630 20503bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20513bfa90b6SmrgDate: Tue Nov 22 19:56:20 2011 +0100 20523bfa90b6Smrg 20533bfa90b6Smrg vmware: Hook up vmwgfx to be tried before falling back to legacy 20543bfa90b6Smrg 20553bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20563bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20573bfa90b6Smrg 20583bfa90b6Smrgcommit 2aa256c96496ed6dd9dbd5880c278f4422500b0f 20593bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20603bfa90b6SmrgDate: Tue Nov 22 18:37:44 2011 +0100 20613bfa90b6Smrg 20623bfa90b6Smrg vmwlegacy: Factor out bootstrap functions 20633bfa90b6Smrg 20643bfa90b6Smrg Preparing for choosing driver path in preinit instead of using 20653bfa90b6Smrg shim loader. 20663bfa90b6Smrg 20673bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20683bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20693bfa90b6Smrg 20703bfa90b6Smrgcommit abf9cb75630cb27bb4741d194cb23014fe3d09b1 20713bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20723bfa90b6SmrgDate: Thu Nov 17 16:38:22 2011 +0100 20733bfa90b6Smrg 20743bfa90b6Smrg vmwlegacy: Fix up Xinerama / panoramiX replies. 20753bfa90b6Smrg 20763bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20773bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20783bfa90b6Smrg 20793bfa90b6Smrgcommit be23efbc91f47a6a34fbe24f167ee29fdf58f541 20803bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20813bfa90b6SmrgDate: Wed Nov 16 10:23:10 2011 +0100 20823bfa90b6Smrg 20833bfa90b6Smrg vmwlegacy: Fix device fifo communication 20843bfa90b6Smrg 20853bfa90b6Smrg This fixes two issues with the device fifo communication: 20863bfa90b6Smrg 1) Idle the fifo before initializing it. If the fifo is already up and 20873bfa90b6Smrg processing data due to an uncleanly shut down server, and init could 20883bfa90b6Smrg otherwise confuse the device. 20893bfa90b6Smrg 20903bfa90b6Smrg 2) Mark fifo memory volatile when writing to it and make sure commands 20913bfa90b6Smrg are written before telling the device they are available. 20923bfa90b6Smrg 20933bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 20943bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 20953bfa90b6Smrg 20963bfa90b6Smrgcommit 70487eee975c63b5ed1492927bbc661425278276 20973bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 20983bfa90b6SmrgDate: Wed Nov 9 11:34:16 2011 +0100 20993bfa90b6Smrg 21003bfa90b6Smrg vmwgfx: Make sure we don't render when VT switched 21013bfa90b6Smrg 21023bfa90b6Smrg When compiz is enabled, we may try to DMA sw rendered contents of dri2 21033bfa90b6Smrg drawables to surfaces while VT switched. I'm not sure how this could be 21043bfa90b6Smrg happening, but queue the DMA until the next block handler. 21053bfa90b6Smrg 21063bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21073bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 21083bfa90b6Smrg 21093bfa90b6Smrgcommit e1810e0b09e07bdab05a57fdef74450a507e9dfa 21103bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 21113bfa90b6SmrgDate: Tue Nov 8 15:28:40 2011 +0100 21123bfa90b6Smrg 21133bfa90b6Smrg vmwgfx: Fix rendering errors when rotating / unrotating a screen. 21143bfa90b6Smrg 21153bfa90b6Smrg The dirty trackers weren't correctly translated to 21163bfa90b6Smrg pending presents / updates when a pixmap was bound as a scanout. 21173bfa90b6Smrg 21183bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21193bfa90b6Smrg Reviewed-by: Jakob Bornecrants <jakob@vmware.com> 21203bfa90b6Smrg 21213bfa90b6Smrgcommit d0b493d67afd1b5e8c8397c7938752ecd56c91ba 21223bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 21233bfa90b6SmrgDate: Tue Nov 8 14:49:36 2011 +0100 21243bfa90b6Smrg 21253bfa90b6Smrg vmwgfx: A number of damage fixes 21263bfa90b6Smrg 21273bfa90b6Smrg A damage tracker was sometimes attached to a pixmap in the middle of an 21283bfa90b6Smrg operation. That meant that damage was never registered for that operation 21293bfa90b6Smrg which caused dirty-tracking to fail. Instead, add a damage tracker as 21303bfa90b6Smrg soon as we have storage attached to the pixmap. 21313bfa90b6Smrg 21323bfa90b6Smrg Also, when a pixmap was resized, the dirty region trackers could become 21333bfa90b6Smrg stale, and cause DMA operation extending outside of the pixmap with 21343bfa90b6Smrg server crashes as a result. This commit fixes that. 21353bfa90b6Smrg 21363bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21373bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 21383bfa90b6Smrg 21393bfa90b6Smrgcommit aff799d007c8383321213ad177e5a9deec2b3978 21403bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 21413bfa90b6SmrgDate: Tue Nov 1 15:39:07 2011 +0100 21423bfa90b6Smrg 21433bfa90b6Smrg vmwgfx: Add an option to use a scanout surface 21443bfa90b6Smrg 21453bfa90b6Smrg With this option enabled, we compose all contents (both sw and hw) in 21463bfa90b6Smrg the guest before presenting it. Just like the old xorg state tracker did 21473bfa90b6Smrg when 3D was enabled. It's not as bad as the old xorg state tracker was for 21483bfa90b6Smrg interactivity, but there's a small but noticeable lag when moving windows. 21493bfa90b6Smrg 21503bfa90b6Smrg It's mainly intended for testing purposes, like testing the surface 21513bfa90b6Smrg dirty paths in the kernel module. 21523bfa90b6Smrg 21533bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21543bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 21553bfa90b6Smrg 21563bfa90b6Smrgcommit 5137e8736edfab1aaebef4046baab37361584b2e 21573bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 21583bfa90b6SmrgDate: Tue Nov 1 09:59:18 2011 +0100 21593bfa90b6Smrg 21603bfa90b6Smrg vmwgfx: Be correct when setting up damage tracking 21613bfa90b6Smrg 21623bfa90b6Smrg When setting up damage tracking, previously the code would guess wether 21633bfa90b6Smrg sw or hw was currently dirty. The caller always have that information, 21643bfa90b6Smrg so pass it to the damage tracking setup function. 21653bfa90b6Smrg 21663bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21673bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 21683bfa90b6Smrg 21693bfa90b6Smrgcommit ed7bba3cda4b454eec771d3bf0ebed4fd998a82a 21703bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 21713bfa90b6SmrgDate: Tue Nov 1 08:38:52 2011 +0100 21723bfa90b6Smrg 21733bfa90b6Smrg vmwgfx: Add an option for direct presents 21743bfa90b6Smrg 21753bfa90b6Smrg With this option set to true, accelerated copies to a scanout pixmap will 21763bfa90b6Smrg be performed as hardware presents instead of copies to an intermediate 21773bfa90b6Smrg 3D surface backing the scanout pixmap, followed by a present. 21783bfa90b6Smrg 21793bfa90b6Smrg Depending on the application this might be a performance boost, but since 21803bfa90b6Smrg it might trigger device software readbacks in other situations, for example 21813bfa90b6Smrg dri2 copy front->fake_front, it might be a performance hog in other situations, 21823bfa90b6Smrg so disable it by default. (Before this commit it was enabled by default). 21833bfa90b6Smrg 21843bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21853bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 21863bfa90b6Smrg 21873bfa90b6Smrgcommit b2c4a7e682e14fa8af42415d429d6735117fefcb 21883bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 21893bfa90b6SmrgDate: Mon Oct 31 15:14:21 2011 +0100 21903bfa90b6Smrg 21913bfa90b6Smrg vmwgfx: Fix acceleration options. 21923bfa90b6Smrg 21933bfa90b6Smrg Introduce relevant acceleration options and fix up the log printout. 21943bfa90b6Smrg 21953bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 21963bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 21973bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 21983bfa90b6Smrg 21993bfa90b6Smrgcommit da85719e9e373ee8da53388cccc71a0f9c8bbefc 22003bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22013bfa90b6SmrgDate: Mon Oct 31 14:40:55 2011 +0100 22023bfa90b6Smrg 22033bfa90b6Smrg vmwgfx: Remove a couple of unused options 22043bfa90b6Smrg 22053bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 22063bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 22073bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 22083bfa90b6Smrg 22093bfa90b6Smrgcommit b6faecc7613e8c73f0681d20a1a80e5e0ddd4058 22103bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22113bfa90b6SmrgDate: Mon Oct 31 14:27:29 2011 +0100 22123bfa90b6Smrg 22133bfa90b6Smrg vmwgfx: Don't do present readbacks per crtc 22143bfa90b6Smrg 22153bfa90b6Smrg The kernel now takes care of doing this the right way; 22163bfa90b6Smrg no need to duplicate that functionality. 22173bfa90b6Smrg 22183bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 22193bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 22203bfa90b6Smrg 22213bfa90b6Smrgcommit cc7c1c961b77c139b95fbb6948204def1b4b908a 22223bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22233bfa90b6SmrgDate: Mon Oct 31 10:50:09 2011 +0100 22243bfa90b6Smrg 22253bfa90b6Smrg vmwgfx: Fall back to sw cursors if needed 22263bfa90b6Smrg 22273bfa90b6Smrg If there is a risc that we need two simultaneous cursors, 22283bfa90b6Smrg (two outputs showing the same contents, at least one of them explicit), 22293bfa90b6Smrg fall back to sw cursor. 22303bfa90b6Smrg 22313bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 22323bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 22333bfa90b6Smrg 22343bfa90b6Smrgcommit 427064b57c52c8881c7a64d9c9e21411e79e644b 22353bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22363bfa90b6SmrgDate: Wed Oct 26 16:33:30 2011 +0200 22373bfa90b6Smrg 22383bfa90b6Smrg vmwgfx: Fix crtc position of transformed fb 22393bfa90b6Smrg 22403bfa90b6Smrg The fb allocated for transformed data always matches the scanout region, 22413bfa90b6Smrg so set the crtc origin to (0,0) 22423bfa90b6Smrg 22433bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 22443bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 22453bfa90b6Smrg 22463bfa90b6Smrgcommit 55113dae7cbe99bfb69869831536ff34ed445c73 22473bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22483bfa90b6SmrgDate: Wed Oct 26 15:08:18 2011 +0200 22493bfa90b6Smrg 22503bfa90b6Smrg vmwgfx: Hook up vmwarectrl to the gui layout ioctl 22513bfa90b6Smrg 22523bfa90b6Smrg Requires drm 2.3. 22533bfa90b6Smrg 22543bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 22553bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 22563bfa90b6Smrg 22573bfa90b6Smrgcommit c73a7f3d991dd95d332829f2ca8a88aabfea5a46 22583bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22593bfa90b6SmrgDate: Wed Oct 26 07:28:31 2011 +0200 22603bfa90b6Smrg 22613bfa90b6Smrg vmwgfx: Update the connector type name array 22623bfa90b6Smrg 22633bfa90b6Smrg Also map connector types that are not in the array to "Unknown". 22643bfa90b6Smrg 22653bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 22663bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 22673bfa90b6Smrg 22683bfa90b6Smrgcommit a33710b0d16c9c01a1995b60f0b0d4d482f459d3 22693bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22703bfa90b6SmrgDate: Fri Oct 21 11:19:36 2011 +0200 22713bfa90b6Smrg 22723bfa90b6Smrg vmwgfx: Save the dri2 requested depth since it may differ from the drawable 22733bfa90b6Smrg depth. 22743bfa90b6Smrg 22753bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 22763bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 22773bfa90b6Smrg 22783bfa90b6Smrgcommit 4c08c2600936efeedb1a33436876ba82a11218e7 22793bfa90b6SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 22803bfa90b6SmrgDate: Fri Oct 7 13:15:11 2011 -0700 22813bfa90b6Smrg 22823bfa90b6Smrg Build fix for ABI version 12 22833bfa90b6Smrg 22843bfa90b6Smrg This results in the vmware driver assuming there is only one PCI domain, 22853bfa90b6Smrg which I think is true for everywhere this is expected to run anyway. 22863bfa90b6Smrg 22873bfa90b6Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 22883bfa90b6Smrg 22893bfa90b6Smrgcommit 208ccbc7179b40a570a5943e325dd22740a67577 22903bfa90b6SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 22913bfa90b6SmrgDate: Fri Oct 7 13:10:59 2011 -0700 22923bfa90b6Smrg 22933bfa90b6Smrg Fix build failures resulting from changes to the swaps and swapl macros in recent xorg-server 22943bfa90b6Smrg 22953bfa90b6Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 22963bfa90b6Smrg 22973bfa90b6Smrgcommit de70a1d0cb79dad9e52baa43306264db80a163da 22983bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 22993bfa90b6SmrgDate: Wed Oct 5 13:33:17 2011 +0200 23003bfa90b6Smrg 23013bfa90b6Smrg xf86-video-vmware 11.0.99.901 23023bfa90b6Smrg 23033bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 23043bfa90b6Smrg 23053bfa90b6Smrgcommit 26845eb54a15d43f09288a87c5f74beac8fb6ec7 23063bfa90b6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 23073bfa90b6SmrgDate: Tue Sep 27 19:31:22 2011 -0700 23083bfa90b6Smrg 23093bfa90b6Smrg Use dixLookupWindow instead of LookupWindow on Xorg 1.5 & later 23103bfa90b6Smrg 23113bfa90b6Smrg The LookupWindow function was deprecated in xserver commit ed75b056511ccb4 23123bfa90b6Smrg and removed during the Xorg 1.11 merge window by commit 82a8677d9175732. 23133bfa90b6Smrg 23143bfa90b6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 23153bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 23163bfa90b6Smrg 23173bfa90b6Smrgcommit 5c43481aa639053bbbf7fbf5f72f0edecf616731 23183bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 23193bfa90b6SmrgDate: Thu Sep 1 13:59:10 2011 +0200 23203bfa90b6Smrg 23213bfa90b6Smrg vmwgfx: Adapt to vmwgfx kernel driver 2.1 23223bfa90b6Smrg 23233bfa90b6Smrg This introduces fence objects with 2.0, and present / present readback 23243bfa90b6Smrg ioctls with 2.1. 23253bfa90b6Smrg 23263bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 23273bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 23283bfa90b6Smrg 23293bfa90b6Smrgcommit b5438423ad29338429321cd29118a66b715cdcac 23303bfa90b6SmrgAuthor: Matt Turner <mattst88@gmail.com> 23313bfa90b6SmrgDate: Sun Sep 25 14:06:47 2011 -0400 23323bfa90b6Smrg 23333bfa90b6Smrg Fix wrong-sized swaps 23343bfa90b6Smrg 23353bfa90b6Smrg Signed-off-by: Matt Turner <mattst88@gmail.com> 23363bfa90b6Smrg 23373bfa90b6Smrgcommit 3c2f9cc43f7d36952e78d10d224da0ba68ecefea 23383bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 23393bfa90b6SmrgDate: Tue Aug 30 12:22:53 2011 +0200 23403bfa90b6Smrg 23413bfa90b6Smrg vmwgfx-xorg: Avoid enabling unwanted outputs in initial configuration 23423bfa90b6Smrg 23433bfa90b6Smrg Add a hack so that we avoid enabling all connected outputs during the 23443bfa90b6Smrg initial configuration. On older X servers they would be enabled as cloned, 23453bfa90b6Smrg which didn't really cause any problem, but on later X servers they would 23463bfa90b6Smrg initially be enabled next to eachother which looks odd. 23473bfa90b6Smrg 23483bfa90b6Smrg A RandR call will still show the disabled outputs as connected, and if there 23493bfa90b6Smrg is a monitor section in the config file for the output in question, 23503bfa90b6Smrg it will also have a connected status, so that it may be explicitly enabled 23513bfa90b6Smrg or disabled from a config file. 23523bfa90b6Smrg 23533bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 23543bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 23553bfa90b6Smrg 23563bfa90b6Smrgcommit f17abaa926fdbedab1e6236e109fa746fcc2320b 23573bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 23583bfa90b6SmrgDate: Wed Jul 13 16:30:01 2011 +0100 23593bfa90b6Smrg 23603bfa90b6Smrg vmwgfx: Just include vmwgfx_drm.h 23613bfa90b6Smrg 23623bfa90b6Smrg We do this in mesa as well 23633bfa90b6Smrg 23643bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 23653bfa90b6Smrg 23663bfa90b6Smrgcommit b29d71e3adb16f2a8e3e9d534bf8b1c1f8e0d9ef 23673bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 23683bfa90b6SmrgDate: Wed Jul 13 16:28:52 2011 +0100 23693bfa90b6Smrg 23703bfa90b6Smrg saa: Remove superflouos headers includes 23713bfa90b6Smrg 23723bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 23733bfa90b6Smrg 23743bfa90b6Smrgcommit 98ff64fd7a13d2824d6f36b0d8f13d95f8be9e48 23753bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 23763bfa90b6SmrgDate: Mon Jul 11 12:23:32 2011 +0100 23773bfa90b6Smrg 23783bfa90b6Smrg vmwgfx: Fix logic when checking for XA 23793bfa90b6Smrg 23803bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 23813bfa90b6Smrg 23823bfa90b6Smrgcommit 858dbcdddb35b690a543a103d43dcaeb040260c1 23833bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 23843bfa90b6SmrgDate: Sat Jul 9 22:54:41 2011 +0200 23853bfa90b6Smrg 23863bfa90b6Smrg vmwgfx: Don't dirty the front buffer as hw when doing a dri2copyregion from it 23873bfa90b6Smrg 23883bfa90b6Smrg When copying from a dri2 buffer we usually dirty it as hw, since dri has 23893bfa90b6Smrg been rendering to it, and there can only be hw contents in the buffer. 23903bfa90b6Smrg 23913bfa90b6Smrg However for the real front, X has already done the dirty work for us. 23923bfa90b6Smrg 23933bfa90b6Smrg Also remove a glxWaitX() debug message. 23943bfa90b6Smrg 23953bfa90b6Smrg This should fix piglit read-front. 23963bfa90b6Smrg 23973bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 23983bfa90b6Smrg 23993bfa90b6Smrgcommit eea96a6f5ccc6a3a1e2bb2737f211076de443462 24003bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24013bfa90b6SmrgDate: Thu Jul 7 22:02:15 2011 +0200 24023bfa90b6Smrg 24033bfa90b6Smrg vmwgfx: Add boolean flags for different rendering modes 24043bfa90b6Smrg 24053bfa90b6Smrg Basically we support three ways of getting data to the screen: 24063bfa90b6Smrg 1) Mixed mode: We mix presents and updates. 24073bfa90b6Smrg 2) Mixed present optimized: A version of mixed where copies to the front 24083bfa90b6Smrg buffer end up as presents, saving a blit. 24093bfa90b6Smrg 3) 3D surface mode: We only present from a 3D surface. Software contents are 24103bfa90b6Smrg first DMA'd to that surface. 24113bfa90b6Smrg 24123bfa90b6Smrg This change adds boolean flags to the saa struct to select which mode to use. 24133bfa90b6Smrg 24143bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24153bfa90b6Smrg 24163bfa90b6Smrgcommit 9cff0a84308723d9790c6365c0d4b1c107794995 24173bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24183bfa90b6SmrgDate: Thu Jul 7 09:21:56 2011 +0200 24193bfa90b6Smrg 24203bfa90b6Smrg vmwgfx: Various acceleration fixes. 24213bfa90b6Smrg 24223bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24233bfa90b6Smrg 24243bfa90b6Smrgcommit 4ae8aac35b7209576eaeb64347470d3145b27832 24253bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24263bfa90b6SmrgDate: Mon Jul 4 15:39:02 2011 +0200 24273bfa90b6Smrg 24283bfa90b6Smrg vmwlegacy: Fix server termination due to pitch inconsistency. 24293bfa90b6Smrg 24303bfa90b6Smrg Don't require a 32*32 bit pitch alignment when validating modes, since the 24313bfa90b6Smrg requested virtual pitch (pVMWARE->maxWidth*bpp) must be a multiple of that 24323bfa90b6Smrg alignment. If not, the server will terminate with a cryptic error message. 24333bfa90b6Smrg 24343bfa90b6Smrg This is only for validating modes. The driver will adjust the pitch to the 24353bfa90b6Smrg host requirement when a mode is set anyway, and hopefully the host won't 24363bfa90b6Smrg require a pitch it doesn't support. 24373bfa90b6Smrg 24383bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24393bfa90b6Smrg 24403bfa90b6Smrgcommit 81e7099b6bbd9fdae66a3186dfc3fff2758009cf 24413bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24423bfa90b6SmrgDate: Fri Jul 1 13:23:30 2011 +0200 24433bfa90b6Smrg 24443bfa90b6Smrg vmwgfx: Require libxatracker >= 0.4. 24453bfa90b6Smrg 24463bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24473bfa90b6Smrg 24483bfa90b6Smrgcommit d2e27ee5c116cd914d98c2ffa4a974704c250be7 24493bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24503bfa90b6SmrgDate: Fri Jul 1 12:29:50 2011 +0200 24513bfa90b6Smrg 24523bfa90b6Smrg vmwgfx: Set up XA version checking. 24533bfa90b6Smrg 24543bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24553bfa90b6Smrg 24563bfa90b6Smrgcommit 8a9997f060487c0aef07b8e8a95bb3a862de264f 24573bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24583bfa90b6SmrgDate: Fri Jul 1 11:28:52 2011 +0200 24593bfa90b6Smrg 24603bfa90b6Smrg vmwgfx: Try to sort out format handling with composite. 24613bfa90b6Smrg 24623bfa90b6Smrg Try to catch all cases where we have to do readbacks or format conversions 24633bfa90b6Smrg due to composite formats not being compatible with ordinary accel formats. 24643bfa90b6Smrg 24653bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24663bfa90b6Smrg 24673bfa90b6Smrgcommit 8a21da8eaa77bb1ec55ab8b5584554ae6cc41e1e 24683bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24693bfa90b6SmrgDate: Wed Jun 22 22:26:20 2011 +0200 24703bfa90b6Smrg 24713bfa90b6Smrg vmwgfx: Support xa composite. 24723bfa90b6Smrg 24733bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24743bfa90b6Smrg 24753bfa90b6Smrgcommit c7e8388280fc047b33be4f603afa4b7615ffc585 24763bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24773bfa90b6SmrgDate: Wed Jun 22 11:33:14 2011 +0200 24783bfa90b6Smrg 24793bfa90b6Smrg saa: Add driver composite. 24803bfa90b6Smrg 24813bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24823bfa90b6Smrg 24833bfa90b6Smrgcommit b2e116971031d1357f614e9ce1d843768489a304 24843bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24853bfa90b6SmrgDate: Wed Jun 22 10:50:35 2011 +0200 24863bfa90b6Smrg 24873bfa90b6Smrg saa: Reuse code for computing composite bounds. 24883bfa90b6Smrg 24893bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 24903bfa90b6Smrg 24913bfa90b6Smrgcommit 3650be74d5da602653b2b1d3cf3a6bb5a9cb3539 24923bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24933bfa90b6SmrgDate: Tue Jun 21 00:13:32 2011 +0200 24943bfa90b6Smrg 24953bfa90b6Smrg vmwgfx: Try to match created hardware formats with the dri state tracker. 24963bfa90b6Smrg 24973bfa90b6Smrgcommit 63d7ddb35fe8b6743de182b73e6967f97f6a7eba 24983bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 24993bfa90b6SmrgDate: Mon Jun 20 21:57:38 2011 +0200 25003bfa90b6Smrg 25013bfa90b6Smrg vmwgfx: Fix dirty present bug 25023bfa90b6Smrg 25033bfa90b6Smrg Clear dirty present areas when new contents are drawn to the backing 25043bfa90b6Smrg pixmap. Not when it is actually pushed to the screen. 25053bfa90b6Smrg 25063bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25073bfa90b6Smrg 25083bfa90b6Smrgcommit f71928d3f78d9f9e5a0fd240069b9035d4ccac75 25093bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25103bfa90b6SmrgDate: Mon Jun 20 21:48:23 2011 +0200 25113bfa90b6Smrg 25123bfa90b6Smrg vmwgfx: Don't call xa_copy_done after a present. 25133bfa90b6Smrg 25143bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25153bfa90b6Smrg 25163bfa90b6Smrgcommit 4d5aec4a7e4512145c76014591488cb5a98ff0ea 25173bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25183bfa90b6SmrgDate: Mon Jun 20 14:13:46 2011 +0200 25193bfa90b6Smrg 25203bfa90b6Smrg vmwgfx: Make present readbacks not cross scanout bounding box boundaries 25213bfa90b6Smrg 25223bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25233bfa90b6Smrg 25243bfa90b6Smrgcommit f6a4690832143b01d419b52a4cb74350cdfa38bf 25253bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25263bfa90b6SmrgDate: Mon Jun 20 09:58:44 2011 +0200 25273bfa90b6Smrg 25283bfa90b6Smrg vmwgfx: Make a list of scanout bounding boxes available to each scanout pixmap 25293bfa90b6Smrg 25303bfa90b6Smrg This info is needed for present readback. 25313bfa90b6Smrg 25323bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25333bfa90b6Smrg 25343bfa90b6Smrgcommit eea0e6e242a604b1f4d85d947cf2b3f9f4977533 25353bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25363bfa90b6SmrgDate: Mon Jun 20 09:05:48 2011 +0200 25373bfa90b6Smrg 25383bfa90b6Smrg vmwgfx: Import the WSBM list macros 25393bfa90b6Smrg 25403bfa90b6Smrg Use WSBM list handling macros for the glxWaitX flush list. 25413bfa90b6Smrg 25423bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25433bfa90b6Smrg 25443bfa90b6Smrgcommit eabf82fad8ad72aab071cd4e3bc9063022b0aeb3 25453bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25463bfa90b6SmrgDate: Fri Jun 17 11:25:53 2011 +0200 25473bfa90b6Smrg 25483bfa90b6Smrg vmwgfx: Check for large files 25493bfa90b6Smrg 25503bfa90b6Smrg Fixes segfault on 32-bit servers. 25513bfa90b6Smrg 25523bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25533bfa90b6Smrg 25543bfa90b6Smrgcommit 7966dfa47c4d2b022ebf0f25a2db3901376e6cbd 25553bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25563bfa90b6SmrgDate: Fri Jun 17 08:18:13 2011 +0200 25573bfa90b6Smrg 25583bfa90b6Smrg vmwgfx, saa: Build saa as a convenience library 25593bfa90b6Smrg 25603bfa90b6Smrg instead of as a shared object. 25613bfa90b6Smrg 25623bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25633bfa90b6Smrg 25643bfa90b6Smrgcommit d28613e557fcdc4fc69f9a138a8c5fc909a719f5 25653bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25663bfa90b6SmrgDate: Thu Jun 16 21:21:25 2011 +0200 25673bfa90b6Smrg 25683bfa90b6Smrg vmwgfx: Fix up driver build process for Xserver >= 1.7. 25693bfa90b6Smrg 25703bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25713bfa90b6Smrg 25723bfa90b6Smrgcommit 84166d4b457244bcc2f5ace63702d594d602d0c2 25733bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25743bfa90b6SmrgDate: Thu Jun 16 15:55:07 2011 +0200 25753bfa90b6Smrg 25763bfa90b6Smrg vmwgfx, saa: Initial import 25773bfa90b6Smrg 25783bfa90b6Smrg This imports the vmwgfx driver, based on the Gallium3D Xorg state tracker, 25793bfa90b6Smrg as well as the saa library. A "Shadow Acceleration Architecture", which is 25803bfa90b6Smrg optimized for the case where transfers between system (shadow) and hw memory 25813bfa90b6Smrg is very costly. 25823bfa90b6Smrg 25833bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25843bfa90b6Smrg 25853bfa90b6Smrgcommit 0142bb8d10edb153c9ce79a2ea3ff92a7fb15ac5 25863bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 25873bfa90b6SmrgDate: Wed Mar 30 12:37:24 2011 +0200 25883bfa90b6Smrg 25893bfa90b6Smrg vmwlegacy: Don't prune modes based on the virtual size of the default mode 25903bfa90b6Smrg 25913bfa90b6Smrg We might be pruning modes based on the virtual size of the default mode in 25923bfa90b6Smrg some situations. Avoid this by allowing a virtual size equal to the device 25933bfa90b6Smrg max size, unless the user has requested something else. 25943bfa90b6Smrg 25953bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 25963bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 25973bfa90b6Smrg 25983bfa90b6Smrgcommit 04297d435b87e3d04a427ac8ef33d314727220e6 25993bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 26003bfa90b6SmrgDate: Wed Mar 30 12:22:43 2011 +0200 26013bfa90b6Smrg 26023bfa90b6Smrg vmwlegacy: Fix up default mode VRefresh anc Clock calculation 26033bfa90b6Smrg 26043bfa90b6Smrg The VRefresh value was a factor 1000 too high. 26053bfa90b6Smrg Calculate clock based on vrefresh and resolution. 26063bfa90b6Smrg 26073bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 26083bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 26093bfa90b6Smrg 26103bfa90b6Smrgcommit c5ca599361c87ec816db92d4f9841143f8601934 26113bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 26123bfa90b6SmrgDate: Wed Mar 30 11:01:06 2011 +0200 26133bfa90b6Smrg 26143bfa90b6Smrg vmwlegacy: Fix a bug in screen dimension calculation 26153bfa90b6Smrg 26163bfa90b6Smrg This bug resulted in incorrect screen dimensions and DPI being calculated 26173bfa90b6Smrg in some circumstances, leading to among other things bad aspect ratios in xine. 26183bfa90b6Smrg 26193bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 26203bfa90b6Smrg 26213bfa90b6Smrgcommit c02d5977015983473a9bbae97ec65ce70a5faa3b 26223bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 26233bfa90b6SmrgDate: Tue Mar 29 13:03:39 2011 +0200 26243bfa90b6Smrg 26253bfa90b6Smrg vmwlegacy: Make sure we draw the colorkey to the right drawable 26263bfa90b6Smrg 26273bfa90b6Smrg Don't draw the colorkey to the screen drawable, but to the video drawable 26283bfa90b6Smrg when possible. 26293bfa90b6Smrg 26303bfa90b6Smrg Also change the Xv API/ABI test to use the builtin ABI version 26313bfa90b6Smrg functions. 26323bfa90b6Smrg 26333bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 26343bfa90b6Smrg Reviewed-by: Michel D�nzer <daenzer@vmware.com> 26353bfa90b6Smrg 26363bfa90b6Smrgcommit b234d7d6925b480a9c4fe23e5100e6fe7e5c0eac 26373bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 26383bfa90b6SmrgDate: Tue Mar 29 11:18:24 2011 +0200 26393bfa90b6Smrg 26403bfa90b6Smrg vmwlegacy: Silence a number of warnings 26413bfa90b6Smrg 26423bfa90b6Smrg This potentially also fixes a use of an uninitialized pointer value, which 26433bfa90b6Smrg may cause OOM or segfaults. 26443bfa90b6Smrg 26453bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 26463bfa90b6Smrg Reviewed-by: Michel D�nzer <daenzer@vmware.com> 26473bfa90b6Smrg 26483bfa90b6Smrgcommit cdb04224db69a6b3beb66c99879e20917b8b0fb2 26493bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 26503bfa90b6SmrgDate: Fri Mar 25 19:17:00 2011 +0100 26513bfa90b6Smrg 26523bfa90b6Smrg vmwlegacy: Fix segfault and setup of initial mode. 26533bfa90b6Smrg 26543bfa90b6Smrg The fact that modes were added without names caused segfaults on older 26553bfa90b6Smrg X servers. At least up to and including Xserver 1.4. 26563bfa90b6Smrg 26573bfa90b6Smrg Also, for some reason, at least Xserver 1.4 insists on setting the first mode 26583bfa90b6Smrg in the modelist, even if we set another mode as the current one. 26593bfa90b6Smrg 26603bfa90b6Smrg Work around this by inserting a new mode with the current screen dimensions, 26613bfa90b6Smrg and add that modename last to the array of display requested mode names. 26623bfa90b6Smrg This means that if none of the previous mode names are found, we will at least 26633bfa90b6Smrg find the newly inserted mode. 26643bfa90b6Smrg 26653bfa90b6Smrg Also, if there are no requested mode names at all, the driver previously 26663bfa90b6Smrg chose the largest mode that fit the timings. Now we will, in that case, 26673bfa90b6Smrg always select the newly inserted mode and thus not change resolution unless 26683bfa90b6Smrg specified. 26693bfa90b6Smrg 26703bfa90b6Smrg Also add an option to not add this default mode. The option 26713bfa90b6Smrg "AddDefaultMode" is true by default. 26723bfa90b6Smrg 26733bfa90b6Smrg Finally when we restore registers at exit and VT switch, make sure we 26743bfa90b6Smrg reprogram the initial width, height and bpp for the next time we start a 26753bfa90b6Smrg server. 26763bfa90b6Smrg 26773bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 26783bfa90b6Smrg 26793bfa90b6Smrgcommit 9a8f0af8782fd5e9de2d71dfa86fad1d48d52b64 26803bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 26813bfa90b6SmrgDate: Thu Mar 3 09:47:48 2011 +0100 26823bfa90b6Smrg 26833bfa90b6Smrg Remove unused variable 26843bfa90b6Smrg 26853bfa90b6Smrg Signed-off-by: Cyril Brulebois <kibi@debian.org> 26863bfa90b6Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 26873bfa90b6Smrg 26883bfa90b6Smrgcommit c208a5380b20f910ab49433abc0d39dce6bb5528 26893bfa90b6SmrgAuthor: Alan Hourihane <alanh@vmware.com> 26903bfa90b6SmrgDate: Wed Feb 16 18:53:14 2011 +0100 26913bfa90b6Smrg 26923bfa90b6Smrg vmwlegacy: Fix mode lookup 26933bfa90b6Smrg 26943bfa90b6Smrg In situations where we have trouble finding a specified mode, 26953bfa90b6Smrg use the resolution given by the width and height device registers. 26963bfa90b6Smrg 26973bfa90b6Smrg Signed-off-by: Alan Hourihane <alanh@vmware.com> 26983bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 26993bfa90b6Smrg 27003bfa90b6Smrgcommit 2e5001b7e93c63c2cd25d7d8ebdee8a420c13b96 27013bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27023bfa90b6SmrgDate: Wed Feb 16 18:47:02 2011 +0100 27033bfa90b6Smrg 27043bfa90b6Smrg vmwlegacy: Add a missing include 27053bfa90b6Smrg 27063bfa90b6Smrg The test for Xserver >= 1.2 in the affected file was always failing. 27073bfa90b6Smrg 27083bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 27093bfa90b6Smrg Reviewed-by: Michel Dänzer <daenzer@vmware.com> 27103bfa90b6Smrg 27113bfa90b6Smrgcommit b3c244ebd7899a66aa401d2d7b0ddc66ee56e6d7 27123bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27133bfa90b6SmrgDate: Wed Feb 16 17:29:47 2011 +0100 27143bfa90b6Smrg 27153bfa90b6Smrg vmwlegacy: Don't attempt to call RRSendConfigNotify on Xservers < 1.2 27163bfa90b6Smrg 27173bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 27183bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 27193bfa90b6Smrg Reviewed-by: Michel Dänzer <daenzer@vmware.com> 27203bfa90b6Smrg 27213bfa90b6Smrgcommit eacfa46ada8562bfb15d3fc6a8af272d88036d2f 27223bfa90b6SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 27233bfa90b6SmrgDate: Thu Jan 27 11:09:39 2011 +0100 27243bfa90b6Smrg 27253bfa90b6Smrg vmwlegacy: Send ConfigureNotify events on Xinerama state changes with no mode change 27263bfa90b6Smrg 27273bfa90b6Smrg Signed-off-by: Michel D�nzer <daenzer@vmware.com> 27283bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 27293bfa90b6Smrg 27303bfa90b6Smrgcommit cc66e4a49a4a9ac90940d7866db5bc7621cb7e16 27313bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27323bfa90b6SmrgDate: Thu Jan 27 11:02:44 2011 +0100 27333bfa90b6Smrg 27343bfa90b6Smrg Fix crosscompile build for older Xservers v2 27353bfa90b6Smrg 27363bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 27373bfa90b6Smrg 27383bfa90b6Smrgcommit d1ac343b8894a9b8a34c1dcf4b6aeb57239034c0 27393bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27403bfa90b6SmrgDate: Fri Jan 21 23:07:10 2011 +0100 27413bfa90b6Smrg 27423bfa90b6Smrg Revert "Fix crosscompile build for older Xservers" 27433bfa90b6Smrg 27443bfa90b6Smrg This reverts commit 16e16390385d890b3666485a40369f4c690d5033. 27453bfa90b6Smrg 27463bfa90b6Smrg The fix was bogus as pointed out by Cyril Bruleboid <kibi@debian.org>, and 27473bfa90b6Smrg Gaetan Nadon <memsize@videotron.ca> 27483bfa90b6Smrg 27493bfa90b6Smrgcommit 16e16390385d890b3666485a40369f4c690d5033 27503bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27513bfa90b6SmrgDate: Thu Jan 13 13:17:17 2011 +0100 27523bfa90b6Smrg 27533bfa90b6Smrg Fix crosscompile build for older Xservers 27543bfa90b6Smrg 27553bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 27563bfa90b6Smrg 27573bfa90b6Smrgcommit 5b30df47117bc65fd5f14667671041428e1d00b5 27583bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27593bfa90b6SmrgDate: Thu Jan 13 12:52:14 2011 +0100 27603bfa90b6Smrg 27613bfa90b6Smrg vmwlegacy: Remove Write-Combining setups 27623bfa90b6Smrg 27633bfa90b6Smrg The virtual CPUs doesn't support it anyway. 27643bfa90b6Smrg Once suggested by Michel Daenzer. 27653bfa90b6Smrg 27663bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 27673bfa90b6Smrg 27683bfa90b6Smrgcommit 8f8f71f0075d9d5cbbfca93425462ba03c5b8046 27693bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 27703bfa90b6SmrgDate: Tue Nov 9 14:31:30 2010 +0100 27713bfa90b6Smrg 27723bfa90b6Smrg Bump package version to 11.0.3 for release 27733bfa90b6Smrg 27743bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 27753bfa90b6Smrg 2776a241306cSmrgcommit 30ac6eaf64aa4831025555b72b65843686a35094 2777a241306cSmrgAuthor: Jesse Adkins <jesserayadkins@gmail.com> 2778a241306cSmrgDate: Tue Sep 28 13:29:52 2010 -0700 2779a241306cSmrg 2780a241306cSmrg Purge cvs tags. 2781a241306cSmrg 2782a241306cSmrg Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> 2783a241306cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2784a241306cSmrg 2785a241306cSmrgcommit 083a663bbb186bfb854eda3b9f33d7fc24252ec5 2786a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2787a241306cSmrgDate: Thu Sep 16 10:08:12 2010 +0200 2788a241306cSmrg 2789a241306cSmrg Make the modinfo string contain an optional subpatch number 2790a241306cSmrg 2791a241306cSmrg The idea is that the build system assigns this number if needed. 2792a241306cSmrg As an example it might be the commit number since the last version tag. 2793a241306cSmrg 2794a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2795a241306cSmrg 2796a241306cSmrgcommit 5a2206c328caaed95daf91aff9220d3a51b492bd 2797a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2798a241306cSmrgDate: Thu Sep 16 09:58:07 2010 +0200 2799a241306cSmrg 2800a241306cSmrg Make sure we build on 1.4.99. 2801a241306cSmrg 2802a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2803a241306cSmrg 2804a241306cSmrgcommit da0f931b90833c7f706ace24b0c9dff2672f1e97 2805a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2806a241306cSmrgDate: Wed Sep 8 09:57:35 2010 +0200 2807a241306cSmrg 2808a241306cSmrg vmwlegacy: Fix a segfault in vmwareCursorCloseScreen. 2809a241306cSmrg 2810a241306cSmrg The segfault occured because the named function was using resources that 2811a241306cSmrg were already taken down, because VMWARECloseScreen was called very late 2812a241306cSmrg in the CloseScreen callchain. 2813a241306cSmrg 2814a241306cSmrg Make sure we wrap the CloseScreen pointers late in ScreenInit to avoid this. 2815a241306cSmrg 2816a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2817a241306cSmrg 2818a241306cSmrgcommit 03dca39afa06da04472d56ec4888f010186c6a13 2819a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2820a241306cSmrgDate: Tue Sep 7 21:55:28 2010 +0200 2821a241306cSmrg 2822a241306cSmrg vmwlegacy: A number of Xv fixes 2823a241306cSmrg 2824a241306cSmrg Properly init and uninit the port private clipboxes on setup and end. 2825a241306cSmrg Clear the port private clipboxes on video stop, to force re-painting 2826a241306cSmrg of the colorkey when the stream is resumed. 2827a241306cSmrg Make sure the colorkey is painted *before* the overlay is flushed. Some 2828a241306cSmrg host implementations seem picky about this. 2829a241306cSmrg 2830a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2831a241306cSmrg 2832a241306cSmrgcommit dfb062e024dfd20789ee8d43c7f94640faa5ea9f 2833a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2834a241306cSmrgDate: Tue Sep 7 12:17:46 2010 +0200 2835a241306cSmrg 2836a241306cSmrg vmware/vmwlegacy: Silence compilation errors and -warnings. 2837a241306cSmrg 2838a241306cSmrg Silence warnings and errors on various server versions due to incorrect 2839a241306cSmrg usage of libc functions. 2840a241306cSmrg 2841a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2842a241306cSmrg 2843a241306cSmrgcommit 12e4577c020c6905d09459d833fd1c5313f1647b 2844a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2845a241306cSmrgDate: Fri Sep 3 11:19:01 2010 +0200 2846a241306cSmrg 2847a241306cSmrg vmwlegacy: Always scale screen dimensions to the initial DPI on modeswitch. 2848a241306cSmrg 2849a241306cSmrg When we switch mode we usually alter the size in a constant DPI environment 2850a241306cSmrg rather than keeping the size constant and alter the DPI. 2851a241306cSmrg 2852a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2853a241306cSmrg 2854a241306cSmrgcommit 81a0a1a37e703296d109022bb76a1291e84064fd 2855a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2856a241306cSmrgDate: Wed Sep 1 07:58:18 2010 +0200 2857a241306cSmrg 2858a241306cSmrg vmware: Handle chain-loader failures gracefully. 2859a241306cSmrg 2860a241306cSmrg If the vmwlegacy driver wasn't present when expected, that would 2861a241306cSmrg leave the X server in a confused state. Thus report loading errors properly 2862a241306cSmrg back to the X server. 2863a241306cSmrg 2864a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2865a241306cSmrg 2866a241306cSmrgcommit 2a72ea7a1b1519451350e0741d145f513124a208 2867a241306cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2868a241306cSmrgDate: Wed Aug 18 10:57:02 2010 -0400 2869a241306cSmrg 2870a241306cSmrg vmwarectrl: rework standalone package as a subdir of driver 2871a241306cSmrg 2872a241306cSmrg vmwarectrl is a unit test client tool for developers. 2873a241306cSmrg By default, it is not built unless --enable-vmwarectrl-client is used. 2874a241306cSmrg 2875a241306cSmrg Acked-by: Thomas Hellstrom <thellstrom@vmware.com> 2876a241306cSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 2877a241306cSmrg 2878a241306cSmrgcommit f51ca2cb756dcd541a27f0326496f0aadab3f214 2879a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2880a241306cSmrgDate: Wed Aug 18 11:34:49 2010 +0200 2881a241306cSmrg 2882a241306cSmrg Make the driver build and run without libdrm. 2883a241306cSmrg 2884a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2885a241306cSmrg 2886a241306cSmrgcommit 2e6eca3e7bb19ea69db2cc367c9704c7d657db79 2887a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2888a241306cSmrgDate: Thu Aug 12 17:43:59 2010 +0200 2889a241306cSmrg 2890a241306cSmrg Only set the first xinerama output as primary. 2891a241306cSmrg 2892a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2893a241306cSmrg 2894a241306cSmrgcommit 456b74e8778ab0c44e8a70aa45f447ff5c562be3 2895a241306cSmrgAuthor: Adam Jackson <ajax@redhat.com> 2896a241306cSmrgDate: Tue Aug 10 11:02:05 2010 -0400 2897a241306cSmrg 2898a241306cSmrg xf86-video-vmware 11.0.2 2899a241306cSmrg 2900a241306cSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 2901a241306cSmrg 29021f27ce9aSmrgcommit c29d24b2ca598011b84387006f03a9360910707f 29031f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29041f27ce9aSmrgDate: Fri Jul 23 21:02:33 2010 -0400 29051f27ce9aSmrg 29061f27ce9aSmrg config: add AM_PROG_CC_C_O for per-target compilation flags 29071f27ce9aSmrg 29081f27ce9aSmrg The use of per-target compilation flags with C sources requires 29091f27ce9aSmrg that the macro AM_PROG_CC_C_O be called from configure.ac 29101f27ce9aSmrg 29111f27ce9aSmrg If the C compiler does not accept the -c and -o options simultaneously, 29121f27ce9aSmrg define NO_MINUS_C_MINUS_O. This macro actually tests both the compiler 29131f27ce9aSmrg found by AC_PROG_CC, and, if different, the first cc in the path. 29141f27ce9aSmrg The test fails if one fails. This macro was created for GNU Make 29151f27ce9aSmrg to choose the default C compilation rule. 29161f27ce9aSmrg 29171f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29181f27ce9aSmrg 29191f27ce9aSmrgcommit dfbef04f1ff9430a01ca0ca682be32a8606e9e13 29201f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29211f27ce9aSmrgDate: Wed Jul 21 16:49:04 2010 -0400 29221f27ce9aSmrg 29231f27ce9aSmrg config: add comments for main statements 29241f27ce9aSmrg 29251f27ce9aSmrgcommit 0dbd97fe7d411549aa343c25dab9c70087532727 29261f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29271f27ce9aSmrgDate: Wed Jul 21 16:07:00 2010 -0400 29281f27ce9aSmrg 29291f27ce9aSmrg config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES 29301f27ce9aSmrg 29311f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29321f27ce9aSmrg 29331f27ce9aSmrgcommit dfaa0b6391ebc32f4e81d8add053eabea44d0881 29341f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29351f27ce9aSmrgDate: Wed Jul 21 14:37:42 2010 -0400 29361f27ce9aSmrg 29371f27ce9aSmrg config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 29381f27ce9aSmrg 29391f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29401f27ce9aSmrg 29411f27ce9aSmrgcommit dd0bb4ac5730331070eac2c39880718eeff3760b 29421f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29431f27ce9aSmrgDate: Wed Jul 21 14:05:23 2010 -0400 29441f27ce9aSmrg 29451f27ce9aSmrg config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 29461f27ce9aSmrg 29471f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29481f27ce9aSmrg 29491f27ce9aSmrgcommit f07d572611ba072c5952fea526e7178202d36685 29501f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29511f27ce9aSmrgDate: Wed Jul 21 09:27:42 2010 -0400 29521f27ce9aSmrg 29531f27ce9aSmrg config: complete AC_INIT m4 quoting 29541f27ce9aSmrg 29551f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29561f27ce9aSmrg 29571f27ce9aSmrgcommit 79956ca804b4ca6227f878cf794edafefa00d25a 29581f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29591f27ce9aSmrgDate: Tue Jul 20 21:44:58 2010 -0400 29601f27ce9aSmrg 29611f27ce9aSmrg config: remove unrequired AC_SUBST([XORG_CFLAGS]) 29621f27ce9aSmrg 29631f27ce9aSmrg This macro is called by PKG_CHECK_MODULES 29641f27ce9aSmrg 29651f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29661f27ce9aSmrg 29671f27ce9aSmrgcommit cee7a37a38f83cd5300a19f17493e43eb532e619 29681f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29691f27ce9aSmrgDate: Tue Jul 20 20:24:42 2010 -0400 29701f27ce9aSmrg 29711f27ce9aSmrg config: remove unrequired AC_HEADER_STDC 29721f27ce9aSmrg 29731f27ce9aSmrg Autoconf says: 29741f27ce9aSmrg "This macro is obsolescent, as current systems have conforming 29751f27ce9aSmrg header files. New programs need not use this macro". 29761f27ce9aSmrg 29771f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29781f27ce9aSmrg 29791f27ce9aSmrgcommit 8adb672ac3f754d02e377745c16f64151b50522a 29801f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29811f27ce9aSmrgDate: Tue Jul 20 19:41:31 2010 -0400 29821f27ce9aSmrg 29831f27ce9aSmrg config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 29841f27ce9aSmrg 29851f27ce9aSmrg XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 29861f27ce9aSmrg AC_PROG_C_C99. This sets gcc with -std=gnu99. 29871f27ce9aSmrg If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 29881f27ce9aSmrg 29891f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 29901f27ce9aSmrg 29911f27ce9aSmrgcommit d867b84e425cdf66542eebaabd8adb95b8121960 29921f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 29931f27ce9aSmrgDate: Tue Jul 20 18:45:19 2010 -0400 29941f27ce9aSmrg 29951f27ce9aSmrg config: update AC_PREREQ statement to 2.60 29961f27ce9aSmrg 29971f27ce9aSmrg Unrelated to the previous patches, the new value simply reflects 29981f27ce9aSmrg the reality that the minimum level for autoconf to configure 29991f27ce9aSmrg all x.org modules is 2.60 dated June 2006. 30001f27ce9aSmrg 30011f27ce9aSmrg ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 30021f27ce9aSmrg 30031f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 30041f27ce9aSmrg 30051f27ce9aSmrgcommit 190a6b7e032e37e33dda42482038b8fd1fd9d8af 30061f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 30071f27ce9aSmrgDate: Tue Jul 20 16:15:30 2010 -0400 30081f27ce9aSmrg 30091f27ce9aSmrg config: upgrade to util-macros 1.8 for additional man page support 30101f27ce9aSmrg 30111f27ce9aSmrg Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 30121f27ce9aSmrg The value of MAN_SUBST is the same for all X.Org packages. 30131f27ce9aSmrg 30141f27ce9aSmrgcommit e647511e4b9b924b0617171c56b3bb485674b3ff 30151f27ce9aSmrgAuthor: Julien Cristau <jcristau@debian.org> 30161f27ce9aSmrgDate: Tue Jul 13 11:57:15 2010 +0100 30171f27ce9aSmrg 30181f27ce9aSmrg Don't crash the server on Xorg -configure 30191f27ce9aSmrg 30201f27ce9aSmrgcommit 0bd99bb142093c0072147ec3bb665864b4cadef5 30211f27ce9aSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br> 30221f27ce9aSmrgDate: Thu Jul 1 07:18:11 2010 -0300 30231f27ce9aSmrg 30241f27ce9aSmrg Purge macros NEED_EVENTS and NEED_REPLIES 30251f27ce9aSmrg 30261f27ce9aSmrg Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 30271f27ce9aSmrg Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 30281f27ce9aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 30291f27ce9aSmrg 30301f27ce9aSmrgcommit f307f77a34f3a6777f74458819f6a3519c2c3f2b 30311f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 30321f27ce9aSmrgDate: Sun Jun 13 13:10:55 2010 -0400 30331f27ce9aSmrg 30341f27ce9aSmrg COPYING: replace stub file with actual Copyright notices. 30351f27ce9aSmrg 30361f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 30371f27ce9aSmrg 30381f27ce9aSmrgcommit 423d8a069a2d86068a8f22926a73bc965670315d 30391f27ce9aSmrgAuthor: Michel Dänzer <daenzer@vmware.com> 30401f27ce9aSmrgDate: Mon Mar 29 10:19:04 2010 +0200 30411f27ce9aSmrg 30421f27ce9aSmrg Fix some issues pointed out by compiler warnings. 30431f27ce9aSmrg 30441f27ce9aSmrg * vmware_chain_module() doesn't return any values. 30451f27ce9aSmrg * Remove an unused local variable. 30461f27ce9aSmrg 3047b68e1f86Smrgcommit cc77a36048863640fb1fa9f82b5b0dbf41326872 3048b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3049b68e1f86SmrgDate: Thu Mar 18 15:30:36 2010 +0100 30506df26cacSmrg 3051b68e1f86Smrg Bump for 11.0.1 release. 30526df26cacSmrg 3053b68e1f86Smrgcommit a5fb3698a033bfe7789641fd6719d8d4fb054201 3054b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3055b68e1f86SmrgDate: Tue Mar 9 08:37:11 2010 +0000 30566df26cacSmrg 3057b68e1f86Smrg Rework chainloader code to check for vmwgfx userspace driver as well 30586df26cacSmrg 3059b68e1f86Smrgcommit bf18be6f458a4612b2ebdd8d2b5894f8884891e4 3060b68e1f86SmrgAuthor: Roland Scheidegger <sroland@vmware.com> 3061b68e1f86SmrgDate: Tue Mar 9 16:10:25 2010 +0100 30626df26cacSmrg 3063b68e1f86Smrg fix a cursor refcounting bug, leading to segfaults 3064b68e1f86Smrg 3065b68e1f86Smrg this is similar to what xf86_use_hw_cursor() does, which is replaced by 3066b68e1f86Smrg vmwareUseHWCursor (otherwise, the refcount could reach zero and hence the 3067b68e1f86Smrg cursor deallocated while xf86CursorEnableDisableFBAccess() could still bring 3068b68e1f86Smrg it back to life from the saved cursor). 3069b68e1f86Smrg It is probably insane to do refcounting here, but this needs a xserver fix, 3070b68e1f86Smrg and even if that's fixed this fix here shouldn't hurt (though would be 3071b68e1f86Smrg unnecessary). 30726df26cacSmrg 3073b68e1f86Smrgcommit 257614ae9bea54d6a46e4477496500a84853ee37 3074b68e1f86SmrgAuthor: Roland Scheidegger <sroland@vmware.com> 3075b68e1f86SmrgDate: Tue Mar 9 16:03:59 2010 +0100 30766df26cacSmrg 3077b68e1f86Smrg make DEBUG_LOGGING compile 30786df26cacSmrg 3079b68e1f86Smrgcommit 29f6a2dca3e680908e938767256c9b995653ca7f 3080b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3081b68e1f86SmrgDate: Sun Mar 7 15:02:39 2010 +0000 30826df26cacSmrg 3083b68e1f86Smrg Print text about none fatal error message with Fatal in it 30846df26cacSmrg 3085b68e1f86Smrgcommit 204504861a2847734a04bd976accb0c730733523 3086b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3087b68e1f86SmrgDate: Fri Feb 26 16:27:17 2010 +0100 30886df26cacSmrg 3089b68e1f86Smrg Don't hardcode the module version in the source 3090b68e1f86Smrg 3091b68e1f86Smrg As pointed out by Julien Cristau XORG_RELEASE_VERSION 3092b68e1f86Smrg gives us that info from configure.ac. 3093b68e1f86Smrg 3094b68e1f86Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 30956df26cacSmrg 3096b68e1f86Smrgcommit 667263d9410bd0d5832cf08a2a28841fe6326b84 3097b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3098b68e1f86SmrgDate: Thu Feb 18 14:11:32 2010 +0100 30996df26cacSmrg 3100b68e1f86Smrg Bump major for new chainloading driver 31016df26cacSmrg 3102b68e1f86Smrgcommit 048fe839f0d761aeba95c324f14bdc5488e9e634 3103b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3104b68e1f86SmrgDate: Mon Feb 22 13:20:06 2010 +0100 31056df26cacSmrg 3106b68e1f86Smrg Link to drm but on for the vmware chainloader driver 31076df26cacSmrg 3108b68e1f86Smrgcommit 30964ffa31f4fdbffe563b7d7d20bfbf1ed22969 3109b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3110b68e1f86SmrgDate: Thu Feb 18 15:20:31 2010 +0100 31116df26cacSmrg 3112b68e1f86Smrg Make sure that modinfo strings are unique 31136df26cacSmrg 3114b68e1f86Smrgcommit 0f2b02d72e36dc6390c09d6adba13e4101bf3df8 3115b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3116b68e1f86SmrgDate: Thu Feb 11 23:18:37 2010 +0100 31176df26cacSmrg 3118b68e1f86Smrg Add modinfo for vmware_drv.so 31196df26cacSmrg 3120b68e1f86Smrgcommit c4f5bf8ea45b80c2ac4a5eec65ff58f148fb2807 3121b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 3122b68e1f86SmrgDate: Thu Feb 11 22:04:53 2010 +0100 31236df26cacSmrg 3124b68e1f86Smrg Add a chain loading module to load new vmwgfx driver if kernel module is loaded 31256df26cacSmrg 3126b68e1f86Smrgcommit 0d9d1724dbe113dcc02736a8ca80ab540057cb5e 3127b68e1f86SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 3128b68e1f86SmrgDate: Fri Jan 15 14:13:42 2010 -0800 31296df26cacSmrg 3130b68e1f86Smrg Update Sun license notices to current X.Org standard form 3131b68e1f86Smrg 3132b68e1f86Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 31336df26cacSmrg 3134b68e1f86Smrgcommit e0d370ae5f307d96e9dd9384cc0ea66a0f6c06c1 3135b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3136b68e1f86SmrgDate: Tue Dec 15 22:01:02 2009 -0500 3137b68e1f86Smrg 3138b68e1f86Smrg configure.ac: remove unused sdkdir=$(pkg-config...) statement 3139b68e1f86Smrg 3140b68e1f86Smrg The sdkdir variable isn't use, so remove the statement. 3141b68e1f86Smrg 3142b68e1f86Smrg Acked-by: Dan Nicholson <dbn.lists@gmail.com> 3143b68e1f86Smrg 3144b68e1f86Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 3145b68e1f86Smrg 3146b68e1f86Smrgcommit 991830e39c34d0a4530a5c5023ec92cf0d7395b0 3147b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 3148b68e1f86SmrgDate: Tue Dec 29 17:53:35 2009 +0100 3149b68e1f86Smrg 3150b68e1f86Smrg Bump for 10.16.9 release. 3151b68e1f86Smrg 3152b68e1f86Smrgcommit 5a36fcb6a5899e5cfdf6d65e05e3f999d5d25b2a 3153b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 3154b68e1f86SmrgDate: Tue Dec 29 17:00:45 2009 +0100 3155b68e1f86Smrg 3156b68e1f86Smrg VMWAREComposite: Only hide cursor if source picture is backed by drawable. 3157b68e1f86Smrg 3158b68e1f86Smrg Should fix https://bugs.freedesktop.org/show_bug.cgi?id=14208 . 3159b68e1f86Smrg 3160b68e1f86Smrgcommit 4bec18ab8dffd90ab84b986de2136a9d848d3a4a 3161b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 3162b68e1f86SmrgDate: Tue Dec 29 16:41:16 2009 +0100 3163b68e1f86Smrg 3164b68e1f86Smrg vmware: Fix crash with xserver >= 1.7. 3165b68e1f86Smrg 3166b68e1f86Smrg Fixes https://bugs.freedesktop.org/show_bug.cgi?id=24541 . 3167b68e1f86Smrg 3168b68e1f86Smrgcommit 74c830e61bdf700c7e422aaa5b1a0136561295dd 3169b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3170b68e1f86SmrgDate: Mon Nov 23 09:25:06 2009 -0500 3171b68e1f86Smrg 3172b68e1f86Smrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 3173b68e1f86Smrg 3174b68e1f86Smrg Now that the INSTALL file is generated. 3175b68e1f86Smrg Allows running make maintainer-clean. 3176b68e1f86Smrg 3177b68e1f86Smrgcommit e8f5a924226aacc280923aed661b5a821fdaffe8 3178b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3179b68e1f86SmrgDate: Wed Oct 28 14:41:41 2009 -0400 3180b68e1f86Smrg 3181b68e1f86Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 3182b68e1f86Smrg 3183b68e1f86Smrg Automake 'foreign' option is specified in configure.ac. 3184b68e1f86Smrg Remove from Makefile.am 3185b68e1f86Smrg 3186b68e1f86Smrgcommit edb6fcb49bae735c45d9565f7aa8313396cf3b15 3187b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3188b68e1f86SmrgDate: Wed Oct 28 14:09:10 2009 -0400 3189b68e1f86Smrg 3190b68e1f86Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 3191b68e1f86Smrg 3192b68e1f86Smrg Add missing INSTALL file. Use standard GNU file on building tarball 3193b68e1f86Smrg README may have been updated 3194b68e1f86Smrg Remove AUTHORS file as it is empty and no content available yet. 3195b68e1f86Smrg Remove NEWS file as it is empty and no content available yet. 3196b68e1f86Smrg 3197b68e1f86Smrgcommit dcb3d3ed2ba2129b433eee0d18ec86e1e0a6f21f 3198b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3199b68e1f86SmrgDate: Mon Oct 26 12:54:23 2009 -0400 3200b68e1f86Smrg 3201b68e1f86Smrg Several driver modules do not have a ChangeLog target in Makefile.am #23814 3202b68e1f86Smrg 3203b68e1f86Smrg The git generated ChangeLog replaces the hand written one. 3204b68e1f86Smrg Update configure.ac to xorg-macros level 1.3. 3205b68e1f86Smrg Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros 3206b68e1f86Smrg Update Makefile.am to add ChangeLog target if missing 3207b68e1f86Smrg Remove ChangeLog from EXTRA_DIST or *CLEAN variables 3208b68e1f86Smrg This is a pre-req for the INSTALL_CMD 3209b68e1f86Smrg 3210b68e1f86Smrgcommit a9dc11de80966fe00efb6c061a6df00678f80b1f 3211b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3212b68e1f86SmrgDate: Thu Oct 22 13:06:19 2009 -0400 3213b68e1f86Smrg 3214b68e1f86Smrg .gitignore: use common defaults with custom section # 24239 3215b68e1f86Smrg 3216b68e1f86Smrg Using common defaults will reduce errors and maintenance. 3217b68e1f86Smrg Only the very small or inexistent custom section need periodic maintenance 3218b68e1f86Smrg when the structure of the component changes. Do not edit defaults. 3219b68e1f86Smrg 3220b68e1f86Smrgcommit 082d1689a8e017d29b108ed3a251141ddf32a35d 3221b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3222b68e1f86SmrgDate: Thu Oct 22 12:34:18 2009 -0400 3223b68e1f86Smrg 3224b68e1f86Smrg .gitignore: use common defaults with custom section # 24239 3225b68e1f86Smrg 3226b68e1f86Smrg Using common defaults will reduce errors and maintenance. 3227b68e1f86Smrg Only the very small or inexistent custom section need periodic maintenance 3228b68e1f86Smrg when the structure of the component changes. Do not edit defaults. 3229b68e1f86Smrg 3230b68e1f86Smrgcommit 6c8fc7b280295b823675285ed78b0fb2365bcf07 3231b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3232b68e1f86SmrgDate: Tue Sep 8 22:21:33 2009 -0700 3233b68e1f86Smrg 3234b68e1f86Smrg Bump fo 10.16.8 Release 3235b68e1f86Smrg 3236b68e1f86Smrgcommit e3e3d8d2488bd289660943e9038bdbe29e11cf77 3237b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 3238b68e1f86SmrgDate: Mon Sep 7 11:12:13 2009 -0400 3239b68e1f86Smrg 3240b68e1f86Smrg xf86-video-vmware: Remove unused .cvsignore file #23776 3241b68e1f86Smrg 3242b68e1f86Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3243b68e1f86Smrg 3244b68e1f86Smrgcommit cce33db3f95c6f3c8537c782063b6ca9ad68f332 3245b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com> 3246b68e1f86SmrgDate: Tue Jul 28 15:22:42 2009 +1000 3247b68e1f86Smrg 3248b68e1f86Smrg vmware: change to using ABI version check 3249b68e1f86Smrg 3250b68e1f86Smrgcommit 0fddce5511b761206bb5f59dcd17652f15bda5ef 3251b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com> 3252b68e1f86SmrgDate: Tue Jul 28 14:11:59 2009 +1000 3253b68e1f86Smrg 3254b68e1f86Smrg vmware: fix resource removal properly 3255b68e1f86Smrg 3256b68e1f86Smrgcommit 4605e8d3a99ddcd75314051bd00b51d8ecee06a1 3257b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com> 3258b68e1f86SmrgDate: Tue Jul 28 13:32:41 2009 +1000 3259b68e1f86Smrg 3260b68e1f86Smrg vmware: update for resources/RAC API removal 3261b68e1f86Smrg 3262b68e1f86Smrgcommit 382c25f53870da0db0ee74f343c20c312e6b03af 3263b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3264b68e1f86SmrgDate: Mon Jul 20 18:03:47 2009 -0700 3265b68e1f86Smrg 3266b68e1f86Smrg Bump for 10.16.7 Release. 3267b68e1f86Smrg 3268b68e1f86Smrgcommit c2d9678431a40f6a15dc7f50690507cdda8d11e2 3269b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 3270b68e1f86SmrgDate: Mon Jun 1 10:47:51 2009 -0700 3271b68e1f86Smrg 3272b68e1f86Smrg An imperfect fix for Xinerama state changes without a mode change 3273b68e1f86Smrg 3274b68e1f86Smrg This patch improves behaviour for Xinerama state changes (via the 3275b68e1f86Smrg VMWARE_CTRL) extension that don't have an accompanying mode change. 3276b68e1f86Smrg This will be the case if a new Xinerama monitor layout has a bounding 3277b68e1f86Smrg box with an identical size to that of the previous layout. 3278b68e1f86Smrg 3279b68e1f86Smrg Prior to this patch, the behaviour was pretty bad. If you sent two 3280b68e1f86Smrg Xinerama states with the same bounding box, the second state would 3281b68e1f86Smrg be set as pending but no actual mode change would occur, because 3282b68e1f86Smrg the X server would already be in the right video mode. This means 3283b68e1f86Smrg that the pending mode stays pending. 3284b68e1f86Smrg 3285b68e1f86Smrg If another Xinerama state comes in after this, we would hit our 3286b68e1f86Smrg "Aborting due to existing pending state" error, and the new state 3287b68e1f86Smrg would be discarded. This means we'd drop the mode switch on the 3288b68e1f86Smrg floor, plus we'd lie to the client and say it worked. 3289b68e1f86Smrg 3290b68e1f86Smrg One example of the user-visible symptoms from this: The user has 3291b68e1f86Smrg four monitors of the same size. We'll call them A through D. 3292b68e1f86Smrg The VM goes into full-screen mode, and they set it to use screens 3293b68e1f86Smrg ABC. Now they switch to BCD. These have the same bounding box size, 3294b68e1f86Smrg so no mode change occurs and a topology is still pending. Now they 3295b68e1f86Smrg switch to monitors BC. This mode switch is dropped, so the guest 3296b68e1f86Smrg is still in the ABC topology and the mode is too wide for BC. 3297b68e1f86Smrg 3298b68e1f86Smrg This patch is an incomplete fix. If we're setting a new topology 3299b68e1f86Smrg with the same bounding box, we'll flush the Xinerama state 3300b68e1f86Smrg immediately since we know the mode switch will never occur. This 3301b68e1f86Smrg means we don't get stuck with xineramaNextState set when it 3302b68e1f86Smrg shouldn't be, and we don't have the problem with dropping 3303b68e1f86Smrg subsequent mode changes. We also do set the new Xinerama state, 3304b68e1f86Smrg so apps that query it will see the updated state immediately. 3305b68e1f86Smrg 3306b68e1f86Smrg But the fix isn't perfect- as far as I can tell, there's no way 3307b68e1f86Smrg to notify applications that the monitor layout changed without 3308b68e1f86Smrg a mode switch. So even though we've set the new topology, most 3309b68e1f86Smrg apps won't notice. There are ways we could hack around this, 3310b68e1f86Smrg but none of them are pretty. 3311b68e1f86Smrg 3312b68e1f86Smrgcommit d10841493c4707f23f928d7580bc5bddb51d22a6 3313b68e1f86SmrgAuthor: Bob Long <blong@vmware.com> 3314b68e1f86SmrgDate: Fri May 22 15:48:55 2009 -0700 3315b68e1f86Smrg 3316b68e1f86Smrg Fix black screen after resume from hibernate. 3317b68e1f86Smrg 3318b68e1f86Smrg The root cause for the black screen and system lock up is 3319b68e1f86Smrg caused by not recovering the SVGA ID register after hibernation. 3320b68e1f86Smrg Incorrect ID register value will invalidate the FIFO memory start 3321b68e1f86Smrg register, and driver will not retrieve correct FIFO memory start 3322b68e1f86Smrg address and the busy read of svga FIFO sync register will lock up 3323b68e1f86Smrg the whole system. 3324b68e1f86Smrg 3325b68e1f86Smrg Currently SVGA Xorg driver does not have a kernel module to handle 3326b68e1f86Smrg the power management event, but Xorg will call driver provided 3327b68e1f86Smrg LeaveVT before shutting down system and call EnterVT after resuming 3328b68e1f86Smrg system from hibernation, so these two callback functions are good 3329b68e1f86Smrg entry points to save and restore the ID register value. This patch 3330b68e1f86Smrg saves the ID register value in LeaveVT and restores the value to 3331b68e1f86Smrg SVGA ID register in EnterVT. 3332b68e1f86Smrg 3333b68e1f86Smrgcommit b4ea3052f843c2d1c285252cbf1bed2f4857f96c 3334b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3335b68e1f86SmrgDate: Tue May 12 16:48:43 2009 -0700 3336b68e1f86Smrg 3337b68e1f86Smrg Bump for 10.16.6 release 3338b68e1f86Smrg 3339b68e1f86Smrgcommit 8e15f6669ff2cb5bf4260ac87a481a4e38044b26 3340b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 3341b68e1f86SmrgDate: Tue May 12 16:46:39 2009 -0700 3342b68e1f86Smrg 3343b68e1f86Smrg Better cursor size limit and explanation 3344b68e1f86Smrg 3345b68e1f86Smrg Increase the cursor size limit to 64x64, and give a 3346b68e1f86Smrg better explanation of the host's cursor size limits. 3347b68e1f86Smrg 3348b68e1f86Smrgcommit bfa3dfc27b05d4a2deff230f8241bd44f72fb7a0 3349b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 3350b68e1f86SmrgDate: Tue May 12 16:46:00 2009 -0700 3351b68e1f86Smrg 3352b68e1f86Smrg Allow cursor updates while unhidden 3353b68e1f86Smrg 3354b68e1f86Smrg This change just adds a flag to our hardware cursor, 3355b68e1f86Smrg telling Xorg that it doesn't need to hide the cursor 3356b68e1f86Smrg when updating its shape. This fixes the cursor flicker 3357b68e1f86Smrg in X11. 3358b68e1f86Smrg 3359b68e1f86Smrgcommit dccc9376a4fb1cba9c35b7617989608497fca7be 3360b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 3361b68e1f86SmrgDate: Tue May 12 16:45:29 2009 -0700 3362b68e1f86Smrg 3363b68e1f86Smrg Unbreak vmwarectrl setres 3364b68e1f86Smrg 3365b68e1f86Smrg The vmwarectrl tool's "setres" command was unusable, 3366b68e1f86Smrg because it looks like someone added the settopology 3367b68e1f86Smrg test without updating the argument indices for setres. 3368b68e1f86Smrg This patch makes setres usable again. 3369b68e1f86Smrg 3370b68e1f86Smrgcommit b7dbdd28764a8f3883833ab818a7b7314632b0b2 3371b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 3372b68e1f86SmrgDate: Tue May 12 16:44:42 2009 -0700 3373b68e1f86Smrg 3374b68e1f86Smrg Fix dynamic mode edge cases 3375b68e1f86Smrg 3376b68e1f86Smrg The VMware Xorg driver supports dynamic modelines that can be set from 3377b68e1f86Smrg userspace via an X extension. These are used to implement VM features 3378b68e1f86Smrg which need to automatically change the resolution of the guest OS. 3379b68e1f86Smrg 3380b68e1f86Smrg This driver implements the feature using two modelines. The driver 3381b68e1f86Smrg would alternately update one mode then the other, so that in typical 3382b68e1f86Smrg usage one mode is current and the other is available for the next mode 3383b68e1f86Smrg switch. 3384b68e1f86Smrg 3385b68e1f86Smrg This usually worked, but there were many edge cases that could cause 3386b68e1f86Smrg this alternating pattern to get 'out of sync', so we'd end up changing 3387b68e1f86Smrg the resolution of the current video mode. This could end up putting 3388b68e1f86Smrg the X server in a state where the screen resolution has been changed, 3389b68e1f86Smrg but the hardware was never reprogrammed for the new resolution. 3390b68e1f86Smrg 3391b68e1f86Smrg This patch fixes the problem by explicitly searching for a dynamic 3392b68e1f86Smrg mode that isn't currently in use. We no longer rely on the alternating 3393b68e1f86Smrg pattern. 3394b68e1f86Smrg 3395b68e1f86Smrgcommit cfe8793180ec633dd7a17d059ad882ef461ed1d9 3396b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 3397b68e1f86SmrgDate: Tue May 12 16:43:13 2009 -0700 3398b68e1f86Smrg 3399b68e1f86Smrg Update README 3400b68e1f86Smrg 3401b68e1f86Smrg Updates the copyright date, and replaces the rather out-of-date 3402b68e1f86Smrg 2D documentation with a link to the updated 2D and 3D docs on 3403b68e1f86Smrg Source Forge. 3404b68e1f86Smrg 3405b68e1f86Smrgcommit e3769142d80953d6da484eb979f5274c8a3abeb3 3406b68e1f86SmrgAuthor: Shelley Gong <shelleygong@vmware.com> 3407b68e1f86SmrgDate: Thu Apr 16 13:28:47 2009 -0700 3408b68e1f86Smrg 3409b68e1f86Smrg Automatically add modelines for the driver's built-in set of modes. 3410b68e1f86Smrg 3411b68e1f86Smrg The driver has had a built-in set of modes for a while, but there 3412b68e1f86Smrg was nothing adding modelines to back them up, causing initial modes 3413b68e1f86Smrg to be rejected at startup with certain Xorg versions. 3414b68e1f86Smrg 3415b68e1f86Smrg This change adds the actual modelines for sufficiently new versions 3416b68e1f86Smrg of the server (>= 1.2), as the necessary calls were only introduced 3417b68e1f86Smrg at that time. 3418b68e1f86Smrg 3419b68e1f86Smrgcommit 3c223e8f7b03e2d7f8c31faeeeeb37030c461176 3420b68e1f86SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 3421b68e1f86SmrgDate: Fri Jan 9 16:39:07 2009 -0800 3422b68e1f86Smrg 3423b68e1f86Smrg Remove xorgconfig & xorgcfg from See Also list in man page 3424b68e1f86Smrg 3425b68e1f86Smrgcommit 1bbef3aa7ab15ee93cd4cd47c3d484ac91f0440d 3426b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3427b68e1f86SmrgDate: Tue Aug 19 11:23:44 2008 -0700 3428b68e1f86Smrg 3429b68e1f86Smrg Bump version for 10.16.5 release. 3430b68e1f86Smrg 3431b68e1f86Smrgcommit 6ea8e5000519865dd936cfe82d67efc7d107a28c 3432b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com> 3433b68e1f86SmrgDate: Tue Aug 19 11:23:02 2008 -0700 3434b68e1f86Smrg 3435b68e1f86Smrg Add RegionEqual function for older XFree86 versions. 3436b68e1f86Smrg 3437b68e1f86Smrg Fixes bug : http://bugzilla.eng.vmware.com/show_bug.cgi?id=312853 3438b68e1f86Smrg 3439b68e1f86Smrg When we added AUTOPAINT_COLORKEY capability to our VMware video driver, 3440b68e1f86Smrg region functions were used to keep track of colorkey painting. 3441b68e1f86Smrg 3442b68e1f86Smrg REGION_EQUAL was one of them. 3443b68e1f86Smrg 3444b68e1f86Smrg Unfortunately REGION_EQUAL was not present in regionstr.h shipped with XFree86 version 3445b68e1f86Smrg 4.3.0. 3446b68e1f86Smrg This version is used by TurboLinux 10; causing X server to crash while playing videos. 3447b68e1f86Smrg 3448b68e1f86Smrg REGION_EQUAL was added in revision 1.8 of regionstr.h and available for xfree86 version 3449b68e1f86Smrg 4.3.99 3450b68e1f86Smrg onwards. 3451b68e1f86Smrg Reference: 3452b68e1f86Smrg http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/include/regionstr.h.diff?r1=1.7&r2=1.8 3453b68e1f86Smrg 3454b68e1f86Smrg When I compiled the existing code(without my change), I see a warning was generated 3455b68e1f86Smrg indicating REGION_EQUAL is not present. 3456b68e1f86Smrg Too bad we missed it. 3457b68e1f86Smrg 3458b68e1f86Smrg This patch includes 3459b68e1f86Smrg 1) Slightly modified version of miRegionEqual from miRegion.c 3460b68e1f86Smrg 2) Some formating cleanup. 3461b68e1f86Smrg 3462b68e1f86Smrgcommit 0576b87c27d3d885cc698a3cc013bcfa4021942c 3463b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3464b68e1f86SmrgDate: Mon Jul 21 15:26:01 2008 -0700 3465b68e1f86Smrg 3466b68e1f86Smrg Prepare for 10.16.4 release. 3467b68e1f86Smrg 3468b68e1f86Smrgcommit ad8f17dec71632d0e606af1bea9432ece0bc97db 3469b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3470b68e1f86SmrgDate: Mon Jul 21 15:23:50 2008 -0700 3471b68e1f86Smrg 3472b68e1f86Smrg Video Overlay: Handle clipping correctly with AutoPaint colorkey. 3473b68e1f86Smrg 3474b68e1f86Smrg We recently added XV_AUTOPAINT_COLORKEY attribute to the X video driver 3475b68e1f86Smrg to enable applications like Real player that rely on this attribute to 3476b68e1f86Smrg display video frames in Linux guest. 3477b68e1f86Smrg 3478b68e1f86Smrg When this attribute is SET, we paint the colorkey on 1st frame and from 3479b68e1f86Smrg there on only when the video is moved. 3480b68e1f86Smrg 3481b68e1f86Smrg This introduced a bug 305202 with clipping. 3482b68e1f86Smrg 3483b68e1f86Smrg Consider a case when the video is playing, obscure the player window 3484b68e1f86Smrg with another window, without moving the player window, move the other 3485b68e1f86Smrg window away. The part of the window that was obscured didn't display 3486b68e1f86Smrg the video. 3487b68e1f86Smrg 3488b68e1f86Smrg With this patch instead of relying on the target rectangle, we use 3489b68e1f86Smrg the clipBoxes supplied in every frame. 3490b68e1f86Smrg 3491b68e1f86Smrgcommit 71f1ca515cd1b3d92397682f4fcea120c392b26e 3492b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3493b68e1f86SmrgDate: Fri Jul 18 14:03:09 2008 -0700 3494b68e1f86Smrg 3495b68e1f86Smrg Prepare for 10.16.3 3496b68e1f86Smrg 3497b68e1f86Smrg Bump up version numbers. 3498b68e1f86Smrg 3499b68e1f86Smrgcommit e7f404938b7ccd4c7e61c71c6c182ca8ee8d875f 3500b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3501b68e1f86SmrgDate: Fri Jul 18 13:59:34 2008 -0700 3502b68e1f86Smrg 3503b68e1f86Smrg Video Overlay: Add XV_AUTOPAINT_COLORKEY capability to the Xv extension of Linux guest driver. 3504b68e1f86Smrg 3505b68e1f86Smrg Applications use XV_AUTOPAINT_COLORKEY capability to let the driver handle the painting 3506b68e1f86Smrg of colorkey. 3507b68e1f86Smrg 3508b68e1f86Smrg Real Player assumes this capability as ON by default and hence prior to this patch videos 3509b68e1f86Smrg didn't play with Real player. 3510b68e1f86Smrg 3511b68e1f86Smrg With this patch: 3512b68e1f86Smrg a) If AUTOPAINT_COLORKEY is SET then the driver handles the painting of the colorkey. 3513b68e1f86Smrg Painting is done on the 1st frame and from there on only if the video frame moves. 3514b68e1f86Smrg 3515b68e1f86Smrg b) Adds UYVY fourcc format to keep it consistent with Windows SVGA driver and the host backends. 3516b68e1f86Smrg 3517b68e1f86Smrg c) Changes the default colorkey from a pungent GREEN to a darker shade. 3518b68e1f86Smrg Real Player sets this colorkey and it looks better when the video is moved around. 3519b68e1f86Smrg 3520b68e1f86Smrgcommit 0705e7093e42f7a5ae909477150fd5bb416f8da0 3521b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3522b68e1f86SmrgDate: Wed Jul 2 21:32:44 2008 -0400 3523b68e1f86Smrg 3524b68e1f86Smrg Trivial fix: Delete ASSERT() statement 3525b68e1f86Smrg 3526b68e1f86Smrg Delete the ASSERT() statement that got introduced in the previous check-in. 3527b68e1f86Smrg 3528b68e1f86Smrgcommit f4b5158960c3402e18a0fcf0e0211b68b0f0f127 3529b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3530b68e1f86SmrgDate: Wed Jul 2 18:17:58 2008 -0400 3531b68e1f86Smrg 3532b68e1f86Smrg Fix video overlay offscreen allocation bug 3533b68e1f86Smrg 3534b68e1f86Smrg When Kaffeine player stops a video, it sets the cleanup flag to FALSE and may 3535b68e1f86Smrg start playing the next video. In its present state the driver does not check or 3536b68e1f86Smrg clean up the offscreen area. This is a bug as the newer video might need more 3537b68e1f86Smrg offscreen space for its frame. The fix is to check for the offscreen frame size 3538b68e1f86Smrg in videoPlay and restart the stream if necessary. 3539b68e1f86Smrg 3540b68e1f86Smrgcommit b53bb2ad4c6f6e378cbf82a98cac917736d62740 3541b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3542b68e1f86SmrgDate: Thu Jun 12 17:34:30 2008 -0400 3543b68e1f86Smrg 3544b68e1f86Smrg Prepare for 10.16.2 3545b68e1f86Smrg 3546b68e1f86Smrg Bump up version numbers. 3547b68e1f86Smrg 3548b68e1f86Smrgcommit 1f7a8390a32852d2ff0039a7d8138a292d17b50a 3549b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3550b68e1f86SmrgDate: Tue Apr 29 18:29:11 2008 -0400 3551b68e1f86Smrg 3552b68e1f86Smrg Fix VMWARE_CTRL and Xinerama Initialization 3553b68e1f86Smrg 3554b68e1f86Smrg Move initialization code for the vmware control and xinerama extensions to 3555b68e1f86Smrg VMWAREScreenInit(), so that auto-resize and multi-mon work fine after a user 3556b68e1f86Smrg logs out and logs in again in a graphical display manager. 3557b68e1f86Smrg 3558b68e1f86Smrgcommit db027200474684c0aa4b9387f3ed53b2e5f24478 3559b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3560b68e1f86SmrgDate: Tue Apr 22 14:18:45 2008 -0400 3561b68e1f86Smrg 3562b68e1f86Smrg More xorg and xfree86 backwards compatibility 3563b68e1f86Smrg 3564b68e1f86Smrg Push most of the xorg-server version checking into the configure script. With 3565b68e1f86Smrg this change, unmodified driver source compiles in the XFree86 4.3 tree. 3566b68e1f86Smrg 3567b68e1f86Smrgcommit 6849c0a5fbf10722ca475d2ffcce7d0d95d2377a 3568b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3569b68e1f86SmrgDate: Fri Apr 18 18:00:38 2008 -0400 3570b68e1f86Smrg 3571b68e1f86Smrg Change // comments to /* 3572b68e1f86Smrg 3573b68e1f86Smrg This will make it easier to compile the driver against ancient versions of X. 3574b68e1f86Smrg 3575b68e1f86Smrgcommit b6c59761e2b984be32493f35224db523dd62bcd8 3576b68e1f86SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 3577b68e1f86SmrgDate: Thu Apr 17 23:04:45 2008 -0400 3578b68e1f86Smrg 3579b68e1f86Smrg Compile warning fixes 3580b68e1f86Smrg 3581b68e1f86Smrg Major problem was prototype vmwareInitVideo not matching implementation 3582b68e1f86Smrg vmwareVideoInit. Remaining are adding an "ansification" of a function without 3583b68e1f86Smrg arguments, and removing/disabling unused variables/functions. 3584b68e1f86Smrg 3585b68e1f86Smrgcommit 7870dc715b1efe173af1e2664778e2066508e066 3586b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3587b68e1f86SmrgDate: Thu Apr 17 20:54:23 2008 -0400 3588b68e1f86Smrg 3589b68e1f86Smrg Bump version to 10.16.1 in configure.ac 3590b68e1f86Smrg 3591b68e1f86Smrg The previous change didn't bump up the version in configure.ac. 3592b68e1f86Smrg 3593b68e1f86Smrgcommit be75c66fa7933c7dfa86e5514c744f47734c5fc8 3594b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3595b68e1f86SmrgDate: Thu Apr 17 20:39:02 2008 -0400 3596b68e1f86Smrg 3597b68e1f86Smrg Prepare for 10.16.1 3598b68e1f86Smrg 3599b68e1f86Smrg Update the modinfo section and make a configure.ac fix. 3600b68e1f86Smrg 3601b68e1f86Smrgcommit 87e9b32618f037d78d7853b48e40a71533b764d2 3602b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3603b68e1f86SmrgDate: Thu Apr 17 19:16:48 2008 -0400 3604b68e1f86Smrg 3605b68e1f86Smrg Fix build for all modular versions of Xorg 3606b68e1f86Smrg 3607b68e1f86Smrg This change makes the video driver compile with Xorg 7.0. There are a couple of 3608b68e1f86Smrg trivial changes that bring down the maximum Xserver version down to 2.0. Hacky, 3609b68e1f86Smrg but good enough for now. 3610b68e1f86Smrg 3611b68e1f86Smrgcommit e4fa13951a7c5dd53005a63392a439e2329fab9c 3612b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3613b68e1f86SmrgDate: Wed Mar 26 21:32:47 2008 -0400 3614b68e1f86Smrg 3615b68e1f86Smrg Send down guest display topology 3616b68e1f86Smrg 3617b68e1f86Smrg Send down the Xinerama topology from the guest down to the host, by setting 3618b68e1f86Smrg display topology registers in the SVGA device. 3619b68e1f86Smrg 3620b68e1f86Smrgcommit 5aced9e39a0bf7590c841824c0b66060eb7d5e03 3621b68e1f86SmrgAuthor: Adam Jackson <ajax@redhat.com> 3622b68e1f86SmrgDate: Wed Mar 19 17:03:18 2008 -0400 3623b68e1f86Smrg 3624b68e1f86Smrg vmware 10.16.0 3625b68e1f86Smrg 3626b68e1f86Smrgcommit cd8bb3018946e82b98207984efc26b13ac260e5e 3627b68e1f86SmrgAuthor: Adam Jackson <ajax@redhat.com> 3628b68e1f86SmrgDate: Wed Mar 19 17:00:41 2008 -0400 3629b68e1f86Smrg 3630b68e1f86Smrg Fix distcheck. 3631b68e1f86Smrg 3632b68e1f86Smrgcommit 1314a1cd22823a5a7202dac4ac04da3801f1ec94 3633b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com> 3634b68e1f86SmrgDate: Fri Mar 14 12:42:40 2008 -0400 3635b68e1f86Smrg 3636b68e1f86Smrg Video Overlay: Source video parameters 3637b68e1f86Smrg 3638b68e1f86Smrg This patch adds parameters to the source video frame. Applications can request 3639b68e1f86Smrg only a subset of the source video frame to be displayed. These parameters are 3640b68e1f86Smrg srcX, srcY, srcWidth and srcHeight. width and height represent the entire 3641b68e1f86Smrg source video frame. 3642b68e1f86Smrg 3643b68e1f86Smrgcommit fdef3fd5ea62a2df6283d48ba18d5c60300534ef 3644b68e1f86SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 3645b68e1f86SmrgDate: Sun Mar 9 00:08:32 2008 +0100 3646b68e1f86Smrg 3647b68e1f86Smrg Makefile.am: nuke RCS Id 3648b68e1f86Smrg 3649b68e1f86Smrgcommit bfd8398dde2d2de238c600eece9374d24d7d8549 3650b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com> 3651b68e1f86SmrgDate: Wed Jan 23 22:13:07 2008 -0800 3652b68e1f86Smrg 3653b68e1f86Smrg Xv extension for VMware's video driver 3654b68e1f86Smrg 3655b68e1f86Smrg This patch implements the Xv extension for VMware's X video driver. 3656b68e1f86Smrg 3657b68e1f86Smrg The Xv specification can be found here 3658b68e1f86Smrg http://www.xfree86.org/current/DESIGN16.html 3659b68e1f86Smrg 3660b68e1f86Smrg I've written a trivial offscreen memory manager that allocates memory from the 3661b68e1f86Smrg bottom part of the Video RAM and it can handle only 1 video-stream. Eventually 3662b68e1f86Smrg we intend to support upto 32 video-streams (there is already support for 3663b68e1f86Smrg multiple video streams in respective backends). 3664b68e1f86Smrg 3665b68e1f86Smrgcommit a33ab73ffa5d3797d16c3a265ddefc56a5a93b6b 3666b68e1f86SmrgAuthor: Vinay <vinay@vinayb-dev4.(none)> 3667b68e1f86SmrgDate: Sat Jan 19 08:39:24 2008 -0800 3668b68e1f86Smrg 3669b68e1f86Smrg Trivial libpciaccess related fix 3670b68e1f86Smrg 3671b68e1f86Smrg Fix VMWAREUnmapMem to correctly unmap memory for the libpciaccess case. 3672b68e1f86Smrg 3673b68e1f86Smrgcommit 62d898669baccfd4c312f3ed8f228d0c3217d3c3 3674b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 3675b68e1f86SmrgDate: Mon Oct 8 10:54:04 2007 -0700 3676b68e1f86Smrg 3677b68e1f86Smrg Port to libpciaccess. 3678b68e1f86Smrg 3679b68e1f86Smrgcommit 73db59fd82ced7a88f6da35d5088608e163f3d86 3680b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3681b68e1f86SmrgDate: Tue Sep 25 16:06:38 2007 -0700 3682b68e1f86Smrg 3683b68e1f86Smrg Update for 10.15.2 release 3684b68e1f86Smrg 3685b68e1f86Smrgcommit ee2fe14d37c9f3c8a170f8e3fcbc62403687ab8f 3686b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3687b68e1f86SmrgDate: Mon Sep 24 11:48:12 2007 -0700 3688b68e1f86Smrg 3689b68e1f86Smrg There are problems when running with old X releases with a 3690b68e1f86Smrg global symbol collision with the mouse driver. 3691b68e1f86Smrg 3692b68e1f86Smrgcommit cfdb0140fa53155ae134ba961ec7d593d5d94713 3693b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3694b68e1f86SmrgDate: Mon Sep 10 21:19:38 2007 -0700 3695b68e1f86Smrg 3696b68e1f86Smrg Guard modinfo section against gcc. 3697b68e1f86Smrg 3698b68e1f86Smrgcommit e41aef1fb187c1b450fbea0163eb16e0c40f0435 3699b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3700b68e1f86SmrgDate: Mon Sep 10 21:16:04 2007 -0700 3701b68e1f86Smrg 3702b68e1f86Smrg Ready 10.15.1 release. 3703b68e1f86Smrg 3704b68e1f86Smrg To allow for easier detection of driver version by other VMware tools, 3705b68e1f86Smrg we are embedding the version in a .modinfo section so that the Linux 3706b68e1f86Smrg kernel 'modinfo' tool can be (ab)used to check it. 3707b68e1f86Smrg 3708b68e1f86Smrgcommit 2331c7d1629f9841c02cf907ef4fa8b679cc5141 3709b68e1f86SmrgAuthor: James Cloos <cloos@jhcloos.com> 3710b68e1f86SmrgDate: Mon Sep 3 05:52:51 2007 -0400 3711b68e1f86Smrg 3712b68e1f86Smrg Add *~ to .gitignore to skip patch/emacs droppings 3713b68e1f86Smrg 3714b68e1f86Smrgcommit ec4dc29434bbbcf382de51fe3355679654489ad7 3715b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3716b68e1f86SmrgDate: Mon Jul 9 13:45:22 2007 -0700 3717b68e1f86Smrg 3718b68e1f86Smrg Update copyright date. 3719b68e1f86Smrg 3720b68e1f86Smrgcommit 0c76b95e7aeac034cc598ea6a407187f76466411 3721b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3722b68e1f86SmrgDate: Fri Feb 9 15:06:17 2007 -0800 3723b68e1f86Smrg 3724b68e1f86Smrg Add svga_modes.h to Makefile.am 3725b68e1f86Smrg 3726b68e1f86Smrgcommit a283c62c1db9e25ba11c6d72e4d00e0d911d64a2 3727b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3728b68e1f86SmrgDate: Fri Feb 9 11:09:17 2007 -0800 3729b68e1f86Smrg 3730b68e1f86Smrg Filter out default modes that are larger than the hardware 3731b68e1f86Smrg maxmimum size and add an explicit mode for the hardware 3732b68e1f86Smrg maximum. 3733b68e1f86Smrg 3734b68e1f86Smrgcommit f4540555dc8c823dfec53dddeb82e2b7b0dbfe3d 3735b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3736b68e1f86SmrgDate: Fri Feb 9 10:00:32 2007 -0800 3737b68e1f86Smrg 3738b68e1f86Smrg Correct the incorrect 1080p resolution. 3739b68e1f86Smrg 3740b68e1f86Smrg Should be 1920x1080 and not 1900x1080. Whoops. 3741b68e1f86Smrg 3742b68e1f86Smrgcommit eca6e9f9458440feebd6598aee24f02a3fd7a75f 3743b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3744b68e1f86SmrgDate: Thu Feb 8 18:22:16 2007 -0800 3745b68e1f86Smrg 3746b68e1f86Smrg Bump version to 10.15.0 3747b68e1f86Smrg 3748b68e1f86Smrg This release adds truely usable resizing support by 3749b68e1f86Smrg removing the restriction that the you cannot resize 3750b68e1f86Smrg larger than the initial mode. 3751b68e1f86Smrg 3752b68e1f86Smrgcommit 2ec8c25cc935a318bd07c0d1fba9960dfe8f38d4 3753b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3754b68e1f86SmrgDate: Thu Feb 8 18:07:19 2007 -0800 3755b68e1f86Smrg 3756b68e1f86Smrg Fix a race condition when switching to a multihead fullscreen mode. 3757b68e1f86Smrg 3758b68e1f86Smrg Due to implemtation details on the host side, switching to a multihead 3759b68e1f86Smrg fullscreen mode means multiple mode changes along the way. However, 3760b68e1f86Smrg because rrSetScreenConfig returns before the mode change completes, 3761b68e1f86Smrg we can enter a race, where a subsequent SetDisplayTopology overrides 3762b68e1f86Smrg the current pending one, leading to a mode switch where the resolution 3763b68e1f86Smrg and topology are no longer consistent. 3764b68e1f86Smrg 3765b68e1f86Smrg So, we fix this by ignoring any attempts to set the pending topology if 3766b68e1f86Smrg one is already pending. 3767b68e1f86Smrg 3768b68e1f86Smrgcommit a8afe781e108773e4a575ecc3330a5aa83c1cbb9 3769b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3770b68e1f86SmrgDate: Thu Feb 8 17:08:08 2007 -0800 3771b68e1f86Smrg 3772b68e1f86Smrg Add a bunch of useful modes to the mode list. 3773b68e1f86Smrg 3774b68e1f86Smrg The X server prunes modes above the initial mode and 3775b68e1f86Smrg the number of default modes varies with distro and 3776b68e1f86Smrg server version. As it's easy to do, let's add a bunch 3777b68e1f86Smrg of useful versions in the driver so that users don't 3778b68e1f86Smrg have to mess with their config files as often. 3779b68e1f86Smrg 3780b68e1f86Smrgcommit 520f570aa3869090eac3accf6a2b3886ab188590 3781b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3782b68e1f86SmrgDate: Thu Feb 8 13:44:57 2007 -0800 3783b68e1f86Smrg 3784b68e1f86Smrg Update man page to remove mention of the NoAccel option which 3785b68e1f86Smrg no longer exists as we don't do any 'acceleration'. 3786b68e1f86Smrg 3787b68e1f86Smrgcommit af8c0596a224ba8436d55c5dd6063fff688c7ad1 3788b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3789b68e1f86SmrgDate: Thu Feb 8 13:42:31 2007 -0800 3790b68e1f86Smrg 3791b68e1f86Smrg Remove XAA 'acceleration'. 3792b68e1f86Smrg 3793b68e1f86Smrg We have a lot of stale code to 'accelerate' certain operations 3794b68e1f86Smrg through XAA. However, in practice, this acceleration is 3795b68e1f86Smrg completely unhelpful because whenever we encounter an 3796b68e1f86Smrg unaccelerated action, we have to sync and flush the fifo 3797b68e1f86Smrg which kills any performance gain. 3798b68e1f86Smrg 3799b68e1f86Smrg As such, the virtual hardware doesn't even advertise these 3800b68e1f86Smrg acceleration capabilities anymore, so the code is completely 3801b68e1f86Smrg unusued. 3802b68e1f86Smrg 3803b68e1f86Smrg In addition, XAA is on the way out, so there's no point 3804b68e1f86Smrg leaving in dead code which will have to go in the fairly 3805b68e1f86Smrg near future. 3806b68e1f86Smrg 3807b68e1f86Smrg The one operation we can meaningfully accelerate is a 3808b68e1f86Smrg front-only fill and when we get around to implementing 3809b68e1f86Smrg that, we'll use EXA instead. 3810b68e1f86Smrg 3811b68e1f86Smrgcommit 3dc1ebc7c2c76f575b5150f1890ec13f8bd3e8a1 3812b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3813b68e1f86SmrgDate: Thu Feb 8 10:33:14 2007 -0800 3814b68e1f86Smrg 3815b68e1f86Smrg Make resizing work once and for all. 3816b68e1f86Smrg 3817b68e1f86Smrg This change removes the limitation on resizing larger than the 3818b68e1f86Smrg initial size and removes the need for pitch-locking bu resizing 3819b68e1f86Smrg the screen pixmap. Now the only limit on the screen size is 3820b68e1f86Smrg the maximum width/height reported by the virtual hardware which 3821b68e1f86Smrg is configured on the host side. 3822b68e1f86Smrg 3823b68e1f86Smrgcommit 188c2b44f0f47093092414f9364a52cc2d5016ad 3824b68e1f86SmrgAuthor: Eamon Walsh <ewalsh@tycho.nsa.gov> 3825b68e1f86SmrgDate: Mon Dec 18 14:05:19 2006 -0500 3826b68e1f86Smrg 3827b68e1f86Smrg Revert "Convert callers of LookupWindow() to dixLookupWindow()." 3828b68e1f86Smrg 3829b68e1f86Smrg This reverts commit 1f298c24fe1dde35f0d77cc34518eb9c2b873fc5. 3830b68e1f86Smrg 3831b68e1f86Smrgcommit 1f298c24fe1dde35f0d77cc34518eb9c2b873fc5 3832b68e1f86SmrgAuthor: Eamon Walsh <ewalsh@tycho.nsa.gov> 3833b68e1f86SmrgDate: Fri Dec 15 17:41:52 2006 -0500 3834b68e1f86Smrg 3835b68e1f86Smrg Convert callers of LookupWindow() to dixLookupWindow(). 3836b68e1f86Smrg 3837b68e1f86Smrgcommit 9d41384616c8f6d00b53a61634f73e728d86d615 3838b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3839b68e1f86SmrgDate: Wed Dec 6 16:48:12 2006 -0800 3840b68e1f86Smrg 3841b68e1f86Smrg Explicitly initialise buffer to NULL for parsing xinerama topologies. 3842b68e1f86Smrg 3843b68e1f86Smrgcommit ac2a57ea7aea00c695495aa01c27402569a9514a 3844b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3845b68e1f86SmrgDate: Tue Oct 31 19:17:39 2006 -0800 3846b68e1f86Smrg 3847b68e1f86Smrg Update man page to document "StaticXinerama" 3848b68e1f86Smrg 3849b68e1f86Smrgcommit 4dd038bd73208184344cae4f363c492c7e61524b 3850b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3851b68e1f86SmrgDate: Tue Oct 31 19:12:29 2006 -0800 3852b68e1f86Smrg 3853b68e1f86Smrg Bump version to 10.14.0 3854b68e1f86Smrg 3855b68e1f86Smrgcommit 73945118a6b3cad60f4a1927b9394206d36e8281 3856b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3857b68e1f86SmrgDate: Mon Oct 30 11:52:57 2006 -0800 3858b68e1f86Smrg 3859b68e1f86Smrg Fix more warnings. 3860b68e1f86Smrg 3861b68e1f86Smrgcommit e0dca2ff0b695b60830cf8f10a2c0585602a4d40 3862b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3863b68e1f86SmrgDate: Mon Oct 30 10:53:18 2006 -0800 3864b68e1f86Smrg 3865b68e1f86Smrg Fix some warnings noted when compiling the code against 3866b68e1f86Smrg older Xorg versions. 3867b68e1f86Smrg 3868b68e1f86Smrgcommit f96d12047725becf0515cc4df8572ca4a3956309 3869b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3870b68e1f86SmrgDate: Wed Oct 25 18:06:13 2006 -0700 3871b68e1f86Smrg 3872b68e1f86Smrg Refactor static Xinerama parsing. 3873b68e1f86Smrg 3874b68e1f86Smrgcommit 57b32570f84d06180be2c9d249174b04f02d9fca 3875b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3876b68e1f86SmrgDate: Wed Oct 25 10:49:27 2006 -0700 3877b68e1f86Smrg 3878b68e1f86Smrg Add support for a static Xinerama configuration to be specified 3879b68e1f86Smrg in xorg.conf. This static configuration will always be used and 3880b68e1f86Smrg any attempts to update it will be ignored. 3881b68e1f86Smrg 3882b68e1f86Smrg Note that all xinerama aware apps that I have seen will not 3883b68e1f86Smrg sanity check the xinerama extents against the screen size, so 3884b68e1f86Smrg if the screen doesn't properly enclose the xinerama extents, 3885b68e1f86Smrg expect your apps to punish you accordingly. 3886b68e1f86Smrg 3887b68e1f86Smrgcommit c62a63b00f7c43e265079d31f1bf7ff447423056 3888b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3889b68e1f86SmrgDate: Wed Oct 11 11:47:39 2006 -0700 3890b68e1f86Smrg 3891b68e1f86Smrg Update .gitignore 3892b68e1f86Smrg 3893b68e1f86Smrgcommit 9345f8146ae41f7d2269e6fea5e3cba385139960 3894b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3895b68e1f86SmrgDate: Wed Oct 11 11:47:25 2006 -0700 3896b68e1f86Smrg 3897b68e1f86Smrg Add vmwarectrl sample client. 3898b68e1f86Smrg 3899b68e1f86Smrgcommit b35666fdd567d4cd92574aeecadb8e0d41b32d77 3900b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3901b68e1f86SmrgDate: Wed Oct 11 11:36:22 2006 -0700 3902b68e1f86Smrg 3903b68e1f86Smrg Add .gitignore files. 3904b68e1f86Smrg 3905b68e1f86Smrgcommit 7631f4d8db2b83878bd886204aaa978dac9c47b5 3906b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3907b68e1f86SmrgDate: Wed Oct 11 11:32:18 2006 -0700 3908b68e1f86Smrg 3909b68e1f86Smrg Document the 'Xinerama' option and tweak the default to reflect 3910b68e1f86Smrg the capabilites of the underlying hardware. 3911b68e1f86Smrg 3912b68e1f86Smrgcommit 79de175986817cac2fedb267cc9a04438b3694d4 3913b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3914b68e1f86SmrgDate: Wed Oct 11 11:26:04 2006 -0700 3915b68e1f86Smrg 3916b68e1f86Smrg Check for xinerama in configure.ac 3917b68e1f86Smrg 3918b68e1f86Smrgcommit 34e7264e99ceab5e9e2e022ed9a56531845b0b17 3919b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3920b68e1f86SmrgDate: Wed Oct 11 10:57:57 2006 -0700 3921b68e1f86Smrg 3922b68e1f86Smrg Add xinerama support to the vmware video driver. (Better late than never). 3923b68e1f86Smrg 3924b68e1f86Smrg With this change, the VMWARE_CTRL extension is updated so that it can 3925b68e1f86Smrg receive topology updates at runtime. I will add some sample client code 3926b68e1f86Smrg separately. 3927b68e1f86Smrg 3928b68e1f86Smrg I also intend to add support for a static initial topology defined in 3929b68e1f86Smrg xorg.conf but I haven't got around to it yet due to hating to write 3930b68e1f86Smrg string parsing code. 3931b68e1f86Smrg 3932b68e1f86Smrgcommit dd201e23cc50ded2f316dbfa5d265608b80d994d 3933b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3934b68e1f86SmrgDate: Wed Sep 20 11:40:54 2006 -0700 3935b68e1f86Smrg 3936b68e1f86Smrg Add support for the upcoming PITCHLOCK register. The FIFO register 3937b68e1f86Smrg is deprecated but support is retained so the driver works with 3938b68e1f86Smrg Workstation 5.5 and friends. 3939b68e1f86Smrg 3940b68e1f86Smrgcommit 0850feff708ded63c27dc938ca4b9b8fcbed122b 3941b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3942b68e1f86SmrgDate: Sun Sep 3 10:45:22 2006 -0700 3943b68e1f86Smrg 3944b68e1f86Smrg Fix https://bugs.freedesktop.org/show_bug.cgi?id=8094 3945b68e1f86Smrg Lazily allocate the dynamic modes used for pixel precise guest 3946b68e1f86Smrg resizing. They will not appear until they are neeed. 3947b68e1f86Smrg 3948b68e1f86Smrgcommit 86aeab28b806642946e59a98573c5b25840c35ed 3949b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3950b68e1f86SmrgDate: Fri Apr 7 21:57:24 2006 +0000 3951b68e1f86Smrg 3952b68e1f86Smrg Unlibcwrap. Bump server version requirement. Bump to 1.1.0. 3953b68e1f86Smrg 3954b68e1f86Smrgcommit fe6963e09a8197f5c11e8a828c8da4024601a466 3955b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3956b68e1f86SmrgDate: Fri Apr 7 21:55:49 2006 +0000 3957b68e1f86Smrg 3958b68e1f86Smrg Unlibcwrap. Bump server version requirement. Bump to 10.13.0. 3959b68e1f86Smrg 3960b68e1f86Smrgcommit ac83dff5d6a54b05e0377ceac2b133238293fa0e 3961b68e1f86SmrgAuthor: philipl <philipl> 3962b68e1f86SmrgDate: Tue Feb 7 18:51:35 2006 +0000 3963b68e1f86Smrg 3964b68e1f86Smrg Add VMWARE_CTRL extension. 3965b68e1f86Smrg 3966b68e1f86Smrgcommit a49f1e65147dc1ab805c74951cb0915b1352e8a9 3967b68e1f86SmrgAuthor: philipl <philipl> 3968b68e1f86SmrgDate: Tue Jan 17 00:40:43 2006 +0000 3969b68e1f86Smrg 3970b68e1f86Smrg Use DriverFunc to adjust physical size to keep DPI constant. 3971b68e1f86Smrg 3972b68e1f86Smrgcommit ff3f9dc930ff6bd2d6a73d56c70b0284a597cd62 3973b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3974b68e1f86SmrgDate: Wed Dec 21 02:30:04 2005 +0000 3975b68e1f86Smrg 3976b68e1f86Smrg Update package version for X11R7 release. 3977b68e1f86Smrg 3978b68e1f86Smrgcommit aa1da8e57939081f15db04fa8c654f363f4e4cb7 3979b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3980b68e1f86SmrgDate: Mon Dec 19 16:25:56 2005 +0000 3981b68e1f86Smrg 3982b68e1f86Smrg Stub COPYING files 3983b68e1f86Smrg 3984b68e1f86Smrgcommit 835f8000fdbdd35a6bbc5eabf1252d4040a798da 3985b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3986b68e1f86SmrgDate: Thu Dec 15 00:24:21 2005 +0000 3987b68e1f86Smrg 3988b68e1f86Smrg Update package version number for final X11R7 release candidate. 3989b68e1f86Smrg 3990b68e1f86Smrgcommit 32a969be355c0c948739b4f18e0caa83c78960cc 3991b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3992b68e1f86SmrgDate: Tue Dec 6 22:48:41 2005 +0000 3993b68e1f86Smrg 3994b68e1f86Smrg Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 3995b68e1f86Smrg 3996b68e1f86Smrgcommit 643a290d01553c9fefe9b4e268ae515d49cd1af9 3997b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3998b68e1f86SmrgDate: Sat Dec 3 05:49:37 2005 +0000 3999b68e1f86Smrg 4000b68e1f86Smrg Update package version number for X11R7 RC3 release. 4001b68e1f86Smrg 4002b68e1f86Smrgcommit 9d0f12ee6bf340765317214ffef2f70883025e9e 4003b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 4004b68e1f86SmrgDate: Fri Dec 2 02:16:12 2005 +0000 4005b68e1f86Smrg 4006b68e1f86Smrg Remove extraneous AC_MSG_RESULT. 4007b68e1f86Smrg 4008b68e1f86Smrgcommit e0a08567f46f73005589876d38e3f5ff7543557b 4009b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 4010b68e1f86SmrgDate: Tue Nov 29 23:30:06 2005 +0000 4011b68e1f86Smrg 4012b68e1f86Smrg Only build dlloader modules by default. 4013b68e1f86Smrg 4014b68e1f86Smrgcommit c80ca69d0160b78e8d2bbeae01de52978f8e581f 4015b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 4016b68e1f86SmrgDate: Mon Nov 28 22:04:15 2005 +0000 4017b68e1f86Smrg 4018b68e1f86Smrg Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 4019b68e1f86Smrg update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 4020b68e1f86Smrg 4021b68e1f86Smrgcommit 417099c602463ff364f70a938c4a2d2275d8a5b7 4022b68e1f86SmrgAuthor: Eric Anholt <anholt@freebsd.org> 4023b68e1f86SmrgDate: Mon Nov 21 10:49:23 2005 +0000 4024b68e1f86Smrg 4025b68e1f86Smrg Add .cvsignores for drivers. 4026b68e1f86Smrg 4027b68e1f86Smrgcommit 26a28492f738defa0445059c2dd6bb9cad89d0aa 4028b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 4029b68e1f86SmrgDate: Wed Nov 9 21:31:21 2005 +0000 4030b68e1f86Smrg 4031b68e1f86Smrg Bump version numbers for X11R6.9/X11R7 RC2. 4032b68e1f86Smrg 4033b68e1f86Smrgcommit 9ba2f5c58f6ffc9533f5d1852b6d7ba25fa4785a 4034b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 4035b68e1f86SmrgDate: Wed Nov 9 21:15:23 2005 +0000 4036b68e1f86Smrg 4037b68e1f86Smrg Update package version number for X11R7 RC2 release. 4038b68e1f86Smrg 4039b68e1f86Smrgcommit 731860b1fea54f2ce54fbf02ab77d7c01f381f80 4040b68e1f86SmrgAuthor: nolan <nolan> 4041b68e1f86SmrgDate: Thu Nov 3 04:26:00 2005 +0000 4042b68e1f86Smrg 4043b68e1f86Smrg Fix a bug where the cursor disappears. Committed on behalf of Shelley Gong 4044b68e1f86Smrg (shelleygong@vmware.com). 4045b68e1f86Smrg 4046b68e1f86Smrgcommit 623b3c8297fc0b0d05ce0d6684ef3ab57054b0eb 4047b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 4048b68e1f86SmrgDate: Tue Nov 1 15:08:57 2005 +0000 4049b68e1f86Smrg 4050b68e1f86Smrg Update pkgcheck depedencies to work with separate build roots. 4051b68e1f86Smrg 4052b68e1f86Smrgcommit 4f1ef5a0bf2172b9d38c6b1b5dd92ae8efe01f42 4053b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 4054b68e1f86SmrgDate: Wed Oct 19 02:48:06 2005 +0000 4055b68e1f86Smrg 4056b68e1f86Smrg Update package version number for RC1 release. 4057b68e1f86Smrg 4058b68e1f86Smrgcommit 3abe1c93562dbc4bbebfd293f7e90972e90c9dcc 4059b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 4060b68e1f86SmrgDate: Tue Oct 18 00:01:55 2005 +0000 4061b68e1f86Smrg 4062b68e1f86Smrg Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro 4063b68e1f86Smrg substitutions to work better with BSD make 4064b68e1f86Smrg 4065b68e1f86Smrgcommit ba3716950db330db08960248827bbf9321d42d71 4066b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 4067b68e1f86SmrgDate: Mon Oct 17 22:57:38 2005 +0000 4068b68e1f86Smrg 4069b68e1f86Smrg More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead 4070b68e1f86Smrg of indirectly 4071b68e1f86Smrg 4072b68e1f86Smrgcommit 18207a8cc41044538520dd9f0036e44d3fe26f94 4073b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 4074b68e1f86SmrgDate: Mon Oct 17 00:09:09 2005 +0000 4075b68e1f86Smrg 4076b68e1f86Smrg Use sed & cpp to substitute variables in driver man pages 4077b68e1f86Smrg 4078b68e1f86Smrgcommit bce0feda4d05bd8fd4db20476e117026a21f3906 4079b68e1f86SmrgAuthor: nolan <nolan> 4080b68e1f86SmrgDate: Fri Sep 23 02:55:25 2005 +0000 4081b68e1f86Smrg 4082b68e1f86Smrg Support for XRandR in the VMware driver. Committed on behalf of Phil 4083b68e1f86Smrg Langdale (plangdale@vmware.com) 4084b68e1f86Smrg 4085b68e1f86Smrgcommit f06924363cd77770257db5aac6d4d3c6add89dfa 4086b68e1f86SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 4087b68e1f86SmrgDate: Thu Aug 18 09:03:55 2005 +0000 4088b68e1f86Smrg 4089b68e1f86Smrg Update autogen.sh to one that does objdir != srcdir. 4090b68e1f86Smrg 4091b68e1f86Smrgcommit 120d7d1c616d1e2e3c7ca0d1d119d1b0731491c6 4092b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 4093b68e1f86SmrgDate: Fri Jul 29 21:22:46 2005 +0000 4094b68e1f86Smrg 4095b68e1f86Smrg Various changes preparing packages for RC0: 4096b68e1f86Smrg - Verify and update package version numbers as needed 4097b68e1f86Smrg - Implement versioning scheme 4098b68e1f86Smrg - Change bug address to point to bugzilla bug entry form 4099b68e1f86Smrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 4100b68e1f86Smrg reenable it) 4101b68e1f86Smrg - Fix makedepend to use pkgconfig and pass distcheck 4102b68e1f86Smrg - Update build script to build macros first 4103b68e1f86Smrg - Update modular Xorg version 4104b68e1f86Smrg 4105b68e1f86Smrgcommit cd14003e4bf878e464437143cf18d30803ace999 4106b68e1f86SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 4107b68e1f86SmrgDate: Tue Jul 26 23:57:30 2005 +0000 4108b68e1f86Smrg 4109b68e1f86Smrg Build system for vmware 4110b68e1f86Smrg 4111b68e1f86Smrgcommit e5ab935718e3f6aea8edc5edef5c0bd78af0ba14 4112b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 4113b68e1f86SmrgDate: Mon Jul 11 02:30:07 2005 +0000 4114b68e1f86Smrg 4115b68e1f86Smrg Prep for modular builds by adding guarded #include "config.h" everywhere. 4116b68e1f86Smrg 4117b68e1f86Smrgcommit daa2be7a9adf977eb4b63bb601d4b8b0b2881903 4118b68e1f86SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 4119b68e1f86SmrgDate: Fri Jul 1 22:43:21 2005 +0000 4120b68e1f86Smrg 4121b68e1f86Smrg Change all misc.h and os.h references to <X11/foo.h>. 4122b68e1f86Smrg 4123b68e1f86Smrgcommit ae1ba62c3937e6d1067f850d3aeb0b11d316fb86 4124b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 4125b68e1f86SmrgDate: Sat Jun 25 21:17:00 2005 +0000 4126b68e1f86Smrg 4127b68e1f86Smrg Bug #3626: _X_EXPORT tags for video and input drivers. 4128b68e1f86Smrg 4129b68e1f86Smrgcommit 57d09f92c656203958bbc2040f255040f7d051ca 4130b68e1f86SmrgAuthor: nolan <nolan> 4131b68e1f86SmrgDate: Fri Feb 18 23:15:59 2005 +0000 4132b68e1f86Smrg 4133b68e1f86Smrg updated copyright string in man page of VMware SVGA driver. 4134b68e1f86Smrg 4135b68e1f86Smrgcommit b4379cd6f99c14a2feaabce4560f6dfd62543c62 4136b68e1f86SmrgAuthor: nolan <nolan> 4137b68e1f86SmrgDate: Thu Sep 30 21:44:35 2004 +0000 4138b68e1f86Smrg 4139b68e1f86Smrg Bugfix for Alpha Texture acceleration from Constantine Sapuntzakis. 4140b68e1f86Smrg 4141b68e1f86Smrgcommit 325df911a83e336d3463ea2220151af4e9f0ccfa 4142b68e1f86SmrgAuthor: nolan <nolan> 4143b68e1f86SmrgDate: Sat Aug 14 01:03:55 2004 +0000 4144b68e1f86Smrg 4145b68e1f86Smrg Save the register state before we write to any of them. This makes the 4146b68e1f86Smrg VMware driver coexist with VESA fbcon. 4147b68e1f86Smrg 4148b68e1f86Smrgcommit fed82eea7b64b645926c5102563887bc424245b7 4149b68e1f86SmrgAuthor: nolan <nolan> 4150b68e1f86SmrgDate: Tue Jun 29 02:20:25 2004 +0000 4151b68e1f86Smrg 4152b68e1f86Smrg Send cursor hotspot through the FIFO. This fixes host cursor. Allow any bpp 4153b68e1f86Smrg when 8BIT_EMULATION is set. Save/restore the ID register. 4154b68e1f86Smrg 4155b68e1f86Smrgcommit a3bdeecbb99c721987a22d52c8adf4b1a96e8eec 4156b68e1f86SmrgAuthor: Eric Anholt <anholt@freebsd.org> 4157b68e1f86SmrgDate: Wed Jun 16 09:22:38 2004 +0000 4158b68e1f86Smrg 4159b68e1f86Smrg DRI XFree86-4_3_99_12-merge import 4160b68e1f86Smrg 4161b68e1f86Smrgcommit 2e4ba05c72961b611c9c4b93038ce54ab54ab9c3 4162b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 4163b68e1f86SmrgDate: Fri Apr 23 19:53:57 2004 +0000 4164b68e1f86Smrg 4165b68e1f86Smrg Merging XORG-CURRENT into trunk 4166b68e1f86Smrg 4167b68e1f86Smrgcommit b01798791090f20fbf4907902d0d35853c05e3a2 4168b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 4169b68e1f86SmrgDate: Sun Mar 14 08:33:42 2004 +0000 4170b68e1f86Smrg 4171b68e1f86Smrg Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 4172b68e1f86Smrg 4173b68e1f86Smrgcommit 2ef56b50d6b4fc44359b2bf181ece342fb569153 4174b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 4175b68e1f86SmrgDate: Wed Mar 3 12:12:28 2004 +0000 4176b68e1f86Smrg 4177b68e1f86Smrg Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 4178b68e1f86Smrg 4179b68e1f86Smrgcommit 7218efdc0d95a5d50b3ddfc6a76921e285cf61b6 4180b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 4181b68e1f86SmrgDate: Thu Feb 26 13:35:56 2004 +0000 4182b68e1f86Smrg 4183b68e1f86Smrg readding XFree86's cvs IDs 4184b68e1f86Smrg 4185b68e1f86Smrgcommit 205e213f8b296c47a80e7c8cfb835449b064fd84 4186b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 4187b68e1f86SmrgDate: Thu Feb 26 09:23:29 2004 +0000 4188b68e1f86Smrg 4189b68e1f86Smrg Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 4190b68e1f86Smrg 4191b68e1f86Smrgcommit 2f79bc6606f337d0d892e6c73cdf11fe211ead13 4192b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 4193b68e1f86SmrgDate: Tue Nov 25 19:28:43 2003 +0000 4194b68e1f86Smrg 4195b68e1f86Smrg XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 4196b68e1f86Smrg 4197b68e1f86Smrgcommit 118eb1bdba4191972b1ca182e34f3d3ca456daea 4198b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 4199b68e1f86SmrgDate: Fri Nov 14 16:48:55 2003 +0000 4200b68e1f86Smrg 4201b68e1f86Smrg XFree86 4.3.0.1 4202b68e1f86Smrg 4203b68e1f86Smrgcommit 0b01e22c9cd727cce23c4a9670806f7a839e1937 4204b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 4205b68e1f86SmrgDate: Fri Nov 14 16:48:55 2003 +0000 4206b68e1f86Smrg 4207b68e1f86Smrg Initial revision 4208