ChangeLog revision 591e32d7
1591e32d7Ssnjcommit 891ee48e4c1baa2643eda048b4207f8263a37dca 2591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 3591e32d7SsnjDate: Mon Jan 19 11:23:50 2015 +0100 4591e32d7Ssnj 5591e32d7Ssnj vmware: Bump version number for release 6591e32d7Ssnj 7591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 8591e32d7Ssnj 9591e32d7Ssnjcommit 79289b0ffc553ded902eea7b8b9803b098f340e3 10591e32d7SsnjAuthor: Adam Jackson <ajax@redhat.com> 11591e32d7SsnjDate: Thu Dec 4 10:35:04 2014 -0500 12591e32d7Ssnj 13591e32d7Ssnj saa: Adapt to GC client clip changes in xserver 1.17 14591e32d7Ssnj 15591e32d7Ssnj 1.17 always stores the client clip as a region, so there's no longer a 16591e32d7Ssnj clientClipType member to look at. Change the code to just inspect 17591e32d7Ssnj whether the clientClip is non-null, since that works both before and 18591e32d7Ssnj after 1.17. 19591e32d7Ssnj 20591e32d7Ssnj Signed-off-by: Adam Jackson <ajax@redhat.com> 21591e32d7Ssnj Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 22591e32d7Ssnj 23591e32d7Ssnjcommit 4664412d7a5266d2b392957406b34abc5db95e48 24591e32d7SsnjAuthor: Stefan Dirsch <sndirsch@suse.de> 25591e32d7SsnjDate: Tue Oct 7 11:29:32 2014 +0200 26591e32d7Ssnj 27591e32d7Ssnj xf86xv.h cannot be included without first including xorg-server.h. 28591e32d7Ssnj 29591e32d7Ssnj Without this the build fails on systems with the latest glibc, 30591e32d7Ssnj throwing this error: 31591e32d7Ssnj 32591e32d7Ssnj In file included from /usr/include/string.h:634:0, 33591e32d7Ssnj from /usr/include/xorg/os.h:53, 34591e32d7Ssnj from /usr/include/xorg/misc.h:115, 35591e32d7Ssnj from /usr/include/xorg/screenint.h:50, 36591e32d7Ssnj from /usr/include/xorg/scrnintstr.h:50, 37591e32d7Ssnj from /usr/include/xorg/xvdix.h:55, 38591e32d7Ssnj from /usr/include/xorg/xf86xv.h:32, 39591e32d7Ssnj from vmwgfx_overlay.c:38: 40591e32d7Ssnj /usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' 41591e32d7Ssnj strndup(const char *str, size_t n); 42591e32d7Ssnj 43591e32d7Ssnj This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h), 44591e32d7Ssnj causing os.h to redefine it. 45591e32d7Ssnj 46591e32d7Ssnj Signed-off-by: Stefan Dirsch <sndirsch@suse.de> 47591e32d7Ssnj Reviewed-by: Daniel Stone <daniels@collabora.com> 48591e32d7Ssnj Acked-by: Thomas Hellstrom <thellstrom@vmware.com> 49591e32d7Ssnj 50591e32d7Ssnjcommit 8e1c4e5bd521ec2d4f1a21da432f110c606b3fde 51591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 52591e32d7SsnjDate: Mon Sep 22 12:09:13 2014 +0200 53591e32d7Ssnj 54591e32d7Ssnj vmware/saa: Fix saa_check_poly_fill_rect_noreadback v2 55591e32d7Ssnj 56591e32d7Ssnj We were not clipping the dirty region correctly, Fix this. 57591e32d7Ssnj Also actually do what the comment in the function says: If there are more than 58591e32d7Ssnj an ad-hoc number of rectangles to read back, then revert to the default 59591e32d7Ssnj saa_check_poly_fill_rect function that reads back the whole damage region. 60591e32d7Ssnj 61591e32d7Ssnj v2: Fix commit log message. 62591e32d7Ssnj 63591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 64591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 65591e32d7Ssnj Reviewed-by: Sinclair Yeh <syeh@vmware.com> 66591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 67591e32d7Ssnj 68591e32d7Ssnjcommit c23fd33d8ce8491891255d93c04e053bf333bd4e 69591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 70591e32d7SsnjDate: Mon Sep 22 11:43:02 2014 +0200 71591e32d7Ssnj 72591e32d7Ssnj vmware/saa: Fix saa_check_copy_window dirty region v3 73591e32d7Ssnj 74591e32d7Ssnj The saa_check_copy_window could dirty regions that were never touched, since 75591e32d7Ssnj we were using the X server provided damage region rather than the more 76591e32d7Ssnj detailed region actually copied. This would have been OK if we had first done 77591e32d7Ssnj a read-back of the region to be dirtied, but since we want to avoid that, 78591e32d7Ssnj instead compute the detailed destination region and use that for dirtying. 79591e32d7Ssnj 80591e32d7Ssnj This fixes rendering glitches seen with motif applications. 81591e32d7Ssnj 82591e32d7Ssnj v2: Fix whitespace error. 83591e32d7Ssnj v3: Move dirty region computation. 84591e32d7Ssnj 85591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 86591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 87591e32d7Ssnj Reviewed-by: Sinclair Yeh <syeh@vmware.com> 88591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 89591e32d7Ssnj 90591e32d7Ssnjcommit f86434ac69bd288c7fba65d178c22a91a0f4f6c2 91591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 92591e32d7SsnjDate: Mon Sep 15 15:13:53 2014 +0200 93591e32d7Ssnj 94591e32d7Ssnj Revert "vmware/saa: Disable the noreadback polyfillrect optimization" 95591e32d7Ssnj 96591e32d7Ssnj This reverts commit 88c487cb19aaf2882d582f7f887a52935ef8d92e. 97591e32d7Ssnj 98591e32d7Ssnj While the commit made the rendering artefacts less frequent, they didn't 99591e32d7Ssnj disappear completely and are likely caused by something else, so revert this 100591e32d7Ssnj commit. 101591e32d7Ssnj 102591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 103591e32d7Ssnj Acked-by: Sinclair Yeh <syeh@vmware.com> 104591e32d7Ssnj 105591e32d7Ssnjcommit 8545a166931617af0d2a9ca8175fd8b11c67e246 106591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 107591e32d7SsnjDate: Tue Sep 9 01:59:07 2014 -0700 108591e32d7Ssnj 109591e32d7Ssnj vmware/vmwgfx: Fix cursor problem with multimon 110591e32d7Ssnj 111591e32d7Ssnj In a multimon environment, the cursor would sometimes disappear on the 112591e32d7Ssnj newly enabled screen. Fix this. 113591e32d7Ssnj 114591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 115591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 116591e32d7Ssnj 117591e32d7Ssnjcommit 32562129750077a23f26f2e69adc8403eb24bf3f 118591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 119591e32d7SsnjDate: Wed Sep 3 07:08:41 2014 -0700 120591e32d7Ssnj 121591e32d7Ssnj vmware/vmwgfx: Don't add pixmaps to the pixmap list if they're already on it 122591e32d7Ssnj 123591e32d7Ssnj This could cause loops through the list to spin indefinitely. 124591e32d7Ssnj This would most likely occur at VT switches. 125591e32d7Ssnj 126591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 127591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 128591e32d7Ssnj 129591e32d7Ssnjcommit 8b6316a312689d83ca8f8de939698bc137206f58 130591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 131591e32d7SsnjDate: Thu Aug 28 15:32:45 2014 +0200 132591e32d7Ssnj 133591e32d7Ssnj vmware/legacy: Fix overlay related compile breakage on earlier X servers 134591e32d7Ssnj 135591e32d7Ssnj Introduced by commit: 136591e32d7Ssnj vmware/legacy: Apply same fix to auto colrkey fill 137591e32d7Ssnj 138591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 139591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 140591e32d7Ssnj 141591e32d7Ssnjcommit 8a47e9a45036005d46a60cf8df366baffcb9a8d1 142591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 143591e32d7SsnjDate: Thu Aug 28 13:43:03 2014 +0200 144591e32d7Ssnj 145591e32d7Ssnj vmware: Fix bootstrap related compile errors on earlier X servers 146591e32d7Ssnj 147591e32d7Ssnj Introduced by commit 148591e32d7Ssnj Add support for XSERVER_PLATFORM_BUS 149591e32d7Ssnj 150591e32d7Ssnj Note that the vmware DriverRec declaration can be cleaned up 151591e32d7Ssnj considerably using C99 designated initializers. Perhaps something for 152591e32d7Ssnj the next release... 153591e32d7Ssnj 154591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 155591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 156591e32d7Ssnj 157591e32d7Ssnjcommit f5d8c8f1fe2de727018600f471b6a8829fe492ad 158591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 159591e32d7SsnjDate: Wed Aug 20 13:02:58 2014 +0200 160591e32d7Ssnj 161591e32d7Ssnj vmware: Clear the PITCHLOCK register if available before modeset 162591e32d7Ssnj 163591e32d7Ssnj In some situations the fbdev driver may have set this register before legacy 164591e32d7Ssnj driver startup causing a weird-looking desktop. Make sure this register 165591e32d7Ssnj is cleared on each modeset. 166591e32d7Ssnj 167591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 168591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 169591e32d7Ssnj 170591e32d7Ssnjcommit b1697434348799b0808a6c9e9a899394075b980c 171591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 172591e32d7SsnjDate: Thu Aug 14 16:42:05 2014 +0200 173591e32d7Ssnj 174591e32d7Ssnj vmware/legacy: Fix out of bound array indexing 175591e32d7Ssnj 176591e32d7Ssnj Spotted by coverity. 177591e32d7Ssnj 178591e32d7Ssnj Reported-by: Adam Jackson <ajax@redhat.com> 179591e32d7Ssnj Reviewed-by: Adam Jackson <ajax@redhat.com> 180591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 181591e32d7Ssnj 182591e32d7Ssnjcommit 0825d98744b20a20af7bd81d347334ab4a1de015 183591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 184591e32d7SsnjDate: Sat Aug 9 00:19:17 2014 +0200 185591e32d7Ssnj 186591e32d7Ssnj vmware/vmwgfx: Fix compilation issue on older X servers 187591e32d7Ssnj 188591e32d7Ssnj Introduced in 268307 "Add support for server managed fds" 189591e32d7Ssnj 190591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 191591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 192591e32d7Ssnj 193591e32d7Ssnjcommit 0a212afefd8670a1823c9b6474de8bf26d33bdeb 194591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 195591e32d7SsnjDate: Fri Aug 8 21:37:38 2014 +0200 196591e32d7Ssnj 197591e32d7Ssnj vmware/legacy: Fix uninitialized values in video commands 198591e32d7Ssnj 199591e32d7Ssnj Fixed bug where video stopped working on systems that didn't have the new kms 200591e32d7Ssnj enabled kernel driver installed. Found on CentOS 6.4. 201591e32d7Ssnj 202591e32d7Ssnj After updating the register header SVGA_VIDEO_NUM_REGS value got upped by two 203591e32d7Ssnj in order to support GMR and Screen Objects. Since this path is mostly used 204591e32d7Ssnj on older hosts that may not support them, don't send them at all. 205591e32d7Ssnj 206591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 207591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 208591e32d7Ssnj 209591e32d7Ssnjcommit 0a596fd0c92fdcf73071869a59029263a2596018 210591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 211591e32d7SsnjDate: Wed Jul 2 14:21:45 2014 +0200 212591e32d7Ssnj 213591e32d7Ssnj vmware/vmwgfx: Fix an error path segfault 214591e32d7Ssnj 215591e32d7Ssnj Part of freedesktop.org bugzilla bug #80645 216591e32d7Ssnj If taking a scanout reference on a pixmap fails, the 217591e32d7Ssnj struct vmwgfx_screen_entry::pixmap pointer must be set to NULL, otherwise 218591e32d7Ssnj the driver will incorrectly attempt to remove the scanout reference in the 219591e32d7Ssnj error path, causing a segfault. 220591e32d7Ssnj 221591e32d7Ssnj This problem is seen in the above-mentioned bug, but it is not the root 222591e32d7Ssnj cause of the problem. With this patch applied, the server will terminate 223591e32d7Ssnj cleanly instead of segfaulting. 224591e32d7Ssnj 225591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 226591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 227591e32d7Ssnj 228591e32d7Ssnjcommit 4e378a730d2d2deffc915af2a3d013d2a994a1b0 229591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 230591e32d7SsnjDate: Wed May 21 11:52:29 2014 +0200 231591e32d7Ssnj 232591e32d7Ssnj vmware/legacy: Apply same fix to auto colorkey fill 233591e32d7Ssnj 234591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 235591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 236591e32d7Ssnj 237591e32d7Ssnjcommit 82c9b0c1d34459c568d004521e3f35a69f5d7ae3 238591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 239591e32d7SsnjDate: Wed May 21 11:51:46 2014 +0200 240591e32d7Ssnj 241591e32d7Ssnj vmware/vmwgfx: Fix auto colorkey fill usage 242591e32d7Ssnj 243591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 244591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 245591e32d7Ssnj 246591e32d7Ssnjcommit 43e043868fbd74e28cd392a3665b36abdfe87de0 247591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 248591e32d7SsnjDate: Wed May 21 11:54:48 2014 +0200 249591e32d7Ssnj 250591e32d7Ssnj vmware/vmwgfx: A bit more error logging when handling cursors 251591e32d7Ssnj 252591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 253591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 254591e32d7Ssnj 255591e32d7Ssnjcommit aa7309254808e27a4ac5d3dc674be179646280b5 256591e32d7SsnjAuthor: Jakob Bornecrantz <jakob@vmware.com> 257591e32d7SsnjDate: Wed May 21 11:54:24 2014 +0200 258591e32d7Ssnj 259591e32d7Ssnj vmware/vmwgfx: Don't move cursors without images 260591e32d7Ssnj 261591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 262591e32d7Ssnj Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 263591e32d7Ssnj 264591e32d7Ssnjcommit e8d6facf34adf1c601a3afd0a984ce90ad8fe059 265591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 266591e32d7SsnjDate: Tue May 20 06:29:19 2014 -0700 267591e32d7Ssnj 268591e32d7Ssnj vmware/vmwgfx: Fix xwayland build on newer XA versions 269591e32d7Ssnj 270591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 271591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 272591e32d7Ssnj 273591e32d7Ssnjcommit 268307e85c06be27345a6808bcf2b3c9887bf8bc 274591e32d7SsnjAuthor: Hans de Goede <hdegoede@redhat.com> 275591e32d7SsnjDate: Tue May 6 16:33:21 2014 +0200 276591e32d7Ssnj 277591e32d7Ssnj Add support for server managed fds 278591e32d7Ssnj 279591e32d7Ssnj Signed-off-by: Hans de Goede <hdegoede@redhat.com> 280591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 281591e32d7Ssnj 282591e32d7Ssnjcommit 675fe58eee8acdb302c3501236b86a3289991053 283591e32d7SsnjAuthor: Hans de Goede <hdegoede@redhat.com> 284591e32d7SsnjDate: Tue May 6 16:00:50 2014 +0200 285591e32d7Ssnj 286591e32d7Ssnj Add support for XSERVER_PLATFORM_BUS 287591e32d7Ssnj 288591e32d7Ssnj This is a preparation patch for adding support for server managed fds. 289591e32d7Ssnj 290591e32d7Ssnj Signed-off-by: Hans de Goede <hdegoede@redhat.com> 291591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 292591e32d7Ssnj 293591e32d7Ssnjcommit 88c487cb19aaf2882d582f7f887a52935ef8d92e 294591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 295591e32d7SsnjDate: Fri May 9 09:35:59 2014 +0200 296591e32d7Ssnj 297591e32d7Ssnj vmware/saa: Disable the noreadback polyfillrect optimization 298591e32d7Ssnj 299591e32d7Ssnj It causes rendering artefacts with some motif applications due to 300591e32d7Ssnj damage area confusion. Until that is sorted out, temporarily disable the 301591e32d7Ssnj optimization. 302591e32d7Ssnj 303591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 304591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 305591e32d7Ssnj 306591e32d7Ssnjcommit f31eed4a578784329a7038aa01acaa10a2d0c246 307591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 308591e32d7SsnjDate: Thu May 8 09:24:04 2014 +0200 309591e32d7Ssnj 310591e32d7Ssnj vmware/vmwgfx: Fix initial dirty region for pixmaps 311591e32d7Ssnj 312591e32d7Ssnj When storage is attached to pixmaps for the first time the dirty region is 313591e32d7Ssnj set to cover either the hardware surface or the software buffer based on 314591e32d7Ssnj the presence of the hardware surface. 315591e32d7Ssnj 316591e32d7Ssnj However, if the storage was created as part of an accelerated operation, 317591e32d7Ssnj the dirty region was assigned before the hardware surface was assigned to the 318591e32d7Ssnj pixmap, causing the dirty region to incorrectly cover the software buffer. 319591e32d7Ssnj 320591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 321591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 322591e32d7Ssnj 323591e32d7Ssnjcommit 1ed14687a3f1092db8504fb9cf4f446451801665 324591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 325591e32d7SsnjDate: Thu Apr 10 14:05:24 2014 +0200 326591e32d7Ssnj 327591e32d7Ssnj vmware/vmwgfx: Set desired modes after xMir screen init 328591e32d7Ssnj 329591e32d7Ssnj While XMir does initial mode configuration, it leaves setting initial 330591e32d7Ssnj modes to the DDX driver. 331591e32d7Ssnj 332591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 333591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 334591e32d7Ssnj 335591e32d7Ssnjcommit 64e0faf1480663a990e0f6aeef7af0e69845af49 336591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 337591e32d7SsnjDate: Wed Apr 2 14:05:23 2014 +0200 338591e32d7Ssnj 339591e32d7Ssnj vmware/vmwgfx: Don't tell XA that we have a mask when we haven't 340591e32d7Ssnj 341591e32d7Ssnj In some cases, the X server sends us a composit operation with 342591e32d7Ssnj mask_pict != NULL, but mask_pix == NULL. Assume there's no mask 343591e32d7Ssnj involved in that case. 344591e32d7Ssnj 345591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 346591e32d7Ssnj Reviewed-by: Brian Paul <brianp@vmware.com> 347591e32d7Ssnj 348591e32d7Ssnjcommit c062d08a50a26c99a3b8f565a8b2b00e8dc21c3f 349591e32d7SsnjAuthor: Thomas Hellstrom <thellstrom@vmware.com> 350591e32d7SsnjDate: Thu Jan 16 18:27:57 2014 +0100 351591e32d7Ssnj 352591e32d7Ssnj vmware/vmwgfx: Don't change backing-store of active scanout surfaces 353591e32d7Ssnj 354591e32d7Ssnj With option "HwPresents" on, the driver would sometimes change backing 355591e32d7Ssnj store of active scanout surfaces, making the kernel module refuse to 356591e32d7Ssnj present. This was caused by scanout surfaces not having the RENDERTARGET flag 357591e32d7Ssnj on by default. So when rendered to, using copies or composites, they 358591e32d7Ssnj would be reallocated. Fix this by adding the RENDERTARGET flag from start. 359591e32d7Ssnj 360591e32d7Ssnj Also add code that prints out an error message when we change backing store 361591e32d7Ssnj of active scanout surfaces 362591e32d7Ssnj 363591e32d7Ssnj Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 364591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 365591e32d7Ssnj 366591e32d7Ssnjcommit c42e1f750629f18144d065b8bba5e2eaf6cbf675 367591e32d7SsnjAuthor: Julien Cristau <jcristau@debian.org> 368591e32d7SsnjDate: Tue Apr 1 10:11:13 2014 +0200 369591e32d7Ssnj 370591e32d7Ssnj configure: fix build without xatracker 371591e32d7Ssnj 372591e32d7Ssnj ACTION-IF-NOT-FOUND is the fourth argument to PKG_CHECK_MODULES, not the 373591e32d7Ssnj fifth. 374591e32d7Ssnj 375591e32d7Ssnj Debian bug#743239 <https://bugs.debian.org/743239> 376591e32d7Ssnj 377591e32d7Ssnj Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 378591e32d7Ssnj Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 379591e32d7Ssnj Signed-off-by: Julien Cristau <jcristau@debian.org> 380591e32d7Ssnj Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 381591e32d7Ssnj 38222f7e8e5Smrgcommit cbd56b3759f01ec18ae0705d023e4c0b2ab38c25 38322f7e8e5SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 38422f7e8e5SmrgDate: Wed Mar 26 12:45:52 2014 +0100 38522f7e8e5Smrg 38622f7e8e5Smrg Bump the version number to 13.0.2 38722f7e8e5Smrg 38822f7e8e5Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 38922f7e8e5Smrg 39022f7e8e5Smrgcommit 51cdfa6f5102bde92c98630ace6650e4b286f6e2 39122f7e8e5SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 39222f7e8e5SmrgDate: Fri Feb 21 18:10:07 2014 +0100 39322f7e8e5Smrg 39422f7e8e5Smrg vmware: Fix compilation on newer X servers 39522f7e8e5Smrg 39622f7e8e5Smrg Found by Bryan Lee. Later versions of X.org turns dispMode pointers 39722f7e8e5Smrg into const upsetting gcc, turn them into size_t's instead. 39822f7e8e5Smrg 39922f7e8e5Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 40022f7e8e5Smrg 40122f7e8e5Smrgcommit 8da981712f62050076cff53e1b40ed1e307fcca8 40222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 40322f7e8e5SmrgDate: Wed Jan 15 11:04:05 2014 +0100 40422f7e8e5Smrg 40522f7e8e5Smrg vmware/vmwgfx: Always allocate shared hardware surfaces. 40622f7e8e5Smrg 40722f7e8e5Smrg Hardware surfaces are all likely to be shared at some point, and we *really* 40822f7e8e5Smrg don't want to change a hardware surface that is bound as a drm framebuffer. 40922f7e8e5Smrg 41022f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 41122f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 41222f7e8e5Smrg 41322f7e8e5Smrgcommit 31bff9f7f3d9a68fd1449532e8ab50065de63857 41422f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 41522f7e8e5SmrgDate: Thu Jan 9 13:53:59 2014 +0100 41622f7e8e5Smrg 41722f7e8e5Smrg vmware: Require libdrm 2.4.38 to build XMir. 41822f7e8e5Smrg 41922f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 42022f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 42122f7e8e5Smrg 42222f7e8e5Smrgcommit d6b179a5addef6456325adf241eb8dcaf8e4c3d6 42322f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 42422f7e8e5SmrgDate: Thu Jan 9 13:28:22 2014 +0100 42522f7e8e5Smrg 42622f7e8e5Smrg vmware: Fix build errors and warnings 42722f7e8e5Smrg 42822f7e8e5Smrg A previous commit and the hosted merge unfortunately brought in some build 42922f7e8e5Smrg errors / warnings on early X servers. 43022f7e8e5Smrg 43122f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 43222f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 43322f7e8e5Smrg 43422f7e8e5Smrgcommit f37684e7169b9c0ab23ff748d5acacb65fad82f7 43522f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 43622f7e8e5SmrgDate: Tue Jan 7 17:55:49 2014 +0100 43722f7e8e5Smrg 43822f7e8e5Smrg vmwgfx: Block DMA to prime surfaces for now 43922f7e8e5Smrg 44022f7e8e5Smrg Since there is currently no _good_ way to get the surface format of a 44122f7e8e5Smrg prime surface, we block DMA to these surfaces; we don't know if our 44222f7e8e5Smrg software data is compatible with the surface format. 44322f7e8e5Smrg 44422f7e8e5Smrg This patch also makes sure that there is a hardware surface backing the 44522f7e8e5Smrg drawable we copy from. 44622f7e8e5Smrg 44722f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 44822f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 44922f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 45022f7e8e5Smrg 45122f7e8e5Smrgcommit 97ce302ddd6e86397ea56ea9089b9549af73c3ac 45222f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 45322f7e8e5SmrgDate: Mon Jan 6 12:37:36 2014 +0100 45422f7e8e5Smrg 45522f7e8e5Smrg vmwgfx: Enable direct dmas 45622f7e8e5Smrg 45722f7e8e5Smrg Enable direct dmas instead of using the xa-provided dma functionality. 45822f7e8e5Smrg This saves a bounce-buffer software copy of all dma'd contents. 45922f7e8e5Smrg 46022f7e8e5Smrg This also implies that all drawables with mixed software / hardware contents 46122f7e8e5Smrg will use a kernel buffer for software rendering. 46222f7e8e5Smrg 46322f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 46422f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 46522f7e8e5Smrg 46622f7e8e5Smrgcommit fd636e39a3f32a6dcd107c370513d8cb9aae26c2 46722f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 46822f7e8e5SmrgDate: Mon Dec 16 06:21:09 2013 -0800 46922f7e8e5Smrg 47022f7e8e5Smrg vmwgfx: Add support for XWayland 47122f7e8e5Smrg 47222f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 47322f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 47422f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 47522f7e8e5Smrg 47622f7e8e5Smrgcommit c020923597d3bc30dffa89ba0a47f3b9517dd5fb 47722f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 47822f7e8e5SmrgDate: Mon Dec 16 06:13:25 2013 -0800 47922f7e8e5Smrg 48022f7e8e5Smrg vmwgfx: Add support for XMir v2. 48122f7e8e5Smrg 48222f7e8e5Smrg Use the hosted infrastructure to add support for XMir. 48322f7e8e5Smrg Helpers go in vmwgfx_saa.c. 48422f7e8e5Smrg 48522f7e8e5Smrg v2: Added comments for the helpers, and added a 48622f7e8e5Smrg vmwgfx_flush_dri2 to be executed when coming back from vt switch. 48722f7e8e5Smrg 48822f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 48922f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 49022f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 49122f7e8e5Smrg 49222f7e8e5Smrgcommit c8e1c498431b1f8758f62c94131c302cf3d07b39 49322f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 49422f7e8e5SmrgDate: Mon Dec 16 06:05:35 2013 -0800 49522f7e8e5Smrg 49622f7e8e5Smrg vmwgfx: Add an infrastructure to be able to run hosted under a compositor v2 49722f7e8e5Smrg 49822f7e8e5Smrg Figure out what's needed both for XMir and XWayland and make a common 49922f7e8e5Smrg driver structure out of it. 50022f7e8e5Smrg 50122f7e8e5Smrg v2: Added a lot of comments. No code change. 50222f7e8e5Smrg 50322f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 50422f7e8e5Smrg Reviewed-by: Brian Paul <brianp@vmware.com> 50522f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 50622f7e8e5Smrg 50722f7e8e5Smrgcommit f45a551e9b70ccec8f92df02747d4e2af299cf8c 50822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 50922f7e8e5SmrgDate: Mon Dec 16 10:38:21 2013 +0100 51022f7e8e5Smrg 51122f7e8e5Smrg vmwgfx: Fix compile breakage on XA version 1. 51222f7e8e5Smrg 51322f7e8e5Smrg A recent revert brought back code that assumed XA version 2. 51422f7e8e5Smrg 51522f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 51622f7e8e5Smrg Reviewed-by: trivial 51722f7e8e5Smrg 51822f7e8e5Smrgcommit 93228f3dd3355a25583d22dbb96791678b93be3e 51922f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 52022f7e8e5SmrgDate: Wed Dec 11 06:54:02 2013 -0800 52122f7e8e5Smrg 52222f7e8e5Smrg vmwgfx: Really allow XA version 2. 52322f7e8e5Smrg 52422f7e8e5Smrg When XA starts to correctly advertise version 2, we didn't allow it. 52522f7e8e5Smrg Fix this. 52622f7e8e5Smrg 52722f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 52822f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 52922f7e8e5Smrg 53022f7e8e5Smrgcommit 4af6062ce281a7f4aaa50985fe757e9569208ee1 53122f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 53222f7e8e5SmrgDate: Wed Dec 11 04:59:49 2013 -0800 53322f7e8e5Smrg 53422f7e8e5Smrg Revert "vmwgfx: Get rid of device-specific DMA code" 53522f7e8e5Smrg 53622f7e8e5Smrg This reverts commit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932. 53722f7e8e5Smrg 53822f7e8e5Smrg Reverting this because using direct DMA for shared pixmaps should 53922f7e8e5Smrg boost performance. It should be usable both in a composited environment 54022f7e8e5Smrg and when running hosted. Need to retest the DMA flaws I saw before disabling 54122f7e8e5Smrg this code. 54222f7e8e5Smrg 54322f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 54422f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 54522f7e8e5Smrg 54622f7e8e5Smrgcommit c36cbcefb8526944141eb431e1e736dc4485a36e 54722f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 54822f7e8e5SmrgDate: Mon Dec 9 00:19:55 2013 -0800 54922f7e8e5Smrg 55022f7e8e5Smrg vmwgfx: Remove stray 1 55122f7e8e5Smrg 55222f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 55322f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 55422f7e8e5Smrg 55522f7e8e5Smrgcommit a40cbd7b4fa19219849b4b0a48f07538772c3e22 55622f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 55722f7e8e5SmrgDate: Thu Dec 5 02:58:47 2013 -0800 55822f7e8e5Smrg 55922f7e8e5Smrg vmwgfx: Support also XA version 1 v2 56022f7e8e5Smrg 56122f7e8e5Smrg We need to support also XA version 1, since we want to be backwards 56222f7e8e5Smrg compatible with older mesa releases. 56322f7e8e5Smrg Unfortunately, the intended way of detecting XA major version at 56422f7e8e5Smrg compile-time was broken on mesa 10 so we need a workaround that tests 56522f7e8e5Smrg for XA version 2 at config time. 56622f7e8e5Smrg 56722f7e8e5Smrg v2: Update the test for XA version 2. 56822f7e8e5Smrg 56922f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 57022f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 57122f7e8e5Smrg 57222f7e8e5Smrgcommit 7ac45326eccbf3bea9a4a8f95b9662a36ab58eb0 57322f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 57422f7e8e5SmrgDate: Thu Nov 28 02:02:20 2013 -0800 57522f7e8e5Smrg 57622f7e8e5Smrg vmwgfx: Fix some compilation warnings and indentations 57722f7e8e5Smrg 57822f7e8e5Smrg Most of the compilation warnings we're seeing are due to bad xorg headers, 57922f7e8e5Smrg but fix the ones we can fix in the driver. Some indentation fixes as well. 58022f7e8e5Smrg 58122f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 58222f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 58322f7e8e5Smrg 58422f7e8e5Smrgcommit e26dec8f5278df74a102493bf6d2d8444dab5d6d 58522f7e8e5SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 58622f7e8e5SmrgDate: Mon Oct 28 18:21:29 2013 -0400 58722f7e8e5Smrg 58822f7e8e5Smrg vmwgfx: handle changes of DamageUnregister API in 1.14.99.2 58922f7e8e5Smrg 59022f7e8e5Smrg Fix is inspired from the intel driver. 59122f7e8e5Smrg 59222f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 59322f7e8e5Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 59422f7e8e5Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 59522f7e8e5Smrg 59622f7e8e5Smrgcommit 45b2457516a9db4bd1d60fbb24a1efbe2d9dd932 59722f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 59822f7e8e5SmrgDate: Wed Sep 19 21:50:40 2012 +0200 59922f7e8e5Smrg 60022f7e8e5Smrg vmwgfx: Get rid of device-specific DMA code 60122f7e8e5Smrg 60222f7e8e5Smrg It's rarely used and things seem to work well enough on top of XA. 60322f7e8e5Smrg 60422f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 60522f7e8e5Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 60622f7e8e5Smrg 60722f7e8e5Smrgcommit 7192acf9f0bf8e7176ab0b803b861a858623f709 60822f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 60922f7e8e5SmrgDate: Wed Sep 19 20:36:57 2012 +0200 61022f7e8e5Smrg 61122f7e8e5Smrg vmwgfx: Implement textured video completely on top of XA. 61222f7e8e5Smrg 61322f7e8e5Smrg Remove device-specific hacks. This may increase resource usage a little 61422f7e8e5Smrg on old hardware revisions, but we don't need separate code paths on 61522f7e8e5Smrg different hardware revisions. 61622f7e8e5Smrg 61722f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 61822f7e8e5Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 61922f7e8e5Smrg 62022f7e8e5Smrgcommit 835ce4698f916ba080f4132988fd4caf898e0b1e 62122f7e8e5SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 62222f7e8e5SmrgDate: Thu Sep 26 01:25:33 2013 -0700 62322f7e8e5Smrg 62422f7e8e5Smrg vmwgfx: Avoid HW operations when not master 62522f7e8e5Smrg 62622f7e8e5Smrg Note that for DRI2, a dri2_copy_region becomes a NOP when not master. 62722f7e8e5Smrg Additionally, all dri2 operations that lead to a potential kernel 62822f7e8e5Smrg access will return FALSE. 62922f7e8e5Smrg 63022f7e8e5Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 63122f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 63222f7e8e5Smrg 63322f7e8e5Smrgcommit 0945bea5fc32eacb7bf42639efbd45dcd43e7ab5 63422f7e8e5SmrgAuthor: Rob Clark <robdclark@gmail.com> 63522f7e8e5SmrgDate: Mon Jun 10 13:31:31 2013 -0400 63622f7e8e5Smrg 63722f7e8e5Smrg vmwgfx: update for XA API changes 63822f7e8e5Smrg 63922f7e8e5Smrg Signed-off-by: Rob Clark <robdclark@gmail.com> 64022f7e8e5Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 64122f7e8e5Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 64222f7e8e5Smrg Tested-by: Jakob Bornecrantz <jakob@vmware.com> 64322f7e8e5Smrg 6443bfa90b6Smrgcommit b3345886332ee2b9fd1348dc2cd36257dfd71986 6453bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 6463bfa90b6SmrgDate: Wed Apr 17 12:03:32 2013 +0200 6473bfa90b6Smrg 6483bfa90b6Smrg Bump the version number to 13.0.1 6493bfa90b6Smrg 6503bfa90b6Smrgcommit d13a6334fe76f4e869b2cb8c0a6a13c185b1bedd 6513bfa90b6SmrgAuthor: Loïc Yhuel <loic.yhuel@gmail.com> 6523bfa90b6SmrgDate: Thu Apr 11 11:29:10 2013 +0200 6533bfa90b6Smrg 6543bfa90b6Smrg vmwgfx: Use myGlyphs to fix crashes 6553bfa90b6Smrg 6563bfa90b6Smrg Tested-by: Christian Hesse <mail@eworm.de> 6573bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 6583bfa90b6Smrg Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com> 6593bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 6603bfa90b6Smrg 6613bfa90b6Smrgcommit 23d87c92b7211cc5249eefe4ab3a2c7f370e279e 6623bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 6633bfa90b6SmrgDate: Thu Feb 14 14:33:01 2013 -0800 6643bfa90b6Smrg 6653bfa90b6Smrg Kill mibstore 6663bfa90b6Smrg 6673bfa90b6Smrg It was a noop for at least 5 years and it has been removed. 6683bfa90b6Smrg 6693bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 6703bfa90b6Smrg 6713bfa90b6Smrgcommit 686859fba16ed2616c38bbe5d4e38abf4c5b7ae9 6723bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 6733bfa90b6SmrgDate: Tue Jan 15 12:05:45 2013 -0800 6743bfa90b6Smrg 6753bfa90b6Smrg Bump the version number to 13.0.0 6763bfa90b6Smrg 6773bfa90b6Smrg New abi and various fixes 6783bfa90b6Smrg 6793bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 6803bfa90b6Smrg 6813bfa90b6Smrgcommit adf375f3d400e51b1e445e89de6bd82be0bb4ef3 6823bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 6833bfa90b6SmrgDate: Thu Dec 6 16:40:13 2012 -0500 6843bfa90b6Smrg 6853bfa90b6Smrg xf86-video-vmware 12.0.99.901 6863bfa90b6Smrg 6873bfa90b6Smrg Internal release for a round of QE testing 6883bfa90b6Smrg 6893bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 6903bfa90b6Smrg 6913bfa90b6Smrgcommit 007bed30270ca9548dfe6e359972b56cbb8e2f13 6923bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 6933bfa90b6SmrgDate: Tue May 29 23:01:14 2012 +0200 6943bfa90b6Smrg 6953bfa90b6Smrg vmwgfx: Guard against null rotate pixmap in shadow destroy 6963bfa90b6Smrg 6973bfa90b6Smrg Reviewed-by: Thomas Hellström <thellstrom@vmware.com> 6983bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 6993bfa90b6Smrg 7003bfa90b6Smrgcommit e5ac80d8f72963313358e31cfb1ab98583e26f23 7013bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com> 7023bfa90b6SmrgDate: Tue Jul 3 13:50:30 2012 +0100 7033bfa90b6Smrg 7043bfa90b6Smrg vmware: avoid warnings about shadowing 'i' 7053bfa90b6Smrg 7063bfa90b6Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 7073bfa90b6Smrg 7083bfa90b6Smrgcommit 46c0862d205eefa985e36a74391ca392640cb898 7093bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com> 7103bfa90b6SmrgDate: Sat Jun 16 14:43:52 2012 +0100 7113bfa90b6Smrg 7123bfa90b6Smrg vmware: drop infoFromScreen inline in favour of new interface 7133bfa90b6Smrg 7143bfa90b6Smrg This also should fix the build regression introduced with the fix 7153bfa90b6Smrg for this macro. 7163bfa90b6Smrg 7173bfa90b6Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 7183bfa90b6Smrg 7193bfa90b6Smrgcommit 50c01998c7800bc02fd6656cc14efa715bf63e08 7203bfa90b6SmrgAuthor: Robert Hooker <sarvatt@ubuntu.com> 7213bfa90b6SmrgDate: Fri Jun 15 11:56:59 2012 -0400 7223bfa90b6Smrg 7233bfa90b6Smrg vmware: Fix up some warnings after new compat API change. 7243bfa90b6Smrg 7253bfa90b6Smrg Fixes multiple instances of these warnings on x86_64: 7263bfa90b6Smrg ../../src/vmware.h:180:5: warning: implicit declaration of function 'xf86ScreenToScrn' [-Wimplicit-function-declaration] 7273bfa90b6Smrg ../../src/vmware.h:180:5: warning: nested extern declaration of 'xf86ScreenToScrn' [-Wnested-externs] 7283bfa90b6Smrg ../../src/vmware.h:180:5: warning: return makes pointer from integer without a cast [enabled by default] 7293bfa90b6Smrg Function `xf86ScreenToScrn' implicitly converted to pointer at ../../src/vmware.h:180 7303bfa90b6Smrg 7313bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 7323bfa90b6Smrg Signed-off-by: Robert Hooker <sarvatt@ubuntu.com> 7333bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 7343bfa90b6Smrg 7353bfa90b6Smrgcommit 61df95a86f4997e342d50d7779b00aba2e8849a6 7363bfa90b6SmrgAuthor: Dave Airlie <airlied@redhat.com> 7373bfa90b6SmrgDate: Wed Jun 6 09:58:01 2012 +0100 7383bfa90b6Smrg 7393bfa90b6Smrg vmware: port vmware driver to new compat API 7403bfa90b6Smrg 7413bfa90b6Smrg This is a port of the vmware driver to the new compat API. 7423bfa90b6Smrg 7433bfa90b6Smrg Tested-by: Jakob Bornecrantz <jakob@vmware.com> 7443bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 7453bfa90b6Smrg Signed-off-by: Dave Airlie <airlied@redhat.com> 7463bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 7473bfa90b6Smrg 7483bfa90b6Smrgcommit 46cdf0ed0ad9df66f36f95e27b209d454f67d526 7493bfa90b6SmrgAuthor: Brian Paul <brianp@vmware.com> 7503bfa90b6SmrgDate: Fri Apr 20 14:24:26 2012 -0600 7513bfa90b6Smrg 7523bfa90b6Smrg vmwgfx: set the XA_FLAG_SHARED flag for composite dest surfaces 7533bfa90b6Smrg 7543bfa90b6Smrg This fixes a failed assertion in the gallium/svga driver in the 7553bfa90b6Smrg svga_texture_get_handle() function. The texture resource wasn't 7563bfa90b6Smrg getting created with the PIPE_BIND_SHARED flag so the !cachable 7573bfa90b6Smrg assertion would fail and the X session would abort. This didn't 7583bfa90b6Smrg happen with release builds. 7593bfa90b6Smrg 7603bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 7613bfa90b6Smrg 7623bfa90b6Smrgcommit 4d76cfe5e8e5d594ec357b0ef3339f56eeca9c64 7633bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 7643bfa90b6SmrgDate: Tue Mar 20 22:05:30 2012 +0100 7653bfa90b6Smrg 7663bfa90b6Smrg Bump version number for the release 7673bfa90b6Smrg 7683bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 7693bfa90b6Smrg 7703bfa90b6Smrgcommit c6f27561c7cf7c30f89493d64e3c5694b5f53469 7713bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 7723bfa90b6SmrgDate: Mon Mar 19 14:53:34 2012 +0100 7733bfa90b6Smrg 7743bfa90b6Smrg vmware/legacy: Fix crash on Xserver 1.12.0 7753bfa90b6Smrg 7763bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 7773bfa90b6Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 7783bfa90b6Smrg 7793bfa90b6Smrgcommit b70116b907aa8545f0275589a52275235083bb40 7803bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 7813bfa90b6SmrgDate: Thu Mar 15 11:37:26 2012 -0400 7823bfa90b6Smrg 7833bfa90b6Smrg Fix a memory corruption due to a redundant free. 7843bfa90b6Smrg 7853bfa90b6Smrg We use the empty rect purely as a placeholder and never 7863bfa90b6Smrg initialize it with its own memory so lets not try to free 7873bfa90b6Smrg it. 7883bfa90b6Smrg Spotted by Dave Airlie. 7893bfa90b6Smrg 7903bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 7913bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 7923bfa90b6Smrg 7933bfa90b6Smrgcommit 57f1204292a116b35d5930752bc06f9065332879 7943bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 7953bfa90b6SmrgDate: Tue Mar 13 21:41:11 2012 +0100 7963bfa90b6Smrg 7973bfa90b6Smrg Bump version number for the release 7983bfa90b6Smrg 7993bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 8003bfa90b6Smrg 8013bfa90b6Smrgcommit e585f9ea04bbd17398d2fa804be38a4e75bc60e4 8023bfa90b6SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 8033bfa90b6SmrgDate: Tue Mar 13 09:44:46 2012 -0400 8043bfa90b6Smrg 8053bfa90b6Smrg config: move AC_SYS_LARGEFILE in autoconf init section 8063bfa90b6Smrg 8073bfa90b6Smrg There is no need for this statement to be conditionally included. 8083bfa90b6Smrg It adds support for large files without taking anything away. 8093bfa90b6Smrg 8103bfa90b6Smrg http://www.gnu.org/software/autoconf/manual/autoconf.html 8113bfa90b6Smrg 8123bfa90b6Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8133bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 8143bfa90b6Smrg 8153bfa90b6Smrgcommit 04169f3860e4a7d03485631bee40c05fc45b72c6 8163bfa90b6SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 8173bfa90b6SmrgDate: Mon Mar 12 14:51:38 2012 -0400 8183bfa90b6Smrg 8193bfa90b6Smrg config: include saa and vmwgfx subdirs in the tarball 8203bfa90b6Smrg 8213bfa90b6Smrg Use AM_CONDITIONAL. Automake knows what to distribute. 8223bfa90b6Smrg It needs to be able to navigate down the subdirs to find what 8233bfa90b6Smrg needs to be included in the tarball. 8243bfa90b6Smrg 8253bfa90b6Smrg To test reliably, create a tarball and expand it into a separate 8263bfa90b6Smrg directory and build with xatracker. Distcheck will not detect 8273bfa90b6Smrg missing code when such code is configured not to build. 8283bfa90b6Smrg 8293bfa90b6Smrg The content of a tarball *must* always be identical, regardless 8303bfa90b6Smrg of the configuration options used or on which platform it was configured. 8313bfa90b6Smrg 8323bfa90b6Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8333bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 8343bfa90b6Smrg 8353bfa90b6Smrgcommit e6836ff099e5565dea58a53bba9b2df377241ef7 8363bfa90b6SmrgAuthor: Zack Rusin <zackr@vmware.com> 8373bfa90b6SmrgDate: Thu Mar 8 09:55:07 2012 -0500 8383bfa90b6Smrg 8393bfa90b6Smrg Bump version number for the release 8403bfa90b6Smrg 8413bfa90b6Smrg Signed-off-by: Zack Rusin <zackr@vmware.com> 8423bfa90b6Smrg 8433bfa90b6Smrgcommit c5c38bab8c493985349356be5fadc14d3aee8040 8443bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 8453bfa90b6SmrgDate: Wed Feb 8 15:00:20 2012 +0100 8463bfa90b6Smrg 8473bfa90b6Smrg vmware/legacy: Fix initial mode size v2 8483bfa90b6Smrg 8493bfa90b6Smrg Commit "vmwlegacy: Make the default be a minium of 800x600..." 8503bfa90b6Smrg read the dimensions from the incorrect register pair. 8513bfa90b6Smrg 8523bfa90b6Smrg v2: Also treat initial widths and heights larger than the maximum 8533bfa90b6Smrg values as an error and revert back to the minimum. 8543bfa90b6Smrg 8553bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 8563bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 8573bfa90b6Smrg 8583bfa90b6Smrgcommit 49b4cbc5100ce9a4cc40132c2839f9401a58b92e 8593bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 8603bfa90b6SmrgDate: Mon Feb 6 19:48:57 2012 +0100 8613bfa90b6Smrg 8623bfa90b6Smrg saa: Try to avoid readbacks during polyFillRect 8633bfa90b6Smrg 8643bfa90b6Smrg This significantly improves performance of shaped windows on top of 3D 8653bfa90b6Smrg contents 8663bfa90b6Smrg 8673bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 8683bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 8693bfa90b6Smrg Reviewed-by: Zack Rusin <zackr@vmware.com> 8703bfa90b6Smrg 8713bfa90b6Smrgcommit ecf6c5b1081e70ec64132a8188c8cc15945c2290 8723bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 8733bfa90b6SmrgDate: Thu Feb 2 10:24:26 2012 +0100 8743bfa90b6Smrg 8753bfa90b6Smrg vmware: Kill warnings on Xserver 1.12 8763bfa90b6Smrg 8773bfa90b6Smrg Compile-tested on servers 1.0 through 1.12. 8783bfa90b6Smrg 8793bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 8803bfa90b6Smrg 8813bfa90b6Smrgcommit 3e18d43c7f8ab5dcb94ac285a687eaaa1a578250 8823bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 8833bfa90b6SmrgDate: Wed Feb 1 17:30:52 2012 +0100 8843bfa90b6Smrg 8853bfa90b6Smrg vmwgfx: Kill a deprecation warning on server 1.12 8863bfa90b6Smrg 8873bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 8883bfa90b6Smrg 8893bfa90b6Smrgcommit bfb286bea967c26426aebda2a581f35da0d86884 8903bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 8913bfa90b6SmrgDate: Wed Feb 1 17:25:19 2012 +0100 8923bfa90b6Smrg 8933bfa90b6Smrg vmwgfx: Fix up swap[sl] for server 1.12 8943bfa90b6Smrg 8953bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 8963bfa90b6Smrg 8973bfa90b6Smrgcommit 8ff19c2b2f288d6851b444dbda39544980837b73 8983bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 8993bfa90b6SmrgDate: Wed Feb 1 16:59:13 2012 +0100 9003bfa90b6Smrg 9013bfa90b6Smrg vmwgfx: Avoid including a library header and use pixman for type conversion 9023bfa90b6Smrg 9033bfa90b6Smrg The PictTransform type is a typedef of a pixman type. 9043bfa90b6Smrg 9053bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 9063bfa90b6Smrg 9073bfa90b6Smrgcommit 193b5118199028ea0180785bb3f4c8a16359b8b0 9083bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 9093bfa90b6SmrgDate: Fri Jan 13 17:01:02 2012 +0100 9103bfa90b6Smrg 9113bfa90b6Smrg Bump version number for release 9123bfa90b6Smrg 9133bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 9143bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 9153bfa90b6Smrg 9163bfa90b6Smrgcommit c5af120177949c82cbd0611da565fef9c2c829cb 9173bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 9183bfa90b6SmrgDate: Fri Jan 13 17:14:47 2012 +0100 9193bfa90b6Smrg 9203bfa90b6Smrg Make the driver build pass "make distcheck" 9213bfa90b6Smrg 9223bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 9233bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 9243bfa90b6Smrg 9253bfa90b6Smrgcommit e6d03aceb1195de0b490f39024f34a33b1a8f6fc 9263bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 9273bfa90b6SmrgDate: Thu Jan 12 14:00:41 2012 +0100 9283bfa90b6Smrg 9293bfa90b6Smrg vmwgfx: Adapt to new XA version number v2 9303bfa90b6Smrg 9313bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 9323bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 9333bfa90b6Smrg 9343bfa90b6Smrgcommit 59435d2d3af8a9f64ee40eac4f0479470ba6badf 9353bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 9363bfa90b6SmrgDate: Thu Jan 12 17:57:37 2012 +0100 9373bfa90b6Smrg 9383bfa90b6Smrg vmwgfx,saa: Fix a bunch of compilation warnings 9393bfa90b6Smrg 9403bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 9413bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 9423bfa90b6Smrg 9433bfa90b6Smrgcommit 0628ad20f31a239f99fcbbfe42197c56a5ae8864 9443bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 9453bfa90b6SmrgDate: Fri Dec 9 07:34:58 2011 +0100 9463bfa90b6Smrg 9473bfa90b6Smrg vmwlegacy: Make the default be a minimum of 800x600 9483bfa90b6Smrg 9493bfa90b6Smrg This patch and the corresponding vmwgfx patch formalizes both drivers 9503bfa90b6Smrg on the same behviour. The minimum is 800x600 (unless the max size is 9513bfa90b6Smrg smaller). This makes it unnecessary to check against VRAM size since 9523bfa90b6Smrg it is always at least large enough to fit the max values. 9533bfa90b6Smrg 9543bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 9553bfa90b6Smrg 9563bfa90b6Smrgcommit 8ddbb3216d29b2ecd336d50461216feef0900fd9 9573bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 9583bfa90b6SmrgDate: Thu Jan 12 10:00:41 2012 +0100 9593bfa90b6Smrg 9603bfa90b6Smrg vmware: Make sure the driver builds on old servers 9613bfa90b6Smrg 9623bfa90b6Smrg Move things around a bit so the driver compiles with 9633bfa90b6Smrg servers back to Xserver 1.0. 9643bfa90b6Smrg 9653bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 9663bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 9673bfa90b6Smrg 9683bfa90b6Smrgcommit 194ff6f1517d0a8250e64c3d768a9b7ae9ed3140 9693bfa90b6SmrgAuthor: Thomas Hellström <thellstrom@vmware.com> 9703bfa90b6SmrgDate: Wed Jan 11 14:49:56 2012 +0100 9713bfa90b6Smrg 9723bfa90b6Smrg vmware: Update Manpage 9733bfa90b6Smrg 9743bfa90b6Smrg Update the Manpage with new options and a brief modesetting- and 3D 9753bfa90b6Smrg description. 9763bfa90b6Smrg 9773bfa90b6Smrg Signed-off-by: Thomas Hellström <thellstrom@vmware.com> 9783bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 9793bfa90b6Smrg 9803bfa90b6Smrgcommit b5546fb1de3f3859151a91e98ab0bd24b6789e2e 9813bfa90b6SmrgMerge: abf9cb7 5748c33 9823bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 9833bfa90b6SmrgDate: Mon Dec 19 20:25:43 2011 +0100 9843bfa90b6Smrg 9853bfa90b6Smrg Merge branch 'vmwgfx_branch' 9863bfa90b6Smrg 9873bfa90b6Smrgcommit 5748c33535bc7d3009b9758653885e6ae0e73002 9883bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 9893bfa90b6SmrgDate: Wed Dec 14 12:38:27 2011 +0100 9903bfa90b6Smrg 9913bfa90b6Smrg saa, vmwgfx: Fix saa_copy_composite 9923bfa90b6Smrg 9933bfa90b6Smrg The traditional accelerated copy methods aren't format aware. 9943bfa90b6Smrg Make saa copy format aware,and pass formats on to the driver copy function 9953bfa90b6Smrg if available. If the driver can't handle format conversions it needs to 9963bfa90b6Smrg return FALSE. 9973bfa90b6Smrg 9983bfa90b6Smrg This fixes format confusion in the copy composite fastpath. 9993bfa90b6Smrg 10003bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 10013bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 10023bfa90b6Smrg 10033bfa90b6Smrgcommit f664e31d73bd31594e069d8bcca872687b84d8d9 10043bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10053bfa90b6SmrgDate: Wed Dec 14 10:22:22 2011 +0100 10063bfa90b6Smrg 10073bfa90b6Smrg saa: Always read back hw contents on poly_fill_rect 10083bfa90b6Smrg 10093bfa90b6Smrg The damage region may be much larger than the actual area 10103bfa90b6Smrg filled, so make sure we read back any hw contents in the damage region 10113bfa90b6Smrg since we use it to mark sw dirty. 10123bfa90b6Smrg Revisit this in the future since it may increase readbacks in an 10133bfa90b6Smrg undesired way. There are workarounds. 10143bfa90b6Smrg 10153bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 10163bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 10173bfa90b6Smrg 10183bfa90b6Smrgcommit 0eef22437093d29f572abea845fff9c03fca5e4e 10193bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10203bfa90b6SmrgDate: Wed Dec 14 10:18:16 2011 +0100 10213bfa90b6Smrg 10223bfa90b6Smrg saa: Only try to accelerate pixmaps that are driver pixmaps 10233bfa90b6Smrg 10243bfa90b6Smrg Trying to accelerate scratch pixmaps doesn't work currently, 10253bfa90b6Smrg and I'm not sure it's a big benefit either. 10263bfa90b6Smrg 10273bfa90b6Smrg This is in line with what EXA does. 10283bfa90b6Smrg 10293bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 10303bfa90b6Smrg Reviewed-by: Jakob Bornecrants <jakob@vmware.com> 10313bfa90b6Smrg 10323bfa90b6Smrgcommit afd2f828b8a8b2ccc6ebe4d56104db3d03d08493 10333bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10343bfa90b6SmrgDate: Thu Dec 8 13:14:57 2011 +0100 10353bfa90b6Smrg 10363bfa90b6Smrg vmwgfx: Reduce system resource usage with textured video 10373bfa90b6Smrg 10383bfa90b6Smrg Use U and V textures and corresponding dma buffers that match 10393bfa90b6Smrg the size of the input UV data rather than using textures and DMA buffers 10403bfa90b6Smrg that match the Y data. This simplifies data copy and reduces the amount of 10413bfa90b6Smrg image data transfered to the host by up to 50% (YV12). 10423bfa90b6Smrg 10433bfa90b6Smrg It also reduces dma buffer- and surface memory usage correspondingly. 10443bfa90b6Smrg 10453bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 10463bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 10473bfa90b6Smrg 10483bfa90b6Smrgcommit 121dba0093d24eb0aefa3d27a22f05f85ac66f72 10493bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10503bfa90b6SmrgDate: Wed Dec 7 20:19:34 2011 +0100 10513bfa90b6Smrg 10523bfa90b6Smrg vmwgfx: Hook up XV color conversion control attributes 10533bfa90b6Smrg 10543bfa90b6Smrg This enables the standard XV color conversion control attributes 10553bfa90b6Smrg contrast, scaling, saturation and hue. 10563bfa90b6Smrg 10573bfa90b6Smrg Currently the attribute change takes effect on the next image only. 10583bfa90b6Smrg If we ever implement a ReputImage callback, we can use it to update 10593bfa90b6Smrg the image immediately on attribute change. 10603bfa90b6Smrg 10613bfa90b6Smrg The attribute ranges follow those used by the proprietary Nvidia driver. 10623bfa90b6Smrg 10633bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 10643bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 10653bfa90b6Smrg 10663bfa90b6Smrgcommit 8bdc6004d34e274d815bb3f3e0aa223085ea848c 10673bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10683bfa90b6SmrgDate: Wed Dec 7 14:17:45 2011 +0100 10693bfa90b6Smrg 10703bfa90b6Smrg vmwgfx: Adapt to new interface of xa_yuv_planar_blit 10713bfa90b6Smrg 10723bfa90b6Smrg Also make it easier to modify the color conversion matrix based on 10733bfa90b6Smrg yuv encoding properties. 10743bfa90b6Smrg 10753bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 10763bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 10773bfa90b6Smrg 10783bfa90b6Smrgcommit dba7b865d36ebe06b54987176b1a83cdbc2f846a 10793bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10803bfa90b6SmrgDate: Tue Dec 6 10:00:00 2011 +0100 10813bfa90b6Smrg 10823bfa90b6Smrg vmwgfx: Fix MessageType members that are incorrectly typed as Bool 10833bfa90b6Smrg 10843bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 10853bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 10863bfa90b6Smrg 10873bfa90b6Smrgcommit 2c438ad8b82f47ac3252403052df16655184acbd 10883bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 10893bfa90b6SmrgDate: Tue Dec 6 09:53:16 2011 +0100 10903bfa90b6Smrg 10913bfa90b6Smrg vmwgfx: Add an option to enable rendercheck mode 10923bfa90b6Smrg 10933bfa90b6Smrg Rendercheck mode is used to enable acceleration of all supported composite 10943bfa90b6Smrg operations, regardless of the current data location. The mode is off by 10953bfa90b6Smrg default, but could be turned on to test the hardware composite operation 10963bfa90b6Smrg implementation. Due to excessive data migration, rendercheck mode will be 10973bfa90b6Smrg slow. 10983bfa90b6Smrg 10993bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11003bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11013bfa90b6Smrg 11023bfa90b6Smrgcommit 1736a76246f0a0dab01f5a1066332168d34b2803 11033bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11043bfa90b6SmrgDate: Tue Dec 6 09:21:25 2011 +0100 11053bfa90b6Smrg 11063bfa90b6Smrg vmwgfx: Adapt to the dri state tracker sending depth instead of bpp 11073bfa90b6Smrg 11083bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11093bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11103bfa90b6Smrg 11113bfa90b6Smrgcommit fb35176958bba2f86d6d466ccb7baadcff806512 11123bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11133bfa90b6SmrgDate: Mon Dec 5 20:58:45 2011 +0100 11143bfa90b6Smrg 11153bfa90b6Smrg vmwgfx: Don't register back buffers as "hw_is_dri2_fronts" v2 11163bfa90b6Smrg 11173bfa90b6Smrg That is reserved for dri2 front or fake front pixmaps that need 11183bfa90b6Smrg immediate flushing of software contents to hardware. 11193bfa90b6Smrg 11203bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11213bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11223bfa90b6Smrg 11233bfa90b6Smrgcommit 3c2486e05e98f2ff8f4e3d2633d91e14140a676e 11243bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 11253bfa90b6SmrgDate: Thu Dec 1 16:47:41 2011 +0100 11263bfa90b6Smrg 11273bfa90b6Smrg vmwgfx: Include drm.h from correct path 11283bfa90b6Smrg 11293bfa90b6Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 11303bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 11313bfa90b6Smrg 11323bfa90b6Smrgcommit 995d86ceb0ae8cf2904100405ba6710c89f7f1b7 11333bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11343bfa90b6SmrgDate: Mon Nov 28 14:51:36 2011 +0100 11353bfa90b6Smrg 11363bfa90b6Smrg vmwgfx: Make the drm device name persistent 11373bfa90b6Smrg 11383bfa90b6Smrg The DRI2 code doesn't copy the device name, but assumes the storage 11393bfa90b6Smrg is persistent. 11403bfa90b6Smrg 11413bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11423bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11433bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 11443bfa90b6Smrg 11453bfa90b6Smrgcommit 08ca819238f2c2a0494b0bd8452393fc62907cc1 11463bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11473bfa90b6SmrgDate: Fri Nov 25 14:38:45 2011 +0100 11483bfa90b6Smrg 11493bfa90b6Smrg vmwgfx: Get the drm device name from the open file descriptor 11503bfa90b6Smrg 11513bfa90b6Smrg Rather than hardcoding it. 11523bfa90b6Smrg 11533bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11543bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11553bfa90b6Smrg 11563bfa90b6Smrgcommit d7576c2c50dd0f3b7f70f97d9bde4e8b859e89e5 11573bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11583bfa90b6SmrgDate: Fri Nov 25 11:27:26 2011 +0100 11593bfa90b6Smrg 11603bfa90b6Smrg vmwgfx: Use config options to optionally set GUI topology 11613bfa90b6Smrg 11623bfa90b6Smrg Use option "StaticXinerama" or "GuiLayout" to set initial GUI topology, 11633bfa90b6Smrg similar to how these options are used with the legacy driver. 11643bfa90b6Smrg 11653bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11663bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11673bfa90b6Smrg 11683bfa90b6Smrgcommit 22d3e58b8810a73c4818d4d3943776a387147b83 11693bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11703bfa90b6SmrgDate: Wed Nov 23 11:02:00 2011 +0100 11713bfa90b6Smrg 11723bfa90b6Smrg vmwlegacy: Factor out code that can be common for vmwgfx and vmwlegacy 11733bfa90b6Smrg 11743bfa90b6Smrg In this case it's the parsing of the gui / statix xinerama topology. 11753bfa90b6Smrg 11763bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11773bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11783bfa90b6Smrg 11793bfa90b6Smrgcommit 2e8aac7031a83f507169f6fe42924c51bdaf7326 11803bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11813bfa90b6SmrgDate: Wed Nov 23 10:49:33 2011 +0100 11823bfa90b6Smrg 11833bfa90b6Smrg vmwlegacy: Accept option "GuiLayout" as a synonym for "staticXinerama" 11843bfa90b6Smrg 11853bfa90b6Smrg It's more user-friendly and in line with what it's being used for in the 11863bfa90b6Smrg vmwgfx driver. 11873bfa90b6Smrg 11883bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11893bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11903bfa90b6Smrg 11913bfa90b6Smrgcommit 31e80b2a609631d85341025d7f2d0fb818f386f5 11923bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 11933bfa90b6SmrgDate: Fri Nov 25 09:42:16 2011 +0100 11943bfa90b6Smrg 11953bfa90b6Smrg vmware: Update library dependencies 11963bfa90b6Smrg 11973bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 11983bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 11993bfa90b6Smrg 12003bfa90b6Smrgcommit da29c648051208b98704860f851564a80bd3b123 12013bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12023bfa90b6SmrgDate: Tue Nov 22 21:06:24 2011 +0100 12033bfa90b6Smrg 12043bfa90b6Smrg vmwgfx: Pre-init fixes 12053bfa90b6Smrg 12063bfa90b6Smrg A bunch of fixes that makes the fallback from vmwgfx to vmwlegacy easier. 12073bfa90b6Smrg 12083bfa90b6Smrg 1) Allow only 16 and 24 bit depths with vmwgfx. We may revisit this later. 12093bfa90b6Smrg 2) Try to reclaim some resources if pre_init fails. 12103bfa90b6Smrg 3) Print error messages so the user understands what happens on fallback. 12113bfa90b6Smrg 12123bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12133bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 12143bfa90b6Smrg 12153bfa90b6Smrgcommit e52b1505cfc4a7d0507e14c3b6335a9b9652c50f 12163bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12173bfa90b6SmrgDate: Fri Nov 25 09:15:32 2011 +0100 12183bfa90b6Smrg 12193bfa90b6Smrg vmware: Update the vmware register definition 12203bfa90b6Smrg 12213bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12223bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 12233bfa90b6Smrg 12243bfa90b6Smrgcommit 1c77e3d7434f04c59233ce7e497a949e386e1630 12253bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12263bfa90b6SmrgDate: Tue Nov 22 19:56:20 2011 +0100 12273bfa90b6Smrg 12283bfa90b6Smrg vmware: Hook up vmwgfx to be tried before falling back to legacy 12293bfa90b6Smrg 12303bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12313bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 12323bfa90b6Smrg 12333bfa90b6Smrgcommit 2aa256c96496ed6dd9dbd5880c278f4422500b0f 12343bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12353bfa90b6SmrgDate: Tue Nov 22 18:37:44 2011 +0100 12363bfa90b6Smrg 12373bfa90b6Smrg vmwlegacy: Factor out bootstrap functions 12383bfa90b6Smrg 12393bfa90b6Smrg Preparing for choosing driver path in preinit instead of using 12403bfa90b6Smrg shim loader. 12413bfa90b6Smrg 12423bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12433bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 12443bfa90b6Smrg 12453bfa90b6Smrgcommit abf9cb75630cb27bb4741d194cb23014fe3d09b1 12463bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12473bfa90b6SmrgDate: Thu Nov 17 16:38:22 2011 +0100 12483bfa90b6Smrg 12493bfa90b6Smrg vmwlegacy: Fix up Xinerama / panoramiX replies. 12503bfa90b6Smrg 12513bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12523bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 12533bfa90b6Smrg 12543bfa90b6Smrgcommit be23efbc91f47a6a34fbe24f167ee29fdf58f541 12553bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12563bfa90b6SmrgDate: Wed Nov 16 10:23:10 2011 +0100 12573bfa90b6Smrg 12583bfa90b6Smrg vmwlegacy: Fix device fifo communication 12593bfa90b6Smrg 12603bfa90b6Smrg This fixes two issues with the device fifo communication: 12613bfa90b6Smrg 1) Idle the fifo before initializing it. If the fifo is already up and 12623bfa90b6Smrg processing data due to an uncleanly shut down server, and init could 12633bfa90b6Smrg otherwise confuse the device. 12643bfa90b6Smrg 12653bfa90b6Smrg 2) Mark fifo memory volatile when writing to it and make sure commands 12663bfa90b6Smrg are written before telling the device they are available. 12673bfa90b6Smrg 12683bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12693bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 12703bfa90b6Smrg 12713bfa90b6Smrgcommit 70487eee975c63b5ed1492927bbc661425278276 12723bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12733bfa90b6SmrgDate: Wed Nov 9 11:34:16 2011 +0100 12743bfa90b6Smrg 12753bfa90b6Smrg vmwgfx: Make sure we don't render when VT switched 12763bfa90b6Smrg 12773bfa90b6Smrg When compiz is enabled, we may try to DMA sw rendered contents of dri2 12783bfa90b6Smrg drawables to surfaces while VT switched. I'm not sure how this could be 12793bfa90b6Smrg happening, but queue the DMA until the next block handler. 12803bfa90b6Smrg 12813bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12823bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 12833bfa90b6Smrg 12843bfa90b6Smrgcommit e1810e0b09e07bdab05a57fdef74450a507e9dfa 12853bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12863bfa90b6SmrgDate: Tue Nov 8 15:28:40 2011 +0100 12873bfa90b6Smrg 12883bfa90b6Smrg vmwgfx: Fix rendering errors when rotating / unrotating a screen. 12893bfa90b6Smrg 12903bfa90b6Smrg The dirty trackers weren't correctly translated to 12913bfa90b6Smrg pending presents / updates when a pixmap was bound as a scanout. 12923bfa90b6Smrg 12933bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 12943bfa90b6Smrg Reviewed-by: Jakob Bornecrants <jakob@vmware.com> 12953bfa90b6Smrg 12963bfa90b6Smrgcommit d0b493d67afd1b5e8c8397c7938752ecd56c91ba 12973bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 12983bfa90b6SmrgDate: Tue Nov 8 14:49:36 2011 +0100 12993bfa90b6Smrg 13003bfa90b6Smrg vmwgfx: A number of damage fixes 13013bfa90b6Smrg 13023bfa90b6Smrg A damage tracker was sometimes attached to a pixmap in the middle of an 13033bfa90b6Smrg operation. That meant that damage was never registered for that operation 13043bfa90b6Smrg which caused dirty-tracking to fail. Instead, add a damage tracker as 13053bfa90b6Smrg soon as we have storage attached to the pixmap. 13063bfa90b6Smrg 13073bfa90b6Smrg Also, when a pixmap was resized, the dirty region trackers could become 13083bfa90b6Smrg stale, and cause DMA operation extending outside of the pixmap with 13093bfa90b6Smrg server crashes as a result. This commit fixes that. 13103bfa90b6Smrg 13113bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13123bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 13133bfa90b6Smrg 13143bfa90b6Smrgcommit aff799d007c8383321213ad177e5a9deec2b3978 13153bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13163bfa90b6SmrgDate: Tue Nov 1 15:39:07 2011 +0100 13173bfa90b6Smrg 13183bfa90b6Smrg vmwgfx: Add an option to use a scanout surface 13193bfa90b6Smrg 13203bfa90b6Smrg With this option enabled, we compose all contents (both sw and hw) in 13213bfa90b6Smrg the guest before presenting it. Just like the old xorg state tracker did 13223bfa90b6Smrg when 3D was enabled. It's not as bad as the old xorg state tracker was for 13233bfa90b6Smrg interactivity, but there's a small but noticeable lag when moving windows. 13243bfa90b6Smrg 13253bfa90b6Smrg It's mainly intended for testing purposes, like testing the surface 13263bfa90b6Smrg dirty paths in the kernel module. 13273bfa90b6Smrg 13283bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13293bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 13303bfa90b6Smrg 13313bfa90b6Smrgcommit 5137e8736edfab1aaebef4046baab37361584b2e 13323bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13333bfa90b6SmrgDate: Tue Nov 1 09:59:18 2011 +0100 13343bfa90b6Smrg 13353bfa90b6Smrg vmwgfx: Be correct when setting up damage tracking 13363bfa90b6Smrg 13373bfa90b6Smrg When setting up damage tracking, previously the code would guess wether 13383bfa90b6Smrg sw or hw was currently dirty. The caller always have that information, 13393bfa90b6Smrg so pass it to the damage tracking setup function. 13403bfa90b6Smrg 13413bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13423bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 13433bfa90b6Smrg 13443bfa90b6Smrgcommit ed7bba3cda4b454eec771d3bf0ebed4fd998a82a 13453bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13463bfa90b6SmrgDate: Tue Nov 1 08:38:52 2011 +0100 13473bfa90b6Smrg 13483bfa90b6Smrg vmwgfx: Add an option for direct presents 13493bfa90b6Smrg 13503bfa90b6Smrg With this option set to true, accelerated copies to a scanout pixmap will 13513bfa90b6Smrg be performed as hardware presents instead of copies to an intermediate 13523bfa90b6Smrg 3D surface backing the scanout pixmap, followed by a present. 13533bfa90b6Smrg 13543bfa90b6Smrg Depending on the application this might be a performance boost, but since 13553bfa90b6Smrg it might trigger device software readbacks in other situations, for example 13563bfa90b6Smrg dri2 copy front->fake_front, it might be a performance hog in other situations, 13573bfa90b6Smrg so disable it by default. (Before this commit it was enabled by default). 13583bfa90b6Smrg 13593bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13603bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 13613bfa90b6Smrg 13623bfa90b6Smrgcommit b2c4a7e682e14fa8af42415d429d6735117fefcb 13633bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13643bfa90b6SmrgDate: Mon Oct 31 15:14:21 2011 +0100 13653bfa90b6Smrg 13663bfa90b6Smrg vmwgfx: Fix acceleration options. 13673bfa90b6Smrg 13683bfa90b6Smrg Introduce relevant acceleration options and fix up the log printout. 13693bfa90b6Smrg 13703bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13713bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 13723bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 13733bfa90b6Smrg 13743bfa90b6Smrgcommit da85719e9e373ee8da53388cccc71a0f9c8bbefc 13753bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13763bfa90b6SmrgDate: Mon Oct 31 14:40:55 2011 +0100 13773bfa90b6Smrg 13783bfa90b6Smrg vmwgfx: Remove a couple of unused options 13793bfa90b6Smrg 13803bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13813bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 13823bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 13833bfa90b6Smrg 13843bfa90b6Smrgcommit b6faecc7613e8c73f0681d20a1a80e5e0ddd4058 13853bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13863bfa90b6SmrgDate: Mon Oct 31 14:27:29 2011 +0100 13873bfa90b6Smrg 13883bfa90b6Smrg vmwgfx: Don't do present readbacks per crtc 13893bfa90b6Smrg 13903bfa90b6Smrg The kernel now takes care of doing this the right way; 13913bfa90b6Smrg no need to duplicate that functionality. 13923bfa90b6Smrg 13933bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 13943bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 13953bfa90b6Smrg 13963bfa90b6Smrgcommit cc7c1c961b77c139b95fbb6948204def1b4b908a 13973bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 13983bfa90b6SmrgDate: Mon Oct 31 10:50:09 2011 +0100 13993bfa90b6Smrg 14003bfa90b6Smrg vmwgfx: Fall back to sw cursors if needed 14013bfa90b6Smrg 14023bfa90b6Smrg If there is a risc that we need two simultaneous cursors, 14033bfa90b6Smrg (two outputs showing the same contents, at least one of them explicit), 14043bfa90b6Smrg fall back to sw cursor. 14053bfa90b6Smrg 14063bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 14073bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 14083bfa90b6Smrg 14093bfa90b6Smrgcommit 427064b57c52c8881c7a64d9c9e21411e79e644b 14103bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 14113bfa90b6SmrgDate: Wed Oct 26 16:33:30 2011 +0200 14123bfa90b6Smrg 14133bfa90b6Smrg vmwgfx: Fix crtc position of transformed fb 14143bfa90b6Smrg 14153bfa90b6Smrg The fb allocated for transformed data always matches the scanout region, 14163bfa90b6Smrg so set the crtc origin to (0,0) 14173bfa90b6Smrg 14183bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 14193bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 14203bfa90b6Smrg 14213bfa90b6Smrgcommit 55113dae7cbe99bfb69869831536ff34ed445c73 14223bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 14233bfa90b6SmrgDate: Wed Oct 26 15:08:18 2011 +0200 14243bfa90b6Smrg 14253bfa90b6Smrg vmwgfx: Hook up vmwarectrl to the gui layout ioctl 14263bfa90b6Smrg 14273bfa90b6Smrg Requires drm 2.3. 14283bfa90b6Smrg 14293bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 14303bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 14313bfa90b6Smrg 14323bfa90b6Smrgcommit c73a7f3d991dd95d332829f2ca8a88aabfea5a46 14333bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 14343bfa90b6SmrgDate: Wed Oct 26 07:28:31 2011 +0200 14353bfa90b6Smrg 14363bfa90b6Smrg vmwgfx: Update the connector type name array 14373bfa90b6Smrg 14383bfa90b6Smrg Also map connector types that are not in the array to "Unknown". 14393bfa90b6Smrg 14403bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 14413bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 14423bfa90b6Smrg 14433bfa90b6Smrgcommit a33710b0d16c9c01a1995b60f0b0d4d482f459d3 14443bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 14453bfa90b6SmrgDate: Fri Oct 21 11:19:36 2011 +0200 14463bfa90b6Smrg 14473bfa90b6Smrg vmwgfx: Save the dri2 requested depth since it may differ from the drawable 14483bfa90b6Smrg depth. 14493bfa90b6Smrg 14503bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 14513bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 14523bfa90b6Smrg 14533bfa90b6Smrgcommit 4c08c2600936efeedb1a33436876ba82a11218e7 14543bfa90b6SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 14553bfa90b6SmrgDate: Fri Oct 7 13:15:11 2011 -0700 14563bfa90b6Smrg 14573bfa90b6Smrg Build fix for ABI version 12 14583bfa90b6Smrg 14593bfa90b6Smrg This results in the vmware driver assuming there is only one PCI domain, 14603bfa90b6Smrg which I think is true for everywhere this is expected to run anyway. 14613bfa90b6Smrg 14623bfa90b6Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 14633bfa90b6Smrg 14643bfa90b6Smrgcommit 208ccbc7179b40a570a5943e325dd22740a67577 14653bfa90b6SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 14663bfa90b6SmrgDate: Fri Oct 7 13:10:59 2011 -0700 14673bfa90b6Smrg 14683bfa90b6Smrg Fix build failures resulting from changes to the swaps and swapl macros in recent xorg-server 14693bfa90b6Smrg 14703bfa90b6Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 14713bfa90b6Smrg 14723bfa90b6Smrgcommit de70a1d0cb79dad9e52baa43306264db80a163da 14733bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 14743bfa90b6SmrgDate: Wed Oct 5 13:33:17 2011 +0200 14753bfa90b6Smrg 14763bfa90b6Smrg xf86-video-vmware 11.0.99.901 14773bfa90b6Smrg 14783bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 14793bfa90b6Smrg 14803bfa90b6Smrgcommit 26845eb54a15d43f09288a87c5f74beac8fb6ec7 14813bfa90b6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14823bfa90b6SmrgDate: Tue Sep 27 19:31:22 2011 -0700 14833bfa90b6Smrg 14843bfa90b6Smrg Use dixLookupWindow instead of LookupWindow on Xorg 1.5 & later 14853bfa90b6Smrg 14863bfa90b6Smrg The LookupWindow function was deprecated in xserver commit ed75b056511ccb4 14873bfa90b6Smrg and removed during the Xorg 1.11 merge window by commit 82a8677d9175732. 14883bfa90b6Smrg 14893bfa90b6Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14903bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 14913bfa90b6Smrg 14923bfa90b6Smrgcommit 5c43481aa639053bbbf7fbf5f72f0edecf616731 14933bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 14943bfa90b6SmrgDate: Thu Sep 1 13:59:10 2011 +0200 14953bfa90b6Smrg 14963bfa90b6Smrg vmwgfx: Adapt to vmwgfx kernel driver 2.1 14973bfa90b6Smrg 14983bfa90b6Smrg This introduces fence objects with 2.0, and present / present readback 14993bfa90b6Smrg ioctls with 2.1. 15003bfa90b6Smrg 15013bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 15023bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 15033bfa90b6Smrg 15043bfa90b6Smrgcommit b5438423ad29338429321cd29118a66b715cdcac 15053bfa90b6SmrgAuthor: Matt Turner <mattst88@gmail.com> 15063bfa90b6SmrgDate: Sun Sep 25 14:06:47 2011 -0400 15073bfa90b6Smrg 15083bfa90b6Smrg Fix wrong-sized swaps 15093bfa90b6Smrg 15103bfa90b6Smrg Signed-off-by: Matt Turner <mattst88@gmail.com> 15113bfa90b6Smrg 15123bfa90b6Smrgcommit 3c2f9cc43f7d36952e78d10d224da0ba68ecefea 15133bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 15143bfa90b6SmrgDate: Tue Aug 30 12:22:53 2011 +0200 15153bfa90b6Smrg 15163bfa90b6Smrg vmwgfx-xorg: Avoid enabling unwanted outputs in initial configuration 15173bfa90b6Smrg 15183bfa90b6Smrg Add a hack so that we avoid enabling all connected outputs during the 15193bfa90b6Smrg initial configuration. On older X servers they would be enabled as cloned, 15203bfa90b6Smrg which didn't really cause any problem, but on later X servers they would 15213bfa90b6Smrg initially be enabled next to eachother which looks odd. 15223bfa90b6Smrg 15233bfa90b6Smrg A RandR call will still show the disabled outputs as connected, and if there 15243bfa90b6Smrg is a monitor section in the config file for the output in question, 15253bfa90b6Smrg it will also have a connected status, so that it may be explicitly enabled 15263bfa90b6Smrg or disabled from a config file. 15273bfa90b6Smrg 15283bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 15293bfa90b6Smrg Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> 15303bfa90b6Smrg 15313bfa90b6Smrgcommit f17abaa926fdbedab1e6236e109fa746fcc2320b 15323bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 15333bfa90b6SmrgDate: Wed Jul 13 16:30:01 2011 +0100 15343bfa90b6Smrg 15353bfa90b6Smrg vmwgfx: Just include vmwgfx_drm.h 15363bfa90b6Smrg 15373bfa90b6Smrg We do this in mesa as well 15383bfa90b6Smrg 15393bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 15403bfa90b6Smrg 15413bfa90b6Smrgcommit b29d71e3adb16f2a8e3e9d534bf8b1c1f8e0d9ef 15423bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 15433bfa90b6SmrgDate: Wed Jul 13 16:28:52 2011 +0100 15443bfa90b6Smrg 15453bfa90b6Smrg saa: Remove superflouos headers includes 15463bfa90b6Smrg 15473bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 15483bfa90b6Smrg 15493bfa90b6Smrgcommit 98ff64fd7a13d2824d6f36b0d8f13d95f8be9e48 15503bfa90b6SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 15513bfa90b6SmrgDate: Mon Jul 11 12:23:32 2011 +0100 15523bfa90b6Smrg 15533bfa90b6Smrg vmwgfx: Fix logic when checking for XA 15543bfa90b6Smrg 15553bfa90b6Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 15563bfa90b6Smrg 15573bfa90b6Smrgcommit 858dbcdddb35b690a543a103d43dcaeb040260c1 15583bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 15593bfa90b6SmrgDate: Sat Jul 9 22:54:41 2011 +0200 15603bfa90b6Smrg 15613bfa90b6Smrg vmwgfx: Don't dirty the front buffer as hw when doing a dri2copyregion from it 15623bfa90b6Smrg 15633bfa90b6Smrg When copying from a dri2 buffer we usually dirty it as hw, since dri has 15643bfa90b6Smrg been rendering to it, and there can only be hw contents in the buffer. 15653bfa90b6Smrg 15663bfa90b6Smrg However for the real front, X has already done the dirty work for us. 15673bfa90b6Smrg 15683bfa90b6Smrg Also remove a glxWaitX() debug message. 15693bfa90b6Smrg 15703bfa90b6Smrg This should fix piglit read-front. 15713bfa90b6Smrg 15723bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 15733bfa90b6Smrg 15743bfa90b6Smrgcommit eea96a6f5ccc6a3a1e2bb2737f211076de443462 15753bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 15763bfa90b6SmrgDate: Thu Jul 7 22:02:15 2011 +0200 15773bfa90b6Smrg 15783bfa90b6Smrg vmwgfx: Add boolean flags for different rendering modes 15793bfa90b6Smrg 15803bfa90b6Smrg Basically we support three ways of getting data to the screen: 15813bfa90b6Smrg 1) Mixed mode: We mix presents and updates. 15823bfa90b6Smrg 2) Mixed present optimized: A version of mixed where copies to the front 15833bfa90b6Smrg buffer end up as presents, saving a blit. 15843bfa90b6Smrg 3) 3D surface mode: We only present from a 3D surface. Software contents are 15853bfa90b6Smrg first DMA'd to that surface. 15863bfa90b6Smrg 15873bfa90b6Smrg This change adds boolean flags to the saa struct to select which mode to use. 15883bfa90b6Smrg 15893bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 15903bfa90b6Smrg 15913bfa90b6Smrgcommit 9cff0a84308723d9790c6365c0d4b1c107794995 15923bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 15933bfa90b6SmrgDate: Thu Jul 7 09:21:56 2011 +0200 15943bfa90b6Smrg 15953bfa90b6Smrg vmwgfx: Various acceleration fixes. 15963bfa90b6Smrg 15973bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 15983bfa90b6Smrg 15993bfa90b6Smrgcommit 4ae8aac35b7209576eaeb64347470d3145b27832 16003bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16013bfa90b6SmrgDate: Mon Jul 4 15:39:02 2011 +0200 16023bfa90b6Smrg 16033bfa90b6Smrg vmwlegacy: Fix server termination due to pitch inconsistency. 16043bfa90b6Smrg 16053bfa90b6Smrg Don't require a 32*32 bit pitch alignment when validating modes, since the 16063bfa90b6Smrg requested virtual pitch (pVMWARE->maxWidth*bpp) must be a multiple of that 16073bfa90b6Smrg alignment. If not, the server will terminate with a cryptic error message. 16083bfa90b6Smrg 16093bfa90b6Smrg This is only for validating modes. The driver will adjust the pitch to the 16103bfa90b6Smrg host requirement when a mode is set anyway, and hopefully the host won't 16113bfa90b6Smrg require a pitch it doesn't support. 16123bfa90b6Smrg 16133bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16143bfa90b6Smrg 16153bfa90b6Smrgcommit 81e7099b6bbd9fdae66a3186dfc3fff2758009cf 16163bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16173bfa90b6SmrgDate: Fri Jul 1 13:23:30 2011 +0200 16183bfa90b6Smrg 16193bfa90b6Smrg vmwgfx: Require libxatracker >= 0.4. 16203bfa90b6Smrg 16213bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16223bfa90b6Smrg 16233bfa90b6Smrgcommit d2e27ee5c116cd914d98c2ffa4a974704c250be7 16243bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16253bfa90b6SmrgDate: Fri Jul 1 12:29:50 2011 +0200 16263bfa90b6Smrg 16273bfa90b6Smrg vmwgfx: Set up XA version checking. 16283bfa90b6Smrg 16293bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16303bfa90b6Smrg 16313bfa90b6Smrgcommit 8a9997f060487c0aef07b8e8a95bb3a862de264f 16323bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16333bfa90b6SmrgDate: Fri Jul 1 11:28:52 2011 +0200 16343bfa90b6Smrg 16353bfa90b6Smrg vmwgfx: Try to sort out format handling with composite. 16363bfa90b6Smrg 16373bfa90b6Smrg Try to catch all cases where we have to do readbacks or format conversions 16383bfa90b6Smrg due to composite formats not being compatible with ordinary accel formats. 16393bfa90b6Smrg 16403bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16413bfa90b6Smrg 16423bfa90b6Smrgcommit 8a21da8eaa77bb1ec55ab8b5584554ae6cc41e1e 16433bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16443bfa90b6SmrgDate: Wed Jun 22 22:26:20 2011 +0200 16453bfa90b6Smrg 16463bfa90b6Smrg vmwgfx: Support xa composite. 16473bfa90b6Smrg 16483bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16493bfa90b6Smrg 16503bfa90b6Smrgcommit c7e8388280fc047b33be4f603afa4b7615ffc585 16513bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16523bfa90b6SmrgDate: Wed Jun 22 11:33:14 2011 +0200 16533bfa90b6Smrg 16543bfa90b6Smrg saa: Add driver composite. 16553bfa90b6Smrg 16563bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16573bfa90b6Smrg 16583bfa90b6Smrgcommit b2e116971031d1357f614e9ce1d843768489a304 16593bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16603bfa90b6SmrgDate: Wed Jun 22 10:50:35 2011 +0200 16613bfa90b6Smrg 16623bfa90b6Smrg saa: Reuse code for computing composite bounds. 16633bfa90b6Smrg 16643bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16653bfa90b6Smrg 16663bfa90b6Smrgcommit 3650be74d5da602653b2b1d3cf3a6bb5a9cb3539 16673bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16683bfa90b6SmrgDate: Tue Jun 21 00:13:32 2011 +0200 16693bfa90b6Smrg 16703bfa90b6Smrg vmwgfx: Try to match created hardware formats with the dri state tracker. 16713bfa90b6Smrg 16723bfa90b6Smrgcommit 63d7ddb35fe8b6743de182b73e6967f97f6a7eba 16733bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16743bfa90b6SmrgDate: Mon Jun 20 21:57:38 2011 +0200 16753bfa90b6Smrg 16763bfa90b6Smrg vmwgfx: Fix dirty present bug 16773bfa90b6Smrg 16783bfa90b6Smrg Clear dirty present areas when new contents are drawn to the backing 16793bfa90b6Smrg pixmap. Not when it is actually pushed to the screen. 16803bfa90b6Smrg 16813bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16823bfa90b6Smrg 16833bfa90b6Smrgcommit f71928d3f78d9f9e5a0fd240069b9035d4ccac75 16843bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16853bfa90b6SmrgDate: Mon Jun 20 21:48:23 2011 +0200 16863bfa90b6Smrg 16873bfa90b6Smrg vmwgfx: Don't call xa_copy_done after a present. 16883bfa90b6Smrg 16893bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16903bfa90b6Smrg 16913bfa90b6Smrgcommit 4d5aec4a7e4512145c76014591488cb5a98ff0ea 16923bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 16933bfa90b6SmrgDate: Mon Jun 20 14:13:46 2011 +0200 16943bfa90b6Smrg 16953bfa90b6Smrg vmwgfx: Make present readbacks not cross scanout bounding box boundaries 16963bfa90b6Smrg 16973bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 16983bfa90b6Smrg 16993bfa90b6Smrgcommit f6a4690832143b01d419b52a4cb74350cdfa38bf 17003bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17013bfa90b6SmrgDate: Mon Jun 20 09:58:44 2011 +0200 17023bfa90b6Smrg 17033bfa90b6Smrg vmwgfx: Make a list of scanout bounding boxes available to each scanout pixmap 17043bfa90b6Smrg 17053bfa90b6Smrg This info is needed for present readback. 17063bfa90b6Smrg 17073bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17083bfa90b6Smrg 17093bfa90b6Smrgcommit eea0e6e242a604b1f4d85d947cf2b3f9f4977533 17103bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17113bfa90b6SmrgDate: Mon Jun 20 09:05:48 2011 +0200 17123bfa90b6Smrg 17133bfa90b6Smrg vmwgfx: Import the WSBM list macros 17143bfa90b6Smrg 17153bfa90b6Smrg Use WSBM list handling macros for the glxWaitX flush list. 17163bfa90b6Smrg 17173bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17183bfa90b6Smrg 17193bfa90b6Smrgcommit eabf82fad8ad72aab071cd4e3bc9063022b0aeb3 17203bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17213bfa90b6SmrgDate: Fri Jun 17 11:25:53 2011 +0200 17223bfa90b6Smrg 17233bfa90b6Smrg vmwgfx: Check for large files 17243bfa90b6Smrg 17253bfa90b6Smrg Fixes segfault on 32-bit servers. 17263bfa90b6Smrg 17273bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17283bfa90b6Smrg 17293bfa90b6Smrgcommit 7966dfa47c4d2b022ebf0f25a2db3901376e6cbd 17303bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17313bfa90b6SmrgDate: Fri Jun 17 08:18:13 2011 +0200 17323bfa90b6Smrg 17333bfa90b6Smrg vmwgfx, saa: Build saa as a convenience library 17343bfa90b6Smrg 17353bfa90b6Smrg instead of as a shared object. 17363bfa90b6Smrg 17373bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17383bfa90b6Smrg 17393bfa90b6Smrgcommit d28613e557fcdc4fc69f9a138a8c5fc909a719f5 17403bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17413bfa90b6SmrgDate: Thu Jun 16 21:21:25 2011 +0200 17423bfa90b6Smrg 17433bfa90b6Smrg vmwgfx: Fix up driver build process for Xserver >= 1.7. 17443bfa90b6Smrg 17453bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17463bfa90b6Smrg 17473bfa90b6Smrgcommit 84166d4b457244bcc2f5ace63702d594d602d0c2 17483bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17493bfa90b6SmrgDate: Thu Jun 16 15:55:07 2011 +0200 17503bfa90b6Smrg 17513bfa90b6Smrg vmwgfx, saa: Initial import 17523bfa90b6Smrg 17533bfa90b6Smrg This imports the vmwgfx driver, based on the Gallium3D Xorg state tracker, 17543bfa90b6Smrg as well as the saa library. A "Shadow Acceleration Architecture", which is 17553bfa90b6Smrg optimized for the case where transfers between system (shadow) and hw memory 17563bfa90b6Smrg is very costly. 17573bfa90b6Smrg 17583bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17593bfa90b6Smrg 17603bfa90b6Smrgcommit 0142bb8d10edb153c9ce79a2ea3ff92a7fb15ac5 17613bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17623bfa90b6SmrgDate: Wed Mar 30 12:37:24 2011 +0200 17633bfa90b6Smrg 17643bfa90b6Smrg vmwlegacy: Don't prune modes based on the virtual size of the default mode 17653bfa90b6Smrg 17663bfa90b6Smrg We might be pruning modes based on the virtual size of the default mode in 17673bfa90b6Smrg some situations. Avoid this by allowing a virtual size equal to the device 17683bfa90b6Smrg max size, unless the user has requested something else. 17693bfa90b6Smrg 17703bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17713bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 17723bfa90b6Smrg 17733bfa90b6Smrgcommit 04297d435b87e3d04a427ac8ef33d314727220e6 17743bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17753bfa90b6SmrgDate: Wed Mar 30 12:22:43 2011 +0200 17763bfa90b6Smrg 17773bfa90b6Smrg vmwlegacy: Fix up default mode VRefresh anc Clock calculation 17783bfa90b6Smrg 17793bfa90b6Smrg The VRefresh value was a factor 1000 too high. 17803bfa90b6Smrg Calculate clock based on vrefresh and resolution. 17813bfa90b6Smrg 17823bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17833bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 17843bfa90b6Smrg 17853bfa90b6Smrgcommit c5ca599361c87ec816db92d4f9841143f8601934 17863bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17873bfa90b6SmrgDate: Wed Mar 30 11:01:06 2011 +0200 17883bfa90b6Smrg 17893bfa90b6Smrg vmwlegacy: Fix a bug in screen dimension calculation 17903bfa90b6Smrg 17913bfa90b6Smrg This bug resulted in incorrect screen dimensions and DPI being calculated 17923bfa90b6Smrg in some circumstances, leading to among other things bad aspect ratios in xine. 17933bfa90b6Smrg 17943bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 17953bfa90b6Smrg 17963bfa90b6Smrgcommit c02d5977015983473a9bbae97ec65ce70a5faa3b 17973bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 17983bfa90b6SmrgDate: Tue Mar 29 13:03:39 2011 +0200 17993bfa90b6Smrg 18003bfa90b6Smrg vmwlegacy: Make sure we draw the colorkey to the right drawable 18013bfa90b6Smrg 18023bfa90b6Smrg Don't draw the colorkey to the screen drawable, but to the video drawable 18033bfa90b6Smrg when possible. 18043bfa90b6Smrg 18053bfa90b6Smrg Also change the Xv API/ABI test to use the builtin ABI version 18063bfa90b6Smrg functions. 18073bfa90b6Smrg 18083bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18093bfa90b6Smrg Reviewed-by: Michel D�nzer <daenzer@vmware.com> 18103bfa90b6Smrg 18113bfa90b6Smrgcommit b234d7d6925b480a9c4fe23e5100e6fe7e5c0eac 18123bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18133bfa90b6SmrgDate: Tue Mar 29 11:18:24 2011 +0200 18143bfa90b6Smrg 18153bfa90b6Smrg vmwlegacy: Silence a number of warnings 18163bfa90b6Smrg 18173bfa90b6Smrg This potentially also fixes a use of an uninitialized pointer value, which 18183bfa90b6Smrg may cause OOM or segfaults. 18193bfa90b6Smrg 18203bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18213bfa90b6Smrg Reviewed-by: Michel D�nzer <daenzer@vmware.com> 18223bfa90b6Smrg 18233bfa90b6Smrgcommit cdb04224db69a6b3beb66c99879e20917b8b0fb2 18243bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18253bfa90b6SmrgDate: Fri Mar 25 19:17:00 2011 +0100 18263bfa90b6Smrg 18273bfa90b6Smrg vmwlegacy: Fix segfault and setup of initial mode. 18283bfa90b6Smrg 18293bfa90b6Smrg The fact that modes were added without names caused segfaults on older 18303bfa90b6Smrg X servers. At least up to and including Xserver 1.4. 18313bfa90b6Smrg 18323bfa90b6Smrg Also, for some reason, at least Xserver 1.4 insists on setting the first mode 18333bfa90b6Smrg in the modelist, even if we set another mode as the current one. 18343bfa90b6Smrg 18353bfa90b6Smrg Work around this by inserting a new mode with the current screen dimensions, 18363bfa90b6Smrg and add that modename last to the array of display requested mode names. 18373bfa90b6Smrg This means that if none of the previous mode names are found, we will at least 18383bfa90b6Smrg find the newly inserted mode. 18393bfa90b6Smrg 18403bfa90b6Smrg Also, if there are no requested mode names at all, the driver previously 18413bfa90b6Smrg chose the largest mode that fit the timings. Now we will, in that case, 18423bfa90b6Smrg always select the newly inserted mode and thus not change resolution unless 18433bfa90b6Smrg specified. 18443bfa90b6Smrg 18453bfa90b6Smrg Also add an option to not add this default mode. The option 18463bfa90b6Smrg "AddDefaultMode" is true by default. 18473bfa90b6Smrg 18483bfa90b6Smrg Finally when we restore registers at exit and VT switch, make sure we 18493bfa90b6Smrg reprogram the initial width, height and bpp for the next time we start a 18503bfa90b6Smrg server. 18513bfa90b6Smrg 18523bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18533bfa90b6Smrg 18543bfa90b6Smrgcommit 9a8f0af8782fd5e9de2d71dfa86fad1d48d52b64 18553bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18563bfa90b6SmrgDate: Thu Mar 3 09:47:48 2011 +0100 18573bfa90b6Smrg 18583bfa90b6Smrg Remove unused variable 18593bfa90b6Smrg 18603bfa90b6Smrg Signed-off-by: Cyril Brulebois <kibi@debian.org> 18613bfa90b6Smrg Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 18623bfa90b6Smrg 18633bfa90b6Smrgcommit c208a5380b20f910ab49433abc0d39dce6bb5528 18643bfa90b6SmrgAuthor: Alan Hourihane <alanh@vmware.com> 18653bfa90b6SmrgDate: Wed Feb 16 18:53:14 2011 +0100 18663bfa90b6Smrg 18673bfa90b6Smrg vmwlegacy: Fix mode lookup 18683bfa90b6Smrg 18693bfa90b6Smrg In situations where we have trouble finding a specified mode, 18703bfa90b6Smrg use the resolution given by the width and height device registers. 18713bfa90b6Smrg 18723bfa90b6Smrg Signed-off-by: Alan Hourihane <alanh@vmware.com> 18733bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18743bfa90b6Smrg 18753bfa90b6Smrgcommit 2e5001b7e93c63c2cd25d7d8ebdee8a420c13b96 18763bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18773bfa90b6SmrgDate: Wed Feb 16 18:47:02 2011 +0100 18783bfa90b6Smrg 18793bfa90b6Smrg vmwlegacy: Add a missing include 18803bfa90b6Smrg 18813bfa90b6Smrg The test for Xserver >= 1.2 in the affected file was always failing. 18823bfa90b6Smrg 18833bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18843bfa90b6Smrg Reviewed-by: Michel Dänzer <daenzer@vmware.com> 18853bfa90b6Smrg 18863bfa90b6Smrgcommit b3c244ebd7899a66aa401d2d7b0ddc66ee56e6d7 18873bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 18883bfa90b6SmrgDate: Wed Feb 16 17:29:47 2011 +0100 18893bfa90b6Smrg 18903bfa90b6Smrg vmwlegacy: Don't attempt to call RRSendConfigNotify on Xservers < 1.2 18913bfa90b6Smrg 18923bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 18933bfa90b6Smrg Reviewed-by: Alan Hourihane <alanh@vmware.com> 18943bfa90b6Smrg Reviewed-by: Michel Dänzer <daenzer@vmware.com> 18953bfa90b6Smrg 18963bfa90b6Smrgcommit eacfa46ada8562bfb15d3fc6a8af272d88036d2f 18973bfa90b6SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 18983bfa90b6SmrgDate: Thu Jan 27 11:09:39 2011 +0100 18993bfa90b6Smrg 19003bfa90b6Smrg vmwlegacy: Send ConfigureNotify events on Xinerama state changes with no mode change 19013bfa90b6Smrg 19023bfa90b6Smrg Signed-off-by: Michel D�nzer <daenzer@vmware.com> 19033bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19043bfa90b6Smrg 19053bfa90b6Smrgcommit cc66e4a49a4a9ac90940d7866db5bc7621cb7e16 19063bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19073bfa90b6SmrgDate: Thu Jan 27 11:02:44 2011 +0100 19083bfa90b6Smrg 19093bfa90b6Smrg Fix crosscompile build for older Xservers v2 19103bfa90b6Smrg 19113bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19123bfa90b6Smrg 19133bfa90b6Smrgcommit d1ac343b8894a9b8a34c1dcf4b6aeb57239034c0 19143bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19153bfa90b6SmrgDate: Fri Jan 21 23:07:10 2011 +0100 19163bfa90b6Smrg 19173bfa90b6Smrg Revert "Fix crosscompile build for older Xservers" 19183bfa90b6Smrg 19193bfa90b6Smrg This reverts commit 16e16390385d890b3666485a40369f4c690d5033. 19203bfa90b6Smrg 19213bfa90b6Smrg The fix was bogus as pointed out by Cyril Bruleboid <kibi@debian.org>, and 19223bfa90b6Smrg Gaetan Nadon <memsize@videotron.ca> 19233bfa90b6Smrg 19243bfa90b6Smrgcommit 16e16390385d890b3666485a40369f4c690d5033 19253bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19263bfa90b6SmrgDate: Thu Jan 13 13:17:17 2011 +0100 19273bfa90b6Smrg 19283bfa90b6Smrg Fix crosscompile build for older Xservers 19293bfa90b6Smrg 19303bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19313bfa90b6Smrg 19323bfa90b6Smrgcommit 5b30df47117bc65fd5f14667671041428e1d00b5 19333bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19343bfa90b6SmrgDate: Thu Jan 13 12:52:14 2011 +0100 19353bfa90b6Smrg 19363bfa90b6Smrg vmwlegacy: Remove Write-Combining setups 19373bfa90b6Smrg 19383bfa90b6Smrg The virtual CPUs doesn't support it anyway. 19393bfa90b6Smrg Once suggested by Michel Daenzer. 19403bfa90b6Smrg 19413bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19423bfa90b6Smrg 19433bfa90b6Smrgcommit 8f8f71f0075d9d5cbbfca93425462ba03c5b8046 19443bfa90b6SmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 19453bfa90b6SmrgDate: Tue Nov 9 14:31:30 2010 +0100 19463bfa90b6Smrg 19473bfa90b6Smrg Bump package version to 11.0.3 for release 19483bfa90b6Smrg 19493bfa90b6Smrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 19503bfa90b6Smrg 1951a241306cSmrgcommit 30ac6eaf64aa4831025555b72b65843686a35094 1952a241306cSmrgAuthor: Jesse Adkins <jesserayadkins@gmail.com> 1953a241306cSmrgDate: Tue Sep 28 13:29:52 2010 -0700 1954a241306cSmrg 1955a241306cSmrg Purge cvs tags. 1956a241306cSmrg 1957a241306cSmrg Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> 1958a241306cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1959a241306cSmrg 1960a241306cSmrgcommit 083a663bbb186bfb854eda3b9f33d7fc24252ec5 1961a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1962a241306cSmrgDate: Thu Sep 16 10:08:12 2010 +0200 1963a241306cSmrg 1964a241306cSmrg Make the modinfo string contain an optional subpatch number 1965a241306cSmrg 1966a241306cSmrg The idea is that the build system assigns this number if needed. 1967a241306cSmrg As an example it might be the commit number since the last version tag. 1968a241306cSmrg 1969a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1970a241306cSmrg 1971a241306cSmrgcommit 5a2206c328caaed95daf91aff9220d3a51b492bd 1972a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1973a241306cSmrgDate: Thu Sep 16 09:58:07 2010 +0200 1974a241306cSmrg 1975a241306cSmrg Make sure we build on 1.4.99. 1976a241306cSmrg 1977a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1978a241306cSmrg 1979a241306cSmrgcommit da0f931b90833c7f706ace24b0c9dff2672f1e97 1980a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1981a241306cSmrgDate: Wed Sep 8 09:57:35 2010 +0200 1982a241306cSmrg 1983a241306cSmrg vmwlegacy: Fix a segfault in vmwareCursorCloseScreen. 1984a241306cSmrg 1985a241306cSmrg The segfault occured because the named function was using resources that 1986a241306cSmrg were already taken down, because VMWARECloseScreen was called very late 1987a241306cSmrg in the CloseScreen callchain. 1988a241306cSmrg 1989a241306cSmrg Make sure we wrap the CloseScreen pointers late in ScreenInit to avoid this. 1990a241306cSmrg 1991a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 1992a241306cSmrg 1993a241306cSmrgcommit 03dca39afa06da04472d56ec4888f010186c6a13 1994a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 1995a241306cSmrgDate: Tue Sep 7 21:55:28 2010 +0200 1996a241306cSmrg 1997a241306cSmrg vmwlegacy: A number of Xv fixes 1998a241306cSmrg 1999a241306cSmrg Properly init and uninit the port private clipboxes on setup and end. 2000a241306cSmrg Clear the port private clipboxes on video stop, to force re-painting 2001a241306cSmrg of the colorkey when the stream is resumed. 2002a241306cSmrg Make sure the colorkey is painted *before* the overlay is flushed. Some 2003a241306cSmrg host implementations seem picky about this. 2004a241306cSmrg 2005a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2006a241306cSmrg 2007a241306cSmrgcommit dfb062e024dfd20789ee8d43c7f94640faa5ea9f 2008a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2009a241306cSmrgDate: Tue Sep 7 12:17:46 2010 +0200 2010a241306cSmrg 2011a241306cSmrg vmware/vmwlegacy: Silence compilation errors and -warnings. 2012a241306cSmrg 2013a241306cSmrg Silence warnings and errors on various server versions due to incorrect 2014a241306cSmrg usage of libc functions. 2015a241306cSmrg 2016a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2017a241306cSmrg 2018a241306cSmrgcommit 12e4577c020c6905d09459d833fd1c5313f1647b 2019a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2020a241306cSmrgDate: Fri Sep 3 11:19:01 2010 +0200 2021a241306cSmrg 2022a241306cSmrg vmwlegacy: Always scale screen dimensions to the initial DPI on modeswitch. 2023a241306cSmrg 2024a241306cSmrg When we switch mode we usually alter the size in a constant DPI environment 2025a241306cSmrg rather than keeping the size constant and alter the DPI. 2026a241306cSmrg 2027a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2028a241306cSmrg 2029a241306cSmrgcommit 81a0a1a37e703296d109022bb76a1291e84064fd 2030a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2031a241306cSmrgDate: Wed Sep 1 07:58:18 2010 +0200 2032a241306cSmrg 2033a241306cSmrg vmware: Handle chain-loader failures gracefully. 2034a241306cSmrg 2035a241306cSmrg If the vmwlegacy driver wasn't present when expected, that would 2036a241306cSmrg leave the X server in a confused state. Thus report loading errors properly 2037a241306cSmrg back to the X server. 2038a241306cSmrg 2039a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2040a241306cSmrg 2041a241306cSmrgcommit 2a72ea7a1b1519451350e0741d145f513124a208 2042a241306cSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2043a241306cSmrgDate: Wed Aug 18 10:57:02 2010 -0400 2044a241306cSmrg 2045a241306cSmrg vmwarectrl: rework standalone package as a subdir of driver 2046a241306cSmrg 2047a241306cSmrg vmwarectrl is a unit test client tool for developers. 2048a241306cSmrg By default, it is not built unless --enable-vmwarectrl-client is used. 2049a241306cSmrg 2050a241306cSmrg Acked-by: Thomas Hellstrom <thellstrom@vmware.com> 2051a241306cSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 2052a241306cSmrg 2053a241306cSmrgcommit f51ca2cb756dcd541a27f0326496f0aadab3f214 2054a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2055a241306cSmrgDate: Wed Aug 18 11:34:49 2010 +0200 2056a241306cSmrg 2057a241306cSmrg Make the driver build and run without libdrm. 2058a241306cSmrg 2059a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2060a241306cSmrg 2061a241306cSmrgcommit 2e6eca3e7bb19ea69db2cc367c9704c7d657db79 2062a241306cSmrgAuthor: Thomas Hellstrom <thellstrom@vmware.com> 2063a241306cSmrgDate: Thu Aug 12 17:43:59 2010 +0200 2064a241306cSmrg 2065a241306cSmrg Only set the first xinerama output as primary. 2066a241306cSmrg 2067a241306cSmrg Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> 2068a241306cSmrg 2069a241306cSmrgcommit 456b74e8778ab0c44e8a70aa45f447ff5c562be3 2070a241306cSmrgAuthor: Adam Jackson <ajax@redhat.com> 2071a241306cSmrgDate: Tue Aug 10 11:02:05 2010 -0400 2072a241306cSmrg 2073a241306cSmrg xf86-video-vmware 11.0.2 2074a241306cSmrg 2075a241306cSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 2076a241306cSmrg 20771f27ce9aSmrgcommit c29d24b2ca598011b84387006f03a9360910707f 20781f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 20791f27ce9aSmrgDate: Fri Jul 23 21:02:33 2010 -0400 20801f27ce9aSmrg 20811f27ce9aSmrg config: add AM_PROG_CC_C_O for per-target compilation flags 20821f27ce9aSmrg 20831f27ce9aSmrg The use of per-target compilation flags with C sources requires 20841f27ce9aSmrg that the macro AM_PROG_CC_C_O be called from configure.ac 20851f27ce9aSmrg 20861f27ce9aSmrg If the C compiler does not accept the -c and -o options simultaneously, 20871f27ce9aSmrg define NO_MINUS_C_MINUS_O. This macro actually tests both the compiler 20881f27ce9aSmrg found by AC_PROG_CC, and, if different, the first cc in the path. 20891f27ce9aSmrg The test fails if one fails. This macro was created for GNU Make 20901f27ce9aSmrg to choose the default C compilation rule. 20911f27ce9aSmrg 20921f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 20931f27ce9aSmrg 20941f27ce9aSmrgcommit dfbef04f1ff9430a01ca0ca682be32a8606e9e13 20951f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 20961f27ce9aSmrgDate: Wed Jul 21 16:49:04 2010 -0400 20971f27ce9aSmrg 20981f27ce9aSmrg config: add comments for main statements 20991f27ce9aSmrg 21001f27ce9aSmrgcommit 0dbd97fe7d411549aa343c25dab9c70087532727 21011f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21021f27ce9aSmrgDate: Wed Jul 21 16:07:00 2010 -0400 21031f27ce9aSmrg 21041f27ce9aSmrg config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES 21051f27ce9aSmrg 21061f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21071f27ce9aSmrg 21081f27ce9aSmrgcommit dfaa0b6391ebc32f4e81d8add053eabea44d0881 21091f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21101f27ce9aSmrgDate: Wed Jul 21 14:37:42 2010 -0400 21111f27ce9aSmrg 21121f27ce9aSmrg config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 21131f27ce9aSmrg 21141f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21151f27ce9aSmrg 21161f27ce9aSmrgcommit dd0bb4ac5730331070eac2c39880718eeff3760b 21171f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21181f27ce9aSmrgDate: Wed Jul 21 14:05:23 2010 -0400 21191f27ce9aSmrg 21201f27ce9aSmrg config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 21211f27ce9aSmrg 21221f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21231f27ce9aSmrg 21241f27ce9aSmrgcommit f07d572611ba072c5952fea526e7178202d36685 21251f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21261f27ce9aSmrgDate: Wed Jul 21 09:27:42 2010 -0400 21271f27ce9aSmrg 21281f27ce9aSmrg config: complete AC_INIT m4 quoting 21291f27ce9aSmrg 21301f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21311f27ce9aSmrg 21321f27ce9aSmrgcommit 79956ca804b4ca6227f878cf794edafefa00d25a 21331f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21341f27ce9aSmrgDate: Tue Jul 20 21:44:58 2010 -0400 21351f27ce9aSmrg 21361f27ce9aSmrg config: remove unrequired AC_SUBST([XORG_CFLAGS]) 21371f27ce9aSmrg 21381f27ce9aSmrg This macro is called by PKG_CHECK_MODULES 21391f27ce9aSmrg 21401f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21411f27ce9aSmrg 21421f27ce9aSmrgcommit cee7a37a38f83cd5300a19f17493e43eb532e619 21431f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21441f27ce9aSmrgDate: Tue Jul 20 20:24:42 2010 -0400 21451f27ce9aSmrg 21461f27ce9aSmrg config: remove unrequired AC_HEADER_STDC 21471f27ce9aSmrg 21481f27ce9aSmrg Autoconf says: 21491f27ce9aSmrg "This macro is obsolescent, as current systems have conforming 21501f27ce9aSmrg header files. New programs need not use this macro". 21511f27ce9aSmrg 21521f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21531f27ce9aSmrg 21541f27ce9aSmrgcommit 8adb672ac3f754d02e377745c16f64151b50522a 21551f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21561f27ce9aSmrgDate: Tue Jul 20 19:41:31 2010 -0400 21571f27ce9aSmrg 21581f27ce9aSmrg config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 21591f27ce9aSmrg 21601f27ce9aSmrg XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 21611f27ce9aSmrg AC_PROG_C_C99. This sets gcc with -std=gnu99. 21621f27ce9aSmrg If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 21631f27ce9aSmrg 21641f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21651f27ce9aSmrg 21661f27ce9aSmrgcommit d867b84e425cdf66542eebaabd8adb95b8121960 21671f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21681f27ce9aSmrgDate: Tue Jul 20 18:45:19 2010 -0400 21691f27ce9aSmrg 21701f27ce9aSmrg config: update AC_PREREQ statement to 2.60 21711f27ce9aSmrg 21721f27ce9aSmrg Unrelated to the previous patches, the new value simply reflects 21731f27ce9aSmrg the reality that the minimum level for autoconf to configure 21741f27ce9aSmrg all x.org modules is 2.60 dated June 2006. 21751f27ce9aSmrg 21761f27ce9aSmrg ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 21771f27ce9aSmrg 21781f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 21791f27ce9aSmrg 21801f27ce9aSmrgcommit 190a6b7e032e37e33dda42482038b8fd1fd9d8af 21811f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 21821f27ce9aSmrgDate: Tue Jul 20 16:15:30 2010 -0400 21831f27ce9aSmrg 21841f27ce9aSmrg config: upgrade to util-macros 1.8 for additional man page support 21851f27ce9aSmrg 21861f27ce9aSmrg Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 21871f27ce9aSmrg The value of MAN_SUBST is the same for all X.Org packages. 21881f27ce9aSmrg 21891f27ce9aSmrgcommit e647511e4b9b924b0617171c56b3bb485674b3ff 21901f27ce9aSmrgAuthor: Julien Cristau <jcristau@debian.org> 21911f27ce9aSmrgDate: Tue Jul 13 11:57:15 2010 +0100 21921f27ce9aSmrg 21931f27ce9aSmrg Don't crash the server on Xorg -configure 21941f27ce9aSmrg 21951f27ce9aSmrgcommit 0bd99bb142093c0072147ec3bb665864b4cadef5 21961f27ce9aSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br> 21971f27ce9aSmrgDate: Thu Jul 1 07:18:11 2010 -0300 21981f27ce9aSmrg 21991f27ce9aSmrg Purge macros NEED_EVENTS and NEED_REPLIES 22001f27ce9aSmrg 22011f27ce9aSmrg Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 22021f27ce9aSmrg Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 22031f27ce9aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 22041f27ce9aSmrg 22051f27ce9aSmrgcommit f307f77a34f3a6777f74458819f6a3519c2c3f2b 22061f27ce9aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 22071f27ce9aSmrgDate: Sun Jun 13 13:10:55 2010 -0400 22081f27ce9aSmrg 22091f27ce9aSmrg COPYING: replace stub file with actual Copyright notices. 22101f27ce9aSmrg 22111f27ce9aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 22121f27ce9aSmrg 22131f27ce9aSmrgcommit 423d8a069a2d86068a8f22926a73bc965670315d 22141f27ce9aSmrgAuthor: Michel Dänzer <daenzer@vmware.com> 22151f27ce9aSmrgDate: Mon Mar 29 10:19:04 2010 +0200 22161f27ce9aSmrg 22171f27ce9aSmrg Fix some issues pointed out by compiler warnings. 22181f27ce9aSmrg 22191f27ce9aSmrg * vmware_chain_module() doesn't return any values. 22201f27ce9aSmrg * Remove an unused local variable. 22211f27ce9aSmrg 2222b68e1f86Smrgcommit cc77a36048863640fb1fa9f82b5b0dbf41326872 2223b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2224b68e1f86SmrgDate: Thu Mar 18 15:30:36 2010 +0100 22256df26cacSmrg 2226b68e1f86Smrg Bump for 11.0.1 release. 22276df26cacSmrg 2228b68e1f86Smrgcommit a5fb3698a033bfe7789641fd6719d8d4fb054201 2229b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2230b68e1f86SmrgDate: Tue Mar 9 08:37:11 2010 +0000 22316df26cacSmrg 2232b68e1f86Smrg Rework chainloader code to check for vmwgfx userspace driver as well 22336df26cacSmrg 2234b68e1f86Smrgcommit bf18be6f458a4612b2ebdd8d2b5894f8884891e4 2235b68e1f86SmrgAuthor: Roland Scheidegger <sroland@vmware.com> 2236b68e1f86SmrgDate: Tue Mar 9 16:10:25 2010 +0100 22376df26cacSmrg 2238b68e1f86Smrg fix a cursor refcounting bug, leading to segfaults 2239b68e1f86Smrg 2240b68e1f86Smrg this is similar to what xf86_use_hw_cursor() does, which is replaced by 2241b68e1f86Smrg vmwareUseHWCursor (otherwise, the refcount could reach zero and hence the 2242b68e1f86Smrg cursor deallocated while xf86CursorEnableDisableFBAccess() could still bring 2243b68e1f86Smrg it back to life from the saved cursor). 2244b68e1f86Smrg It is probably insane to do refcounting here, but this needs a xserver fix, 2245b68e1f86Smrg and even if that's fixed this fix here shouldn't hurt (though would be 2246b68e1f86Smrg unnecessary). 22476df26cacSmrg 2248b68e1f86Smrgcommit 257614ae9bea54d6a46e4477496500a84853ee37 2249b68e1f86SmrgAuthor: Roland Scheidegger <sroland@vmware.com> 2250b68e1f86SmrgDate: Tue Mar 9 16:03:59 2010 +0100 22516df26cacSmrg 2252b68e1f86Smrg make DEBUG_LOGGING compile 22536df26cacSmrg 2254b68e1f86Smrgcommit 29f6a2dca3e680908e938767256c9b995653ca7f 2255b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2256b68e1f86SmrgDate: Sun Mar 7 15:02:39 2010 +0000 22576df26cacSmrg 2258b68e1f86Smrg Print text about none fatal error message with Fatal in it 22596df26cacSmrg 2260b68e1f86Smrgcommit 204504861a2847734a04bd976accb0c730733523 2261b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2262b68e1f86SmrgDate: Fri Feb 26 16:27:17 2010 +0100 22636df26cacSmrg 2264b68e1f86Smrg Don't hardcode the module version in the source 2265b68e1f86Smrg 2266b68e1f86Smrg As pointed out by Julien Cristau XORG_RELEASE_VERSION 2267b68e1f86Smrg gives us that info from configure.ac. 2268b68e1f86Smrg 2269b68e1f86Smrg Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> 22706df26cacSmrg 2271b68e1f86Smrgcommit 667263d9410bd0d5832cf08a2a28841fe6326b84 2272b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2273b68e1f86SmrgDate: Thu Feb 18 14:11:32 2010 +0100 22746df26cacSmrg 2275b68e1f86Smrg Bump major for new chainloading driver 22766df26cacSmrg 2277b68e1f86Smrgcommit 048fe839f0d761aeba95c324f14bdc5488e9e634 2278b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2279b68e1f86SmrgDate: Mon Feb 22 13:20:06 2010 +0100 22806df26cacSmrg 2281b68e1f86Smrg Link to drm but on for the vmware chainloader driver 22826df26cacSmrg 2283b68e1f86Smrgcommit 30964ffa31f4fdbffe563b7d7d20bfbf1ed22969 2284b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2285b68e1f86SmrgDate: Thu Feb 18 15:20:31 2010 +0100 22866df26cacSmrg 2287b68e1f86Smrg Make sure that modinfo strings are unique 22886df26cacSmrg 2289b68e1f86Smrgcommit 0f2b02d72e36dc6390c09d6adba13e4101bf3df8 2290b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2291b68e1f86SmrgDate: Thu Feb 11 23:18:37 2010 +0100 22926df26cacSmrg 2293b68e1f86Smrg Add modinfo for vmware_drv.so 22946df26cacSmrg 2295b68e1f86Smrgcommit c4f5bf8ea45b80c2ac4a5eec65ff58f148fb2807 2296b68e1f86SmrgAuthor: Jakob Bornecrantz <jakob@vmware.com> 2297b68e1f86SmrgDate: Thu Feb 11 22:04:53 2010 +0100 22986df26cacSmrg 2299b68e1f86Smrg Add a chain loading module to load new vmwgfx driver if kernel module is loaded 23006df26cacSmrg 2301b68e1f86Smrgcommit 0d9d1724dbe113dcc02736a8ca80ab540057cb5e 2302b68e1f86SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2303b68e1f86SmrgDate: Fri Jan 15 14:13:42 2010 -0800 23046df26cacSmrg 2305b68e1f86Smrg Update Sun license notices to current X.Org standard form 2306b68e1f86Smrg 2307b68e1f86Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 23086df26cacSmrg 2309b68e1f86Smrgcommit e0d370ae5f307d96e9dd9384cc0ea66a0f6c06c1 2310b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2311b68e1f86SmrgDate: Tue Dec 15 22:01:02 2009 -0500 2312b68e1f86Smrg 2313b68e1f86Smrg configure.ac: remove unused sdkdir=$(pkg-config...) statement 2314b68e1f86Smrg 2315b68e1f86Smrg The sdkdir variable isn't use, so remove the statement. 2316b68e1f86Smrg 2317b68e1f86Smrg Acked-by: Dan Nicholson <dbn.lists@gmail.com> 2318b68e1f86Smrg 2319b68e1f86Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 2320b68e1f86Smrg 2321b68e1f86Smrgcommit 991830e39c34d0a4530a5c5023ec92cf0d7395b0 2322b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 2323b68e1f86SmrgDate: Tue Dec 29 17:53:35 2009 +0100 2324b68e1f86Smrg 2325b68e1f86Smrg Bump for 10.16.9 release. 2326b68e1f86Smrg 2327b68e1f86Smrgcommit 5a36fcb6a5899e5cfdf6d65e05e3f999d5d25b2a 2328b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 2329b68e1f86SmrgDate: Tue Dec 29 17:00:45 2009 +0100 2330b68e1f86Smrg 2331b68e1f86Smrg VMWAREComposite: Only hide cursor if source picture is backed by drawable. 2332b68e1f86Smrg 2333b68e1f86Smrg Should fix https://bugs.freedesktop.org/show_bug.cgi?id=14208 . 2334b68e1f86Smrg 2335b68e1f86Smrgcommit 4bec18ab8dffd90ab84b986de2136a9d848d3a4a 2336b68e1f86SmrgAuthor: Michel Dänzer <daenzer@vmware.com> 2337b68e1f86SmrgDate: Tue Dec 29 16:41:16 2009 +0100 2338b68e1f86Smrg 2339b68e1f86Smrg vmware: Fix crash with xserver >= 1.7. 2340b68e1f86Smrg 2341b68e1f86Smrg Fixes https://bugs.freedesktop.org/show_bug.cgi?id=24541 . 2342b68e1f86Smrg 2343b68e1f86Smrgcommit 74c830e61bdf700c7e422aaa5b1a0136561295dd 2344b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2345b68e1f86SmrgDate: Mon Nov 23 09:25:06 2009 -0500 2346b68e1f86Smrg 2347b68e1f86Smrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 2348b68e1f86Smrg 2349b68e1f86Smrg Now that the INSTALL file is generated. 2350b68e1f86Smrg Allows running make maintainer-clean. 2351b68e1f86Smrg 2352b68e1f86Smrgcommit e8f5a924226aacc280923aed661b5a821fdaffe8 2353b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2354b68e1f86SmrgDate: Wed Oct 28 14:41:41 2009 -0400 2355b68e1f86Smrg 2356b68e1f86Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 2357b68e1f86Smrg 2358b68e1f86Smrg Automake 'foreign' option is specified in configure.ac. 2359b68e1f86Smrg Remove from Makefile.am 2360b68e1f86Smrg 2361b68e1f86Smrgcommit edb6fcb49bae735c45d9565f7aa8313396cf3b15 2362b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2363b68e1f86SmrgDate: Wed Oct 28 14:09:10 2009 -0400 2364b68e1f86Smrg 2365b68e1f86Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 2366b68e1f86Smrg 2367b68e1f86Smrg Add missing INSTALL file. Use standard GNU file on building tarball 2368b68e1f86Smrg README may have been updated 2369b68e1f86Smrg Remove AUTHORS file as it is empty and no content available yet. 2370b68e1f86Smrg Remove NEWS file as it is empty and no content available yet. 2371b68e1f86Smrg 2372b68e1f86Smrgcommit dcb3d3ed2ba2129b433eee0d18ec86e1e0a6f21f 2373b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2374b68e1f86SmrgDate: Mon Oct 26 12:54:23 2009 -0400 2375b68e1f86Smrg 2376b68e1f86Smrg Several driver modules do not have a ChangeLog target in Makefile.am #23814 2377b68e1f86Smrg 2378b68e1f86Smrg The git generated ChangeLog replaces the hand written one. 2379b68e1f86Smrg Update configure.ac to xorg-macros level 1.3. 2380b68e1f86Smrg Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros 2381b68e1f86Smrg Update Makefile.am to add ChangeLog target if missing 2382b68e1f86Smrg Remove ChangeLog from EXTRA_DIST or *CLEAN variables 2383b68e1f86Smrg This is a pre-req for the INSTALL_CMD 2384b68e1f86Smrg 2385b68e1f86Smrgcommit a9dc11de80966fe00efb6c061a6df00678f80b1f 2386b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2387b68e1f86SmrgDate: Thu Oct 22 13:06:19 2009 -0400 2388b68e1f86Smrg 2389b68e1f86Smrg .gitignore: use common defaults with custom section # 24239 2390b68e1f86Smrg 2391b68e1f86Smrg Using common defaults will reduce errors and maintenance. 2392b68e1f86Smrg Only the very small or inexistent custom section need periodic maintenance 2393b68e1f86Smrg when the structure of the component changes. Do not edit defaults. 2394b68e1f86Smrg 2395b68e1f86Smrgcommit 082d1689a8e017d29b108ed3a251141ddf32a35d 2396b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2397b68e1f86SmrgDate: Thu Oct 22 12:34:18 2009 -0400 2398b68e1f86Smrg 2399b68e1f86Smrg .gitignore: use common defaults with custom section # 24239 2400b68e1f86Smrg 2401b68e1f86Smrg Using common defaults will reduce errors and maintenance. 2402b68e1f86Smrg Only the very small or inexistent custom section need periodic maintenance 2403b68e1f86Smrg when the structure of the component changes. Do not edit defaults. 2404b68e1f86Smrg 2405b68e1f86Smrgcommit 6c8fc7b280295b823675285ed78b0fb2365bcf07 2406b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2407b68e1f86SmrgDate: Tue Sep 8 22:21:33 2009 -0700 2408b68e1f86Smrg 2409b68e1f86Smrg Bump fo 10.16.8 Release 2410b68e1f86Smrg 2411b68e1f86Smrgcommit e3e3d8d2488bd289660943e9038bdbe29e11cf77 2412b68e1f86SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 2413b68e1f86SmrgDate: Mon Sep 7 11:12:13 2009 -0400 2414b68e1f86Smrg 2415b68e1f86Smrg xf86-video-vmware: Remove unused .cvsignore file #23776 2416b68e1f86Smrg 2417b68e1f86Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2418b68e1f86Smrg 2419b68e1f86Smrgcommit cce33db3f95c6f3c8537c782063b6ca9ad68f332 2420b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com> 2421b68e1f86SmrgDate: Tue Jul 28 15:22:42 2009 +1000 2422b68e1f86Smrg 2423b68e1f86Smrg vmware: change to using ABI version check 2424b68e1f86Smrg 2425b68e1f86Smrgcommit 0fddce5511b761206bb5f59dcd17652f15bda5ef 2426b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com> 2427b68e1f86SmrgDate: Tue Jul 28 14:11:59 2009 +1000 2428b68e1f86Smrg 2429b68e1f86Smrg vmware: fix resource removal properly 2430b68e1f86Smrg 2431b68e1f86Smrgcommit 4605e8d3a99ddcd75314051bd00b51d8ecee06a1 2432b68e1f86SmrgAuthor: Dave Airlie <airlied@redhat.com> 2433b68e1f86SmrgDate: Tue Jul 28 13:32:41 2009 +1000 2434b68e1f86Smrg 2435b68e1f86Smrg vmware: update for resources/RAC API removal 2436b68e1f86Smrg 2437b68e1f86Smrgcommit 382c25f53870da0db0ee74f343c20c312e6b03af 2438b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2439b68e1f86SmrgDate: Mon Jul 20 18:03:47 2009 -0700 2440b68e1f86Smrg 2441b68e1f86Smrg Bump for 10.16.7 Release. 2442b68e1f86Smrg 2443b68e1f86Smrgcommit c2d9678431a40f6a15dc7f50690507cdda8d11e2 2444b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 2445b68e1f86SmrgDate: Mon Jun 1 10:47:51 2009 -0700 2446b68e1f86Smrg 2447b68e1f86Smrg An imperfect fix for Xinerama state changes without a mode change 2448b68e1f86Smrg 2449b68e1f86Smrg This patch improves behaviour for Xinerama state changes (via the 2450b68e1f86Smrg VMWARE_CTRL) extension that don't have an accompanying mode change. 2451b68e1f86Smrg This will be the case if a new Xinerama monitor layout has a bounding 2452b68e1f86Smrg box with an identical size to that of the previous layout. 2453b68e1f86Smrg 2454b68e1f86Smrg Prior to this patch, the behaviour was pretty bad. If you sent two 2455b68e1f86Smrg Xinerama states with the same bounding box, the second state would 2456b68e1f86Smrg be set as pending but no actual mode change would occur, because 2457b68e1f86Smrg the X server would already be in the right video mode. This means 2458b68e1f86Smrg that the pending mode stays pending. 2459b68e1f86Smrg 2460b68e1f86Smrg If another Xinerama state comes in after this, we would hit our 2461b68e1f86Smrg "Aborting due to existing pending state" error, and the new state 2462b68e1f86Smrg would be discarded. This means we'd drop the mode switch on the 2463b68e1f86Smrg floor, plus we'd lie to the client and say it worked. 2464b68e1f86Smrg 2465b68e1f86Smrg One example of the user-visible symptoms from this: The user has 2466b68e1f86Smrg four monitors of the same size. We'll call them A through D. 2467b68e1f86Smrg The VM goes into full-screen mode, and they set it to use screens 2468b68e1f86Smrg ABC. Now they switch to BCD. These have the same bounding box size, 2469b68e1f86Smrg so no mode change occurs and a topology is still pending. Now they 2470b68e1f86Smrg switch to monitors BC. This mode switch is dropped, so the guest 2471b68e1f86Smrg is still in the ABC topology and the mode is too wide for BC. 2472b68e1f86Smrg 2473b68e1f86Smrg This patch is an incomplete fix. If we're setting a new topology 2474b68e1f86Smrg with the same bounding box, we'll flush the Xinerama state 2475b68e1f86Smrg immediately since we know the mode switch will never occur. This 2476b68e1f86Smrg means we don't get stuck with xineramaNextState set when it 2477b68e1f86Smrg shouldn't be, and we don't have the problem with dropping 2478b68e1f86Smrg subsequent mode changes. We also do set the new Xinerama state, 2479b68e1f86Smrg so apps that query it will see the updated state immediately. 2480b68e1f86Smrg 2481b68e1f86Smrg But the fix isn't perfect- as far as I can tell, there's no way 2482b68e1f86Smrg to notify applications that the monitor layout changed without 2483b68e1f86Smrg a mode switch. So even though we've set the new topology, most 2484b68e1f86Smrg apps won't notice. There are ways we could hack around this, 2485b68e1f86Smrg but none of them are pretty. 2486b68e1f86Smrg 2487b68e1f86Smrgcommit d10841493c4707f23f928d7580bc5bddb51d22a6 2488b68e1f86SmrgAuthor: Bob Long <blong@vmware.com> 2489b68e1f86SmrgDate: Fri May 22 15:48:55 2009 -0700 2490b68e1f86Smrg 2491b68e1f86Smrg Fix black screen after resume from hibernate. 2492b68e1f86Smrg 2493b68e1f86Smrg The root cause for the black screen and system lock up is 2494b68e1f86Smrg caused by not recovering the SVGA ID register after hibernation. 2495b68e1f86Smrg Incorrect ID register value will invalidate the FIFO memory start 2496b68e1f86Smrg register, and driver will not retrieve correct FIFO memory start 2497b68e1f86Smrg address and the busy read of svga FIFO sync register will lock up 2498b68e1f86Smrg the whole system. 2499b68e1f86Smrg 2500b68e1f86Smrg Currently SVGA Xorg driver does not have a kernel module to handle 2501b68e1f86Smrg the power management event, but Xorg will call driver provided 2502b68e1f86Smrg LeaveVT before shutting down system and call EnterVT after resuming 2503b68e1f86Smrg system from hibernation, so these two callback functions are good 2504b68e1f86Smrg entry points to save and restore the ID register value. This patch 2505b68e1f86Smrg saves the ID register value in LeaveVT and restores the value to 2506b68e1f86Smrg SVGA ID register in EnterVT. 2507b68e1f86Smrg 2508b68e1f86Smrgcommit b4ea3052f843c2d1c285252cbf1bed2f4857f96c 2509b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2510b68e1f86SmrgDate: Tue May 12 16:48:43 2009 -0700 2511b68e1f86Smrg 2512b68e1f86Smrg Bump for 10.16.6 release 2513b68e1f86Smrg 2514b68e1f86Smrgcommit 8e15f6669ff2cb5bf4260ac87a481a4e38044b26 2515b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 2516b68e1f86SmrgDate: Tue May 12 16:46:39 2009 -0700 2517b68e1f86Smrg 2518b68e1f86Smrg Better cursor size limit and explanation 2519b68e1f86Smrg 2520b68e1f86Smrg Increase the cursor size limit to 64x64, and give a 2521b68e1f86Smrg better explanation of the host's cursor size limits. 2522b68e1f86Smrg 2523b68e1f86Smrgcommit bfa3dfc27b05d4a2deff230f8241bd44f72fb7a0 2524b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 2525b68e1f86SmrgDate: Tue May 12 16:46:00 2009 -0700 2526b68e1f86Smrg 2527b68e1f86Smrg Allow cursor updates while unhidden 2528b68e1f86Smrg 2529b68e1f86Smrg This change just adds a flag to our hardware cursor, 2530b68e1f86Smrg telling Xorg that it doesn't need to hide the cursor 2531b68e1f86Smrg when updating its shape. This fixes the cursor flicker 2532b68e1f86Smrg in X11. 2533b68e1f86Smrg 2534b68e1f86Smrgcommit dccc9376a4fb1cba9c35b7617989608497fca7be 2535b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 2536b68e1f86SmrgDate: Tue May 12 16:45:29 2009 -0700 2537b68e1f86Smrg 2538b68e1f86Smrg Unbreak vmwarectrl setres 2539b68e1f86Smrg 2540b68e1f86Smrg The vmwarectrl tool's "setres" command was unusable, 2541b68e1f86Smrg because it looks like someone added the settopology 2542b68e1f86Smrg test without updating the argument indices for setres. 2543b68e1f86Smrg This patch makes setres usable again. 2544b68e1f86Smrg 2545b68e1f86Smrgcommit b7dbdd28764a8f3883833ab818a7b7314632b0b2 2546b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 2547b68e1f86SmrgDate: Tue May 12 16:44:42 2009 -0700 2548b68e1f86Smrg 2549b68e1f86Smrg Fix dynamic mode edge cases 2550b68e1f86Smrg 2551b68e1f86Smrg The VMware Xorg driver supports dynamic modelines that can be set from 2552b68e1f86Smrg userspace via an X extension. These are used to implement VM features 2553b68e1f86Smrg which need to automatically change the resolution of the guest OS. 2554b68e1f86Smrg 2555b68e1f86Smrg This driver implements the feature using two modelines. The driver 2556b68e1f86Smrg would alternately update one mode then the other, so that in typical 2557b68e1f86Smrg usage one mode is current and the other is available for the next mode 2558b68e1f86Smrg switch. 2559b68e1f86Smrg 2560b68e1f86Smrg This usually worked, but there were many edge cases that could cause 2561b68e1f86Smrg this alternating pattern to get 'out of sync', so we'd end up changing 2562b68e1f86Smrg the resolution of the current video mode. This could end up putting 2563b68e1f86Smrg the X server in a state where the screen resolution has been changed, 2564b68e1f86Smrg but the hardware was never reprogrammed for the new resolution. 2565b68e1f86Smrg 2566b68e1f86Smrg This patch fixes the problem by explicitly searching for a dynamic 2567b68e1f86Smrg mode that isn't currently in use. We no longer rely on the alternating 2568b68e1f86Smrg pattern. 2569b68e1f86Smrg 2570b68e1f86Smrgcommit cfe8793180ec633dd7a17d059ad882ef461ed1d9 2571b68e1f86SmrgAuthor: Micah Dowty <micah@vmware.com> 2572b68e1f86SmrgDate: Tue May 12 16:43:13 2009 -0700 2573b68e1f86Smrg 2574b68e1f86Smrg Update README 2575b68e1f86Smrg 2576b68e1f86Smrg Updates the copyright date, and replaces the rather out-of-date 2577b68e1f86Smrg 2D documentation with a link to the updated 2D and 3D docs on 2578b68e1f86Smrg Source Forge. 2579b68e1f86Smrg 2580b68e1f86Smrgcommit e3769142d80953d6da484eb979f5274c8a3abeb3 2581b68e1f86SmrgAuthor: Shelley Gong <shelleygong@vmware.com> 2582b68e1f86SmrgDate: Thu Apr 16 13:28:47 2009 -0700 2583b68e1f86Smrg 2584b68e1f86Smrg Automatically add modelines for the driver's built-in set of modes. 2585b68e1f86Smrg 2586b68e1f86Smrg The driver has had a built-in set of modes for a while, but there 2587b68e1f86Smrg was nothing adding modelines to back them up, causing initial modes 2588b68e1f86Smrg to be rejected at startup with certain Xorg versions. 2589b68e1f86Smrg 2590b68e1f86Smrg This change adds the actual modelines for sufficiently new versions 2591b68e1f86Smrg of the server (>= 1.2), as the necessary calls were only introduced 2592b68e1f86Smrg at that time. 2593b68e1f86Smrg 2594b68e1f86Smrgcommit 3c223e8f7b03e2d7f8c31faeeeeb37030c461176 2595b68e1f86SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 2596b68e1f86SmrgDate: Fri Jan 9 16:39:07 2009 -0800 2597b68e1f86Smrg 2598b68e1f86Smrg Remove xorgconfig & xorgcfg from See Also list in man page 2599b68e1f86Smrg 2600b68e1f86Smrgcommit 1bbef3aa7ab15ee93cd4cd47c3d484ac91f0440d 2601b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2602b68e1f86SmrgDate: Tue Aug 19 11:23:44 2008 -0700 2603b68e1f86Smrg 2604b68e1f86Smrg Bump version for 10.16.5 release. 2605b68e1f86Smrg 2606b68e1f86Smrgcommit 6ea8e5000519865dd936cfe82d67efc7d107a28c 2607b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com> 2608b68e1f86SmrgDate: Tue Aug 19 11:23:02 2008 -0700 2609b68e1f86Smrg 2610b68e1f86Smrg Add RegionEqual function for older XFree86 versions. 2611b68e1f86Smrg 2612b68e1f86Smrg Fixes bug : http://bugzilla.eng.vmware.com/show_bug.cgi?id=312853 2613b68e1f86Smrg 2614b68e1f86Smrg When we added AUTOPAINT_COLORKEY capability to our VMware video driver, 2615b68e1f86Smrg region functions were used to keep track of colorkey painting. 2616b68e1f86Smrg 2617b68e1f86Smrg REGION_EQUAL was one of them. 2618b68e1f86Smrg 2619b68e1f86Smrg Unfortunately REGION_EQUAL was not present in regionstr.h shipped with XFree86 version 2620b68e1f86Smrg 4.3.0. 2621b68e1f86Smrg This version is used by TurboLinux 10; causing X server to crash while playing videos. 2622b68e1f86Smrg 2623b68e1f86Smrg REGION_EQUAL was added in revision 1.8 of regionstr.h and available for xfree86 version 2624b68e1f86Smrg 4.3.99 2625b68e1f86Smrg onwards. 2626b68e1f86Smrg Reference: 2627b68e1f86Smrg http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/include/regionstr.h.diff?r1=1.7&r2=1.8 2628b68e1f86Smrg 2629b68e1f86Smrg When I compiled the existing code(without my change), I see a warning was generated 2630b68e1f86Smrg indicating REGION_EQUAL is not present. 2631b68e1f86Smrg Too bad we missed it. 2632b68e1f86Smrg 2633b68e1f86Smrg This patch includes 2634b68e1f86Smrg 1) Slightly modified version of miRegionEqual from miRegion.c 2635b68e1f86Smrg 2) Some formating cleanup. 2636b68e1f86Smrg 2637b68e1f86Smrgcommit 0576b87c27d3d885cc698a3cc013bcfa4021942c 2638b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2639b68e1f86SmrgDate: Mon Jul 21 15:26:01 2008 -0700 2640b68e1f86Smrg 2641b68e1f86Smrg Prepare for 10.16.4 release. 2642b68e1f86Smrg 2643b68e1f86Smrgcommit ad8f17dec71632d0e606af1bea9432ece0bc97db 2644b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2645b68e1f86SmrgDate: Mon Jul 21 15:23:50 2008 -0700 2646b68e1f86Smrg 2647b68e1f86Smrg Video Overlay: Handle clipping correctly with AutoPaint colorkey. 2648b68e1f86Smrg 2649b68e1f86Smrg We recently added XV_AUTOPAINT_COLORKEY attribute to the X video driver 2650b68e1f86Smrg to enable applications like Real player that rely on this attribute to 2651b68e1f86Smrg display video frames in Linux guest. 2652b68e1f86Smrg 2653b68e1f86Smrg When this attribute is SET, we paint the colorkey on 1st frame and from 2654b68e1f86Smrg there on only when the video is moved. 2655b68e1f86Smrg 2656b68e1f86Smrg This introduced a bug 305202 with clipping. 2657b68e1f86Smrg 2658b68e1f86Smrg Consider a case when the video is playing, obscure the player window 2659b68e1f86Smrg with another window, without moving the player window, move the other 2660b68e1f86Smrg window away. The part of the window that was obscured didn't display 2661b68e1f86Smrg the video. 2662b68e1f86Smrg 2663b68e1f86Smrg With this patch instead of relying on the target rectangle, we use 2664b68e1f86Smrg the clipBoxes supplied in every frame. 2665b68e1f86Smrg 2666b68e1f86Smrgcommit 71f1ca515cd1b3d92397682f4fcea120c392b26e 2667b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2668b68e1f86SmrgDate: Fri Jul 18 14:03:09 2008 -0700 2669b68e1f86Smrg 2670b68e1f86Smrg Prepare for 10.16.3 2671b68e1f86Smrg 2672b68e1f86Smrg Bump up version numbers. 2673b68e1f86Smrg 2674b68e1f86Smrgcommit e7f404938b7ccd4c7e61c71c6c182ca8ee8d875f 2675b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2676b68e1f86SmrgDate: Fri Jul 18 13:59:34 2008 -0700 2677b68e1f86Smrg 2678b68e1f86Smrg Video Overlay: Add XV_AUTOPAINT_COLORKEY capability to the Xv extension of Linux guest driver. 2679b68e1f86Smrg 2680b68e1f86Smrg Applications use XV_AUTOPAINT_COLORKEY capability to let the driver handle the painting 2681b68e1f86Smrg of colorkey. 2682b68e1f86Smrg 2683b68e1f86Smrg Real Player assumes this capability as ON by default and hence prior to this patch videos 2684b68e1f86Smrg didn't play with Real player. 2685b68e1f86Smrg 2686b68e1f86Smrg With this patch: 2687b68e1f86Smrg a) If AUTOPAINT_COLORKEY is SET then the driver handles the painting of the colorkey. 2688b68e1f86Smrg Painting is done on the 1st frame and from there on only if the video frame moves. 2689b68e1f86Smrg 2690b68e1f86Smrg b) Adds UYVY fourcc format to keep it consistent with Windows SVGA driver and the host backends. 2691b68e1f86Smrg 2692b68e1f86Smrg c) Changes the default colorkey from a pungent GREEN to a darker shade. 2693b68e1f86Smrg Real Player sets this colorkey and it looks better when the video is moved around. 2694b68e1f86Smrg 2695b68e1f86Smrgcommit 0705e7093e42f7a5ae909477150fd5bb416f8da0 2696b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2697b68e1f86SmrgDate: Wed Jul 2 21:32:44 2008 -0400 2698b68e1f86Smrg 2699b68e1f86Smrg Trivial fix: Delete ASSERT() statement 2700b68e1f86Smrg 2701b68e1f86Smrg Delete the ASSERT() statement that got introduced in the previous check-in. 2702b68e1f86Smrg 2703b68e1f86Smrgcommit f4b5158960c3402e18a0fcf0e0211b68b0f0f127 2704b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2705b68e1f86SmrgDate: Wed Jul 2 18:17:58 2008 -0400 2706b68e1f86Smrg 2707b68e1f86Smrg Fix video overlay offscreen allocation bug 2708b68e1f86Smrg 2709b68e1f86Smrg When Kaffeine player stops a video, it sets the cleanup flag to FALSE and may 2710b68e1f86Smrg start playing the next video. In its present state the driver does not check or 2711b68e1f86Smrg clean up the offscreen area. This is a bug as the newer video might need more 2712b68e1f86Smrg offscreen space for its frame. The fix is to check for the offscreen frame size 2713b68e1f86Smrg in videoPlay and restart the stream if necessary. 2714b68e1f86Smrg 2715b68e1f86Smrgcommit b53bb2ad4c6f6e378cbf82a98cac917736d62740 2716b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2717b68e1f86SmrgDate: Thu Jun 12 17:34:30 2008 -0400 2718b68e1f86Smrg 2719b68e1f86Smrg Prepare for 10.16.2 2720b68e1f86Smrg 2721b68e1f86Smrg Bump up version numbers. 2722b68e1f86Smrg 2723b68e1f86Smrgcommit 1f7a8390a32852d2ff0039a7d8138a292d17b50a 2724b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2725b68e1f86SmrgDate: Tue Apr 29 18:29:11 2008 -0400 2726b68e1f86Smrg 2727b68e1f86Smrg Fix VMWARE_CTRL and Xinerama Initialization 2728b68e1f86Smrg 2729b68e1f86Smrg Move initialization code for the vmware control and xinerama extensions to 2730b68e1f86Smrg VMWAREScreenInit(), so that auto-resize and multi-mon work fine after a user 2731b68e1f86Smrg logs out and logs in again in a graphical display manager. 2732b68e1f86Smrg 2733b68e1f86Smrgcommit db027200474684c0aa4b9387f3ed53b2e5f24478 2734b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2735b68e1f86SmrgDate: Tue Apr 22 14:18:45 2008 -0400 2736b68e1f86Smrg 2737b68e1f86Smrg More xorg and xfree86 backwards compatibility 2738b68e1f86Smrg 2739b68e1f86Smrg Push most of the xorg-server version checking into the configure script. With 2740b68e1f86Smrg this change, unmodified driver source compiles in the XFree86 4.3 tree. 2741b68e1f86Smrg 2742b68e1f86Smrgcommit 6849c0a5fbf10722ca475d2ffcce7d0d95d2377a 2743b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2744b68e1f86SmrgDate: Fri Apr 18 18:00:38 2008 -0400 2745b68e1f86Smrg 2746b68e1f86Smrg Change // comments to /* 2747b68e1f86Smrg 2748b68e1f86Smrg This will make it easier to compile the driver against ancient versions of X. 2749b68e1f86Smrg 2750b68e1f86Smrgcommit b6c59761e2b984be32493f35224db523dd62bcd8 2751b68e1f86SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 2752b68e1f86SmrgDate: Thu Apr 17 23:04:45 2008 -0400 2753b68e1f86Smrg 2754b68e1f86Smrg Compile warning fixes 2755b68e1f86Smrg 2756b68e1f86Smrg Major problem was prototype vmwareInitVideo not matching implementation 2757b68e1f86Smrg vmwareVideoInit. Remaining are adding an "ansification" of a function without 2758b68e1f86Smrg arguments, and removing/disabling unused variables/functions. 2759b68e1f86Smrg 2760b68e1f86Smrgcommit 7870dc715b1efe173af1e2664778e2066508e066 2761b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2762b68e1f86SmrgDate: Thu Apr 17 20:54:23 2008 -0400 2763b68e1f86Smrg 2764b68e1f86Smrg Bump version to 10.16.1 in configure.ac 2765b68e1f86Smrg 2766b68e1f86Smrg The previous change didn't bump up the version in configure.ac. 2767b68e1f86Smrg 2768b68e1f86Smrgcommit be75c66fa7933c7dfa86e5514c744f47734c5fc8 2769b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2770b68e1f86SmrgDate: Thu Apr 17 20:39:02 2008 -0400 2771b68e1f86Smrg 2772b68e1f86Smrg Prepare for 10.16.1 2773b68e1f86Smrg 2774b68e1f86Smrg Update the modinfo section and make a configure.ac fix. 2775b68e1f86Smrg 2776b68e1f86Smrgcommit 87e9b32618f037d78d7853b48e40a71533b764d2 2777b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2778b68e1f86SmrgDate: Thu Apr 17 19:16:48 2008 -0400 2779b68e1f86Smrg 2780b68e1f86Smrg Fix build for all modular versions of Xorg 2781b68e1f86Smrg 2782b68e1f86Smrg This change makes the video driver compile with Xorg 7.0. There are a couple of 2783b68e1f86Smrg trivial changes that bring down the maximum Xserver version down to 2.0. Hacky, 2784b68e1f86Smrg but good enough for now. 2785b68e1f86Smrg 2786b68e1f86Smrgcommit e4fa13951a7c5dd53005a63392a439e2329fab9c 2787b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2788b68e1f86SmrgDate: Wed Mar 26 21:32:47 2008 -0400 2789b68e1f86Smrg 2790b68e1f86Smrg Send down guest display topology 2791b68e1f86Smrg 2792b68e1f86Smrg Send down the Xinerama topology from the guest down to the host, by setting 2793b68e1f86Smrg display topology registers in the SVGA device. 2794b68e1f86Smrg 2795b68e1f86Smrgcommit 5aced9e39a0bf7590c841824c0b66060eb7d5e03 2796b68e1f86SmrgAuthor: Adam Jackson <ajax@redhat.com> 2797b68e1f86SmrgDate: Wed Mar 19 17:03:18 2008 -0400 2798b68e1f86Smrg 2799b68e1f86Smrg vmware 10.16.0 2800b68e1f86Smrg 2801b68e1f86Smrgcommit cd8bb3018946e82b98207984efc26b13ac260e5e 2802b68e1f86SmrgAuthor: Adam Jackson <ajax@redhat.com> 2803b68e1f86SmrgDate: Wed Mar 19 17:00:41 2008 -0400 2804b68e1f86Smrg 2805b68e1f86Smrg Fix distcheck. 2806b68e1f86Smrg 2807b68e1f86Smrgcommit 1314a1cd22823a5a7202dac4ac04da3801f1ec94 2808b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com> 2809b68e1f86SmrgDate: Fri Mar 14 12:42:40 2008 -0400 2810b68e1f86Smrg 2811b68e1f86Smrg Video Overlay: Source video parameters 2812b68e1f86Smrg 2813b68e1f86Smrg This patch adds parameters to the source video frame. Applications can request 2814b68e1f86Smrg only a subset of the source video frame to be displayed. These parameters are 2815b68e1f86Smrg srcX, srcY, srcWidth and srcHeight. width and height represent the entire 2816b68e1f86Smrg source video frame. 2817b68e1f86Smrg 2818b68e1f86Smrgcommit fdef3fd5ea62a2df6283d48ba18d5c60300534ef 2819b68e1f86SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 2820b68e1f86SmrgDate: Sun Mar 9 00:08:32 2008 +0100 2821b68e1f86Smrg 2822b68e1f86Smrg Makefile.am: nuke RCS Id 2823b68e1f86Smrg 2824b68e1f86Smrgcommit bfd8398dde2d2de238c600eece9374d24d7d8549 2825b68e1f86SmrgAuthor: Bankim Bhavsar <bbhavsar@vmware.com> 2826b68e1f86SmrgDate: Wed Jan 23 22:13:07 2008 -0800 2827b68e1f86Smrg 2828b68e1f86Smrg Xv extension for VMware's video driver 2829b68e1f86Smrg 2830b68e1f86Smrg This patch implements the Xv extension for VMware's X video driver. 2831b68e1f86Smrg 2832b68e1f86Smrg The Xv specification can be found here 2833b68e1f86Smrg http://www.xfree86.org/current/DESIGN16.html 2834b68e1f86Smrg 2835b68e1f86Smrg I've written a trivial offscreen memory manager that allocates memory from the 2836b68e1f86Smrg bottom part of the Video RAM and it can handle only 1 video-stream. Eventually 2837b68e1f86Smrg we intend to support upto 32 video-streams (there is already support for 2838b68e1f86Smrg multiple video streams in respective backends). 2839b68e1f86Smrg 2840b68e1f86Smrgcommit a33ab73ffa5d3797d16c3a265ddefc56a5a93b6b 2841b68e1f86SmrgAuthor: Vinay <vinay@vinayb-dev4.(none)> 2842b68e1f86SmrgDate: Sat Jan 19 08:39:24 2008 -0800 2843b68e1f86Smrg 2844b68e1f86Smrg Trivial libpciaccess related fix 2845b68e1f86Smrg 2846b68e1f86Smrg Fix VMWAREUnmapMem to correctly unmap memory for the libpciaccess case. 2847b68e1f86Smrg 2848b68e1f86Smrgcommit 62d898669baccfd4c312f3ed8f228d0c3217d3c3 2849b68e1f86SmrgAuthor: Vinay Bondhugula <vinayb@vmware.com> 2850b68e1f86SmrgDate: Mon Oct 8 10:54:04 2007 -0700 2851b68e1f86Smrg 2852b68e1f86Smrg Port to libpciaccess. 2853b68e1f86Smrg 2854b68e1f86Smrgcommit 73db59fd82ced7a88f6da35d5088608e163f3d86 2855b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2856b68e1f86SmrgDate: Tue Sep 25 16:06:38 2007 -0700 2857b68e1f86Smrg 2858b68e1f86Smrg Update for 10.15.2 release 2859b68e1f86Smrg 2860b68e1f86Smrgcommit ee2fe14d37c9f3c8a170f8e3fcbc62403687ab8f 2861b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2862b68e1f86SmrgDate: Mon Sep 24 11:48:12 2007 -0700 2863b68e1f86Smrg 2864b68e1f86Smrg There are problems when running with old X releases with a 2865b68e1f86Smrg global symbol collision with the mouse driver. 2866b68e1f86Smrg 2867b68e1f86Smrgcommit cfdb0140fa53155ae134ba961ec7d593d5d94713 2868b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2869b68e1f86SmrgDate: Mon Sep 10 21:19:38 2007 -0700 2870b68e1f86Smrg 2871b68e1f86Smrg Guard modinfo section against gcc. 2872b68e1f86Smrg 2873b68e1f86Smrgcommit e41aef1fb187c1b450fbea0163eb16e0c40f0435 2874b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2875b68e1f86SmrgDate: Mon Sep 10 21:16:04 2007 -0700 2876b68e1f86Smrg 2877b68e1f86Smrg Ready 10.15.1 release. 2878b68e1f86Smrg 2879b68e1f86Smrg To allow for easier detection of driver version by other VMware tools, 2880b68e1f86Smrg we are embedding the version in a .modinfo section so that the Linux 2881b68e1f86Smrg kernel 'modinfo' tool can be (ab)used to check it. 2882b68e1f86Smrg 2883b68e1f86Smrgcommit 2331c7d1629f9841c02cf907ef4fa8b679cc5141 2884b68e1f86SmrgAuthor: James Cloos <cloos@jhcloos.com> 2885b68e1f86SmrgDate: Mon Sep 3 05:52:51 2007 -0400 2886b68e1f86Smrg 2887b68e1f86Smrg Add *~ to .gitignore to skip patch/emacs droppings 2888b68e1f86Smrg 2889b68e1f86Smrgcommit ec4dc29434bbbcf382de51fe3355679654489ad7 2890b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2891b68e1f86SmrgDate: Mon Jul 9 13:45:22 2007 -0700 2892b68e1f86Smrg 2893b68e1f86Smrg Update copyright date. 2894b68e1f86Smrg 2895b68e1f86Smrgcommit 0c76b95e7aeac034cc598ea6a407187f76466411 2896b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2897b68e1f86SmrgDate: Fri Feb 9 15:06:17 2007 -0800 2898b68e1f86Smrg 2899b68e1f86Smrg Add svga_modes.h to Makefile.am 2900b68e1f86Smrg 2901b68e1f86Smrgcommit a283c62c1db9e25ba11c6d72e4d00e0d911d64a2 2902b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2903b68e1f86SmrgDate: Fri Feb 9 11:09:17 2007 -0800 2904b68e1f86Smrg 2905b68e1f86Smrg Filter out default modes that are larger than the hardware 2906b68e1f86Smrg maxmimum size and add an explicit mode for the hardware 2907b68e1f86Smrg maximum. 2908b68e1f86Smrg 2909b68e1f86Smrgcommit f4540555dc8c823dfec53dddeb82e2b7b0dbfe3d 2910b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2911b68e1f86SmrgDate: Fri Feb 9 10:00:32 2007 -0800 2912b68e1f86Smrg 2913b68e1f86Smrg Correct the incorrect 1080p resolution. 2914b68e1f86Smrg 2915b68e1f86Smrg Should be 1920x1080 and not 1900x1080. Whoops. 2916b68e1f86Smrg 2917b68e1f86Smrgcommit eca6e9f9458440feebd6598aee24f02a3fd7a75f 2918b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2919b68e1f86SmrgDate: Thu Feb 8 18:22:16 2007 -0800 2920b68e1f86Smrg 2921b68e1f86Smrg Bump version to 10.15.0 2922b68e1f86Smrg 2923b68e1f86Smrg This release adds truely usable resizing support by 2924b68e1f86Smrg removing the restriction that the you cannot resize 2925b68e1f86Smrg larger than the initial mode. 2926b68e1f86Smrg 2927b68e1f86Smrgcommit 2ec8c25cc935a318bd07c0d1fba9960dfe8f38d4 2928b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2929b68e1f86SmrgDate: Thu Feb 8 18:07:19 2007 -0800 2930b68e1f86Smrg 2931b68e1f86Smrg Fix a race condition when switching to a multihead fullscreen mode. 2932b68e1f86Smrg 2933b68e1f86Smrg Due to implemtation details on the host side, switching to a multihead 2934b68e1f86Smrg fullscreen mode means multiple mode changes along the way. However, 2935b68e1f86Smrg because rrSetScreenConfig returns before the mode change completes, 2936b68e1f86Smrg we can enter a race, where a subsequent SetDisplayTopology overrides 2937b68e1f86Smrg the current pending one, leading to a mode switch where the resolution 2938b68e1f86Smrg and topology are no longer consistent. 2939b68e1f86Smrg 2940b68e1f86Smrg So, we fix this by ignoring any attempts to set the pending topology if 2941b68e1f86Smrg one is already pending. 2942b68e1f86Smrg 2943b68e1f86Smrgcommit a8afe781e108773e4a575ecc3330a5aa83c1cbb9 2944b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2945b68e1f86SmrgDate: Thu Feb 8 17:08:08 2007 -0800 2946b68e1f86Smrg 2947b68e1f86Smrg Add a bunch of useful modes to the mode list. 2948b68e1f86Smrg 2949b68e1f86Smrg The X server prunes modes above the initial mode and 2950b68e1f86Smrg the number of default modes varies with distro and 2951b68e1f86Smrg server version. As it's easy to do, let's add a bunch 2952b68e1f86Smrg of useful versions in the driver so that users don't 2953b68e1f86Smrg have to mess with their config files as often. 2954b68e1f86Smrg 2955b68e1f86Smrgcommit 520f570aa3869090eac3accf6a2b3886ab188590 2956b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2957b68e1f86SmrgDate: Thu Feb 8 13:44:57 2007 -0800 2958b68e1f86Smrg 2959b68e1f86Smrg Update man page to remove mention of the NoAccel option which 2960b68e1f86Smrg no longer exists as we don't do any 'acceleration'. 2961b68e1f86Smrg 2962b68e1f86Smrgcommit af8c0596a224ba8436d55c5dd6063fff688c7ad1 2963b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2964b68e1f86SmrgDate: Thu Feb 8 13:42:31 2007 -0800 2965b68e1f86Smrg 2966b68e1f86Smrg Remove XAA 'acceleration'. 2967b68e1f86Smrg 2968b68e1f86Smrg We have a lot of stale code to 'accelerate' certain operations 2969b68e1f86Smrg through XAA. However, in practice, this acceleration is 2970b68e1f86Smrg completely unhelpful because whenever we encounter an 2971b68e1f86Smrg unaccelerated action, we have to sync and flush the fifo 2972b68e1f86Smrg which kills any performance gain. 2973b68e1f86Smrg 2974b68e1f86Smrg As such, the virtual hardware doesn't even advertise these 2975b68e1f86Smrg acceleration capabilities anymore, so the code is completely 2976b68e1f86Smrg unusued. 2977b68e1f86Smrg 2978b68e1f86Smrg In addition, XAA is on the way out, so there's no point 2979b68e1f86Smrg leaving in dead code which will have to go in the fairly 2980b68e1f86Smrg near future. 2981b68e1f86Smrg 2982b68e1f86Smrg The one operation we can meaningfully accelerate is a 2983b68e1f86Smrg front-only fill and when we get around to implementing 2984b68e1f86Smrg that, we'll use EXA instead. 2985b68e1f86Smrg 2986b68e1f86Smrgcommit 3dc1ebc7c2c76f575b5150f1890ec13f8bd3e8a1 2987b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 2988b68e1f86SmrgDate: Thu Feb 8 10:33:14 2007 -0800 2989b68e1f86Smrg 2990b68e1f86Smrg Make resizing work once and for all. 2991b68e1f86Smrg 2992b68e1f86Smrg This change removes the limitation on resizing larger than the 2993b68e1f86Smrg initial size and removes the need for pitch-locking bu resizing 2994b68e1f86Smrg the screen pixmap. Now the only limit on the screen size is 2995b68e1f86Smrg the maximum width/height reported by the virtual hardware which 2996b68e1f86Smrg is configured on the host side. 2997b68e1f86Smrg 2998b68e1f86Smrgcommit 188c2b44f0f47093092414f9364a52cc2d5016ad 2999b68e1f86SmrgAuthor: Eamon Walsh <ewalsh@tycho.nsa.gov> 3000b68e1f86SmrgDate: Mon Dec 18 14:05:19 2006 -0500 3001b68e1f86Smrg 3002b68e1f86Smrg Revert "Convert callers of LookupWindow() to dixLookupWindow()." 3003b68e1f86Smrg 3004b68e1f86Smrg This reverts commit 1f298c24fe1dde35f0d77cc34518eb9c2b873fc5. 3005b68e1f86Smrg 3006b68e1f86Smrgcommit 1f298c24fe1dde35f0d77cc34518eb9c2b873fc5 3007b68e1f86SmrgAuthor: Eamon Walsh <ewalsh@tycho.nsa.gov> 3008b68e1f86SmrgDate: Fri Dec 15 17:41:52 2006 -0500 3009b68e1f86Smrg 3010b68e1f86Smrg Convert callers of LookupWindow() to dixLookupWindow(). 3011b68e1f86Smrg 3012b68e1f86Smrgcommit 9d41384616c8f6d00b53a61634f73e728d86d615 3013b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3014b68e1f86SmrgDate: Wed Dec 6 16:48:12 2006 -0800 3015b68e1f86Smrg 3016b68e1f86Smrg Explicitly initialise buffer to NULL for parsing xinerama topologies. 3017b68e1f86Smrg 3018b68e1f86Smrgcommit ac2a57ea7aea00c695495aa01c27402569a9514a 3019b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3020b68e1f86SmrgDate: Tue Oct 31 19:17:39 2006 -0800 3021b68e1f86Smrg 3022b68e1f86Smrg Update man page to document "StaticXinerama" 3023b68e1f86Smrg 3024b68e1f86Smrgcommit 4dd038bd73208184344cae4f363c492c7e61524b 3025b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3026b68e1f86SmrgDate: Tue Oct 31 19:12:29 2006 -0800 3027b68e1f86Smrg 3028b68e1f86Smrg Bump version to 10.14.0 3029b68e1f86Smrg 3030b68e1f86Smrgcommit 73945118a6b3cad60f4a1927b9394206d36e8281 3031b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3032b68e1f86SmrgDate: Mon Oct 30 11:52:57 2006 -0800 3033b68e1f86Smrg 3034b68e1f86Smrg Fix more warnings. 3035b68e1f86Smrg 3036b68e1f86Smrgcommit e0dca2ff0b695b60830cf8f10a2c0585602a4d40 3037b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3038b68e1f86SmrgDate: Mon Oct 30 10:53:18 2006 -0800 3039b68e1f86Smrg 3040b68e1f86Smrg Fix some warnings noted when compiling the code against 3041b68e1f86Smrg older Xorg versions. 3042b68e1f86Smrg 3043b68e1f86Smrgcommit f96d12047725becf0515cc4df8572ca4a3956309 3044b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3045b68e1f86SmrgDate: Wed Oct 25 18:06:13 2006 -0700 3046b68e1f86Smrg 3047b68e1f86Smrg Refactor static Xinerama parsing. 3048b68e1f86Smrg 3049b68e1f86Smrgcommit 57b32570f84d06180be2c9d249174b04f02d9fca 3050b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3051b68e1f86SmrgDate: Wed Oct 25 10:49:27 2006 -0700 3052b68e1f86Smrg 3053b68e1f86Smrg Add support for a static Xinerama configuration to be specified 3054b68e1f86Smrg in xorg.conf. This static configuration will always be used and 3055b68e1f86Smrg any attempts to update it will be ignored. 3056b68e1f86Smrg 3057b68e1f86Smrg Note that all xinerama aware apps that I have seen will not 3058b68e1f86Smrg sanity check the xinerama extents against the screen size, so 3059b68e1f86Smrg if the screen doesn't properly enclose the xinerama extents, 3060b68e1f86Smrg expect your apps to punish you accordingly. 3061b68e1f86Smrg 3062b68e1f86Smrgcommit c62a63b00f7c43e265079d31f1bf7ff447423056 3063b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3064b68e1f86SmrgDate: Wed Oct 11 11:47:39 2006 -0700 3065b68e1f86Smrg 3066b68e1f86Smrg Update .gitignore 3067b68e1f86Smrg 3068b68e1f86Smrgcommit 9345f8146ae41f7d2269e6fea5e3cba385139960 3069b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3070b68e1f86SmrgDate: Wed Oct 11 11:47:25 2006 -0700 3071b68e1f86Smrg 3072b68e1f86Smrg Add vmwarectrl sample client. 3073b68e1f86Smrg 3074b68e1f86Smrgcommit b35666fdd567d4cd92574aeecadb8e0d41b32d77 3075b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3076b68e1f86SmrgDate: Wed Oct 11 11:36:22 2006 -0700 3077b68e1f86Smrg 3078b68e1f86Smrg Add .gitignore files. 3079b68e1f86Smrg 3080b68e1f86Smrgcommit 7631f4d8db2b83878bd886204aaa978dac9c47b5 3081b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3082b68e1f86SmrgDate: Wed Oct 11 11:32:18 2006 -0700 3083b68e1f86Smrg 3084b68e1f86Smrg Document the 'Xinerama' option and tweak the default to reflect 3085b68e1f86Smrg the capabilites of the underlying hardware. 3086b68e1f86Smrg 3087b68e1f86Smrgcommit 79de175986817cac2fedb267cc9a04438b3694d4 3088b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3089b68e1f86SmrgDate: Wed Oct 11 11:26:04 2006 -0700 3090b68e1f86Smrg 3091b68e1f86Smrg Check for xinerama in configure.ac 3092b68e1f86Smrg 3093b68e1f86Smrgcommit 34e7264e99ceab5e9e2e022ed9a56531845b0b17 3094b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3095b68e1f86SmrgDate: Wed Oct 11 10:57:57 2006 -0700 3096b68e1f86Smrg 3097b68e1f86Smrg Add xinerama support to the vmware video driver. (Better late than never). 3098b68e1f86Smrg 3099b68e1f86Smrg With this change, the VMWARE_CTRL extension is updated so that it can 3100b68e1f86Smrg receive topology updates at runtime. I will add some sample client code 3101b68e1f86Smrg separately. 3102b68e1f86Smrg 3103b68e1f86Smrg I also intend to add support for a static initial topology defined in 3104b68e1f86Smrg xorg.conf but I haven't got around to it yet due to hating to write 3105b68e1f86Smrg string parsing code. 3106b68e1f86Smrg 3107b68e1f86Smrgcommit dd201e23cc50ded2f316dbfa5d265608b80d994d 3108b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3109b68e1f86SmrgDate: Wed Sep 20 11:40:54 2006 -0700 3110b68e1f86Smrg 3111b68e1f86Smrg Add support for the upcoming PITCHLOCK register. The FIFO register 3112b68e1f86Smrg is deprecated but support is retained so the driver works with 3113b68e1f86Smrg Workstation 5.5 and friends. 3114b68e1f86Smrg 3115b68e1f86Smrgcommit 0850feff708ded63c27dc938ca4b9b8fcbed122b 3116b68e1f86SmrgAuthor: Philip Langdale <philipl@fido2.homeip.net> 3117b68e1f86SmrgDate: Sun Sep 3 10:45:22 2006 -0700 3118b68e1f86Smrg 3119b68e1f86Smrg Fix https://bugs.freedesktop.org/show_bug.cgi?id=8094 3120b68e1f86Smrg Lazily allocate the dynamic modes used for pixel precise guest 3121b68e1f86Smrg resizing. They will not appear until they are neeed. 3122b68e1f86Smrg 3123b68e1f86Smrgcommit 86aeab28b806642946e59a98573c5b25840c35ed 3124b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3125b68e1f86SmrgDate: Fri Apr 7 21:57:24 2006 +0000 3126b68e1f86Smrg 3127b68e1f86Smrg Unlibcwrap. Bump server version requirement. Bump to 1.1.0. 3128b68e1f86Smrg 3129b68e1f86Smrgcommit fe6963e09a8197f5c11e8a828c8da4024601a466 3130b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3131b68e1f86SmrgDate: Fri Apr 7 21:55:49 2006 +0000 3132b68e1f86Smrg 3133b68e1f86Smrg Unlibcwrap. Bump server version requirement. Bump to 10.13.0. 3134b68e1f86Smrg 3135b68e1f86Smrgcommit ac83dff5d6a54b05e0377ceac2b133238293fa0e 3136b68e1f86SmrgAuthor: philipl <philipl> 3137b68e1f86SmrgDate: Tue Feb 7 18:51:35 2006 +0000 3138b68e1f86Smrg 3139b68e1f86Smrg Add VMWARE_CTRL extension. 3140b68e1f86Smrg 3141b68e1f86Smrgcommit a49f1e65147dc1ab805c74951cb0915b1352e8a9 3142b68e1f86SmrgAuthor: philipl <philipl> 3143b68e1f86SmrgDate: Tue Jan 17 00:40:43 2006 +0000 3144b68e1f86Smrg 3145b68e1f86Smrg Use DriverFunc to adjust physical size to keep DPI constant. 3146b68e1f86Smrg 3147b68e1f86Smrgcommit ff3f9dc930ff6bd2d6a73d56c70b0284a597cd62 3148b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3149b68e1f86SmrgDate: Wed Dec 21 02:30:04 2005 +0000 3150b68e1f86Smrg 3151b68e1f86Smrg Update package version for X11R7 release. 3152b68e1f86Smrg 3153b68e1f86Smrgcommit aa1da8e57939081f15db04fa8c654f363f4e4cb7 3154b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3155b68e1f86SmrgDate: Mon Dec 19 16:25:56 2005 +0000 3156b68e1f86Smrg 3157b68e1f86Smrg Stub COPYING files 3158b68e1f86Smrg 3159b68e1f86Smrgcommit 835f8000fdbdd35a6bbc5eabf1252d4040a798da 3160b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3161b68e1f86SmrgDate: Thu Dec 15 00:24:21 2005 +0000 3162b68e1f86Smrg 3163b68e1f86Smrg Update package version number for final X11R7 release candidate. 3164b68e1f86Smrg 3165b68e1f86Smrgcommit 32a969be355c0c948739b4f18e0caa83c78960cc 3166b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3167b68e1f86SmrgDate: Tue Dec 6 22:48:41 2005 +0000 3168b68e1f86Smrg 3169b68e1f86Smrg Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 3170b68e1f86Smrg 3171b68e1f86Smrgcommit 643a290d01553c9fefe9b4e268ae515d49cd1af9 3172b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3173b68e1f86SmrgDate: Sat Dec 3 05:49:37 2005 +0000 3174b68e1f86Smrg 3175b68e1f86Smrg Update package version number for X11R7 RC3 release. 3176b68e1f86Smrg 3177b68e1f86Smrgcommit 9d0f12ee6bf340765317214ffef2f70883025e9e 3178b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3179b68e1f86SmrgDate: Fri Dec 2 02:16:12 2005 +0000 3180b68e1f86Smrg 3181b68e1f86Smrg Remove extraneous AC_MSG_RESULT. 3182b68e1f86Smrg 3183b68e1f86Smrgcommit e0a08567f46f73005589876d38e3f5ff7543557b 3184b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3185b68e1f86SmrgDate: Tue Nov 29 23:30:06 2005 +0000 3186b68e1f86Smrg 3187b68e1f86Smrg Only build dlloader modules by default. 3188b68e1f86Smrg 3189b68e1f86Smrgcommit c80ca69d0160b78e8d2bbeae01de52978f8e581f 3190b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 3191b68e1f86SmrgDate: Mon Nov 28 22:04:15 2005 +0000 3192b68e1f86Smrg 3193b68e1f86Smrg Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 3194b68e1f86Smrg update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 3195b68e1f86Smrg 3196b68e1f86Smrgcommit 417099c602463ff364f70a938c4a2d2275d8a5b7 3197b68e1f86SmrgAuthor: Eric Anholt <anholt@freebsd.org> 3198b68e1f86SmrgDate: Mon Nov 21 10:49:23 2005 +0000 3199b68e1f86Smrg 3200b68e1f86Smrg Add .cvsignores for drivers. 3201b68e1f86Smrg 3202b68e1f86Smrgcommit 26a28492f738defa0445059c2dd6bb9cad89d0aa 3203b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3204b68e1f86SmrgDate: Wed Nov 9 21:31:21 2005 +0000 3205b68e1f86Smrg 3206b68e1f86Smrg Bump version numbers for X11R6.9/X11R7 RC2. 3207b68e1f86Smrg 3208b68e1f86Smrgcommit 9ba2f5c58f6ffc9533f5d1852b6d7ba25fa4785a 3209b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3210b68e1f86SmrgDate: Wed Nov 9 21:15:23 2005 +0000 3211b68e1f86Smrg 3212b68e1f86Smrg Update package version number for X11R7 RC2 release. 3213b68e1f86Smrg 3214b68e1f86Smrgcommit 731860b1fea54f2ce54fbf02ab77d7c01f381f80 3215b68e1f86SmrgAuthor: nolan <nolan> 3216b68e1f86SmrgDate: Thu Nov 3 04:26:00 2005 +0000 3217b68e1f86Smrg 3218b68e1f86Smrg Fix a bug where the cursor disappears. Committed on behalf of Shelley Gong 3219b68e1f86Smrg (shelleygong@vmware.com). 3220b68e1f86Smrg 3221b68e1f86Smrgcommit 623b3c8297fc0b0d05ce0d6684ef3ab57054b0eb 3222b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3223b68e1f86SmrgDate: Tue Nov 1 15:08:57 2005 +0000 3224b68e1f86Smrg 3225b68e1f86Smrg Update pkgcheck depedencies to work with separate build roots. 3226b68e1f86Smrg 3227b68e1f86Smrgcommit 4f1ef5a0bf2172b9d38c6b1b5dd92ae8efe01f42 3228b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3229b68e1f86SmrgDate: Wed Oct 19 02:48:06 2005 +0000 3230b68e1f86Smrg 3231b68e1f86Smrg Update package version number for RC1 release. 3232b68e1f86Smrg 3233b68e1f86Smrgcommit 3abe1c93562dbc4bbebfd293f7e90972e90c9dcc 3234b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 3235b68e1f86SmrgDate: Tue Oct 18 00:01:55 2005 +0000 3236b68e1f86Smrg 3237b68e1f86Smrg Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro 3238b68e1f86Smrg substitutions to work better with BSD make 3239b68e1f86Smrg 3240b68e1f86Smrgcommit ba3716950db330db08960248827bbf9321d42d71 3241b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3242b68e1f86SmrgDate: Mon Oct 17 22:57:38 2005 +0000 3243b68e1f86Smrg 3244b68e1f86Smrg More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead 3245b68e1f86Smrg of indirectly 3246b68e1f86Smrg 3247b68e1f86Smrgcommit 18207a8cc41044538520dd9f0036e44d3fe26f94 3248b68e1f86SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 3249b68e1f86SmrgDate: Mon Oct 17 00:09:09 2005 +0000 3250b68e1f86Smrg 3251b68e1f86Smrg Use sed & cpp to substitute variables in driver man pages 3252b68e1f86Smrg 3253b68e1f86Smrgcommit bce0feda4d05bd8fd4db20476e117026a21f3906 3254b68e1f86SmrgAuthor: nolan <nolan> 3255b68e1f86SmrgDate: Fri Sep 23 02:55:25 2005 +0000 3256b68e1f86Smrg 3257b68e1f86Smrg Support for XRandR in the VMware driver. Committed on behalf of Phil 3258b68e1f86Smrg Langdale (plangdale@vmware.com) 3259b68e1f86Smrg 3260b68e1f86Smrgcommit f06924363cd77770257db5aac6d4d3c6add89dfa 3261b68e1f86SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 3262b68e1f86SmrgDate: Thu Aug 18 09:03:55 2005 +0000 3263b68e1f86Smrg 3264b68e1f86Smrg Update autogen.sh to one that does objdir != srcdir. 3265b68e1f86Smrg 3266b68e1f86Smrgcommit 120d7d1c616d1e2e3c7ca0d1d119d1b0731491c6 3267b68e1f86SmrgAuthor: Kevin E Martin <kem@kem.org> 3268b68e1f86SmrgDate: Fri Jul 29 21:22:46 2005 +0000 3269b68e1f86Smrg 3270b68e1f86Smrg Various changes preparing packages for RC0: 3271b68e1f86Smrg - Verify and update package version numbers as needed 3272b68e1f86Smrg - Implement versioning scheme 3273b68e1f86Smrg - Change bug address to point to bugzilla bug entry form 3274b68e1f86Smrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 3275b68e1f86Smrg reenable it) 3276b68e1f86Smrg - Fix makedepend to use pkgconfig and pass distcheck 3277b68e1f86Smrg - Update build script to build macros first 3278b68e1f86Smrg - Update modular Xorg version 3279b68e1f86Smrg 3280b68e1f86Smrgcommit cd14003e4bf878e464437143cf18d30803ace999 3281b68e1f86SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 3282b68e1f86SmrgDate: Tue Jul 26 23:57:30 2005 +0000 3283b68e1f86Smrg 3284b68e1f86Smrg Build system for vmware 3285b68e1f86Smrg 3286b68e1f86Smrgcommit e5ab935718e3f6aea8edc5edef5c0bd78af0ba14 3287b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3288b68e1f86SmrgDate: Mon Jul 11 02:30:07 2005 +0000 3289b68e1f86Smrg 3290b68e1f86Smrg Prep for modular builds by adding guarded #include "config.h" everywhere. 3291b68e1f86Smrg 3292b68e1f86Smrgcommit daa2be7a9adf977eb4b63bb601d4b8b0b2881903 3293b68e1f86SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 3294b68e1f86SmrgDate: Fri Jul 1 22:43:21 2005 +0000 3295b68e1f86Smrg 3296b68e1f86Smrg Change all misc.h and os.h references to <X11/foo.h>. 3297b68e1f86Smrg 3298b68e1f86Smrgcommit ae1ba62c3937e6d1067f850d3aeb0b11d316fb86 3299b68e1f86SmrgAuthor: Adam Jackson <ajax@nwnk.net> 3300b68e1f86SmrgDate: Sat Jun 25 21:17:00 2005 +0000 3301b68e1f86Smrg 3302b68e1f86Smrg Bug #3626: _X_EXPORT tags for video and input drivers. 3303b68e1f86Smrg 3304b68e1f86Smrgcommit 57d09f92c656203958bbc2040f255040f7d051ca 3305b68e1f86SmrgAuthor: nolan <nolan> 3306b68e1f86SmrgDate: Fri Feb 18 23:15:59 2005 +0000 3307b68e1f86Smrg 3308b68e1f86Smrg updated copyright string in man page of VMware SVGA driver. 3309b68e1f86Smrg 3310b68e1f86Smrgcommit b4379cd6f99c14a2feaabce4560f6dfd62543c62 3311b68e1f86SmrgAuthor: nolan <nolan> 3312b68e1f86SmrgDate: Thu Sep 30 21:44:35 2004 +0000 3313b68e1f86Smrg 3314b68e1f86Smrg Bugfix for Alpha Texture acceleration from Constantine Sapuntzakis. 3315b68e1f86Smrg 3316b68e1f86Smrgcommit 325df911a83e336d3463ea2220151af4e9f0ccfa 3317b68e1f86SmrgAuthor: nolan <nolan> 3318b68e1f86SmrgDate: Sat Aug 14 01:03:55 2004 +0000 3319b68e1f86Smrg 3320b68e1f86Smrg Save the register state before we write to any of them. This makes the 3321b68e1f86Smrg VMware driver coexist with VESA fbcon. 3322b68e1f86Smrg 3323b68e1f86Smrgcommit fed82eea7b64b645926c5102563887bc424245b7 3324b68e1f86SmrgAuthor: nolan <nolan> 3325b68e1f86SmrgDate: Tue Jun 29 02:20:25 2004 +0000 3326b68e1f86Smrg 3327b68e1f86Smrg Send cursor hotspot through the FIFO. This fixes host cursor. Allow any bpp 3328b68e1f86Smrg when 8BIT_EMULATION is set. Save/restore the ID register. 3329b68e1f86Smrg 3330b68e1f86Smrgcommit a3bdeecbb99c721987a22d52c8adf4b1a96e8eec 3331b68e1f86SmrgAuthor: Eric Anholt <anholt@freebsd.org> 3332b68e1f86SmrgDate: Wed Jun 16 09:22:38 2004 +0000 3333b68e1f86Smrg 3334b68e1f86Smrg DRI XFree86-4_3_99_12-merge import 3335b68e1f86Smrg 3336b68e1f86Smrgcommit 2e4ba05c72961b611c9c4b93038ce54ab54ab9c3 3337b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 3338b68e1f86SmrgDate: Fri Apr 23 19:53:57 2004 +0000 3339b68e1f86Smrg 3340b68e1f86Smrg Merging XORG-CURRENT into trunk 3341b68e1f86Smrg 3342b68e1f86Smrgcommit b01798791090f20fbf4907902d0d35853c05e3a2 3343b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 3344b68e1f86SmrgDate: Sun Mar 14 08:33:42 2004 +0000 3345b68e1f86Smrg 3346b68e1f86Smrg Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 3347b68e1f86Smrg 3348b68e1f86Smrgcommit 2ef56b50d6b4fc44359b2bf181ece342fb569153 3349b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 3350b68e1f86SmrgDate: Wed Mar 3 12:12:28 2004 +0000 3351b68e1f86Smrg 3352b68e1f86Smrg Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 3353b68e1f86Smrg 3354b68e1f86Smrgcommit 7218efdc0d95a5d50b3ddfc6a76921e285cf61b6 3355b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 3356b68e1f86SmrgDate: Thu Feb 26 13:35:56 2004 +0000 3357b68e1f86Smrg 3358b68e1f86Smrg readding XFree86's cvs IDs 3359b68e1f86Smrg 3360b68e1f86Smrgcommit 205e213f8b296c47a80e7c8cfb835449b064fd84 3361b68e1f86SmrgAuthor: Egbert Eich <eich@suse.de> 3362b68e1f86SmrgDate: Thu Feb 26 09:23:29 2004 +0000 3363b68e1f86Smrg 3364b68e1f86Smrg Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 3365b68e1f86Smrg 3366b68e1f86Smrgcommit 2f79bc6606f337d0d892e6c73cdf11fe211ead13 3367b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 3368b68e1f86SmrgDate: Tue Nov 25 19:28:43 2003 +0000 3369b68e1f86Smrg 3370b68e1f86Smrg XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 3371b68e1f86Smrg 3372b68e1f86Smrgcommit 118eb1bdba4191972b1ca182e34f3d3ca456daea 3373b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 3374b68e1f86SmrgDate: Fri Nov 14 16:48:55 2003 +0000 3375b68e1f86Smrg 3376b68e1f86Smrg XFree86 4.3.0.1 3377b68e1f86Smrg 3378b68e1f86Smrgcommit 0b01e22c9cd727cce23c4a9670806f7a839e1937 3379b68e1f86SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 3380b68e1f86SmrgDate: Fri Nov 14 16:48:55 2003 +0000 3381b68e1f86Smrg 3382b68e1f86Smrg Initial revision 3383