ChangeLog revision 92405695
1commit c39897466573aabd6a3b4e63e8e5fb42ac5971f8 2Author: Ilia Mirkin <imirkin@alum.mit.edu> 3Date: Sat Jan 23 12:24:42 2021 -0500 4 5 Bump version to 1.0.17 6 7 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 8 9commit 7212a2782f3e638acf49de4716656b2ae27c2156 10Author: Ilia Mirkin <imirkin@alum.mit.edu> 11Date: Sat Aug 15 23:18:22 2020 -0400 12 13 present: fix handling of drmWaitVBlank failures 14 15 When drmWaitVBlank fails, make sure to remove the event from the queue. 16 17 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 18 19commit 5031100549fb053527a1f11d771e930dec065ced 20Author: Ilia Mirkin <imirkin@alum.mit.edu> 21Date: Sat Aug 15 23:20:53 2020 -0400 22 23 drmmode: make event handler leave a note that there are stuck events 24 25 We don't really expect to have too many events in the queue. If there 26 are, then the algorithm we use isn't appropriate. Add a warning when the 27 queue gets very long, as it's an indication of something having gone 28 wrong. 29 30 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 31 32commit f833cd0827a73b716cc3af5905015fcb2c7d958d 33Author: Ilia Mirkin <imirkin@alum.mit.edu> 34Date: Sat Jul 18 18:44:58 2020 -0400 35 36 present: don't enable if there's no acceleration 37 38 All the present logic relies on EXA being used to wrap everything. 39 Unclear if present could even be used without the other things EXA 40 enables, but better be safe. 41 42 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 43 44commit 971624406a8ecd85bad8c2e2d1fd26f5d14bae92 45Author: Ilia Mirkin <imirkin@alum.mit.edu> 46Date: Sat Jul 18 18:40:35 2020 -0400 47 48 drmmode: fix screen resize without acceleration 49 50 This got broken with commit 86024cee back in 2014! 51 drmmode_pixmap/nouveau_pixmap expect there to be EXA wrapping around the 52 pixmap now, which is not there without accel. 53 54 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 55 56commit 5444cabcf0ab5cea614270f1ad1df1e1fccb3c2b 57Author: Ilia Mirkin <imirkin@alum.mit.edu> 58Date: Sat Oct 26 18:36:27 2019 -0400 59 60 make error when failing to allocate surface more descriptive 61 62 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 63 64commit ef89b3c5ca9b2569ca61a9452d13a93edc832810 65Author: Ilia Mirkin <imirkin@alum.mit.edu> 66Date: Sat Oct 12 20:13:25 2019 -0400 67 68 dri2,present: move in pixmap before getting addresses 69 70 First of all, we were not forcing the pixmap to be moved in before 71 attempting to present it. Secondly, in certain configurations, we avoid 72 ever backing pixmaps with vram (in GPUs with 32MB of VRAM or less). 73 74 This fixes the observed cases where we ended up assuming that a bo was 75 backing a pixmap without doing the explicit move-in. 76 77 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 78 79commit 856572319fadeeadf58d782ab6f3f2d230822d67 80Author: Ilia Mirkin <imirkin@alum.mit.edu> 81Date: Sat Oct 12 16:00:15 2019 -0400 82 83 nv4/exa: tiling is unsupported pre-nv10, reduce alignment requirements 84 85 Commit 8c8f15c9d3 added increased pitch alignment requirements to handle 86 nv10-nv40 tiling (which must have a small number * PoT pitch). While 87 NV4/NV5 do have tiling, this was never supported in nouveau. 88 89 This change enables 1920x1200 resolutions since the maximum surface 90 pitch has to be strictly less than 8192. The current logic will align 91 1920*4 up to 8192 unnecessarily. 92 93 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 94 Cc: Marcin Kościelnicki <koriakin@0x04.net> 95 Cc: Francisco Jerez <currojerez@riseup.net> 96 97commit a5f04582cecb1a649bb46b8af9f2889247788d00 98Author: Carlo Caione <carlo@endlessm.com> 99Date: Fri Sep 1 12:47:23 2017 +0200 100 101 Don't advertise any PRIME offloading capabilities without acceleration 102 103 Acceleration is required even for display offloading. Trying to enable 104 display offloading without acceleration resulted in a crash. 105 106 https://bugs.freedesktop.org/show_bug.cgi?id=101220 107 108 Signed-off-by: Carlo Caione <carlo@endlessm.com> 109 110commit ec2b45d1bf4c31c5420b48c213bf9ee1656adf9d 111Author: Ilia Mirkin <imirkin@alum.mit.edu> 112Date: Mon Jan 28 23:25:58 2019 -0500 113 114 Bump version to 1.0.16 115 116 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 117 118commit 2376d1ebf2d9a96bc2ebf21d53a9f9841ce5c15b 119Author: Ilia Mirkin <imirkin@alum.mit.edu> 120Date: Sat Jan 26 23:00:19 2019 -0500 121 122 update known chipsets list 123 124 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 125 Reviewed-by: Rhys Kidd <rhyskidd@gmail.com> 126 127commit ca13913aaf7e3995c3b49d3d80aad7e6cb33291a 128Author: Ilia Mirkin <imirkin@alum.mit.edu> 129Date: Wed Jan 23 00:29:51 2019 -0500 130 131 Revert "wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER" 132 133 This reverts commit d7ba24fb6e4fce43adc3c73369c5d1035ae080a9. 134 135 When built and run against Xorg 1.20.3, part way through init, I got an 136 error about wfbPictureInit not existing despite not having wfb_enabled 137 set. 138 139 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 140 141commit fb2d4d27837ebf3ae2fdcf091495f52d2ad8c822 142Author: Ilia Mirkin <imirkin@alum.mit.edu> 143Date: Wed Jan 23 00:28:05 2019 -0500 144 145 present: rotated crtc's work fine 146 147 The "pick best" logic takes rotation into account. However flipping a 148 rotated CRTC can't work, so we disable that. 149 150 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 151 152commit 92db605f0f5ac14957e38e59782ef3ed4808de05 153Author: Rhys Kidd <rhyskidd@gmail.com> 154Date: Mon Jan 21 22:59:54 2019 -0500 155 156 Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr 157 158 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 159 160commit 8a90309401963aa43f89f91e204ec9cac5ade704 161Author: Rhys Kidd <rhyskidd@gmail.com> 162Date: Mon Jan 21 00:52:23 2019 -0500 163 164 config: Suggest upstream to find macros in case they are missing 165 166 Added upstream suggestion to error message in case xorg macros or 167 xserver macros are missing. No actual package manager references in 168 suggestion since these are 'user' and/or 'distribution' preferences. 169 170 (Cherry picked from xf86-video-intel 90538ecfff9c324d61419f451d41d26ab026f232) 171 172 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 173 174commit fcddd2c8e6e4a738bf28028e6d4ad5be34c8b2ae 175Author: Rhys Kidd <rhyskidd@gmail.com> 176Date: Mon Jan 21 00:52:22 2019 -0500 177 178 config: Complete bug report URL for Xorg DDX nouveau driver 179 180 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 181 182commit a566c883b3663b685e467788b8b5de6d99ef9ae2 183Author: Rhys Kidd <rhyskidd@gmail.com> 184Date: Mon Jan 21 00:52:21 2019 -0500 185 186 config: Set automake options consistently in one location 187 188 Avoid use of two manners of setting automake configuration options, 189 and consolidate them into AM_INIT_AUTOMAKE macro. 190 191 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 192 193commit 56e67e09925b0b5544884b279b9cc5552964fd25 194Author: Rhys Kidd <rhyskidd@gmail.com> 195Date: Mon Jan 21 00:52:20 2019 -0500 196 197 config: remove unused sdkdir=$(pkg-config...) statement 198 199 The sdkdir variable is not used, so remove the statement. 200 201 (Copied from xf86-video-ati 36bd69affc996c92c40b7360a7fbaa1a3a46abfd) 202 203 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 204 205commit db51fcf52067e4412c96bb4c84d97ceac6c857a6 206Author: Rhys Kidd <rhyskidd@gmail.com> 207Date: Mon Jan 21 00:52:19 2019 -0500 208 209 config: Remove unrequired AC_SUBST for LIBDRM_NOUVEAU and LIBUDEV 210 211 These macros are called by the PKG_CHECK_MODULES macro, for all 212 versions of pkg-config >= 0.24.0 (released May 23, 2010). 213 214 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 215 216commit f5250b1d46b6442550140b149341e06f7f27ae8d 217Author: Rhys Kidd <rhyskidd@gmail.com> 218Date: Mon Jan 21 00:52:18 2019 -0500 219 220 config: Add comments for main statements 221 222 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 223 224commit ed653f76b17ba4b252fe405e7bd39b36142dae05 225Author: Rhys Kidd <rhyskidd@gmail.com> 226Date: Mon Jan 21 00:52:17 2019 -0500 227 228 config: Use LT_INIT option instead of AC_DISABLE_STATIC 229 230 Since libtool 2.2 (released March 2008) the preferred initiation of 231 libtool is with the LT_INIT() macro, instead of AC_PROG_LIBTOOL. 232 233 As we are using LT_INIT anyway we might as well pass the disable-static 234 option directly to it instead of using the AC_DISABLE_STATIC macro. 235 236 See: 237 - https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html 238 - https://www.x.org/wiki/NewModuleGuidelines/ 239 240 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 241 242commit fe3fc188f17f000afae4c307ad5e54f1596fc6ff 243Author: Rhys Kidd <rhyskidd@gmail.com> 244Date: Mon Jan 21 00:52:16 2019 -0500 245 246 config: Utilize util-macros 1.8 for additional man page support 247 248 Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 249 The value of MAN_SUBST is the same for all X.Org packages. 250 251 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 252 253commit caaac38112fa9066089099655866e0e9f5e3a647 254Author: Rhys Kidd <rhyskidd@gmail.com> 255Date: Mon Jan 21 00:52:15 2019 -0500 256 257 config: remove unrequired AC_HEADER_STDC 258 259 Autoconf says: 260 "This macro is obsolescent, as current systems have conforming 261 header files. New programs need not use this macro". 262 263 Was previously required to ensure the system has C header files conforming 264 to ANSI C89 (ISO C90). Specifically, this macro checks for stdlib.h, 265 stdarg.h, string.h, and float.h. 266 267 This autoconf option was used to provide conditional fallback support 268 via defined STDC_HEADERS. 269 270 xf86-video-nouveau does not do so, so this macro is obsolete and unused, 271 so let's drop it. 272 273 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 274 275commit 4cf6d02ecbd5d2201d66324ba33f9fcbed67092f 276Author: Rhys Kidd <rhyskidd@gmail.com> 277Date: Mon Jan 21 00:52:14 2019 -0500 278 279 config: Use XORG_DEFAULT_OPTIONS which replaces six XORG_* macros 280 281 This macro expands into several macros and provide several build functions [0]. 282 Refer to the module generated aclocal.m4 file as this is subject to change. 283 284 At present, this includes: 285 - XORG_CWARNFLAGS: platform adjusted compiler warning flags 286 - XORG_STRICT_OPTION: additional warning flags 287 - XORG_RELEASE_VERSION: defines variables for major, minor and patch level 288 - XORG_CHANGELOG: contains a makefile rule which creates the ChangeLog file from Git 289 - XORG_INSTALL: contains a makefile rule which provides the INSTALL file in the module root directory 290 - XORG_MANPAGE_SECTIONS: platform adjusted man page section number 291 292 The above macros invoke the following Autoconf macros: 293 - AC_PROG_INSTALL 294 - AC_PROG_CC_C99 295 - AC_PROG_SED 296 - AC_CANONICAL_HOST 297 298 [0] https://www.x.org/wiki/NewModuleGuidelines/ 299 300 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 301 302commit 945f95775a21cbcc721b579f7dc220f1474d1d25 303Author: Rhys Kidd <rhyskidd@gmail.com> 304Date: Mon Jan 21 00:52:13 2019 -0500 305 306 config: libtoolize: put macros in AC_CONFIG_MACRO_DIR, 'm4' 307 308 As suggested by one tool called by autoreconf. Necessitates change to: 309 - configure.ac: Call AC_CONFIG_MACRO_DIR() 310 - Makefile.am: Set ACLOCAL_AMFLAGS = -I m4 311 - Create placeholder m4 folders 312 - Update gitignore files 313 314 >From the autoconf documentation: 315 316 "Starting from version 2.58, autoconf provide the macro AC_CONFIG_MACRO_DIR 317 to declare where additional macro files are to be put and found. The 318 argument passed to this macro is commonly m4." 319 https://autotools.io/autoconf/macros.html 320 321 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 322 323commit 9b60c3bc74c69d607d44c864f60f5fda0b11cd48 324Author: Rhys Kidd <rhyskidd@gmail.com> 325Date: Mon Jan 21 00:52:12 2019 -0500 326 327 gitignore: Update to mirror modern X.org drivers 328 329 Avoids git showing autoconf/automake generated files (e.g. tarballs) that 330 are local build artifacts and should not be committed. 331 332 Cherry picked from xf86-video-intel as at: 333 https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/blob/7c9dbc980b760e0053d83ca2d7cb147613285680/.gitignore 334 335 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 336 337commit 1761769d43ab3ab31b5e5d92e6014fdea21830bd 338Author: Rhys Kidd <rhyskidd@gmail.com> 339Date: Mon Jan 21 00:52:11 2019 -0500 340 341 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 342 343 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 344 AC_PROG_C_C99. This sets gcc with -std=gnu99. 345 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 346 347 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 348 349commit e27c0bb6c70b1a68ddf2aeeb0e4346e0a41b8d9c 350Author: Rhys Kidd <rhyskidd@gmail.com> 351Date: Mon Jan 21 00:52:10 2019 -0500 352 353 config: Rely upon list.h as at least xorg-server 1.8 required 354 355 Fixes: edd1608 ("xorg_list: define the xorg_list* symbols") 356 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 357 358commit 6700548071763daf30ab74dbcfb6543ea0db101d 359Author: Rhys Kidd <rhyskidd@gmail.com> 360Date: Mon Jan 21 00:52:09 2019 -0500 361 362 config: Only check for presence of libdrm package once 363 364 After a version-conditioned check for libdrm was added, no longer necessary 365 to check a second time, especially without a version number check. 366 367 Fixes: 779b8d4 ("Link against libdrm") 368 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 369 370commit 9b2b008eb76c6f4c31d5f71ca01a06254a03f7c9 371Author: Rhys Kidd <rhyskidd@gmail.com> 372Date: Mon Jan 21 00:52:08 2019 -0500 373 374 config, nv: Use xorg-macros PACKAGE_VERSION_{MAJOR, MINOR, PATCHLEVEL} 375 376 Use xorg-macros provided PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} rather 377 than rolling our own in xf86-video-nouveau. 378 379 Macro has been available since xorg-macros 1.1.5 (we rely on >= 1.8) 380 provided that XORG_DEFAULT_OPTIONS is called. 381 382 Fixes: b82aacd ("configure: require xorg-macros 1.8") 383 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 384 385commit b098bdae321182d2f18d791e7f1c665dec21f571 386Author: Rhys Kidd <rhyskidd@gmail.com> 387Date: Mon Jan 21 00:52:07 2019 -0500 388 389 config: Fix typo in comment 390 391 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 392 393commit 764b42babd38b545ccb3b43cd81c989bddf71c77 394Author: Rhys Kidd <rhyskidd@gmail.com> 395Date: Sun Jan 20 22:21:34 2019 -0500 396 397 xv/nv30, nv40: Mark local NV30GetSurfaceFormat and NV40GetSurfaceFormat as static 398 399 Avoids warnings with gcc 8.2: 400 401 nv30_xv_tex.c:138:1: warning: no previous prototype for ‘NV30GetSurfaceFormat’ [-Wmissing-prototypes] 402 NV30GetSurfaceFormat(PixmapPtr ppix, int *fmt_ret) 403 ^~~~~~~~~~~~~~~~~~~~ 404 405 nv40_xv_tex.c:138:1: warning: no previous prototype for ‘NV40GetSurfaceFormat’ [-Wmissing-prototypes] 406 NV40GetSurfaceFormat(PixmapPtr ppix, int *fmt_ret) 407 ^~~~~~~~~~~~~~~~~~~~ 408 409 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 410 411commit 0fa6ba423593cb5c8e43b8f6569f90f9fcc2b36c 412Author: Rhys Kidd <rhyskidd@gmail.com> 413Date: Sun Jan 20 22:21:33 2019 -0500 414 415 xv: Mark local NVSetupTexturedVideo function as static 416 417 Avoids warning with gcc 8.2: 418 419 nouveau_xv.c:2136:1: warning: no previous prototype for ‘NVSetupTexturedVideo’ [-Wmissing-prototypes] 420 NVSetupTexturedVideo (ScreenPtr pScreen, XF86VideoAdaptorPtr *textureAdaptor) 421 ^~~~~~~~~~~~~~~~~~~~ 422 423 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 424 425commit 2905ea76571faed91e7d17b5dc6e44758e71ff0b 426Author: Rhys Kidd <rhyskidd@gmail.com> 427Date: Sun Jan 20 22:21:32 2019 -0500 428 429 dri2: Mark local create/destroy buffer and copy region functions as static 430 431 Avoids warnings with gcc 8.2: 432 433 nouveau_dri2.c:38:1: warning: no previous prototype for ‘nouveau_dri2_create_buffer2’ [-Wmissing-prototypes] 434 nouveau_dri2_create_buffer2(ScreenPtr pScreen, DrawablePtr pDraw, unsigned int attachment, 435 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 436 nouveau_dri2.c:109:1: warning: no previous prototype for ‘nouveau_dri2_create_buffer’ [-Wmissing-prototypes] 437 nouveau_dri2_create_buffer(DrawablePtr pDraw, unsigned int attachment, 438 ^~~~~~~~~~~~~~~~~~~~~~~~~~ 439 nouveau_dri2.c:117:1: warning: no previous prototype for ‘nouveau_dri2_destroy_buffer2’ [-Wmissing-prototypes] 440 nouveau_dri2_destroy_buffer2(ScreenPtr pScreen, DrawablePtr pDraw, DRI2BufferPtr buf) 441 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 nouveau_dri2.c:131:1: warning: no previous prototype for ‘nouveau_dri2_destroy_buffer’ [-Wmissing-prototypes] 443 nouveau_dri2_destroy_buffer(DrawablePtr pDraw, DRI2BufferPtr buf) 444 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 445 nouveau_dri2.c:137:1: warning: no previous prototype for ‘nouveau_dri2_copy_region2’ [-Wmissing-prototypes] 446 nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr pDraw, RegionPtr pRegion, 447 ^~~~~~~~~~~~~~~~~~~~~~~~~ 448 nouveau_dri2.c:215:1: warning: no previous prototype for ‘nouveau_dri2_copy_region’ [-Wmissing-prototypes] 449 nouveau_dri2_copy_region(DrawablePtr pDraw, RegionPtr pRegion, 450 ^~~~~~~~~~~~~~~~~~~~~~~~ 451 452 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 453 454commit eb93278fadaab508ba8c2db65d2d3af2bd421efa 455Author: Rhys Kidd <rhyskidd@gmail.com> 456Date: Sun Jan 20 22:21:31 2019 -0500 457 458 wfb: Remove declaration for undefined function nouveau_wfb_init() 459 460 Fixes: 794a277 ("nv50: use libwfb for pixmap access when driver pixmaps enabled") 461 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 462 463commit 5233f3c84a436e01dabac531c2615e0e9af5f4ac 464Author: Rhys Kidd <rhyskidd@gmail.com> 465Date: Sun Jan 20 21:31:19 2019 -0500 466 467 xv: Avoid shadowed declaration of 'int ret' in NVPutImage 468 469 Warning reported by gcc 8.2: 470 471 nouveau_xv.c: In function ‘NVPutImage’: 472 nouveau_xv.c:1369:7: warning: declaration of ‘ret’ shadows a previous local [-Wshadow] 473 int ret = BadImplementation; 474 ^~~ 475 nouveau_xv.c:1073:6: note: shadowed declaration is here 476 int ret, i; 477 ^~~ 478 479 Fixes: a50bba6 ("xv: misc cleanups") 480 Cc: Ben Skeggs <bskeggs@redhat.com> 481 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 482 483commit 22dd49f60be54c5649a9e80c87c9bfc99e2974b8 484Author: Rhys Kidd <rhyskidd@gmail.com> 485Date: Sun Jan 20 21:31:18 2019 -0500 486 487 xv: Avoid shadowed declaration of 'int i' in NVPutImage 488 489 int i is accessed outside immediate scope so leave declaration at 490 the highest common scope level: 491 492 1073: int ret, i; 493 ... 494 // Highest common scope 495 ... 496 1193: if (newTTSize <= destination_buffer->size) { 497 ... 498 // Used in this scope 499 ... 500 1248: } else { 501 ... 502 // Used in this scope 503 ... 504 1316: } 505 // Not used in this scope 506 507 Warning reported by gcc 8.2: 508 509 nouveau_xv.c: In function ‘NVPutImage’: 510 nouveau_xv.c:1195:7: warning: declaration of ‘i’ shadows a previous local [-Wshadow] 511 int i = 0; 512 ^ 513 nouveau_xv.c:1073:11: note: shadowed declaration is here 514 int ret, i; 515 ^ 516 517 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 518 519commit d7ba24fb6e4fce43adc3c73369c5d1035ae080a9 520Author: Rhys Kidd <rhyskidd@gmail.com> 521Date: Sun Jan 20 19:20:08 2019 -0500 522 523 wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER 524 525 Fixes warning with xserver 1.20 and gcc 8.2: 526 527 nv_driver.c:1443:9: warning: implicit declaration of function ‘wfbScreenInit’; did you mean ‘fbScreenInit’? [-Wimplicit-function-declaration] 528 ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX, 529 ^~~~~~~~~~~~~ 530 fbScreenInit 531 532 (See xserver 706e6d9cd074da606016ed4ecff51e9c2a822087) 533 534 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 535 536commit dbba3246c989a88f8ba5b0c906af58779bef0cdd 537Author: Rhys Kidd <rhyskidd@gmail.com> 538Date: Sun Jan 20 14:50:35 2019 -0500 539 540 xv: Silence build warning regarding const qualifier 541 542 Silences warning with gcc 8.2: 543 544 nouveau_xv.c: In function ‘NVInitVideo’: 545 nouveau_xv.c:2247:68: warning: passing argument 2 of ‘vlCreateAdaptorXvMC’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 546 adaptorsXvMC[0] = vlCreateAdaptorXvMC(pScreen, textureAdaptor[0]->name); 547 ~~~~~~~~~~~~~~~~~^~~~~~ 548 In file included from nouveau_xv.c:42: 549 vl_hwmc.h:6:63: note: expected ‘char *’ but argument is of type ‘const char *’ 550 XF86MCAdaptorPtr vlCreateAdaptorXvMC(ScreenPtr pScreen, char *xv_adaptor_name); 551 ~~~~~~^~~~~~~~~~~~~~~ 552 553 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 554 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> 555 556commit cc284803fd75e0e340a5481342e0d0f7a5d7fa15 557Author: Rhys Kidd <rhyskidd@gmail.com> 558Date: Sat Jan 19 15:45:36 2019 -0500 559 560 Check for xf86CursorResetCursor() 561 562 If it's available, xorg-server calls it on each mode configuration change. It 563 does what xf86_reload_cursors does (and more), so we don't need to call 564 the latter anymore. 565 566 Avoids gcc 8.2 warning: 567 568 drmmode_display.c: In function ‘drmmode_set_mode_major’: 569 drmmode_display.c:525:2: warning: ‘xf86_reload_cursors’ is deprecated [-Wdeprecated-declarations] 570 xf86_reload_cursors(crtc->scrn->pScreen); 571 ^~~~~~~~~~~~~~~~~~~ 572 In file included from nv_type.h:10, 573 from nv_include.h:69, 574 from drmmode_display.c:36: 575 /usr/include/xorg/xf86Crtc.h:1068:37: note: declared here 576 static _X_INLINE _X_DEPRECATED void xf86_reload_cursors(ScreenPtr screen) {} 577 ^~~~~~~~~~~~~~~~~~~ 578 579 (Ported from radeon commit d670c5c9851b4eff21c845d26c7d7e4eb5ee0fa9) 580 581 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 582 583commit a4283f7fee5b0376f62ba305a2a47ee3dc5a822f 584Author: Ilia Mirkin <imirkin@alum.mit.edu> 585Date: Fri Nov 10 23:28:08 2017 -0500 586 587 drmmode: update logic for dynamic connectors, paths, and tiles 588 589 This largely copies the code from modesetting with minor adjustments. 590 591 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 592 593commit 8dd1118369460e03ab4963987901dc9e13a2d53d 594Author: Mario Kleiner <mario.kleiner.de@gmail.com> 595Date: Tue Jun 12 17:58:06 2018 +0200 596 597 Fix colormap handling at screen depth 30. (v2) 598 599 The various clut handling functions like a setup 600 consistent with the x-screen color depth. Otherwise 601 we observe improper sampling in the gamma tables 602 at depth 30. 603 604 Tested at depths 16, 24 and 30 and tested at depths 605 24 and 30 that xgamma and gamma table animations work, 606 and with measurement equipment to make sure identity 607 gamma ramps actually are identity mappings at the output. 608 609 v2: Also deal with X-Server 1.19 and earlier, which as of 610 v1.19.6 lack a fix to color palette handling and can 611 not deal with depths/bpc > 24/8 bpc. On < 1.20 we skip 612 xf86HandleColormaps() setup at > 8 bpc. This disables 613 color palette handling on such servers at > 8 bpc, but 614 still keeps RandR gamma table handling intact. 615 616 Tested on 1.19.6 and 1.20.0 to do the right thing. 617 618 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 619 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 620 621commit c9ce4b8e86525b6e0ecc814b2c5ebb242fb1f107 622Author: Ilia Mirkin <imirkin@alum.mit.edu> 623Date: Sun Dec 9 13:40:55 2018 -0500 624 625 drmmode: provide better error when failing to set gamma 626 627 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 628 629commit ac8f7b949e50d96f281b09f7fe96c92ea4d178ec 630Author: Ilia Mirkin <imirkin@alum.mit.edu> 631Date: Fri Feb 9 23:00:27 2018 -0500 632 633 dri3: don't check permissions on render node 634 635 The permission check fails if udev sets the render node to 0666 but 636 leaves the card at 0660, as is done in at least udev-236. 637 638 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 639 640commit 6e2b4bed7b226dce262c7e14f72a29b003791be8 641Author: Ilia Mirkin <imirkin@alum.mit.edu> 642Date: Sun Feb 4 13:50:29 2018 -0500 643 644 nv50/xv: add support for depth 30 xv output 645 646 Ostensibly it should probably be looking at the pixmap format. However 647 it's always the window pixmap, so we can assume it's what we expect. 648 649 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 650 651commit ea83b9bd8c88dad67e6494031f1f65eed823b6f1 652Author: Ilia Mirkin <imirkin@alum.mit.edu> 653Date: Sun Dec 31 02:22:27 2017 -0500 654 655 dri3: remove bogus condition for creating pixmap 656 657 Not clear what the depth % 8 was trying to protect against, but it was 658 breaking 30bpp visuals with DRI3. Add it in to ensure that bitsPerPixel 659 % 8 is 0, since there is plenty of bpp/8 math in the driver. 660 661 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 662 663commit 048baf53872f2f93628f2c8637ec832fb4006057 664Author: Ilia Mirkin <imirkin@alum.mit.edu> 665Date: Sun Dec 10 23:40:51 2017 -0500 666 667 man: remove reference to glamor under DRI option 668 669 GLAMOR backend was removed a while ago, but the help text stayed on. 670 671 Reported-by: Jason Zaman <jason@perfinion.com> 672 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 673 674commit 69aecdd305defdd014bc92b82acc6000988511cf 675Author: Adam Jackson <ajax@redhat.com> 676Date: Tue Jun 13 09:23:42 2017 -0400 677 678 modesetting: Validate the atom for enum properties 679 680 The client could have said anything here, and if what they said doesn't 681 actually name an atom NameForAtom() will return NULL, and strcmp() will 682 be unhappy about that. 683 684 [copied from xserver d4995a3936ae283b9080fdaa0905daa669ebacfc] 685 686 Signed-off-by: Adam Jackson <ajax@redhat.com> 687 688commit a7c190e0c230ed2d5e047ed6aba12d71a4866950 689Author: Lyude <lyude@redhat.com> 690Date: Fri Apr 21 14:41:17 2017 -0400 691 692 Bump version to 1.0.15 693 694 Signed-off-by: Lyude <lyude@redhat.com> 695 696commit 3047e99a641d2b8720371aae292750206f5e91fc 697Author: Ben Skeggs <bskeggs@redhat.com> 698Date: Thu Apr 20 15:57:33 2017 +1000 699 700 fix null pointer deref when building against >=libdrm 2.4.78 701 702 A new pointer got added to drmEventContext. 703 704 As a result of us both: 705 - Setting drmEventContext.version to "latest" AND 706 - Not zeroing the struct 707 708 We end up thwarting libdrm's compatibility checks, resulting in 709 libdrm choosing to call through an invalid pointer. 710 711 Fix this by zeroing the struct. 712 713 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 714 715commit e9418e434311336e905b70553a5ed740838d90ad 716Author: Mariusz Bialonczyk <manio@skyboo.net> 717Date: Wed Mar 29 22:07:50 2017 +0200 718 719 Do not register hotplug without RandR 720 721 When using Xinerama, RandR is automatically disabled, and calling RR 722 routines will trigger an assert() because the RR keys/resources are 723 not set, leading to an Xserver abort. 724 725 Hotplug makes little sense without RandR, so no need to install a 726 udev monitor if RandR is not available. 727 728 Ported from xf86-video-intel commit 729 1a489142c8e6a4828348cc9afbd0f430d3b1e2d8, original work by: 730 Chris Wilson <chris@chris-wilson.co.uk> 731 732 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98383 733 Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net> 734 Acked-by: Ilia Mirkin <imirkin@alum.mit.edu> 735 736commit e472b47d15634a864c8c981ed588d882aceaf26b 737Author: Ilia Mirkin <imirkin@alum.mit.edu> 738Date: Tue Mar 21 21:25:33 2017 -0400 739 740 Add Pascal family support, identical to Maxwell 741 742 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 743 Tested-by: Lyude <lyude@redhat.com> 744 745commit b71de83b7fae0abeb311251e6144294d319062cf 746Author: Lyude <lyude@redhat.com> 747Date: Tue Mar 7 18:44:43 2017 -0500 748 749 Bump version to 1.0.14 750 751 Signed-off-by: Lyude <lyude@redhat.com> 752 753commit 924083938c8f209d8f6ff472caf8692a644f7e78 754Author: Lyude <lyude@redhat.com> 755Date: Fri Mar 3 18:27:42 2017 -0500 756 757 Consider CRTCs disabled when DPMS is off 758 759 It turns out there's a difference in X between a CRTC being "disabled" 760 and simply having it's DPMS turned off. This is problematic though, 761 because if DPMS is turned off you can't really use the CRTC as a normal 762 CRTC anyway since page flipping and vblanks will be non-functional. As a 763 result, we've been considering DPMS-on CRTCs as enabled and attempt to 764 perform pageflips, vblank waits, etc. on them which inevitably fails. and 765 usually breaks the display the first time any of the CRTCs have their 766 DPMS turned on. 767 768 This was a problem that didn't really show itself until kernel 4.10 when 769 atomic modesetting was added which caused nouveau to stop trying to 770 fulfill pageflips and vblank waits on disabled CRTCs. I'm not sure how 771 pageflipping disabled CRTCs ever worked in the first place, but since 772 not doing so is the proper behavior anyway I haven't investigated any 773 further. 774 775 So, copy the ms_crtc_on() function from the modesetting driver and add 776 it here as drmmode_crtc_on(), then use that in all of the places where 777 we should be checking for both DPMS off and disabled CRTCs. 778 779 This fixes issues with the X ceasing to function (usually) after the 780 first time a CRTC has it's DPMS turned on. Reproduction recipe: 781 782 - Load up gnome-shell on a machine 783 - Wait for the display to timeout from inactivity and turn itself off 784 - Shake the cursor or press something on the keyboard. Chances are the 785 monitor will come back on, but the display remains black until the 786 next time the X server is restarted. 787 788 Signed-off-by: Lyude <lyude@redhat.com> 789 Reviewed-by: Adam Jackson <ajax@redhat.com> 790 791commit 1516d35b06c9cda399bef01d992805d6e63dcbae 792Author: Ilia Mirkin <imirkin@alum.mit.edu> 793Date: Sun Oct 16 15:10:10 2016 -0400 794 795 recognize and accelerate GM20x 796 797 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 798 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 799 800commit b00b73c3aa0da1d4cee5c9f580ca65a7bd344e0f 801Author: Ilia Mirkin <imirkin@alum.mit.edu> 802Date: Mon Oct 17 23:23:41 2016 -0400 803 804 copy: add maxwell/pascal copy engine classes 805 806 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 807 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 808 809commit 5a3ada3b0ff3d89441faf35d331bb8b6cf5e51c0 810Author: Ilia Mirkin <imirkin@alum.mit.edu> 811Date: Sun Oct 16 15:03:35 2016 -0400 812 813 nvc0: refactor TIC uploads to allow different specifics per generation 814 815 This flips GM10x to using the updated format, which is what I tested 816 with. However GM20x and GP10x also use this TIC format. 817 818 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 819 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 820 821commit 514441f32c5b948ce87668234ab9f01e8ec28dac 822Author: Ilia Mirkin <imirkin@alum.mit.edu> 823Date: Sun Oct 16 12:42:18 2016 -0400 824 825 nvc0: rename BEGIN_IMC0 to IMMED_NVC0 826 827 For consistency with mesa. It wasn't used anywhere previously. 828 829 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 830 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 831 832commit 4459c04a6bc208924fac8082920f6786538bc5cd 833Author: Ilia Mirkin <imirkin@alum.mit.edu> 834Date: Sun Oct 16 12:38:38 2016 -0400 835 836 nvc0: make use of the new hwdefs for TEX_CB_INDEX 837 838 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 839 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 840 841commit ea6fd12ea059c6af832bd2180b26d75e00d4ea71 842Author: Ilia Mirkin <imirkin@alum.mit.edu> 843Date: Sun Oct 16 12:38:02 2016 -0400 844 845 hwdefs: update nvc0_3d, add gm107_texture for new TIC format 846 847 These are copied directly from the mesa repository. 848 849 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 850 Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 851 852commit a24ded627e42d453546c553d609edc073f59cd57 853Author: Ilia Mirkin <imirkin@alum.mit.edu> 854Date: Thu Sep 25 20:15:51 2014 -0400 855 856 exa: add GM10x acceleration support 857 858 rendercheck -f a8r8g8b8 passes as much as on a GK208, and xv appears to 859 work. Very lightly tested. 860 861 Instead of sticking coordinates into pushbufs, the vertex shader is 862 modified to read them from a constbuf, indexed by vertex id. This 863 approach could be used for all nvc0 generations, but I didn't want to 864 rock the boat. 865 866 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 867 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 868 869commit e6479845ec0db20dc733c621b7967b751840a552 870Author: Ilia Mirkin <imirkin@alum.mit.edu> 871Date: Tue Sep 20 00:31:06 2016 -0400 872 873 Bump version to 1.0.13 874 875 - Fixes for reverse prime offload 876 - ABI 23 support for Xorg 1.19 877 878 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu 879 880commit 6473b68762b0dca2dfccfdfc74100398b7459296 881Author: Keith Packard <keithp@keithp.com> 882Date: Tue Jul 19 08:29:40 2016 -0700 883 884 Use NotifyFd for drm and udev fds 885 886 NotifyFd is available after API 22, and must be used after API 23. 887 888 Signed-off-by: Keith Packard <keithp@keithp.com> 889 890commit a964931e8dc4e06c27749edb4993a656dc261d75 891Author: Adam Jackson <ajax@redhat.com> 892Date: Tue Jul 19 10:03:56 2016 -0400 893 894 Adapt Block/WakeupHandler signature for ABI 23 895 896 Signed-off-by: Adam Jackson <ajax@redhat.com> 897 898commit 12f77348e7a9579b167b41228dec9e6f97b74de8 899Author: Hans de Goede <hdegoede@redhat.com> 900Date: Fri Jun 3 14:46:10 2016 +0200 901 902 Properly cleanup fb for reverse-prime-offload 903 904 drmmode_set_scanout_pixmap(pix) adds drmmod->fb_id through a call 905 to drmmode_xf86crtc_resize(), but on a subsequent 906 drmmode_set_scanout_pixmap(NULL) it would not remove the fb. 907 908 This keeps the crtc marked as busy, which causes the dgpu to not 909 being able to runtime suspend, after an output attached to the dgpu 910 has been used once. Which causes burning through an additional 10W 911 of power and the laptop to run quite hot. 912 913 This commit adds the missing remove fb call, allowing the dgpu to runtime 914 suspend after an external monitor has been plugged into the laptop. 915 916 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 917 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 918 919commit 1da8a937be19e41c51a3d516bd98cee988bca44b 920Author: Ben Skeggs <bskeggs@redhat.com> 921Date: Thu Jun 2 11:23:53 2016 +1000 922 923 exa/nv50-: fix some potential incomplete pushes 924 925 I don't think these should actually be able to happen, given that we 926 already reject the unknown formats in the Check() functions. But, 927 just in case... 928 929 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 930 931commit bb57f9af9d179af0962456dca369953521ea8c2c 932Author: Ben Skeggs <bskeggs@redhat.com> 933Date: Thu Jun 2 10:17:58 2016 +1000 934 935 fix use of out-of-scope data 936 937 Reported by Coverity. 938 939 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 940 941commit b824d36c28124955eda4aced5e637aa75eea4d6c 942Author: Ilia Mirkin <imirkin@alum.mit.edu> 943Date: Wed Jan 13 11:55:06 2016 -0500 944 945 HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs 946 947 A port of commit ff9a6b6f from xf86-video-ati. 948 949 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93670 950 Reported-by: Thomas D. <thfrdue@gmx.de> 951 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 952 953commit b18bc036bf9997ea65f5cbd824fd057931e604fe 954Author: Ben Skeggs <bskeggs@redhat.com> 955Date: Tue Dec 8 15:52:25 2015 +1000 956 957 Bump version to 1.0.12 958 959 Various random fixes have been pending for a long while now... 960 961 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 962 963commit 6e6d8ac1c7b4ee047a7b40b95dea1e65a7c3211a 964Author: Mario Kleiner <mario.kleiner.de@gmail.com> 965Date: Sun Jun 28 02:33:49 2015 +0200 966 967 Take shift in crtc positions for ZaphodHeads configs into account. 968 969 In multi-x-screen ZaphodHeads configurations, there isn't a 970 one-to-one mapping of kernel provided drmmode crtc index 971 to the index of the corresponding xf86Crtc inside the 972 xf86CrtcConfig crtc array anymore, ie. for kernel provided 973 drmmode->mode_res->crtcs[i], the i'th crtc won't correspond 974 to the xf86Crtc in the i'th slot of the x-screens xf86CrtcConfig 975 anymore, once ZaphodHeads has only selected a subset of all crtcs 976 of a graphics card for a given x-screen, instead of all crtcs. 977 978 This breaks the mapping of bit positions in the bit masks returned 979 in kencoder->possible_crtcs and kencoder->possible_clones. A 1 bit 980 in position i of those masks allows use of the kernels i'th crtc for 981 the given kencoder. The X-Servers dix code checks those bit masks 982 for valid xf86Output -> xf86Crtc assignments, assuming that the i'th 983 slot xf86CrtcConfigPtr config->crtc[i] corresponds to bit i in the 984 xf86Output->possibe_crtcs bitmask, and bails if the bitmask doesn't 985 allow the specified assignment of crtc to output. If ZaphodHeads 986 breaks the assumption of bit i <-> crtc slot i this ends in failure. 987 988 Take this shift of crtc index positions wrt. encoder bitmask bit 989 positions into account by bit-shifting positions accordingly when 990 assigning encoder->possible_crtcs to output->possible_crtcs, so 991 the proper indices match up again for validation by the dix. 992 993 This problem wasn't apparent last year when testing the ZaphodHeads 994 support on some Kepler cards, as apparently the encoder->possible_crtcs 995 bitmasks returned for those cards by the kernel just had all 4 996 lsb bits set for all tested encoders/output, so each of the cards 4 997 crtcs could go with each output and things worked by chance. 998 999 The current code breaks, e.g., on 2010 MacBookPro with nv50, where 1000 one crtc is hardwired to the internal lvds panel, and one crtc 1001 is hardwired to the external DP connector, resulting in a failure 1002 where dual-display on single-x-screen works fine, but assigning 1003 each output to a separate x-screen via ZaphodHeads fails due to 1004 the mismatched encoder->possible_crtcs bitmasks. 1005 1006 This patch fixes the problem. 1007 1008 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1009 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1010 1011commit 1ff13a922535924681b91452235b017e43a4c6f6 1012Author: Ilia Mirkin <imirkin@alum.mit.edu> 1013Date: Sun Sep 13 15:29:15 2015 -0400 1014 1015 fix build after glamor removal 1016 1017 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1018 1019commit 3bb943b33bbe8e593afc00d13fe867dd7a708c3c 1020Author: Ilia Mirkin <imirkin@alum.mit.edu> 1021Date: Thu Aug 21 20:36:41 2014 -0400 1022 1023 xv: use correct max width/height settings 1024 1025 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70931 1026 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1027 1028commit 3e2e0faa2ee1cce9c1bb5c7ad80d0592460f3edc 1029Author: Ilia Mirkin <imirkin@alum.mit.edu> 1030Date: Sat Jul 11 17:16:27 2015 -0400 1031 1032 remove maxwell GM10x support for now 1033 1034 There is no EXA acceleration, and now no GLAMOR either. 1035 User is better off with modesetting until EXA makes an appearance. 1036 1037 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1038 1039commit 1f8b2b348526d94e9bde4a285f331a4934c11078 1040Author: Ilia Mirkin <imirkin@alum.mit.edu> 1041Date: Sat Jul 11 17:08:52 2015 -0400 1042 1043 glamor: remove 1044 1045 If you want glamor, just use modesetting instead. It's hooked up 1046 incorrectly in nouveau, and there doesn't seem to be any point in fixing 1047 it when the modesetting driver does it all properly. 1048 1049 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1050 1051commit 6296145654b78518f3299bb5887f224f0d3810fd 1052Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1053Date: Wed Jul 29 14:39:02 2015 +0200 1054 1055 Add Option "DRI" to allow selection of maximum DRI level. (v2) 1056 1057 Allow user to select the maximum level of DRI implementation 1058 to use, DRI2 or DRI3. 1059 1060 exa accel supports both DRI2 and, if the kernel supports 1061 rendernodes, also DRI3. However, DRI3 still seems to have 1062 some bugs on current implementations, and additionally it 1063 doesn't work well at all for X-Servers older than 1.16.3 1064 due to X-Server bugs. Therefore we default to DRI2 on exa, 1065 but allow the user to enable DRI3 with this new option. 1066 1067 nouveau's glamor accel backend currently doesn't work under 1068 DRI2 at all, so we continue to use DRI3 whenever it is 1069 supported and ignore this new option for now. 1070 1071 Also add a bit more output about status of Present and 1072 DRI3 to aid debugging. 1073 1074 Note: This was originally meant to be a boolean parameter, 1075 to just select between DRI3 on and off, but changed 1076 here to a DRI level to make it consistent with the 1077 same option in the released Intel-ddx. 1078 1079 v2: Use fixed up Bool return type of nouveau_present_init(). 1080 1081 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1082 Cc: Ilia Mirkin <imirkin@alum.mit.edu> 1083 Cc: Emil Velikov <emil.l.velikov@gmail.com> 1084 Cc: Martin Peres <martin.peres@free.fr> 1085 Cc: Ben Skeggs <bskeggs@redhat.com> 1086 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> 1087 1088commit 0deb1fcc6d1099db698ff8c512a4884708a458ec 1089Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1090Date: Wed Jul 29 14:39:01 2015 +0200 1091 1092 present: Fixup return type of nouveau_present_init() 1093 1094 Make it a Bool consistently, as declared in header. 1095 1096 Reported-by: Ilia Mirkin <imirkin@alum.mit.edu> 1097 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1098 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> 1099 1100commit 5212dbd7e5eba35fdd6578b30f5b0c8c8543081b 1101Author: Ilia Mirkin <imirkin@alum.mit.edu> 1102Date: Tue Jul 14 19:23:01 2015 -0400 1103 1104 Avoid build fail without COMPOSITE 1105 1106 Reviewed-by: Dave Airlie <airlied@redhat.com> 1107 1108commit fdc528306e4018b314f2efcb2be4e37672bddd75 1109Author: Vadim Rutkovsky <vrutkovs@redhat.com> 1110Date: Thu Jul 9 23:23:37 2015 +0200 1111 1112 Adapt to new dirty tracking api 1113 1114 Mirrors commit b6d871bf2 (radeon: adopt for new X server dirty tracking 1115 APIs.) in xf86-video-ati. 1116 1117 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91284 1118 1119commit dfd827cefb940f46b18dc77c129f0a603c7c95fa 1120Author: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1121Date: Wed May 20 17:08:58 2015 +0200 1122 1123 fix a wrong use of a logical operator in drmmode_output_dpms() 1124 1125 This is probably a typo error which has been introduced in 2009... 1126 This fixes the following warning detected by Clang : 1127 1128 drmmode_display.c:907:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 1129 if (props && (props->flags && DRM_MODE_PROP_ENUM)) { 1130 1131 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1132 Reviewed-by: Dave Airlie <airlied@redhat.com> 1133 1134commit 27234dbe00caf6dfd4efb24fc7bbc026fa0134fc 1135Author: Ilia Mirkin <imirkin@alum.mit.edu> 1136Date: Wed May 27 20:26:42 2015 -0400 1137 1138 nv50/exa: add comments showing the code that makes up the programs 1139 1140 As decoded by envydis. Perhaps these should move into separate files 1141 similar to nvc0, but this seems like a simple intermediate solution. 1142 1143 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1144 1145commit 08ef36dc6766080f173ae2b7e660b3182cab9f2d 1146Author: Ilia Mirkin <imirkin@alum.mit.edu> 1147Date: Wed May 20 18:36:17 2015 -0400 1148 1149 older hardware prefers copy to clear, so use that 1150 1151 Doing a solid copy of 0, or a clear, has the same effect. This is a 1152 partial revert of commit 5439a9905eab8c. Pre-nv50 hardware succeeds with 1153 copies more often. 1154 1155 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1156 1157commit 278ad73475bd137eac8a49ec7a22406bfc2867e7 1158Author: Ilia Mirkin <imirkin@alum.mit.edu> 1159Date: Tue May 19 16:26:16 2015 -0400 1160 1161 nv04-nv40: don't attempt to do 32-bit shifts 1162 1163 A 32-bit shift is a no-op, which will also make the new planemask get 1164 or'd with ~0, thus negating the usefulness of the subsequent 1165 planemask != ~0 check. Only do this if it's a less-than-32-bit per pixel 1166 format, in which case it will have the desired effect of setting the 1167 high bits. 1168 1169 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1170 Reviewed-by: Martin Peres <martin.peres@free.fr> 1171 1172commit 7583471e1fe181dc7c26b7d0a0d16f70eb10dd21 1173Author: Ilia Mirkin <imirkin@alum.mit.edu> 1174Date: Tue May 19 16:11:17 2015 -0400 1175 1176 Check before trying a solid fill 1177 1178 Pre-nv50 has all sorts of funny requirements for non-copy alu 1179 operations, and will bail out of solid fills left and right. Account for 1180 that case and fall back to the memset. 1181 1182 Reported-by: Andrew Randrianasulu <randrianasulu@gmail.com> 1183 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1184 Reviewed-by: Martin Peres <martin.peres@free.fr> 1185 1186commit 212fc5354ed60ba282d5eabf468c0e2dd0d0afe6 1187Author: Ilia Mirkin <imirkin@alum.mit.edu> 1188Date: Mon Mar 23 20:05:23 2015 -0400 1189 1190 nv50: explicitly disable ZETA buffer 1191 1192 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1193 1194commit 734b8404c0a1fa9ce8ee62a0d4cc5baae7c8fcdf 1195Author: Ilia Mirkin <imirkin@alum.mit.edu> 1196Date: Sat Mar 21 11:46:35 2015 -0400 1197 1198 use defined method names where available 1199 1200 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1201 1202commit 5439a9905eab8c8d0f86e9963df6c893633bdbfd 1203Author: Maarten Lankhorst <dev@mblankhorst.nl> 1204Date: Mon Mar 23 19:41:38 2015 +0100 1205 1206 Actually do a clear instead of doing a bogus copy. 1207 1208 Oops! 1209 1210commit f0fdc156039eaa79fb1ad82fcc6437f2432306c6 1211Author: Maarten Lankhorst <dev@mblankhorst.nl> 1212Date: Sat Mar 21 22:30:10 2015 +0100 1213 1214 Try using EXA ops harder in drmmode_fbcon_copy fallback 1215 1216 The memcpy in the fallback path fails with SIGBUS on GK20A because 1217 this memory is not coherent, try to use a solid fill instead. 1218 1219commit 7319b54291d59e1cd3cbe4f39ea8cc6dc8bf45bc 1220Author: Maarten Lankhorst <dev@mblankhorst.nl> 1221Date: Fri Mar 20 23:24:50 2015 +0100 1222 1223 Simplify nouveau_allocate_surface's pitch calculation. 1224 1225 Judging from previous commits all linear buffers should have a 256 byte alignment. 1226 1227commit 91e51a7571e6e8cb9338fc168f817f56438b1901 1228Author: Maarten Lankhorst <dev@mblankhorst.nl> 1229Date: Fri Mar 20 23:17:13 2015 +0100 1230 1231 Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. 1232 1233commit d29d8baad4d845ec9d3d1d1bc8d1c1e1f6f6f086 1234Author: Maarten Lankhorst <dev@mblankhorst.nl> 1235Date: Sat Mar 14 18:00:00 2015 +0100 1236 1237 Use the correct class and shader ops for GK20A. 1238 1239 Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl> 1240 1241commit 6829d4c672fc05f4d3d993ac1bfde21d4b6c1200 1242Author: Maarten Lankhorst <dev@mblankhorst.nl> 1243Date: Sat Mar 14 11:58:12 2015 +0100 1244 1245 Make the ddx load with platform devices 1246 1247 Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl> 1248 1249commit 3fb97d78202213c1221a1d3ad8a5cebda78fdf44 1250Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1251Date: Thu Oct 23 09:29:14 2014 +0200 1252 1253 fix null pointer deref 1254 1255commit 90ba0bb6a371a5beebdf6d363bcd73659b7c9f1f 1256Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1257Date: Thu Oct 23 08:25:01 2014 +0200 1258 1259 check memory allocation in nouveau_glamor_set_shared_pixmap_backing 1260 1261 As reported by Roy Spliet. 1262 1263commit 4dfa13c77a1f6cee1affea05b5f3a0b26827d366 1264Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1265Date: Thu Oct 23 08:21:55 2014 +0200 1266 1267 rework initialization to prevent some crashes 1268 1269commit 485902e61b18aff864226db62ba10399aab40128 1270Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1271Date: Wed Oct 22 15:52:22 2014 +0200 1272 1273 fix !DRI3 case 1274 1275commit 79d438ec4d23280a242d36c2d81f2f43f6e90ada 1276Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1277Date: Wed Oct 22 15:42:55 2014 +0200 1278 1279 fix crash in nouveau_glamor_set_shared_pixmap_backing 1280 1281commit 217f6577afe44b10f7f8e066eaf55419fb0f5ee1 1282Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1283Date: Wed Oct 22 13:16:33 2014 +0200 1284 1285 move down call to nouveau_present_init until after fb init. 1286 1287commit 241e7289f25a342a457952b9b0e539c2f0b81d99 1288Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1289Date: Wed Oct 22 11:04:16 2014 +0200 1290 1291 enable dri3 support without glamor 1292 1293commit 762b22f5a2b9deed1c6b18d7098f8fddf2f4b759 1294Author: Ilia Mirkin <imirkin@alum.mit.edu> 1295Date: Tue Sep 23 21:44:12 2014 -0400 1296 1297 kepler: remove unnecessary texbars, add live-only tex for nvf0 1298 1299 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1300 1301commit ce9d6e165cd810f06d158e3cfbb4b9f14b060ded 1302Author: Ilia Mirkin <imirkin@alum.mit.edu> 1303Date: Tue Sep 23 21:37:46 2014 -0400 1304 1305 allow path to envyas binary to be specified 1306 1307 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1308 1309commit 02c1aee91ae22b58e777716ffd38397f9df0a087 1310Author: Ilia Mirkin <imirkin@alum.mit.edu> 1311Date: Thu Sep 4 15:27:53 2014 -0400 1312 1313 copy: don't bother trying to create copy on pre-nva3 1314 1315 Only the NVA3/5/8/F tesla chips have a copy engine. Don't bother trying 1316 to create one on earlier tesla chips (and thus printing an error on 1317 failure). 1318 1319 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1320 1321commit 3cd4c8494c296c7583dfa7f0823a272c9e932e03 1322Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1323Date: Thu Aug 28 03:57:48 2014 +0200 1324 1325 Bump version to 1.0.11 for release. 1326 1327 Highlights: 1328 1329 - Support for server managed fd's. 1330 - Glamor support. 1331 - Maxwell support. 1332 - DRI3 and initial Present support. 1333 - vsync'ed kms pageflip performance fixes when running on Linux 3.13+ 1334 - Multi-display vsync, vblank, swap scheduling, timestamping fixes. 1335 - Multi x-screen support fixes. 1336 - ZaphodHead support on for multiple outputs per x-screen. 1337 - EXA nv-10 fixes. 1338 - Enable sync of swaps to vblank by default (Option GLXVblank "on"). 1339 - Disable pseudo-triplebuffering by default (Option SwapLimit "1"). 1340 1341 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1342 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1343 1344commit 6d49f3f7aaaec872b6f9841f744a0bf09cc98492 1345Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1346Date: Thu Aug 28 03:49:55 2014 +0200 1347 1348 dri2: Set default SwapLimit to 1 for double-buffering. 1349 1350 This used to be 2 for pseudo-triplebuffering on XOrg 1.12+. 1351 1352 However, it caused problems like unthrottled swapping 1353 at up to twice the video refresh rate for redirected 1354 windows under desktop composition, which can't be easily 1355 fixed under dri2. 1356 1357 Default to double-buffering. Users can override this, but 1358 dri3 provides better solutions for this. 1359 1360 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1361 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1362 1363commit 10729a442be3cf018c5806c95ec4218977917ef3 1364Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1365Date: Mon Aug 18 09:53:27 2014 +0200 1366 1367 xv/dri2/dri3: Switch to optimized crtc selection for drawables. 1368 1369 Make crtc selection consistent with ati and intel ddx. 1370 1371 Pick the crtc to use for vblank events, swap scheduling and 1372 kms-pageflip completion events as the one with maximum pixel area 1373 intersection between its viewport and the drawable. If multiple 1374 crtc's viewports display the same amount of area of a drawable, 1375 select the crtc whose output is the designated "primary output" 1376 for the x-screen. The latter allows, e.g., in a clone display 1377 setup, to select the important output on which tearing should be 1378 minimized. The former makes sure to minimize or avoid tearing on 1379 the display which shows the largest part of the drawable. 1380 1381 This method is transplanted from the ati ddx. 1382 1383 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1384 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1385 1386commit be96a5a62df5e1f286690311a6bc4df4f2a99e57 1387Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1388Date: Sun Aug 17 02:30:36 2014 +0200 1389 1390 Add file "compile" to .gitignore 1391 1392 Some auto-generated file by new make systems to deal with some 1393 old compilers. 1394 1395 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1396 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1397 1398commit 16c885ce9c7bebcfa1252a5d500956dd5f551043 1399Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1400Date: Tue Aug 12 11:08:24 2014 +0200 1401 1402 Fix event handling on multi-x-screen configs. 1403 1404 Only register the wakeup handler and event socket 1405 once per card fd and server generation, as the fd 1406 and device file is shared between all x-screens for 1407 a given card during a given server generation. 1408 1409 Without this fix, vblank and kms-pageflip completion 1410 event processing don't work properly, as the server 1411 doesn't kick the wakeup handler for gpu events, and 1412 therefore the desktop will freeze, unless the user 1413 manually kicks the wakeup handler by moving the mouse 1414 or hitting the keyboard. 1415 1416 Add proper reference counting and checks to make it so. 1417 This fix is derived from a similar and proven fix in 1418 the ati ddx for the same problem. 1419 1420 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1421 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1422 1423commit 7eab6806927ea8938b9bd143d1702e87fde2f2cc 1424Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1425Date: Wed Aug 13 06:48:10 2014 +0200 1426 1427 Make new ZaphodHeads work across server regenerations. 1428 1429 Reset the mask of already assigned crtc's at start 1430 of each new server generation. 1431 1432 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1433 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1434 1435commit 6ad053788e804f3a8bd36ee3653ec95e7df62623 1436Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1437Date: Wed Aug 6 07:37:32 2014 +0200 1438 1439 dri2 and xv: Fix NVxxSyncToVBlank() for multi-x-screen's. 1440 1441 Use helper function drmmode_head() to choose proper hw-crtc 1442 to sync to. Fixes xv blits, and dri2 Copy-Swaps. 1443 1444 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1445 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1446 1447commit 17de663a71bcad6f69414eb6bc6bf9b76a6bf5f4 1448Author: Ben Skeggs <bskeggs@redhat.com> 1449Date: Mon Aug 11 09:48:42 2014 +1000 1450 1451 fix glamor header check 1452 1453 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1454 1455commit 64ca88570b71289a019a2d130b1a30dc474ef52d 1456Author: Ben Skeggs <bskeggs@redhat.com> 1457Date: Mon Aug 11 08:59:30 2014 +1000 1458 1459 present: use drmmode_head() where it's appropriate 1460 1461 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1462 1463commit 6e71bdf5a9da15c60694fa8543243e37a32c5faf 1464Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1465Date: Mon Jun 23 11:25:41 2014 +0200 1466 1467 Allow/Fix use of multiple ZaphodHead outputs per x-screen. 1468 1469 Defining multiple ZaphodHead outputs per x-screen in a 1470 multiple x-screen's per gpu configuration caused all 1471 outputs except one per x-screen to go dark, because 1472 there was a fixed mapping x-screen number -> crtc number, 1473 limiting the number of crtc's per x-screen to one. 1474 1475 On a ZaphodHead's setup, be more clever and assign 1476 as many crtc's to a given x-screen as there are 1477 ZaphodHeads defined for that screen, assuming 1478 there are enough unused crtc's available. 1479 1480 Tested on a triple display setup with different combos 1481 of one, two or three ZaphodHeads per one, two or three 1482 x-screens. 1483 1484 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1485 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1486 1487commit fcf91a275e96f14e49a93dc3f8dd6798cf7d98f3 1488Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1489Date: Mon Jun 23 11:13:57 2014 +0200 1490 1491 dri2: Fix drmWaitVblank on multi-x-screen configs. 1492 1493 Old mapping of xf86Crtc -> display head index was 1494 too simple and only worked on a single x-screen config. 1495 1496 Introduce a new helper function drmmode_hw_head_index() 1497 which returns proper mapping also for multi x-screens per 1498 gpu and ZaphodHeads setups and other non-standard multi- 1499 display configurations. 1500 1501 Tested on triple-head setup with various ZaphodHead and 1502 server layout combos. 1503 1504 This helper will be also needed for dri3/present code. 1505 1506 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1507 1508commit 29572e44c24613be9dec0c98ff2731e46ce6203b 1509Author: Ilia Mirkin <imirkin@alum.mit.edu> 1510Date: Sun Aug 10 02:25:15 2014 -0400 1511 1512 exa/nv10: src ops should use the SF macro 1513 1514 Doesn't actually end up mattering. 1515 1516 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1517 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1518 1519commit 35e17905e1c54558059f6b72b8594a3377f1a57c 1520Author: Ilia Mirkin <imirkin@alum.mit.edu> 1521Date: Sun Aug 10 02:25:14 2014 -0400 1522 1523 exa/nv10: fix blend function setup to check the correct mask 1524 1525 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1526 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1527 1528commit dfac18c67a17782a0263daf8cb4ee487374abd2c 1529Author: Ilia Mirkin <imirkin@alum.mit.edu> 1530Date: Sun Aug 10 02:25:13 2014 -0400 1531 1532 exa/nv10: use color 0 when the pict format has no RGB component 1533 1534 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1535 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1536 1537commit ff7010e06b6da0fe27143b47b8a4ffd2f12894b7 1538Author: Ilia Mirkin <imirkin@alum.mit.edu> 1539Date: Sun Aug 10 02:25:12 2014 -0400 1540 1541 exa/nv10: use same clip settings as mesa driver 1542 1543 The higher 0x800 was getting overwritten by the 0x7ff anyways, so it 1544 wasn't doing any good. The mesa driver just uses 0x800 for the low 1545 portion and doesn't set the 8 bit in the higher portion, so do the same 1546 thing here. 1547 1548 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1549 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1550 1551commit edd1608c397ebcf487b84948031f7807178e5e4d 1552Author: Emil Velikov <emil.l.velikov@gmail.com> 1553Date: Tue Jul 1 22:31:47 2014 +0100 1554 1555 xorg_list: define the xorg_list* symbols 1556 1557 ...when building against pre 1.12 x. 1558 The build will fail as earlier versions of X were missing the xorg_ 1559 prefix of the symbols - struct and util functions. 1560 1561 Reported-by: Pali Rohár <pali.rohar@gmail.com> 1562 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 1563 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1564 1565commit f6c1c755d8230494c8115e2c7899a85663f5c176 1566Author: Ben Skeggs <bskeggs@redhat.com> 1567Date: Tue Jul 1 12:56:49 2014 +1000 1568 1569 fix a harmless typo 1570 1571 fdo#80738 1572 1573 Reported-by: Paulo Sérgio Travaglia <pstglia@gmail.com> 1574 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1575 1576commit 096fb1ebc10b14ba1b747832efe378369bcf44e6 1577Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1578Date: Mon May 26 05:39:50 2014 +0200 1579 1580 dri2: Add support for handling more than 2 crtc's 1581 1582 Need to use the DRM_VBLANK_HIGH_CRTC bits to allow 1583 selecting crtc's with id > 1 on latest gpu's with 1584 up to four display engines. 1585 1586 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1587 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1588 1589commit 4771ff5c668047a2dc56e4c6131175eed837e757 1590Author: Marcin Slusarz <marcin.slusarz@gmail.com> 1591Date: Sun Jun 22 01:32:42 2014 +0200 1592 1593 present: build only when glamor is enabled 1594 1595 nouveau_present_flip_exec references glamor_fd_from_pixmap, 1596 which do not exist when glamor is disabled 1597 1598 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 1599 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1600 1601commit 41c1c4ee867753422d6486f13bf20b45905a5dd5 1602Author: Marcin Slusarz <marcin.slusarz@gmail.com> 1603Date: Sun Jun 22 01:31:46 2014 +0200 1604 1605 glamor: fix build without glamor.h 1606 1607 xorg-server can be built without glamor, which leads to: 1608 1609 CC nouveau_xv.lo 1610 In file included from nouveau_xv.c:41:0: 1611 nouveau_glamor.h:12:20: fatal error: glamor.h: No such file or directory 1612 compilation terminated. 1613 1614 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 1615 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1616 1617commit f0fa8313714c2a5b16e784b257b5ff79da3a443b 1618Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1619Date: Thu Jun 19 17:11:34 2014 +0200 1620 1621 dri2: Enable sync of bufferswaps to Vblank by default. 1622 1623 Make this consistent with other drivers default behaviour. 1624 1625 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1626 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1627 1628commit 02d7e647ce3a4a5d48c4ee94c94bebcac2d4827d 1629Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1630Date: Sat Jun 21 01:26:16 2014 +0200 1631 1632 dri2: Fix kms pageflip completion timestamping. 1633 1634 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1635 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1636 1637commit 4d92001ebe6bec8c5eaab8156421e62a7e4dedc8 1638Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1639Date: Fri Mar 14 18:27:53 2014 +0100 1640 1641 Add kernel async_flip cap detection. Part II of double-sync fix. 1642 1643 Query if kernel supports the async_flip cap, thereby needs the 1644 new sync behavior. Linux 3.13+ nouveau-kms have this cap and 1645 need this fix. 1646 1647 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1648 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1649 1650commit 54dfbb2fed393b65d846e6ed9672acb47e0f19de 1651Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1652Date: Fri Mar 14 18:23:04 2014 +0100 1653 1654 dri2: Fix double-sync of pageflips on Linux 3.13+ - Part I 1655 1656 Linux 3.13 and later sync kms pageflips to vblank in the kms 1657 driver, so we must not emit a sync to vblank pushbuf in the ddx 1658 on such kernels, or maximum framerate will be cut into half! 1659 1660 A sync-to-vblank-pushbuf is emitted for copyswaps as in the past, 1661 also for older kernels which don't support async_pageflip's and 1662 don't sync by themselves. 1663 1664 This adds the implementation, but not the detection logic for 1665 async_pageflip support in the kernel. 1666 1667 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1668 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1669 1670commit 303402e00d55b5296311738184cd61f4aadab74d 1671Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1672Date: Sat Jun 21 00:09:39 2014 +0200 1673 1674 Fix nouveau_copy_init() 1675 1676 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1677 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1678 1679commit 65a70c4edd1f0df808a3a4dea6e8c9846cc7c920 1680Author: Ben Skeggs <bskeggs@redhat.com> 1681Date: Fri Jun 20 16:57:18 2014 +1000 1682 1683 another build fix... 1684 1685commit 882ebb4000803f6025e1bb3213a31b19f6d1a2c6 1686Author: Ben Skeggs <bskeggs@redhat.com> 1687Date: Mon Nov 18 14:42:02 2013 +1000 1688 1689 present: initial support 1690 1691 Until glamor grows its own implementation. 1692 1693 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1694 1695commit 0d94f32fce2759c4b0f4d22b99f3ced09c2aa5a0 1696Author: Ben Skeggs <bskeggs@redhat.com> 1697Date: Fri Jun 20 09:47:39 2014 +1000 1698 1699 kms: implement a more generic event mechanism 1700 1701 Present wants to use this too. 1702 1703 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1704 1705commit 97feb3b2104287eb385ffba8329f304e2808d808 1706Author: Ben Skeggs <bskeggs@redhat.com> 1707Date: Fri Jun 20 09:29:08 2014 +1000 1708 1709 dri2: move page flip handling out of drmmode 1710 1711 Nothing to see here... This is to (hopefully) avoid busting DRI2 while 1712 implementing Present support. 1713 1714 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1715 1716commit 60b876eab3708f1c277027addb5514974452644c 1717Author: Ben Skeggs <bskeggs@redhat.com> 1718Date: Fri Jun 20 09:20:37 2014 +1000 1719 1720 dri2: move away from directly touching drmmode on page flips 1721 1722 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1723 1724commit 36dda1341008dd87a6b5459f0616776097d11d9f 1725Author: Ben Skeggs <bskeggs@redhat.com> 1726Date: Fri Jun 20 09:04:30 2014 +1000 1727 1728 dri2: shuffle some functions around 1729 1730 Nothing to see here... 1731 1732 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1733 1734commit 8bdec8ebd68ba5eaa696d8a666e18774bff3b2ad 1735Author: Ben Skeggs <bskeggs@redhat.com> 1736Date: Fri Jun 20 12:37:33 2014 +1000 1737 1738 glamor: fix randr resize 1739 1740 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1741 1742commit 3c45b590a31157abca140096b141aa83fecb671f 1743Author: Ben Skeggs <bskeggs@redhat.com> 1744Date: Fri Jun 20 08:28:30 2014 +1000 1745 1746 sync: fix build against DRI3-less server 1747 1748 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1749 1750commit 88ae58d786b0c41148e692dbfe8e2646e7533d9e 1751Author: Ilia Mirkin <imirkin@alum.mit.edu> 1752Date: Thu Jun 19 02:37:45 2014 -0400 1753 1754 update man page with new chips, AccelMethod option 1755 1756 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1757 1758commit 5cb36ba57493bf7edf560bf370c87eff79f1d1a6 1759Author: Ben Skeggs <bskeggs@redhat.com> 1760Date: Thu Jun 19 14:54:20 2014 +1000 1761 1762 default to glamor on maxwell 1763 1764 We have no RENDER/Xv acceleration in EXA for Maxwell. 1765 1766 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1767 1768commit 81148bb1dbc7007c021c59411d56cb31cfc74ef2 1769Author: Ben Skeggs <bskeggs@redhat.com> 1770Date: Thu Jun 19 14:54:20 2014 +1000 1771 1772 glamor: provide dri3 support when enabled 1773 1774 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1775 1776commit 86024ceef015ffe31a204cc5bc6c326a19363ff1 1777Author: Ben Skeggs <bskeggs@redhat.com> 1778Date: Thu Jun 19 14:54:20 2014 +1000 1779 1780 glamor: initial support (no dri) 1781 1782 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1783 1784commit fd0ce8839f307693d86c7602dd926ce79e6b777d 1785Author: Ben Skeggs <bskeggs@redhat.com> 1786Date: Thu Jun 19 14:54:20 2014 +1000 1787 1788 add support for maxwell, minus Xv/renderaccel 1789 1790 More extensive acceleration will be via glamor, at least to begin with. It 1791 seems to make sense to jump on the bandwagon now, and deal with any issues 1792 that arise before it it becomes the standard for XWayland. 1793 1794 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1795 1796commit 8ad0465e15bfc502abc259e886d6dcb448e0141a 1797Author: Ben Skeggs <bskeggs@redhat.com> 1798Date: Thu Jun 19 14:54:20 2014 +1000 1799 1800 50/c0/e0 -> tesla/fermi/kepler 1801 1802 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1803 1804commit 4b138ab18f58c6d459e21dc319615f536c8e69c8 1805Author: Ben Skeggs <bskeggs@redhat.com> 1806Date: Thu Jun 19 14:54:20 2014 +1000 1807 1808 merge nv_dma.c into nv_accel_common.c 1809 1810 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1811 1812commit 5c44e6b86195c22e092db5dae06e70208e8b66a0 1813Author: Ben Skeggs <bskeggs@redhat.com> 1814Date: Thu Jun 19 14:54:20 2014 +1000 1815 1816 pull copy engine handling into one place, a place that isn't also exa 1817 1818 As a side-effect, we now allow Kepler to use async copies too. 1819 1820 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1821 1822commit c375bacbdaeabd0288855c13b4717d0694be9e56 1823Author: Ben Skeggs <bskeggs@redhat.com> 1824Date: Thu Jun 19 14:54:20 2014 +1000 1825 1826 exa: move module load into nouveau_exa_init 1827 1828 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1829 1830commit b24cae0bf5db6ece21439d4c6ff3668aed4c78d6 1831Author: Ben Skeggs <bskeggs@redhat.com> 1832Date: Thu Jun 19 14:54:20 2014 +1000 1833 1834 dri2: move "is supported" checks out of nv_driver.c 1835 1836 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1837 1838commit 07c26a0670dd2558acf8e1159f2f68989a7f753d 1839Author: Ben Skeggs <bskeggs@redhat.com> 1840Date: Thu Jun 19 14:54:20 2014 +1000 1841 1842 replace NoAccel with AccelMethod in preparation for glamor support 1843 1844 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1845 1846commit e7cf48d9529160f7add2fef72d2e42be9370594a 1847Author: Ben Skeggs <bskeggs@redhat.com> 1848Date: Thu Jun 19 14:54:20 2014 +1000 1849 1850 silence a warning 1851 1852 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1853 1854commit 4a18dd74c0cc6e75937eb78347e8ea6c81d1373a 1855Author: Dave Airlie <airlied@redhat.com> 1856Date: Mon May 26 17:30:24 2014 +1000 1857 1858 autogen: add support for gnome autobuilder 1859 1860 Signed-off-by: Dave Airlie <airlied@redhat.com> 1861 1862commit 8604a741baa5360164a882bd9f3c8474840744db 1863Author: Hans de Goede <hdegoede@redhat.com> 1864Date: Fri Apr 11 14:20:43 2014 +0200 1865 1866 Fix building on older servers without xf86platformBus.h 1867 1868 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 1869 1870commit 0c13843e300d1a9db2bfed18dc1b5df38c5adfdf 1871Author: Hans de Goede <hdegoede@redhat.com> 1872Date: Mon Mar 17 17:37:31 2014 +0100 1873 1874 Add support for server managed fds 1875 1876 v2 (Martin Peres): 1877 - Do not define "NVEntPtr pNVEnt" if not needed to avoid some warnings 1878 1879 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 1880 Signed-off-by: Martin Peres <martin.peres@free.fr> 1881 1882commit 47f08aa6d713da4e6ae9c35ce691e790ffaed09d 1883Author: Hans de Goede <hdegoede@redhat.com> 1884Date: Mon Mar 17 17:37:30 2014 +0100 1885 1886 Add a NVOpenNouveauDevice helper function 1887 1888 This is a preparation patch for adding support for server managed fds 1889 1890 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 1891 Signed-off-by: Martin Peres <martin.peres@free.fr> 1892 1893commit 480f0998ffed6d9a5c6656dba75182f00fd88a1b 1894Author: Ben Skeggs <bskeggs@redhat.com> 1895Date: Thu Nov 7 14:56:48 2013 +1000 1896 1897 bump to 1.0.10 for release 1898 1899 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1900 1901commit 59395c738ebdc21087109075ada67ea8d7783141 1902Author: Ben Skeggs <bskeggs@redhat.com> 1903Date: Thu Nov 7 14:56:06 2013 +1000 1904 1905 recognise GK208 as a Kepler board 1906 1907 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1908 1909commit 03642323a954d0adb11662a98e92dfa20bee9728 1910Author: Dave Airlie <airlied@gmail.com> 1911Date: Wed Jul 31 11:19:50 2013 +1000 1912 1913 nouveau: fix build against older servers. 1914 1915 Older servers had no GPU support. 1916 1917 Signed-off-by: Dave Airlie <airlied@redhat.com> 1918 1919commit 27323ce68d58fcb82a648ab14abbc99acdc36f44 1920Author: Dave Airlie <airlied@gmail.com> 1921Date: Wed Jul 31 11:01:15 2013 +1000 1922 1923 nouveau: add gpu identifier to connector names for secondary gpus 1924 1925 this avoids clashes with identifiers from other GPUs. 1926 1927 Signed-off-by: Dave Airlie <airlied@redhat.com> 1928 1929commit 1df177f35a05db505577cdc929e63fde906a704b 1930Author: Dave Airlie <airlied@gmail.com> 1931Date: Wed Jul 31 10:51:03 2013 +1000 1932 1933 nouveau: fix build on ppc by wrapping immintrin include. 1934 1935 Signed-off-by: Dave Airlie <airlied@redhat.com> 1936 1937commit 300c5a32d79cf507b5fede96710335bcd316eccb 1938Author: Dave Airlie <airlied@redhat.com> 1939Date: Tue Jul 30 15:28:06 2013 +1000 1940 1941 bump to 1.0.9 for release 1942 1943 Signed-off-by: Dave Airlie <airlied@redhat.com> 1944 1945commit be44e7804862b4c276ed4d4717b1212920f428e6 1946Author: Dave Airlie <airlied@gmail.com> 1947Date: Tue Jul 30 15:26:46 2013 +1000 1948 1949 nouveau: fix crash when xinerama is enabled. 1950 1951 Signed-off-by: Dave Airlie <airlied@redhat.com> 1952 1953commit 588252556d1c84bf6793bc22edd48e6650a0f1b9 1954Author: Dave Airlie <airlied@gmail.com> 1955Date: Tue Jul 30 15:14:22 2013 +1000 1956 1957 fix make distcheck. 1958 1959 add all the nvf0 stuff. 1960 1961 Signed-off-by: Dave Airlie <airlied@redhat.com> 1962 1963commit 29aecda1b5bdb95700894083874492a6d5dfc08a 1964Author: Dave Airlie <airlied@gmail.com> 1965Date: Tue Jul 30 14:10:51 2013 +1000 1966 1967 drmmode: add support for multi-screen reverse optimus 1968 1969 Initial reverse optimus didn't consider multiple screens, so 1970 this overhauls the code to use the new X server interface, 1971 and allows for multiple outputs on the nvidia to be used with 1972 the intel doing the rendering. 1973 1974 Signed-off-by: Dave Airlie <airlied@redhat.com> 1975 1976commit d7ae886260b480da0ea4cad22eb6f7b7d12f07b0 1977Author: Ilia Mirkin <imirkin@alum.mit.edu> 1978Date: Mon Jul 29 21:03:54 2013 -0400 1979 1980 nouveau: use uppercase for chipset name 1981 1982 Right now the log will output e.g. NVaa instead of NVAA, which is how we 1983 usually talk about it. 1984 1985 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1986 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1987 1988commit 4492cf90c2a7fe27badf6f3f0f296755a65e1e83 1989Author: Ilia Mirkin <imirkin@alum.mit.edu> 1990Date: Mon Jul 29 02:40:39 2013 -0400 1991 1992 xv: speed up YV12 -> NV12 conversion using SSE2 if available 1993 1994 memcpy() goes from taking 45% to 66% of total function time, which 1995 translates to a 30% decrease in NVPutImage runtime. 1996 1997 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1998 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1999 2000commit 08c667b06d28756d0d32f82bd736b0bdf2b4448e 2001Author: Ilia Mirkin <imirkin@alum.mit.edu> 2002Date: Mon Jul 29 02:40:38 2013 -0400 2003 2004 xv: fix last pixel for big-endian machines in YV12 -> NV12 conversion 2005 2006 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 2007 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2008 2009commit 8c1c5d4f212958559132506d51dcfeeb17f60371 2010Author: Ben Skeggs <bskeggs@redhat.com> 2011Date: Wed May 15 21:34:13 2013 +1000 2012 2013 nvf0: implement EXA and XVideo acceleration 2014 2015 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2016 2017commit 779b8d44b5ff84b87b52600a2f010ac19cd396ad 2018Author: Sven Joachim <svenjoac@gmx.de> 2019Date: Thu Jun 13 20:41:53 2013 +0200 2020 2021 Link against libdrm 2022 2023 The DDX uses symbols from libdrm but currently does not link against 2024 it, but rather relies on indirect linkage from libdrm_nouveau. This 2025 could lead to insufficient dependencies in distribution packages, seen 2026 in http://bugs.debian.org/633786. 2027 2028 Signed-off-by: Sven Joachim <svenjoac@gmx.de> 2029 2030commit e96ae2b129df2a50d1d3839084df4fb1868d914d 2031Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2032Date: Wed Jun 12 11:05:23 2013 +0200 2033 2034 fixup the dri2 check 2035 2036 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2037 2038commit 7f20a6af25ae28452ec9c971bfa2227857e6ee93 2039Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2040Date: Wed Jun 12 10:46:39 2013 +0200 2041 2042 bump to 1.0.8 2043 2044commit 1fda669c0e5a25eac7f9f1e9a743120cae50ff51 2045Author: Emil Velikov <emil.l.velikov@gmail.com> 2046Date: Sat Feb 16 20:48:47 2013 +0000 2047 2048 configure: printout the configuration info 2049 2050 Let the bikeshedding begin 2051 2052 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2053 2054commit 45dbcaac301efce04d0bb492337f4febf8129ed9 2055Author: Emil Velikov <emil.l.velikov@gmail.com> 2056Date: Sat Feb 16 20:48:45 2013 +0000 2057 2058 nouveau: mandate dri2 build 2059 2060 Building nouveau without dri2 is just silly 2061 2062 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2063 2064commit ea8d225fe100ecabb72e3cc0a92372f16afb10b3 2065Author: Emil Velikov <emil.l.velikov@gmail.com> 2066Date: Sat Feb 16 20:48:44 2013 +0000 2067 2068 dri1: purge the final references 2069 2070 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2071 2072commit b5d1a9bd269c9d2758fee37492cdcccc976fcc3b 2073Author: Emil Velikov <emil.l.velikov@gmail.com> 2074Date: Sat Feb 16 20:48:43 2013 +0000 2075 2076 nouveau: Do not load dri {sub,}module 2077 2078 Nouveau does not use dri1, thus loading XFree86-DRI is not needed 2079 On the other hand, we do use dri2 2080 2081 As a side effect, purge the 'set-but-unused' variable pLibDRMVersion 2082 2083 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2084 2085commit 7c3f6cd8d6b14aea561fb877f6006d339d156f35 2086Author: Emil Velikov <emil.l.velikov@gmail.com> 2087Date: Sat Feb 16 20:48:42 2013 +0000 2088 2089 nouveau: stop using dri1 function DRICreatePCIBusID 2090 2091 Step 1 to completely rip out dri1 out of nouveau 2092 2093 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2094 2095commit 3b1a45325d5fd46f0e7fad17168742b4c9a2465a 2096Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2097Date: Wed Jun 12 10:30:32 2013 +0200 2098 2099 update makefiles for make distcheck 2100 2101commit b82aacd3e72b52240181569c8b0abb55c1f716d5 2102Author: Emil Velikov <emil.l.velikov@gmail.com> 2103Date: Sat Feb 16 12:48:46 2013 -0800 2104 2105 configure: require xorg-macros 1.8 2106 2107 Explicitly check for xorg-macros 1.8, as a subtle hint 2108 to update your build deps if building your own ddx 2109 2110 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2111 2112commit 4f667b40f41e311fbe302237efe173bcc24fb8bb 2113Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2114Date: Mon Jun 10 14:29:59 2013 +0200 2115 2116 fix a xfree from previous patch 2117 2118 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2119 2120commit 2e34d11541e1f987c7ca0556592cb16f4d232299 2121Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2122Date: Mon Jun 10 13:06:35 2013 +0200 2123 2124 nouveau: enable support for normal optimus configuration 2125 2126 nvd7 has no display engine, only enable sink output capability 2127 if there is a crtc. 2128 2129 drmmode doesn't work without crtc's, so prevent crashes by skipping 2130 the drmmode code in that case. 2131 2132 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2133 2134commit bf72ae1f6574c540f0afc2d7845d41df43507a8f 2135Author: Ben Skeggs <bskeggs@redhat.com> 2136Date: Wed May 15 22:05:01 2013 +1000 2137 2138 nve0: envyas isn't overly clever.. avoid short-form instructions 2139 2140 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2141 2142commit 41cc2f24c43d2656ac722f594aaebad93e37dfec 2143Author: Ben Skeggs <bskeggs@redhat.com> 2144Date: Wed May 15 21:13:11 2013 +1000 2145 2146 nvc0-nve0: decompile shaders into their source, add basic build system 2147 2148 Far, far easier to maintain this way... 2149 2150 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2151 2152commit 1edb5d7ae450a32fe6607d536653cf733444e7e2 2153Author: Ben Skeggs <bskeggs@redhat.com> 2154Date: Wed May 15 20:47:44 2013 +1000 2155 2156 nvc0-nve0: split shader code from their headers 2157 2158 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2159 2160commit c18439f759bec267a3b67d375dcbfeb8a6fd7b6a 2161Author: Dave Airlie <airlied@redhat.com> 2162Date: Mon May 13 13:55:51 2013 +1000 2163 2164 nouveau: clean up nv entity index declarations. 2165 2166 Signed-off-by: Dave Airlie <airlied@redhat.com> 2167 2168commit d3b52efe959f255784f5ead16d7276ca0fb4cdb1 2169Author: Dave Airlie <airlied@redhat.com> 2170Date: Mon May 13 13:35:12 2013 +1000 2171 2172 nouveau: attempt to fix zaphod since dri1 code removal 2173 2174 j_v on #nouveau bisected b1a630b48210d6a3c44994fce1b73273000ace5c has 2175 breaking zaphod, on review it was trying to open the drm fd a second time 2176 which was unnecessary. 2177 2178 Avoid the problem by storing the nv fd in an entity and have share it between 2179 the two scrn info recs. 2180 2181 Signed-off-by: Dave Airlie <airlied@redhat.com> 2182 2183commit 50426ac83f9f077791e4df8c04fc0ecefc06e8ab 2184Author: Marek Vasut <marex@denx.de> 2185Date: Fri May 3 15:48:55 2013 +0200 2186 2187 nouveau: Allow 3D accelerators with output ports 2188 2189 This patch let's cards with PCI class 0x30200 (3D controller) be 2190 operated by the nouveau driver as well. The nv Quadro NVS 450 is 2191 one such card, where the first GPU has PCI class 0x30000 and the 2192 other GPU has PCI class 0x30200. By ignoring the 1 << 9 bit in 2193 the PCI class mask, displays attached to the other GPU can also 2194 be used now. 2195 2196 Signed-off-by: Marek Vasut <marex@denx.de> 2197 Cc: Dave Airlie <airlied@redhat.com> 2198 Cc: Ben Skeggs <skeggsb@gmail.com> 2199 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2200 2201commit 2fa3397e348161a3394e2b456f065921272a056a 2202Author: Ilia Mirkin <imirkin@alum.mit.edu> 2203Date: Fri May 3 09:59:39 2013 -0400 2204 2205 nouveau_xv: Avoid reading off the end of the source image on NV50+ 2206 2207 The 'w' argument to NVCopyNV12ColorPlanes is used to index into the 2208 source image. line_len is rounded up to 8 on NV50+, so if the source 2209 image (+ left offset) is not rounded to 8, NVCopyNV12ColorPlanes could 2210 read past the end of the array and crash X. This change can cause the 2211 last few horizontal pixels of dst to not be initialized, but they 2212 should be truncated by the renderer anyways. 2213 2214 See https://bugs.freedesktop.org/show_bug.cgi?id=63263 2215 2216 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 2217 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2218 2219commit 81f9ab38f0a5de7217227dd17a4d0e50dffd0d28 2220Author: Ben Skeggs <bskeggs@redhat.com> 2221Date: Thu May 2 11:38:07 2013 +1000 2222 2223 nvf0: recognise as supported chipset 2224 2225 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2226 2227commit 653c95d60af0f7c19a1d2f3b76dd17bb169d9c9b 2228Author: Ben Skeggs <bskeggs@redhat.com> 2229Date: Mon Apr 29 10:07:59 2013 +1000 2230 2231 nve0: explicitly ask kernel for copy2 object 2232 2233 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2234 2235commit 6771424d79e541d2fa7253a582db3dc9108fd97d 2236Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2237Date: Wed Mar 27 09:50:03 2013 +0100 2238 2239 bump to 1.0.7 2240 2241 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2242 2243commit 84998320162a74a0861b7be1fcc230e50f08424a 2244Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2245Date: Mon Mar 25 13:55:37 2013 +0100 2246 2247 Clean up some errors on closing. 2248 2249 If forced close happens, all ioctl's will fail. Some of the handlers 2250 also need to be unregistered before the module is unloaded entirely. 2251 2252commit a80785f79268ed3701fc69cbd9194ad12822c82c 2253Author: Dave Airlie <airlied@redhat.com> 2254Date: Mon Feb 11 09:56:25 2013 +1000 2255 2256 nouveau: fix build against old servers (part 2) 2257 2258 Should fix next bit of 2259 https://bugs.freedesktop.org/show_bug.cgi?id=60369 2260 2261 Signed-off-by: Dave Airlie <airlied@redhat.com> 2262 2263commit 05dc9b57896689a3dbd9e6aeb16d57c49515b02e 2264Author: Marcin Slusarz <marcin.slusarz@gmail.com> 2265Date: Sun Feb 3 21:12:46 2013 +0100 2266 2267 nv30/exa: fix shaders on big-endian machines 2268 2269 Direct port of commit d1bc38b6673c54af61196056c489383fba8dced8 2270 "nv40/exa: fix shaders on big-endian machines" to nv30. 2271 2272 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=60050 2273 2274 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2275 2276commit 61a277488f7195914cbdda10355db0d758fc801c 2277Author: Dave Airlie <airlied@redhat.com> 2278Date: Thu Feb 7 10:47:20 2013 +1000 2279 2280 nouveau: fix build on older X servers 2281 2282 should fix https://bugs.freedesktop.org/show_bug.cgi?id=60369 2283 2284 Reported-by: fabio.ped@libero.it 2285 Signed-off-by: Dave Airlie <airlied@redhat.com> 2286 2287commit e8f222fd10e21f39488d3d8c697e4948cd787cd0 2288Author: Dave Airlie <airlied@redhat.com> 2289Date: Wed Feb 6 16:21:50 2013 +1000 2290 2291 nouveau: make prime regression fix more robust. 2292 2293 This makes this fix more robust and less crashy. 2294 2295 Signed-off-by: Dave Airlie <airlied@redhat.com> 2296 2297commit d762631c9306b6580b34db1e7eb57bbcac901390 2298Author: Dave Airlie <airlied@redhat.com> 2299Date: Wed Feb 6 15:52:33 2013 +1000 2300 2301 nouveau: align shared buffers to 256 2302 2303 We were getting 0xa5 error code on 2D transfers from tiled VRAM to untiled 2304 GART when using USB offload devices, this fixes this by upping the alignment 2305 on the 2D engine for shared buffers. 2306 2307 Signed-off-by: Dave Airlie <airlied@redhat.com> 2308 2309commit c6980b2add5752a7c285a846b2c9353c9d18afd4 2310Author: Dave Airlie <airlied@redhat.com> 2311Date: Wed Feb 6 15:24:09 2013 +1000 2312 2313 nouveau: fix regression in PRIME since 58284cf32778d54cde139423450bc33360784503 2314 2315 Signed-off-by: Dave Airlie <airlied@redhat.com> 2316 2317commit 59fb3f0252e9b769c5877cfe83d8dbc51cdff232 2318Author: Dave Airlie <airlied@redhat.com> 2319Date: Wed Feb 6 14:58:08 2013 +1000 2320 2321 nouveau: create shared pixmaps in GART 2322 2323 this creates the shared pixmaps in GART, and makes sure they are untiled. 2324 2325 Signed-off-by: Dave Airlie <airlied@redhat.com> 2326 2327commit 1fdd7db94b55c65ea62cc9eaefff620b20e9e4ea 2328Author: Dave Airlie <airlied@redhat.com> 2329Date: Mon Jan 7 15:28:53 2013 +1000 2330 2331 nouveau: add reverse prime support 2332 2333 This allows the nvidia card to scanout Intel cards rendering. 2334 2335 Signed-off-by: Dave Airlie <airlied@redhat.com> 2336 2337commit 58284cf32778d54cde139423450bc33360784503 2338Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 2339Date: Tue Jan 29 16:38:21 2013 +1000 2340 2341 dri2: fix missing frame throttle on copy_region buffer swaps 2342 2343 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2344 2345commit 912d418fdfd2e99eef1e5c631c76dda1d82cf451 2346Author: Marcin Slusarz <marcin.slusarz@gmail.com> 2347Date: Mon Jan 21 00:15:38 2013 +0100 2348 2349 nouveau: put cursor BO in GART 2350 2351 Keeping it in VRAM wastes CPU time, because cursor_set ioctl reads 2352 handed BO back to RAM, just to write it to actual cursor BO. 2353 2354 Here (nv92/core i7), this patch decreases overall cpu usage of 2355 drmmode_load_cursor_argb from 4.6ms to ~90us and lets nv50_crtc_cursor_set 2356 disappear from perf traces. 2357 2358 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2359 2360commit 8f934fad5d4934936b3265f272ca81e73c60d7dc 2361Author: Dave Airlie <airlied@redhat.com> 2362Date: Mon Jan 7 14:13:10 2013 +1000 2363 2364 bump to 1.0.6 2365 2366 Signed-off-by: Dave Airlie <airlied@redhat.com> 2367 2368commit 00834273e22f7234a3755269100ea3f10b521e35 2369Author: Dave Airlie <airlied@redhat.com> 2370Date: Mon Jan 7 14:04:40 2013 +1000 2371 2372 nouveau: fix dirty redisplay damage handling 2373 2374 This processes the damage in the correct order. 2375 2376 Signed-off-by: Dave Airlie <airlied@redhat.com> 2377 2378commit 389b8a8dd91a48dee524eac96e60813c507f1a82 2379Author: Ben Skeggs <bskeggs@redhat.com> 2380Date: Mon Jan 7 14:05:06 2013 +1000 2381 2382 bump to 1.0.5 2383 2384 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2385 2386commit efe9c57af6ff4c12936e49ac3e188c54b8b2d5bd 2387Author: Ben Skeggs <bskeggs@redhat.com> 2388Date: Mon Jan 7 11:35:56 2013 +1000 2389 2390 nvc0-/exa: fix typo which caused breakage in rendercheck tmcoords test 2391 2392 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2393 2394commit 5cd86445272818ec2f598f4685a5d7f24e403d07 2395Author: Marcin Slusarz <marcin.slusarz@gmail.com> 2396Date: Sun Nov 25 22:59:49 2012 +0100 2397 2398 add some missing newlines in error messages 2399 2400 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2401 2402commit 3b33a0b426b8915f302247dcd40c64fb1a6dcdd2 2403Author: Emil Velikov <emil.l.velikov@gmail.com> 2404Date: Sun Nov 4 18:06:18 2012 +0000 2405 2406 kms: Let the server know if we got more than 1 EDID block 2407 2408 Verbatim copy from xf86-video-radeon commit 809cacb 2409 2410 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32341 2411 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2412 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2413 2414commit 018ab2d4634f3c8923038337ce9600973e2f0002 2415Author: Ben Skeggs <bskeggs@redhat.com> 2416Date: Fri Nov 9 12:16:00 2012 +1000 2417 2418 bump version to 1.0.4 2419 2420 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2421 2422commit 0d32d964dbba3864af0946aa8894cef858eb1319 2423Author: Dave Airlie <airlied@redhat.com> 2424Date: Wed Nov 7 14:49:03 2012 +1000 2425 2426 nouveau: drop unused nv private members. 2427 2428 these are no longer needed. 2429 2430 Signed-off-by: Dave Airlie <airlied@redhat.com> 2431 2432commit b1a630b48210d6a3c44994fce1b73273000ace5c 2433Author: Dave Airlie <airlied@redhat.com> 2434Date: Wed Nov 7 14:45:14 2012 +1000 2435 2436 nouveau: drop DRI1 device open interface. 2437 2438 this is a DRI1 left over, the driver is meant to open the device itself now. 2439 2440 this old interface did crazy stuff like drmAddMap. 2441 2442 Reviewed-by: Ben Skeggs <bskeggs@redhat.com> 2443 Signed-off-by: Dave Airlie <airlied@redhat.com> 2444 2445commit 27a1a0616304e9b9f0ae842899b7d614f1026578 2446Author: Emil Velikov <emil.l.velikov@gmail.com> 2447Date: Fri Nov 2 03:57:42 2012 +0000 2448 2449 nouveau: NVPlatformProbe, handle shareable entities 2450 2451 During NVPciProbe, xf86ConfigPciEntity() implicitly calls checks and sets 2452 the entity as shared 2453 Here we are only allocating the screen, thus need to explicitly call the 2454 functions 2455 2456 ZaphodHead and Xinerama should finally work 2457 2458 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56347 2459 2460 Reported-By: Vladimir Chebotarev <exc@rbcmail.ru> 2461 Reported-By: Damian Nowak <nowaker@geozone.pl> 2462 Tested-By: Damian Nowak <nowaker@geozone.pl> 2463 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2464 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2465 2466commit e34cfbd5bd23f7f15372af52d8a39a5715ce7310 2467Author: Emil Velikov <emil.l.velikov@gmail.com> 2468Date: Fri Nov 2 03:57:41 2012 +0000 2469 2470 nouveau: Factor out common code to NVHasKMS() 2471 2472 As the name suggests checks if it has kernel mode setting, 2473 prints out the interface version and checkes if the chipset 2474 is supported 2475 2476 Function is used in NVPciProbe and NVPlatformProbe 2477 2478 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2479 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2480 2481commit 78f24dc3798d635fca2e20856a09012c28bbbb8b 2482Author: Emil Velikov <emil.l.velikov@gmail.com> 2483Date: Fri Nov 2 03:57:40 2012 +0000 2484 2485 nouveau: introduce NVInitScrn() 2486 2487 Common/helper function for NV{Pci,Platform}Probe() 2488 2489 This introduces some the following functions to the 2490 NVPlatformProbe codepath 2491 * xf86SetEntitySharable() 2492 * xf86SetEntityInstanceForScreen() 2493 2494 Necessary for dualhead, xinerama and/or zaphodhead 2495 2496 v2: Rename nouveau_init_scrn() to NVInitScrn() 2497 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2498 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2499 2500commit 47457fbd5006070ea9a06238a5a69ca8167dac77 2501Author: Emil Velikov <emil.l.velikov@gmail.com> 2502Date: Fri Nov 2 03:57:39 2012 +0000 2503 2504 nouveau: Remove unneeded xf86GetEntityInfo() 2505 2506 Retrieving the whole entity information is not needed as we only 2507 use the index - stored already in entity_num 2508 2509 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2510 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2511 2512commit 20995bb5920021668b8b607f886201c643ee0e9a 2513Author: Dave Airlie <airlied@redhat.com> 2514Date: Fri Nov 2 09:04:43 2012 +1000 2515 2516 nouveau: fix regression in virtualbox drawing hopefully. 2517 2518 Signed-off-by: Dave Airlie <airlied@redhat.com> 2519 2520commit 8c3e1623b0be15f8cc590d893bfd19be87bd079a 2521Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2522Date: Wed Oct 24 11:19:04 2012 +0200 2523 2524 bump version to 1.0.3 2525 2526commit 6644a3a724a11150eba0c0082c8d4fe167b1755e 2527Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2528Date: Tue Oct 23 20:17:29 2012 +0200 2529 2530 exa: remove exaMarkSync from download/upload screen 2531 2532 They're noops on nouveau since sync markers are unused and 2533 download/upload are always synchronous anyway from exa's POV. 2534 2535 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2536 2537commit 2a757b7dffa85c30879653a1e52e33b8f4fa8806 2538Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2539Date: Tue Oct 23 17:04:37 2012 +0200 2540 2541 exa: fix comparison in download_from_screen 2542 2543 Presumably a copy/paste error from upload_to_screen. 2544 2545 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2546 2547commit 72230cd5a7846f7a26f929262a745dc0bdc34a3d 2548Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2549Date: Tue Oct 23 10:37:27 2012 +0200 2550 2551 exa: fix up download_from/upload_to screen 2552 2553 Add a missing return TRUE to download_from_screen. 2554 Add a missing exaMarkSync to memcpy in upload_to_screen. 2555 Add a really loud warning to both if memcpy to/from tiled is done. 2556 2557 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2558 2559commit 1d7890ecb8b3188177ab85608ea232812672d923 2560Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2561Date: Tue Oct 23 09:53:39 2012 +0200 2562 2563 remove unused members from nv_type.h 2564 2565commit 0b2a548316b0ce88ba19d5e05fdca205fc139962 2566Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2567Date: Mon Oct 22 13:12:06 2012 +0200 2568 2569 nvc0/exa: make solid fill actually work 2570 2571 Some investigation showed that the code for accelerating solid fill 2572 didn't actually work because NVC0EXACheckTexture would fail. 2573 2574 Making the check the same as in NV50EXACheckTexture fixes this, and 2575 seems to get acceleration for solid fills working right. 2576 2577 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2578 2579commit b4231dd715a8a7f86b04519b5f4e8a8d93c2f561 2580Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 2581Date: Tue Oct 9 09:06:59 2012 +0200 2582 2583 dri2: Fix potential race and crash for swap at next vblank. 2584 2585 This fixes a potential race + crash that wasn't properly 2586 handled by commit 248de8cdbd6d0bc062633b49896fa4791148cd3b 2587 and happened at least on one users machine. 2588 2589 That commit wrongly assumed no special action would be needed 2590 for swaps at next vblank while triple-buffering is enabled on 2591 XOrg server 1.12 or later. 2592 2593 Closer inspection of the x-server main dispatch loop shows 2594 it is possible that the client manages to get the server 2595 to dispatch a new DRI2GetBuffersWithFormat() call before 2596 the server calls the vblank event handler and executes 2597 the nouveau_dri2_finish_swap() routine. Such a race would 2598 cause a crash, as described in above commit. 2599 2600 This commit handles the "swap at next vblank" case by 2601 calling nouveau_dri2_finish_swap() immediately without 2602 the roundtrip (queue vblank_event -> kernel -> deliver event 2603 -> x-server processes event -> nouveau vblank event handler), 2604 before control gets returned to the client. 2605 2606 This avoids the race while retaining triple-buffering. As 2607 a bonus, time-critical swaps at next vblank get processed 2608 without roundtrip delay, increasing the chance of not 2609 skipping a frame due to vblank miss while sync to vblank is 2610 on. 2611 2612 Thanks to Anssi for reporting this problem on the nouveau 2613 mailing list at 12th July 2012 and for testing this patch. 2614 2615 Reported-by: Anssi Hannula <anssi.hannula@iki.fi> 2616 Tested-by: Anssi Hannula <anssi.hannula@iki.fi> 2617 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 2618 2619commit 01c9a9cff7d6232ca6eafa59dd60833a0d9cdc5b 2620Author: Ben Skeggs <bskeggs@redhat.com> 2621Date: Thu Oct 18 18:38:21 2012 +1000 2622 2623 shadowfb: fix segfault due to reading outside of shadow buffer 2624 2625 Probably caused by the new libdrm port, the new libdrm sets the bo 2626 size field to the *allocated* size and not the *requested* size, 2627 making the max_height calculation here invalid. 2628 2629 Switched to using virtualX/virtualY as the bounds, which should 2630 hopefully do the right thing.. 2631 2632 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2633 2634commit 297fd0d0755bda698be1d0b30cc60a41d7673c0b 2635Author: Dave Airlie <airlied@redhat.com> 2636Date: Tue Oct 16 16:15:16 2012 +1000 2637 2638 nouveau/dri2: fix pixmap/window offset calcs. 2639 2640 This should fix prime rendering under kwin, and not break it under the 2641 others. 2642 2643 Signed-off-by: Dave Airlie <airlied@redhat.com> 2644 2645commit 5c9379b14cdabc81fd5d4c916dcd93dc77c4f683 2646Author: Sebastian Keller <sebastian-keller@gmx.de> 2647Date: Tue Sep 25 11:35:35 2012 +0200 2648 2649 exa: use CLAMP_TO_EDGE for RepeatPad 2650 2651 This fixes border rendering in some gtk3 themes. 2652 https://bugs.freedesktop.org/show_bug.cgi?id=55310 2653 2654 v2 (Ben Skeggs): implement same fix for fermi/kepler too 2655 2656 Signed-off-by: Sebastian Keller <sebastian-keller@gmx.de> 2657 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2658 2659commit 302b5da84b4890c067f5f7e8b0f4e689909bbb51 2660Author: Adam Jackson <ajax@redhat.com> 2661Date: Tue Sep 25 10:44:32 2012 -0400 2662 2663 Remove mibstore.h 2664 2665 Signed-off-by: Adam Jackson <ajax@redhat.com> 2666 2667commit 20f3830ddf868c0d1a46c18fa381585c076bfb8d 2668Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2669Date: Wed Sep 12 13:42:43 2012 +0200 2670 2671 bump version to 1.0.2 2672 2673commit 239f39977ebb64c9d545c6f3c905de3c0ad840d0 2674Author: Dave Airlie <airlied@redhat.com> 2675Date: Thu Jul 19 13:46:44 2012 +1000 2676 2677 nouveau: enable provider/capabilities 2678 2679 this adds the provider object for nouveau and enables the capabilities 2680 on it. 2681 2682 Signed-off-by: Dave Airlie <airlied@redhat.com> 2683 2684commit 28abba276e36fd0176f416996d44297ddf13f5cd 2685Author: Dave Airlie <airlied@redhat.com> 2686Date: Thu Jul 19 13:46:12 2012 +1000 2687 2688 nouveau/dri2: add support for DRI2 offload 2689 2690 This adds the nouveau interfaces for DRI2 offload, this allows nouveau 2691 to act as an offload slave. 2692 2693 Signed-off-by: Dave Airlie <airlied@redhat.com> 2694 2695commit b0be0ac86bae871c9f1724c40298d50d7f2b08e4 2696Author: Dave Airlie <airlied@redhat.com> 2697Date: Thu Jul 19 13:45:32 2012 +1000 2698 2699 nouveau: add pixmap tracking/updating support. 2700 2701 This should allow nouveau to act as an output master for driving output 2702 slaves. 2703 2704 Signed-off-by: Dave Airlie <airlied@redhat.com> 2705 2706commit baf485b1d304d741073f058d524ca698af3c15cd 2707Author: Dave Airlie <airlied@redhat.com> 2708Date: Thu Jul 19 13:42:13 2012 +1000 2709 2710 nouveau/exa: add support for shared pixmaps. 2711 2712 This adds the pixmap export/import hooks, along with code for nv50/nvc0 2713 to validate shared buffers in GTT space. 2714 2715 Signed-off-by: Dave Airlie <airlied@redhat.com> 2716 2717commit 2f48b8f462a03cb92db9e9a7ae1957eb27473965 2718Author: Dave Airlie <airlied@redhat.com> 2719Date: Thu Jul 19 13:40:23 2012 +1000 2720 2721 nouveau: add platform bus support 2722 2723 This adds the ability to load nouveau via the new platform apis. 2724 2725 Signed-off-by: Dave Airlie <airlied@redhat.com> 2726 2727commit 3aa9a296f508089a247f92b829036ca6a55b7b42 2728Author: Adam Jackson <ajax@redhat.com> 2729Date: Wed Aug 15 13:26:51 2012 -0400 2730 2731 Remove vbe and int10 includes 2732 2733 This driver has never used int10 or vbe, presumably these were just 2734 copypasta from nv. 2735 2736 Signed-off-by: Adam Jackson <ajax@redhat.com> 2737 2738commit 9b9be11e99930136a591059db1bf4ceaca8806e7 2739Author: Adam Jackson <ajax@redhat.com> 2740Date: Thu Jul 19 18:22:44 2012 -0400 2741 2742 Implement ->driverFunc 2743 2744 Copied from fbdev, makes it so we can run without iopl. 2745 2746 Signed-off-by: Adam Jackson <ajax@redhat.com> 2747 2748commit 6629066b87142cdd1d9e881b61ef55c97aedf949 2749Author: Ben Skeggs <bskeggs@redhat.com> 2750Date: Fri Aug 3 17:05:33 2012 +1000 2751 2752 nvc0/nve0: support sync-to-vblank if kernel is new enough 2753 2754 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2755 2756commit d1bc38b6673c54af61196056c489383fba8dced8 2757Author: Ben Skeggs <bskeggs@redhat.com> 2758Date: Fri Jul 6 16:23:50 2012 +1000 2759 2760 nv40/exa: fix shaders on big-endian machines 2761 2762 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2763 2764commit 0d2b414aff634c996e0468bb0df1894d6c28c09e 2765Author: Ben Skeggs <bskeggs@redhat.com> 2766Date: Tue Jun 19 10:12:37 2012 +1000 2767 2768 bump version to 1.0.1 2769 2770commit f84c28c9e6a0079e527655994689cb9c2ba51999 2771Author: Ben Skeggs <bskeggs@redhat.com> 2772Date: Tue Jun 19 09:49:02 2012 +1000 2773 2774 exa: fix remaining signed datatype issues 2775 2776 Wasn't expecting this situation, apparently it happens.. 2777 2778 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2779 2780commit 794141f22179a09ba6b2a094ba72316c298fee8b 2781Author: Maarten Maathuis <madman2003@gmail.com> 2782Date: Tue Jun 19 00:28:59 2012 +0200 2783 2784 exa: fix various issues in transfer bo handling 2785 2786 Thanks to "Christoph Bumiller <e0425955@student.tuwien.ac.at>" for hinting 2787 at the cause of the memory leak. 2788 2789 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 2790 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2791 2792commit 661d0cf42219a063f8faa0518f3490ddd38209ff 2793Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 2794Date: Mon Jun 18 17:13:55 2012 +0200 2795 2796 nve0: fix and improve NV12 shader 2797 2798 Only the 1st set of coordinates is valid. 2799 NVC0 was fixed in 9a3e579f637267b32efc46cfce5d1a36a41323b1. 2800 2801commit a907efe44177298cb1c42a236aab087c14b71657 2802Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 2803Date: Mon Jun 18 13:50:27 2012 +0200 2804 2805 nvc0/accel: oops fix method size in previous patch 2806 2807commit 8805e20bb9c1cfb7477f3eb7def64c5711fc91ea 2808Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 2809Date: Mon Jun 18 13:41:43 2012 +0200 2810 2811 nvc0/accel: use correct (signed) vertex data type in PUSH_VTX1/2s 2812 2813 Could have kept s16 but decided against mask and shift. 2814 2815commit 6dbf4ea12600275775123f9f564469454415da55 2816Author: Ben Skeggs <bskeggs@redhat.com> 2817Date: Mon Jun 18 13:28:07 2012 +1000 2818 2819 bump version to 1.0.0 2820 2821 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2822 2823commit 5e74cee90eeb4e8e638b371a5f1a2c6737be70ff 2824Author: Ben Skeggs <bskeggs@redhat.com> 2825Date: Mon Jun 18 15:36:47 2012 +1000 2826 2827 distcheck fixes 2828 2829commit 383aef5a8882a65efdf34e8d2681cd5ccec51b22 2830Author: Ben Skeggs <bskeggs@redhat.com> 2831Date: Mon Jun 18 13:31:37 2012 +1000 2832 2833 exa: drop massive gart allocation in favour of smaller ones, as needed 2834 2835 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2836 2837commit 52836c15b1c0e4f28d92ca9e6c76872481917fd4 2838Author: Ben Skeggs <bskeggs@redhat.com> 2839Date: Mon Jun 18 13:20:18 2012 +1000 2840 2841 nv50/exa: somehow fix firefox tabs not being drawn properly since vp xfrm 2842 2843 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2844 2845commit 36d3f8c28c55c05ccf4efa985831d2d249bad2fe 2846Author: Ben Skeggs <bskeggs@redhat.com> 2847Date: Wed Jun 13 22:41:58 2012 +1000 2848 2849 dri2: kill debug spam 2850 2851 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2852 2853commit 4dbc132f22721e3da30eb2e7fc97dea5b8458df6 2854Author: Viktor Novotný <noviktor@seznam.cz> 2855Date: Sat May 26 22:15:20 2012 +0200 2856 2857 nv04/exa: Reset destination surface offset in the same call of NV04EXACopy 2858 2859 Fixes FDO bug #48954. 2860 2861 Signed-off-by: Viktor Novotný <noviktor@seznam.cz> 2862 Reviewed-by: Marcin Slusarz <marcin.slusarz@gmail.com> 2863 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2864 2865commit aab58ee9a8025422416458d637c203af5ba008fd 2866Author: Dave Airlie <airlied@redhat.com> 2867Date: Tue Jun 5 12:34:06 2012 +0100 2868 2869 nouveau: i is used inside the function 2870 2871 fixes build, reported by tallica on irc. 2872 2873 Signed-off-by: Dave Airlie <airlied@redhat.com> 2874 2875commit 619e99731f772ff8d9d93cd1d6d83de5d450574b 2876Author: Dave Airlie <airlied@redhat.com> 2877Date: Tue Jun 5 11:02:54 2012 +0100 2878 2879 nouveau: port to compat server API. 2880 2881 This ports to the new server API. 2882 2883 Signed-off-by: Dave Airlie <airlied@redhat.com> 2884 2885commit d2e16c62b5054f34a439e504bfa261fb71f5d7de 2886Author: Dave Airlie <airlied@redhat.com> 2887Date: Tue Jun 5 10:57:30 2012 +0100 2888 2889 nouveau: drop flags arg to adjust frame 2890 2891 Signed-off-by: Dave Airlie <airlied@redhat.com> 2892 2893commit fadf83d7b373282ccbf0fa0c01928a35ff717a5e 2894Author: Ben Skeggs <bskeggs@redhat.com> 2895Date: Thu May 31 15:46:57 2012 +1000 2896 2897 nvc0/exa: add support for async UTS/DFS copies 2898 2899 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2900 2901commit 1600f7f202721c4b29c29e94f7fb69dc313b99dc 2902Author: Ben Skeggs <bskeggs@redhat.com> 2903Date: Thu May 31 15:40:45 2012 +1000 2904 2905 nva3/exa: add support for async UTS/DFS copies 2906 2907 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2908 2909commit ace77b6b1304826f4004bde23809b55d476b0615 2910Author: Ben Skeggs <bskeggs@redhat.com> 2911Date: Tue May 29 21:21:57 2012 +1000 2912 2913 disable fermi accel on 0.0.16 interface 2914 2915 Kepler accel support broke some assumption made by the older kernel 2916 interface, and Fermi shares the same code. It can't work (without 2917 some annoying hacks anyway) with the 0.0.16 kernel anymore. 2918 2919commit 7041e30ab8beb627bbf569367961a658e79c2bdc 2920Author: Dave Airlie <airlied@redhat.com> 2921Date: Wed May 23 14:18:24 2012 +0100 2922 2923 vl_hwmc: add missing compat include. 2924 2925 Reported-by: tallica on irc. 2926 Signed-off-by: Dave Airlie <airlied@redhat.com> 2927 2928commit 2abf8467cfb7a7648ce73ba5bcbbc62219d65d6d 2929Author: Dave Airlie <airlied@redhat.com> 2930Date: Wed May 23 11:29:05 2012 +0100 2931 2932 nouveau: add compat-api.h to makefile. 2933 2934 Signed-off-by: Dave Airlie <airlied@redhat.com> 2935 2936commit 1d861ad716861c57b2b81531d21840d7c8de024b 2937Author: Dave Airlie <airlied@redhat.com> 2938Date: Wed May 23 11:15:06 2012 +0100 2939 2940 nouveau: convert two more xf86Screens access to macros 2941 2942 for some reason the script missed these two, just fix them manually. 2943 2944 Signed-off-by: Dave Airlie <airlied@redhat.com> 2945 2946commit 5625fb84efc699e65da0062ae101915a49f2969b 2947Author: Dave Airlie <airlied@redhat.com> 2948Date: Wed May 23 11:13:30 2012 +0100 2949 2950 nouveau: convert scrn/screen to using new interfaces 2951 2952 This commit was generated with the util/modular/x-driver-screen-scrn-conv.sh 2953 2954 Signed-off-by: Dave Airlie <airlied@redhat.com> 2955 2956commit 9f037f7be516ebf8fa4a67a5c9ff258594ab353e 2957Author: Dave Airlie <airlied@redhat.com> 2958Date: Wed May 23 11:12:59 2012 +0100 2959 2960 nouveau: add initial compat-api header 2961 2962 This just provides the scrn conversion and picture stuff so far. 2963 2964 Signed-off-by: Dave Airlie <airlied@redhat.com> 2965 2966commit 581564466c47ab0435ecca3cf4d82c03e1b30259 2967Author: Francisco Jerez <currojerez@riseup.net> 2968Date: Tue May 8 14:02:44 2012 +0200 2969 2970 dri2: Don't try to page-flip pixmaps (fdo bug 49351). 2971 2972 Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com> 2973 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 2974 2975commit b1efc807392d372e6a232aad9d16ae6e1b1c1916 2976Author: Marcin Slusarz <marcin.slusarz@gmail.com> 2977Date: Sun Apr 15 13:46:42 2012 +0200 2978 2979 nv50: add missing pushbuf space check in NV50SyncToVBlank 2980 2981 Regression from "WIP: port to new libdrm". 2982 2983commit 174f17072005971fee6e4eb76a273c3cc1aa10d3 2984Author: Ben Skeggs <bskeggs@redhat.com> 2985Date: Tue Apr 24 21:55:03 2012 +1000 2986 2987 nv40/exa: return false from gradient picture setup 2988 2989 Not implemented yet. Shouldn't hit this anyway, fallback in check_composite, 2990 but, best be safe :) 2991 2992 Reported-by: Maarten Maathuis <madman2003@gmail.com> 2993 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2994 2995commit 60edf2a87b928f413385443335493cb27da30a48 2996Author: Ben Skeggs <bskeggs@redhat.com> 2997Date: Tue Apr 24 10:54:51 2012 +1000 2998 2999 nv40/exa: support for solid pictures 3000 3001 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3002 3003commit 067b8416ad1ab3e71ebbb8db8bfb82ff6041939b 3004Author: Ben Skeggs <bskeggs@redhat.com> 3005Date: Mon Apr 23 17:49:57 2012 +1000 3006 3007 nv30/exa: implement support for solid pictures using register combiners 3008 3009 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3010 3011commit b09a61780ea6710b679a6a099e35987e7a5f559f 3012Author: Ben Skeggs <bskeggs@redhat.com> 3013Date: Mon Apr 23 14:49:22 2012 +1000 3014 3015 nv10/exa: implement support for solid pictures 3016 3017 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3018 3019commit 9583753a205c585ec844dfb7168513a2c2a157ba 3020Author: Ben Skeggs <bskeggs@redhat.com> 3021Date: Fri Apr 20 20:52:01 2012 +1000 3022 3023 nv10/exa: use fixed-function texture matrix for transforms 3024 3025 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3026 3027commit c21c0ae57717bfb0fceab82505009a5382d1428d 3028Author: Ben Skeggs <bskeggs@redhat.com> 3029Date: Fri Apr 20 20:30:44 2012 +1000 3030 3031 nv30/exa: use fixed-function texture matrix for src/mask transforms 3032 3033 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3034 3035commit 24a5ca723539a940bc2dabcc50aa631f0d9d4219 3036Author: Ben Skeggs <bskeggs@redhat.com> 3037Date: Fri Apr 20 15:24:45 2012 +1000 3038 3039 nv40/exa: do transforms in vertex program 3040 3041 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3042 3043commit 9a3e579f637267b32efc46cfce5d1a36a41323b1 3044Author: Ben Skeggs <bskeggs@redhat.com> 3045Date: Thu Apr 19 16:58:52 2012 +1000 3046 3047 nvc0/exa: port recent nv50 changes (vp transform, solid pictures, etc) 3048 3049 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3050 3051commit 8ea09db1a1e8dff7c341dc3da17edefda7e56e6d 3052Author: Ben Skeggs <bskeggs@redhat.com> 3053Date: Thu Apr 19 13:46:03 2012 +1000 3054 3055 nv50/exa: support solid pictures 3056 3057 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3058 3059commit b48bcc094beecf521899dd63c8fdbccfd534e5cd 3060Author: Ben Skeggs <bskeggs@redhat.com> 3061Date: Thu Apr 19 13:21:27 2012 +1000 3062 3063 nv50/exa: perform texcoord transformations in vertex program 3064 3065 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3066 3067commit 5ac2ca8c56ec8b055878c8ac4cbc8ca74379abda 3068Author: Ben Skeggs <bskeggs@redhat.com> 3069Date: Thu Apr 19 09:52:24 2012 +1000 3070 3071 nv50: implement and use PUSH_DATAu 3072 3073 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3074 3075commit 6c41b3d7a8799daa9d0b34dcfbfc5c891c24fffa 3076Author: Ben Skeggs <bskeggs@redhat.com> 3077Date: Tue Apr 17 11:07:05 2012 +1000 3078 3079 nv30/nv40: upload shaders directly from rankine/curie init 3080 3081 Also removes A8 surface shader hack, and implements proper shaders for 3082 the specific purpose. 3083 3084 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3085 3086commit ec019b3a50475b7ff1b5e0a5dbe14e5ef677bd9e 3087Author: Ben Skeggs <bskeggs@redhat.com> 3088Date: Tue Apr 17 09:30:49 2012 +1000 3089 3090 Keep a single buffer for random accel data, rather than 3 different ones 3091 3092 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3093 3094commit fb3a36b1e5af0f81bb266da894d3442eed8e4e55 3095Author: Ben Skeggs <bskeggs@redhat.com> 3096Date: Wed Mar 28 16:38:30 2012 +1000 3097 3098 nve0: initial exa/xv acceleration for kepler chipsets 3099 3100 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3101 3102commit 95be16d8cd88db1ace0ac4568b4c67b51fd30fd9 3103Author: Ben Skeggs <bskeggs@redhat.com> 3104Date: Thu Mar 29 19:55:27 2012 +1000 3105 3106 nvc0: create scratch buffer before initialising m2mf 3107 3108 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3109 3110commit 4896c87484e1cf1e5421de377b6b83890948664d 3111Author: Ben Skeggs <bskeggs@redhat.com> 3112Date: Thu Mar 29 19:47:21 2012 +1000 3113 3114 nvc0: switch to kepler's subchannel assignments (see note) 3115 3116 This will bust for kernels with nouveau ABI version < 1.0.0... It should 3117 be possible to add compat for 0.0.16 however... 3118 3119 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3120 3121commit 4225b486cb8ab98d27ba23874096ff0879d45575 3122Author: Ben Skeggs <bskeggs@redhat.com> 3123Date: Thu Mar 29 15:56:02 2012 +1000 3124 3125 nvc0: tidy and cull a heap of fermi init (stuff in default grctx) 3126 3127 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3128 3129commit 007dd62a8c5244bc5e71fe8f32520fb35b67a237 3130Author: Ben Skeggs <bskeggs@redhat.com> 3131Date: Thu Mar 29 15:28:03 2012 +1000 3132 3133 nvc0: punt shaders out to a header file 3134 3135 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3136 3137commit 1c7651532975cf738b3aac4ec3c3b46187e24eea 3138Author: Ben Skeggs <bskeggs@redhat.com> 3139Date: Thu Mar 29 14:25:15 2012 +1000 3140 3141 nvc0: do tic/tsc binding only once, at startup 3142 3143 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3144 3145commit 180d8778764913ed061e68520603c0925477faba 3146Author: Ben Skeggs <bskeggs@redhat.com> 3147Date: Thu Mar 29 14:21:25 2012 +1000 3148 3149 nvc0: replace direct inline m2mf with inline helper to do the same 3150 3151 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3152 3153commit e70d801ae9287eab5e82f4d467dc8cd4be1b31a8 3154Author: Ben Skeggs <bskeggs@redhat.com> 3155Date: Fri Dec 9 18:15:32 2011 +1000 3156 3157 WIP: port to new libdrm 3158 3159 calim: nv50,nvc0/xv: fix src_w/h width/height confusion 3160 3161commit ab7291d368ddc66ad21c5ad5caa0faeee42ccaf1 3162Author: Ben Skeggs <bskeggs@redhat.com> 3163Date: Wed Mar 21 14:56:55 2012 +1000 3164 3165 xv: don't try to init textured video without 3d engine object 3166 3167 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3168 3169commit fe7e0425a4a43b2a7d4743a0a90a86724c3b6775 3170Author: Ben Skeggs <bskeggs@redhat.com> 3171Date: Mon Mar 12 11:59:29 2012 +1000 3172 3173 recognise kepler 3174 3175 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3176 3177commit f5d1cd2cb6808838ae1a188cef888eaa9582c76d 3178Author: Ben Skeggs <bskeggs@redhat.com> 3179Date: Tue Mar 6 08:16:51 2012 +1000 3180 3181 remove use of xf86PciInfo.h, deprecated now apparently 3182 3183 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3184 3185commit 248de8cdbd6d0bc062633b49896fa4791148cd3b 3186Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3187Date: Thu Feb 16 00:45:24 2012 +0100 3188 3189 dri2: Fix corner case crash for swaplimit > 1 3190 3191 If a swaplimit > 1 is set on a server which 3192 supports the swaplimit api (XOrg 1.12.0+), 3193 the following can happen: 3194 3195 1. Client calls glXSwapBuffersMscOML() with a 3196 swap target > 1 vblank in the future, or a 3197 client calls glXSwapbuffers() while the swap 3198 interval is set to > 1 (unusual but possible). 3199 3200 2. nouveau_dri2_finish_swap() is therefore called 3201 only at the target vblank, instead of immediately. 3202 3203 3. Because of the deferred execution of 3204 nouveu_dri2_finish_swap(), the OpenGL client 3205 can call x-servers DRI2GetBuffersWithFormat() 3206 before nouveau_dri2_finish_swap() executes and 3207 it deletes pixmaps that would be needed by 3208 nouveau_dri2_finish_swap() --> Segfault --> Crash. 3209 3210 Prevent this: When a swap is scheduled into the 3211 future, we temporarily reduce the swaplimit to 1 3212 until nouveau_dri2_finish_swap() is done, then 3213 restore it to its original value. This throttles 3214 the client inside the server in DRI2ThrottleClient() 3215 before it can call the evil DRI2GetbuffersWithFormat(). 3216 3217 The client will still be released one video refresh 3218 interval before swap completion, so there is still 3219 some potential win. 3220 3221 This doesn't affect the common case of swapping at 3222 the next vblank, where this throttling is not needed 3223 or done. 3224 3225 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3226 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3227 3228commit 247465ec5e21ce7151ef1e6a3e7644bc74d48a5b 3229Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3230Date: Thu Feb 16 00:45:23 2012 +0100 3231 3232 dri2: Reimplement hack for triple-buffering on old X-Servers. 3233 3234 X-Servers before 1.12.0 don't have the DRI2SwapLimit() 3235 API. On these, default to a swaplimit of 1 - double-buffering. 3236 3237 This patch implements support for swap limit of 2, 3238 triple-buffering, on old x-servers via Francisco Jerez 3239 previous hack: 3240 3241 Return DRI2SwapComplete() before the swap has completed, 3242 so clients don't get blocked on the pending swap. This 3243 allows for a "triple-buffering look-alike" behaviour, but 3244 breaks the swap scheduling and timestamping defined 3245 in the OML_sync_control spec, so applications which 3246 rely on conformant behaviour will break with a swap 3247 limit of 2 on pre 1.12.0 x-servers. 3248 3249 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3250 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3251 3252commit a1902ffaab1f6807fdaac0fce49f784e7208d1a5 3253Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3254Date: Thu Feb 16 00:45:22 2012 +0100 3255 3256 dri2: Allow vblank controlled swaps for redirected windows. Part II 3257 3258 This part implements proper throttling for clients. For 3259 vblank synchronized blits, it defers DRI2SwapComplete() 3260 until 1 vblank after the framebuffer blit is submitted to 3261 the gpu. 3262 3263 Rationale: 3264 3265 For unredirected windows, this is the earliest time the 3266 "blit swap" can complete, as blits are submitted one vblank 3267 before the target vblank and synchronized with vblank in the 3268 gpu. This makes swap completion timestamps at least reasonable. 3269 3270 For redirected windows, the compositor will probably pick 3271 up the "blit swapped" frontbuffer pixmap of the window quickly, 3272 but defer its own recomposition to the next vblank, at least 3273 if sync to vblank for the compositor is on. 3274 3275 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3276 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3277 3278commit c8572d329014afc0c79b5765468dcdfb65be0868 3279Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3280Date: Thu Feb 16 00:45:21 2012 +0100 3281 3282 dri2: Allow vblank controlled swaps for redirected windows. Part I 3283 3284 Make sure that swaps for redirected windows under a 3285 compositor are still scheduled via vblank events, to 3286 avoid effects like 2900 fps swaps under a compositor. 3287 3288 See discussion with Francisco Jerez at: 3289 3290 http://lists.freedesktop.org/archives/nouveau/2011-September/009278.html 3291 http://lists.freedesktop.org/archives/nouveau/2011-September/009292.html 3292 3293 This is part I of the agreed upon band-aid, in a separate patch. 3294 3295 It allows to use vblank related functions on redirected 3296 windows and thereby fixes functions from sgi_sync_control 3297 and oml_sync_control extension, e.g., glXWaitForMscOML(), 3298 glXGetSyncValuesOML(), glXWaitVideoSyncSGI, ... 3299 3300 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3301 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3302 3303commit 919643888045b102f3e10dfdeb6210ab14b6ecab 3304Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3305Date: Thu Feb 16 00:45:20 2012 +0100 3306 3307 dri2: Fixes to swap scheduling. 3308 3309 Fix some small off-by-one errors and a mismatch 3310 between 32 bit kernel interfaces for vblank count 3311 and 64 bit dri2 interfaces for target_msc et al. 3312 3313 Return corrected target_msc to swap scheduling in 3314 x-server. 3315 3316 A revised version of the patch discussed here: 3317 http://lists.freedesktop.org/archives/nouveau/2011-September/009143.html 3318 3319 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3320 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3321 3322commit 5ede4538366a352aa9726560f8d42e85df4aec82 3323Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3324Date: Thu Feb 16 00:45:19 2012 +0100 3325 3326 dri2: Update front buffer pixmap and name before exchanging buffers 3327 3328 Buffer exchange assumes that the front buffer pixmap and name 3329 information is accurate. That may not be the case eg. if the window 3330 has been (un)redirected since the buffer was created. 3331 3332 This is a translation to nouveau of a fix that was originally developed 3333 by Ville Syrjala <syrjala@sci.fi> for the ati/radeon ddx to fix the 3334 same bug there. 3335 3336 See thread at: 3337 3338 http://lists.x.org/archives/xorg-devel/2011-May/021908.html 3339 3340 Fixes FDO bug #35452. 3341 3342 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3343 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3344 3345commit 6fdf60b7288d49f889c80705aabc1db3bc327ba3 3346Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3347Date: Thu Feb 16 00:45:18 2012 +0100 3348 3349 dri2: Add support for DRI2SwapLimit() API. 3350 3351 Uses the new DRI2SwapLimit() API of X-Server 1.12+ 3352 to allow to change the maximum number of pending 3353 swaps on a drawable before the OpenGL client is 3354 throttled by the server. 3355 3356 The new optional xorg.conf parameter "SwapLimit" 3357 allows to select a new swap limit >= 1. The default 3358 swap limit is 2 for triple-buffering on XOrg 1.12+, 3359 1 for double-buffering on older servers, as we can't 3360 change the swap limit there. 3361 3362 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3363 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3364 3365commit 820916e722db2997a53128f2f370d14a02d4401c 3366Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3367Date: Thu Feb 16 00:45:17 2012 +0100 3368 3369 dri2: Implement handling of pageflip completion events. 3370 3371 Requests pageflip completion events from the kernel. 3372 Implements pageflip completion handler to finalize 3373 and timestamp swaps. 3374 3375 Completion handler includes a consistency check, and 3376 disambiguation if multiple crtc's are involved in a 3377 pageflip (e.g., clone mode, extendend desktop). Only 3378 the timestamp of the crtc whose vblank event initially 3379 triggered the swap is used, but handler waits for flip 3380 completion on all involved crtc's before completing the 3381 swap and releasing the old framebuffer. 3382 3383 This code is almost identical to the code used in the 3384 ati/radeon ddx and intel ddx. 3385 3386 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3387 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3388 3389commit 4da68cedbefef4f72c00bb088e179071490882c8 3390Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3391Date: Thu Mar 1 19:11:14 2012 +0100 3392 3393 dri2: Fix can_exchange() to allow page-flipping on more mesa versions. 3394 3395 can_exchange() returns false and thereby prevents page 3396 flipping on some drawables where page flipping would 3397 work fine. This due to non-matching drawable depths values 3398 between front buffer pixmap and back buffer pixmap, because 3399 front buffer pixmaps inherit the depth of the screen, typically 3400 24 bits, whereas the depth value of back buffer pixmaps for a 3401 given RGB8 or RGBA8 visual depends on the mesa version in use, 3402 either 24 bits or 32 bits. 3403 3404 Use bitsPerPixel instead of depth to decide if drawable 3405 is flippable. This will still catch really incompatible 3406 formats like 32 bpp vs. 16 bpp buffers. 3407 3408 Tested for screen DefaultDepth 24 and also 30 bits 3409 (for RGB10 framebuffers) on NV-50. 3410 3411 The problem was fixed in the same way in the ati & intel ddx. 3412 3413 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3414 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3415 3416commit b0d7f4ddd94154491d04dcb9698d63d61e9240dc 3417Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3418Date: Mon Jan 9 15:17:27 2012 +0100 3419 3420 dri2: CreateBuffer format may be 0, use depth in that case 3421 3422commit 3d9f6b32e0ad72dc8c7db07d039d87e83d8fdb1d 3423Author: Ben Skeggs <bskeggs@redhat.com> 3424Date: Fri Dec 9 17:45:31 2011 +1000 3425 3426 nv50/xv: bump max dims to 8k 3427 3428 Untested, but I don't see why this wouldn't work... 3429 3430commit 57c62228e2e67370feeeb421c369fbf940d30ca4 3431Author: Ben Skeggs <bskeggs@redhat.com> 3432Date: Fri Dec 9 17:44:07 2011 +1000 3433 3434 xv: stop using custom m2mf code 3435 3436commit ad402333157c437ccd2c639f5b3f3bcb81e78d6c 3437Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3438Date: Sat Dec 10 13:32:24 2011 +0100 3439 3440 dri2: fix allocation of Z16 depth attachments 3441 3442commit 3d2a752ca8aafee5e1e94dabfd7deec439890e95 3443Author: Ben Skeggs <bskeggs@redhat.com> 3444Date: Thu Dec 1 11:31:49 2011 +1000 3445 3446 move away from libdrm's BEGIN_RING (and variants) macros 3447 3448 subchan auto-assignment is now gone. 3449 3450commit b6cfdc01aeb5c2ab401ee81fff66bd0560abdfcc 3451Author: Ben Skeggs <bskeggs@redhat.com> 3452Date: Thu Dec 1 11:25:10 2011 +1000 3453 3454 Append _CLASS to object class id definitions 3455 3456 I want to be able to use ring macros of the same name 3457 3458commit 1dadb5826363d0d8ed1a72209be18277550f8345 3459Author: Ben Skeggs <bskeggs@redhat.com> 3460Date: Thu Dec 1 09:06:24 2011 +1000 3461 3462 exa: create general m2mf rect copy for each chipset, use for UTS/DFS 3463 3464 No point having duplicated UTS/DFS logic in each implementation. This also 3465 splits nv50 out into its own code, in preparation for it being made to not 3466 use relocs at all. 3467 3468 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3469 3470commit b5534a15a5f5e1c3bd6c92e3ed8391ff628c09bb 3471Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3472Date: Wed Nov 30 18:56:54 2011 +0100 3473 3474 fix typo in conversion to rnn headers 3475 3476commit 5975ce34a12d1943b2852d0f5fbe09358754c2ad 3477Author: Ben Skeggs <bskeggs@redhat.com> 3478Date: Wed Nov 30 17:40:02 2011 +1000 3479 3480 convert entire ddx to rnn headers 3481 3482commit 9fa0c6c74d0b9f7d66ebe3c99184eaa13abeb1a0 3483Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3484Date: Sun Nov 6 20:32:10 2011 +0100 3485 3486 Default to 16bpp for low memory cards. 3487 3488commit 5aa30ae6554c957609929ef29d1b27c89e9a7f06 3489Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3490Date: Sun Nov 6 20:32:09 2011 +0100 3491 3492 nv50/exa: wait for enough space for at least one composite operation 3493 3494commit 3d54426c4833a7e058e50624452f89139921e64b 3495Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3496Date: Sun Nov 6 20:32:08 2011 +0100 3497 3498 add missing return in nv50_accel_init failure path 3499 3500commit d575a28a5020ff083836d3d1cf50018a99f49c9f 3501Author: Maarten Lankhorst <m.b.lankhorst@gmail.com> 3502Date: Sat Oct 8 10:33:20 2011 +0200 3503 3504 dri2: Add vdpau driver name entry 3505 3506 libvdpau has a driver loading mechanism that looks for a dri2 driver 3507 first before falling back to nvidia, so lets use that. 3508 3509commit 656cfe3bdb8b487827b710a0cea35ae1bcd5044e 3510Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3511Date: Sat Sep 10 23:14:53 2011 +0200 3512 3513 xv: support AI44/IA44 3514 3515 It's needed for osd in mplayer's xvmc output. 3516 3517commit 169512fbe91f0671a90dfee5e280357f0a4ef701 3518Author: Maxim Levitsky <maximlevitsky@gmail.com> 3519Date: Tue Aug 23 13:10:59 2011 +0200 3520 3521 dri2: Disable the "exchange" swapbuffers path for the moment (bug 35930). 3522 3523 Allow page flipping only for scanout buffer for now as simple swapping 3524 between off-screen pixmaps confuses compiz because there is no 3525 syncronization method to tell it about that swap 3526 3527 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3528 3529commit b806e3f97a73701f057c45b1f45233e69e19f113 3530Author: Bryan Cain <bryancain3@gmail.com> 3531Date: Wed Jul 20 13:48:36 2011 -0500 3532 3533 g3dvl: update for compatibility with latest pipe-video branch in Mesa 3534 3535 Signed-off-by: Bryan Cain <bryancain3@gmail.com> 3536 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3537 3538commit de9d1ba7efeba64f319efa00df183d3cb78f24af 3539Author: Emil Velikov <emil.l.velikov@gmail.com> 3540Date: Tue Jul 19 00:35:38 2011 +0100 3541 3542 drmmode_display: Resolve missing brackets 3543 3544 Correct some missing/misplaced brackets in drmmode_pre_init() 3545 The issue was exposed when trying a 4 monitor desktop using two 3546 cards/gpus 3547 3548 Resolves https://bugs.freedesktop.org/show_bug.cgi?id=39099 3549 3550 Reported-By: Damian Nowak <nowaker@geozone.pl> 3551 Tested-By: Damian Nowak <nowaker@geozone.pl> 3552 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 3553 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3554 3555commit ef4957492956df54fafa6c75d576a07ce678ea0a 3556Author: Ben Skeggs <bskeggs@redhat.com> 3557Date: Mon Jul 11 12:48:34 2011 +1000 3558 3559 kms: fix multiple rotations in noaccel mode 3560 3561commit ab89aa022f0c78154e525b5f5787feee8024171f 3562Author: Ben Skeggs <bskeggs@redhat.com> 3563Date: Fri Jun 17 10:10:09 2011 +1000 3564 3565 nvc0: accept 0xdx chipsets 3566 3567 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3568 3569commit 7dd8987b8b69f56d04a199207122d2e51b9caa6e 3570Author: Ben Skeggs <bskeggs@redhat.com> 3571Date: Fri Jun 17 10:07:36 2011 +1000 3572 3573 nvc0: assume 0x9097's presence on all chipsets 3574 3575 This appears to be the case thus far, and is what the 3D driver does. 3576 3577 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3578 3579commit 98ee2105dbd8685e59c1967a587fccb6135743ac 3580Author: Ben Skeggs <bskeggs@redhat.com> 3581Date: Mon May 30 10:10:58 2011 +1000 3582 3583 kms: clear new fb to black on fb resize 3584 3585commit 8378443bd3b26b57ef2ae424a700e01ead813d33 3586Author: Ben Skeggs <bskeggs@redhat.com> 3587Date: Thu Mar 24 02:13:12 2011 +1000 3588 3589 nv50-nvc0/exa: fix bug causing surface state to not be reemitted after flush 3590 3591 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3592 3593commit 92db2bc192a074d4b7fc3e9c16e9aa62a8deaeb6 3594Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3595Date: Thu Mar 3 22:17:23 2011 +0100 3596 3597 nvc0/accel: allow nvc1,nvc3,nvc4 in 3D engine init and use 9097 3598 3599commit ace98a492353e6de712f4f717e6d3f562e3591f0 3600Author: Ben Skeggs <bskeggs@redhat.com> 3601Date: Tue Mar 1 13:54:38 2011 +1000 3602 3603 dri2: return an error rather than crashing if we can't allocate a buffer 3604 3605 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3606 3607commit bc5dec2ca7ca7edc340a99bd73946e228117dfd8 3608Author: Ben Skeggs <bskeggs@redhat.com> 3609Date: Thu Feb 24 15:15:00 2011 +1000 3610 3611 dri2: disable page flipping if any crtc is rotated 3612 3613 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3614 3615commit c123618470b5ff32c6377a4cae0f148d4a518a5d 3616Author: Francesco Marella <francesco.marella@gmail.com> 3617Date: Thu Feb 17 03:48:16 2011 +0100 3618 3619 Fix gcc 4.6.0 set but unused variable warnings 3620 3621 Signed-off-by: Francesco Marella <fmarl@paranoici.org> 3622 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3623 3624commit 3531b2aa13e9c78288d96fe5e1492f0b6e899b00 3625Author: Francesco Marella <francesco.marella@gmail.com> 3626Date: Thu Feb 17 03:47:46 2011 +0100 3627 3628 Page flipping man page update 3629 3630 Signed-off-by: Francesco Marella <fmarl@paranoici.org> 3631 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3632 3633commit 85a706df6f7986158c964e3afd0aa8e352ff5cea 3634Author: Francesco Marella <francesco.marella@gmail.com> 3635Date: Thu Feb 17 03:47:08 2011 +0100 3636 3637 Update configure.ac with autoupdate 3638 3639 Signed-off-by: Francesco Marella <fmarl@paranoici.org> 3640 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3641 3642commit 42c16ff33dcca6cd9bae62fe0d71a40452e03581 3643Author: Ben Skeggs <bskeggs@redhat.com> 3644Date: Wed Feb 16 13:51:54 2011 +1000 3645 3646 nv50: attempt to allocate compressed Z buffers 3647 3648 This should automagically fallback to the non-compressed version on kernels 3649 that don't support compression. 3650 3651 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3652 3653commit 46acb7e095e9c0d55b90070b77c64679fcfb9d4e 3654Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3655Date: Sun Feb 13 20:46:42 2011 +0100 3656 3657 fix drmSetMaster error reporting 3658 3659 On error, drmSetMaster returns -1 and sets errno. 3660 3661 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3662 3663commit 54764980411b4b8124c36edb8730612b04f292a9 3664Author: Maarten Maathuis <madman2003@gmail.com> 3665Date: Thu Feb 10 20:12:07 2011 +0100 3666 3667 Also flush from the BlockHandler. 3668 3669 - The fact that commit 02c50db307a4e4eeb87f7db5d401bc53cce3b21f 3670 fixed missing text for some people proves this is needed. 3671 That commit should have only improved latency a bit. 3672 - The FlushCallback is still needed for DRI2 texture_from_pixmap. 3673 - See bugs.fd.o #33977 for discussion. 3674 3675 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 3676 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3677 3678commit 02c50db307a4e4eeb87f7db5d401bc53cce3b21f 3679Author: Maarten Maathuis <madman2003@gmail.com> 3680Date: Mon Feb 7 19:37:47 2011 +0100 3681 3682 exa: Flush (S)IFC to the frontbuffer immediately. 3683 3684 This avoids high latency while typing with core fonts for example. 3685 3686 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 3687 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3688 3689commit e4fb9fd2f790ed66e4be61ca00d55522525619f4 3690Author: Ben Skeggs <bskeggs@redhat.com> 3691Date: Wed Feb 9 13:46:32 2011 +1000 3692 3693 dri2: allow page flipping to be disabled in xorg.conf 3694 3695 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3696 3697commit 38e8809bb415bae5c182fc79c8fc62992c5e4ed0 3698Author: Ben Skeggs <bskeggs@redhat.com> 3699Date: Mon Jan 17 09:14:31 2011 +1000 3700 3701 nvc0: merge initial acceleration support 3702 3703 Squashed commit of the following: 3704 3705 commit e8ce1ef351ee51bec51211dca6fda88fdbfbefee 3706 Author: Ben Skeggs <bskeggs@redhat.com> 3707 Date: Mon Jan 17 08:55:04 2011 +1000 3708 3709 fix hardcoding of nvc0 wfb path 3710 3711 commit b414b1f948da18d96309bad84c54948d877efaa6 3712 Author: Ben Skeggs <bskeggs@redhat.com> 3713 Date: Mon Jan 17 08:52:53 2011 +1000 3714 3715 general tidy-ups in preparation for merge to master 3716 3717 commit 73bf71d5de0cb990178a1d2a31e0ea1717c214a4 3718 Merge: fb499a4 b795ca6 3719 Author: Ben Skeggs <bskeggs@redhat.com> 3720 Date: Mon Jan 17 08:47:40 2011 +1000 3721 3722 Merge branch 'master' into nvc0 3723 3724 commit fb499a4e9d95650dc89f4c1820b94d01344733f6 3725 Author: Ben Skeggs <bskeggs@redhat.com> 3726 Date: Mon Dec 20 12:54:43 2010 +1000 3727 3728 nvc0: switch to "standard" RING macros 3729 3730 commit 64f0e1d0e9e29c5437ad4e52d01ccfb0b03a2ae9 3731 Merge: eba7e17 c2092a4 3732 Author: Ben Skeggs <bskeggs@redhat.com> 3733 Date: Mon Dec 20 11:58:42 2010 +1000 3734 3735 Merge branch 'master' into nvc0 3736 3737 Conflicts: 3738 src/nv_dma.c 3739 3740 commit eba7e173a5006ff50b950d0e8b8154564471a9ce 3741 Author: Ben Skeggs <bskeggs@redhat.com> 3742 Date: Fri Dec 17 11:04:40 2010 +1000 3743 3744 nvc0/xv: use mad in nv12 shader, rather than mul+add 3745 3746 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3747 3748 commit b025ceb40a5e94a3657f3c7f76044c49a1a05e8d 3749 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3750 Date: Thu Dec 16 23:34:29 2010 +0100 3751 3752 nvc0: fix offset of 17bc buffer 3753 3754 I had messed it up in 5e4da3451c3c0f645f98fea7fb0ce2629b1bfd2f. 3755 3756 commit 6ff5a9a7f3411ef218f17fa481c583596ffde2cc 3757 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3758 Date: Thu Dec 16 01:07:25 2010 +0100 3759 3760 nvc0/xv: bind textures for the FP, not the TEP 3761 3762 commit 5e4da3451c3c0f645f98fea7fb0ce2629b1bfd2f 3763 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3764 Date: Thu Dec 16 01:02:58 2010 +0100 3765 3766 nvc0: switch to rnn headers 3767 3768 commit 0839041e79dbb0e629326d0f240220b33921db1a 3769 Author: Ben Skeggs <bskeggs@redhat.com> 3770 Date: Wed Dec 15 16:42:41 2010 +1000 3771 3772 nvc0/exa: fix m2mf dfs 3773 3774 commit 88c1c43302331e1cb8b7035bfb4677a5e7da3090 3775 Author: Ben Skeggs <bskeggs@redhat.com> 3776 Date: Mon Dec 13 12:00:23 2010 +1000 3777 3778 nvc0: add Xv implementation 3779 3780 commit ad5b4cfe388a102a0c93f7281cb4bba532b1796b 3781 Merge: 1942a81 b6cb21b 3782 Author: Ben Skeggs <bskeggs@redhat.com> 3783 Date: Wed Dec 15 14:57:04 2010 +1000 3784 3785 Merge branch 'master' into nvc0 3786 3787 commit 1942a81c0eb592972d4a3e8c46b80192ae8d1a59 3788 Author: Ben Skeggs <bskeggs@redhat.com> 3789 Date: Thu Dec 9 12:48:27 2010 +1000 3790 3791 nvc0: call grobj_alloc for all used object classes 3792 3793 Though the hardware has no concept of object handles any more, the nouveau 3794 DRM still uses this call to know what engines are in use. 3795 3796 commit 0c670a6d406fe0a57373fa9e03005be6f28ecc3e 3797 Author: Ben Skeggs <bskeggs@redhat.com> 3798 Date: Thu Dec 9 12:44:41 2010 +1000 3799 3800 nvc0: don't try and create DmaNotifier0 3801 3802 commit 5d3d20d908a50ad7742567d58969c7f12dd944f7 3803 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3804 Date: Thu Dec 9 01:36:32 2010 +0100 3805 3806 nvc0: change tile_mode to contain 0xZYX instead of 0xZY 3807 3808 Warning: the kernel will not like that (EVO) 3809 3810 commit dd7fd8263e0e9f92412fb20086e4c8acf8cab099 3811 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3812 Date: Thu Dec 9 00:29:58 2010 +0100 3813 3814 exa: don't fall back to nv04 m2mf if nvc0 m2mf fails 3815 3816 commit b4cf5a8f2276392945c2530f0d6fe96b5ab4b5da 3817 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3818 Date: Thu Dec 9 00:07:59 2010 +0100 3819 3820 nvc0/exa: remove noisy debug messages 3821 3822 commit 5419ef6d2cfabb7329982cb8dbdb5bbc8e973fe3 3823 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3824 Date: Wed Dec 8 23:55:51 2010 +0100 3825 3826 nvc0/accel: remove unneeded scratch method 0x3420 init 3827 3828 It was intended be read by a MACRO method to get the address for 3829 constants upload. 3830 3831 commit 178356391ff6831599eba257a5912079894641a1 3832 Merge: 8573280 8bb8231 3833 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3834 Date: Thu Dec 9 01:31:40 2010 +0100 3835 3836 Merge remote branch 'origin/master' into nvc0 3837 3838 Conflicts: 3839 src/drmmode_display.c 3840 src/nouveau_exa.c 3841 src/nv_driver.c 3842 src/nv_type.h 3843 3844 commit 8573280871401e29f27fa24d0b7c6ac5e35b2cc1 3845 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3846 Date: Sat Jul 3 14:27:36 2010 +0200 3847 3848 nvc0: initial implementation 3849 3850 EXA should work, Xv not yet done. 3851 3852commit b795ca6e97fae9735843748585401098dae1c3e1 3853Author: Ben Skeggs <bskeggs@redhat.com> 3854Date: Fri Jan 7 13:33:36 2011 +1000 3855 3856 nv50: fix pitch of linear scanout buffers 3857 3858 Un-breaks NoAccel on these chipsets. 3859 3860 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3861 3862commit dc89dac734167bcbc667b39ca6ee2043871a60bf 3863Author: Xavier Chantry <chantry.xavier@gmail.com> 3864Date: Sun Dec 19 23:17:34 2010 +0100 3865 3866 nv04/exa: kill useless WAIT_RING 3867 3868 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3869 3870commit b76b43928bf4dcf5ce3a4b58c7fefe780070c0d3 3871Author: Ben Skeggs <bskeggs@redhat.com> 3872Date: Tue Dec 21 16:25:23 2010 +1000 3873 3874 add back generic include of nouveau_pushbuf.h 3875 3876 So places that FIRE_RING() still work. 3877 3878 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3879 3880commit c2092a458401377f421d9bdfe1d97ce580b99508 3881Author: Ben Skeggs <bskeggs@redhat.com> 3882Date: Mon Dec 20 11:50:57 2010 +1000 3883 3884 include nv04_pushbuf.h for ring macros, rather than nouveau_pushbuf.h 3885 3886 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3887 3888commit aa2821a42706ac7b69703d1869e2d00a4ced9f4b 3889Author: Ben Skeggs <bskeggs@redhat.com> 3890Date: Mon Dec 20 11:53:53 2010 +1000 3891 3892 kill NVSync(), it's rather useless 3893 3894 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3895 3896commit 1fc564fe3494cf0abcc848d0e90bf2232f8fd272 3897Author: Ben Skeggs <bskeggs@redhat.com> 3898Date: Thu Dec 16 09:49:09 2010 +1000 3899 3900 nv50/xv: use mad in nv12 shader, rather than mul+add 3901 3902 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3903 3904commit b6cb21b91f7d0409794a14ddbdd606728d4d49e3 3905Author: Ben Skeggs <bskeggs@redhat.com> 3906Date: Mon Feb 8 12:51:47 2010 +1000 3907 3908 set canDoBGNoneRoot if building against new enough server 3909 3910commit 11510f9ce8c9eab15e7f6d5962b83fc0052c8619 3911Author: Ben Skeggs <bskeggs@redhat.com> 3912Date: Tue Dec 14 15:39:01 2010 +1000 3913 3914 nv50/xv: implement brightness/contrast/saturation/hue controls 3915 3916 Adapted from the code in xf86-video-ati. 3917 3918 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3919 3920commit 214ea264cdb386520a1308a29f204e441f349cb1 3921Author: Ben Skeggs <bskeggs@redhat.com> 3922Date: Tue Dec 14 14:42:24 2010 +1000 3923 3924 nv50/xv: kick csc parameters out into a constant buffer 3925 3926 These were previously inlined into the shader, which is simple, but makes 3927 implementing brightness/contrast adjustments impossible. 3928 3929 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3930 3931commit 8bb8231236a6b877895663aeaa9cef731d67fe68 3932Author: Ben Skeggs <bskeggs@redhat.com> 3933Date: Tue Nov 30 15:27:36 2010 +1000 3934 3935 dri2: fix certain clients blocking forever when sync-to-vblank unavailable 3936 3937 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3938 3939commit f29afe65b67c9b89ceba421d9b3aee590f7ded20 3940Author: Ben Skeggs <bskeggs@redhat.com> 3941Date: Mon Nov 29 09:23:35 2010 +1000 3942 3943 dri2: don't return failure from get_msc if sync-to-vblank isn't available 3944 3945 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3946 3947commit 4b1d26578116f4d1745dd92a7c99413972a2bedf 3948Author: Francisco Jerez <currojerez@riseup.net> 3949Date: Thu Nov 25 21:33:46 2010 +0100 3950 3951 dri2: Don't return failure from schedule_wait if sync-to-vblank is unavailable. 3952 3953 Reported-by: Ben Skeggs <bskeggs@redhat.com> 3954 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3955 3956commit 1143e7a97dce1b741376e178b73b8b766e03849a 3957Author: Jesse Adkins <jesserayadkins@gmail.com> 3958Date: Tue Oct 26 16:05:32 2010 -0700 3959 3960 Purge cvs tags. 3961 3962 Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> 3963 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3964 3965commit 22020457f43eceaf26532ecb50e46d743f4a691f 3966Author: Francisco Jerez <currojerez@riseup.net> 3967Date: Tue Oct 26 00:24:06 2010 +0200 3968 3969 dri2: Fix throttling on occluded drawables. 3970 3971 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3972 3973commit 9737a812aacbc544b93eeaa031cf1c2e8adbd661 3974Author: Ben Skeggs <bskeggs@redhat.com> 3975Date: Mon Oct 25 10:37:08 2010 +1000 3976 3977 kms: initial pass at supporting zaphod-mode 3978 3979 This works ok from some simple testing, there's undoubtedly things that 3980 will need polishing still however. 3981 3982 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3983 3984commit d40c16f5497739c0215f37566db1651a74cb20ba 3985Author: Francisco Jerez <currojerez@riseup.net> 3986Date: Sat Oct 23 02:20:30 2010 +0200 3987 3988 dri2: Fix build on X server 1.8. 3989 3990 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3991 3992commit a4d580bf05d7aac1d486e5d1ba9a2201c026e5f5 3993Author: Francisco Jerez <currojerez@riseup.net> 3994Date: Fri Oct 22 23:09:30 2010 +0200 3995 3996 Bump the required X server version to 1.8. 3997 3998 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3999 4000commit d0f2e16bc35660d01d3cd20a770cf8e613ab5323 4001Author: Francisco Jerez <currojerez@riseup.net> 4002Date: Fri Oct 22 23:06:28 2010 +0200 4003 4004 dri2: Report damage on page-flipped drawables. 4005 4006 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4007 4008commit c61e8d03161adcfbba4162172153814accf9e86b 4009Author: Francisco Jerez <currojerez@riseup.net> 4010Date: Fri Oct 22 23:05:24 2010 +0200 4011 4012 Make the sync-to-vblank helpers take a box as argument. 4013 4014 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4015 4016commit a685a5c3be12f3e95a6ec1140af115e7ef28fcaa 4017Author: Francisco Jerez <currojerez@riseup.net> 4018Date: Wed Oct 13 18:45:04 2010 +0200 4019 4020 dri2: Implement the ScheduleWaitMSC/GetMSC hooks. 4021 4022 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4023 4024commit eb83c830c87bce345748edef3b50660246143db7 4025Author: Francisco Jerez <currojerez@riseup.net> 4026Date: Thu Oct 21 22:57:08 2010 +0200 4027 4028 dri2: Add pageflip/exchange support. 4029 4030 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4031 4032commit c88f13e25b0040c1dd0f93e0ac40f62a6005ce59 4033Author: Francisco Jerez <currojerez@riseup.net> 4034Date: Thu Oct 14 22:25:50 2010 +0200 4035 4036 Allocate a tiled scanout on pre-nv50 too. 4037 4038 Pageflip between tiled and non-tiled surfaces isn't such a good idea. 4039 4040 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4041 4042commit 4642d71bdffc04ce0dd458225541940c65f5443d 4043Author: Francisco Jerez <currojerez@riseup.net> 4044Date: Thu Oct 14 22:17:58 2010 +0200 4045 4046 dri2: Give out buffers ready for scanout. 4047 4048 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4049 4050commit 75daada678d03d2e162f8003a6f2edcbe0525f92 4051Author: Francisco Jerez <currojerez@riseup.net> 4052Date: Thu Oct 14 22:32:54 2010 +0200 4053 4054 Restructure tiled pixmap allocation in a single place. 4055 4056 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4057 4058commit 70f0d2c886ceaa965ca4864788f4dd8e8f757a92 4059Author: Francisco Jerez <currojerez@riseup.net> 4060Date: Thu Oct 21 22:55:02 2010 +0200 4061 4062 dri2: Add sync-to-vblank support. 4063 4064 Note that you need a recent enough kernel for it to work. Use the 4065 "GLXVBlank" option to enable it (it defaults to disabled for now). 4066 4067 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4068 4069commit 72dd4899ff036b09e3680ed2e09b3dbae3a7ba71 4070Author: Francisco Jerez <currojerez@riseup.net> 4071Date: Thu Oct 21 22:31:45 2010 +0200 4072 4073 nv04-nv40/exa: Make the copy hook blit downwards for non-overlapping regions. 4074 4075 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4076 4077commit 21ed642d3f76f286f23cd64ca817038ec94a1bf6 4078Author: Francisco Jerez <currojerez@riseup.net> 4079Date: Wed Oct 13 18:22:22 2010 +0200 4080 4081 Make the sync-to-vblank helpers more consistent. 4082 4083 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4084 4085commit 258e483d47f0f63155be18981c1118261f7675a8 4086Author: Francisco Jerez <currojerez@riseup.net> 4087Date: Thu Oct 21 22:41:24 2010 +0200 4088 4089 kms: Register a wakeup handler to poll vblank/pageflip/udev events. 4090 4091 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4092 4093commit 4f42708c26fa57bac7854701a6e757958c8d0654 4094Author: Francisco Jerez <currojerez@riseup.net> 4095Date: Sun Oct 10 04:39:27 2010 +0200 4096 4097 Update to the last libdrm API. 4098 4099 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4100 4101commit 8c8f15c9d3a31c35bf2ef20faf8c4133295a678f 4102Author: Francisco Jerez <currojerez@riseup.net> 4103Date: Sun Oct 10 04:36:17 2010 +0200 4104 4105 nv10-nv40/exa: Fix tiled pixmap pitch alignment calculation. 4106 4107 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4108 4109commit a47c274f329b3b8bfbdcf155d6d832599d823dc8 4110Author: Francisco Jerez <currojerez@riseup.net> 4111Date: Sun Oct 10 04:43:25 2010 +0200 4112 4113 Fix for the last xserver ABI. 4114 4115 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4116 4117commit 9a5142fae6e1a0a470352f511427916e6fa01b9c 4118Author: Maarten Maathuis <madman2003@gmail.com> 4119Date: Fri Aug 27 21:11:59 2010 +0200 4120 4121 nv50/exa: Stop using wfb by default, but add an option to enable it. 4122 4123 - Some scenarios, such as those heavy in core font rendering might prefer wfb. 4124 - Other (modern) situations are better of with wfb disabled. 4125 4126 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4127 4128commit d5a6f103113985c50bbe749ed341de34af1b47a5 4129Author: Francisco Jerez <currojerez@riseup.net> 4130Date: Tue Sep 28 21:49:48 2010 +0200 4131 4132 dri2: Throttle frontbuffer flushes. 4133 4134 There was no need for throttling until the hardware interchannel sync 4135 kernel changes because the pushbuf IOCTL blocked to sync the GL and X 4136 channels anyway. 4137 4138 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4139 4140commit f1ac413d1d3dec2ccf63d4a8c79b9bd9ea578dcf 4141Author: Ben Skeggs <bskeggs@redhat.com> 4142Date: Mon Sep 20 08:05:00 2010 +1000 4143 4144 nv50: use 0x8697 on NVAF 4145 4146 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4147 4148commit 14c93acfc3fde04415e1c6a2a056465d15c86315 4149Author: Ben Skeggs <bskeggs@redhat.com> 4150Date: Fri Sep 17 13:17:37 2010 +1000 4151 4152 noaccel: fix rotation, as well as an assert during server shutdown 4153 4154 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4155 4156commit 065576d5df0df4da61050d789f548801656b62d5 4157Author: Ben Skeggs <bskeggs@redhat.com> 4158Date: Thu Aug 26 13:22:33 2010 +1000 4159 4160 dri2: remove explit flush from copy_region() 4161 4162 Unnecessary now that we kickoff from within the flush callback chain. 4163 4164 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4165 4166commit 34025f0dc9284873d4bf7e4f547ed69fc562a3c9 4167Author: Ben Skeggs <bskeggs@redhat.com> 4168Date: Thu Aug 26 13:19:39 2010 +1000 4169 4170 kickoff from the flush callback chain 4171 4172 This is a port of intel commit: 69d65f9184006eac790efcff78a0e425160e95aa 4173 4174 Submit batch buffers from flush callback chain 4175 4176 There are a few cases where the server will flush client output buffers 4177 but our block handler only catches the most common (before going into select 4178 If the server flushes client buffers before we submit our batch buffer, 4179 the client may receive a damage event for rendering that hasn't happened yet 4180 4181 Instead, we can hook into the flush callback chain, which the server will 4182 invoke just before flushing output. This lets us submit batch buffers 4183 before sending out events, preserving ordering. 4184 4185 Fixes 28438: [bisected] incorrect character in gnome-terminal under compiz 4186 https://bugs.freedesktop.org/show_bug.cgi?id=28438 4187 4188 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> 4189 4190 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4191 4192commit 390f1c86d9583f4ceabd407ee47410073c2a1b55 4193Author: Ben Skeggs <bskeggs@redhat.com> 4194Date: Fri Aug 20 09:48:32 2010 +1000 4195 4196 nv50/xv: support UYVY 4197 4198 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4199 4200commit 00d390952c912d4e9fc2c962caaeb90bf563d5b1 4201Author: Maarten Maathuis <madman2003@gmail.com> 4202Date: Fri Aug 13 22:24:26 2010 +0200 4203 4204 nv50/xv: Fix the uncommon codepath to use width/height variable. 4205 4206 - The common codepath should be the correct one, because that is 4207 triggered often, while the other is rare. 4208 - This isn't neccesarily a problem, but let's be on the safe side. 4209 4210 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4211 4212commit f5b486dd237679aec1987985f9ecffc6a4fd3105 4213Author: Maarten Maathuis <madman2003@gmail.com> 4214Date: Fri Aug 13 22:16:51 2010 +0200 4215 4216 nv50/xv: We have 18 relocs, not 16, adjust MARK_RING. 4217 4218 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4219 4220commit 1cb6c91a9afe88d73f8a1180b00f56a9150a16ed 4221Author: Roy Spliet <r.spliet@student.tudelft.nl> 4222Date: Sat Aug 7 20:59:06 2010 +0200 4223 4224 nouveau_exa.c: move line_count logic out of UTS/DFS loop 4225 4226 Signed-off-by: Roy Spliet <r.spliet@student.tudelft.nl> 4227 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4228 4229commit 9f50b62229d5984ee5c16bc54953c7f8e2d5e575 4230Author: Ben Skeggs <bskeggs@redhat.com> 4231Date: Fri Aug 6 08:28:34 2010 +1000 4232 4233 nvc0: recognise these chipsets, and allow NoAccel mode on them 4234 4235 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4236 4237commit b96170a4e51c1d3167601210ca31e98283c02885 4238Author: Francisco Jerez <currojerez@riseup.net> 4239Date: Thu Aug 5 00:40:40 2010 +0200 4240 4241 nv10/exa: Bump maxX/maxY to 4096/4096. 4242 4243 This way we can do accelerated 2D on larger pixmaps, it will still 4244 fall back to software when we hit the 2048x2048 texturing limit in a 4245 composite operation. 4246 4247commit 321eb2df5c8b1da4d6469037dd1d8888b508fabd 4248Author: Francisco Jerez <currojerez@riseup.net> 4249Date: Wed Aug 4 13:11:24 2010 +0200 4250 4251 Revert "nv04-nv40/exa: Match the blob behavior more closely on PrepareCopy." 4252 4253 This reverts commit 9de0d97bd2fc2ee8800d48b5340a3d495525ad3e. Unnecessary 4254 after kernel commit "drm/nouveau: Ack the context switch interrupt before 4255 switching contexts.". 4256 4257commit db98ad23633958e52f84501c5a2061d42d346b64 4258Author: Francisco Jerez <currojerez@riseup.net> 4259Date: Tue Jun 15 15:32:36 2010 +0200 4260 4261 dri2: Fix for the last DRI2InfoRec ABI. 4262 4263 Just pre-fill the whole structure with zeros to avoid future 4264 segfaults. 4265 4266commit 9a3d0ab43f6335ab6cd48be4aa2f4f728386b386 4267Author: Ben Skeggs <bskeggs@redhat.com> 4268Date: Fri Jun 11 21:58:38 2010 +1000 4269 4270 call NVEnterVT from CreateScreenResources 4271 4272 We need to grab DRM master here for things to work, so we may as well call 4273 NVEnterVT as we used to in NVScreenInit up until the previous commit. 4274 4275 Fixes server regeneration. 4276 4277commit 964eeac6dc2209da6aa8861aa8b0bc028700ab3d 4278Author: Ben Skeggs <bskeggs@redhat.com> 4279Date: Thu Jun 10 09:38:19 2010 +1000 4280 4281 fix for server 1.9 4282 4283commit c079408e287ad09e954fa3985f95912c02cf06bc 4284Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4285Date: Thu Jun 10 01:07:49 2010 +0200 4286 4287 nv50/accel: fix perspective interps in YUV to RGB shader 4288 4289commit 65153490f7d74d45a92adbd9c5e2bbe11c884b00 4290Author: Ben Skeggs <bskeggs@redhat.com> 4291Date: Wed Jun 9 16:12:28 2010 +1000 4292 4293 use libc directly for [cm]alloc/free 4294 4295commit 2958cf464dca9761f0fa21c8dd2d8fa8c8a96791 4296Author: Ben Skeggs <bskeggs@redhat.com> 4297Date: Thu May 27 10:06:47 2010 +1000 4298 4299 nv50/exa: rip out compat defines, we depend on 1.7 anyway 4300 4301commit af40bf0af47ebcb7de2dc418429f0b56f8c04d15 4302Author: Ben Skeggs <bskeggs@redhat.com> 4303Date: Wed May 26 16:11:01 2010 +1000 4304 4305 nv50/exa: new nouveau_class.h has correct blend func defines 4306 4307commit 8950c5b2a0d318e2568bec38a39d744b968c9b85 4308Author: Ben Skeggs <bskeggs@redhat.com> 4309Date: Wed May 26 16:09:48 2010 +1000 4310 4311 update nouveau_class.h 4312 4313commit 4b8f1a082069a17555d4142003213cf83d4e5464 4314Author: Lubomir Rintel <lkundrak@v3.sk> 4315Date: Mon May 10 09:25:55 2010 +0200 4316 4317 Handle startup without monitor attached more gracefully 4318 4319 Refuse to configure a screen which has no valid modes. Otherwise X server 4320 would crash attempting to dereference to modes list later on. 4321 4322 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4323 4324commit ac8f8d14a82ae8ba5b41fa88903edcad67f339c2 4325Author: Maarten Maathuis <madman2003@gmail.com> 4326Date: Fri May 7 20:51:43 2010 +0200 4327 4328 wfb: use 28 bits instead of 32 bits for multiply_factor optimisation 4329 4330 - Avoiding division in a hot code path is noticable even on an otherwise idle 4331 computer, but it's subject to rounding errors. If anyone knows a corner case 4332 and has better ideas, don't hesitate to contact me. For the moment this should 4333 make the problem less likely to trigger. 4334 4335 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4336 4337commit 13c10430ba8f7b0edff3ad8aae4a97672eea4a8f 4338Author: Ben Skeggs <bskeggs@redhat.com> 4339Date: Fri Apr 23 14:09:35 2010 +1000 4340 4341 Bump version number to 0.0.16 4342 4343 Forgotten when the ABI broke a while back.. 4344 4345commit 6ff8ade0c7cd835b4172257ea310a8d88f28e757 4346Author: Ben Skeggs <bskeggs@redhat.com> 4347Date: Fri Apr 16 16:09:51 2010 +1000 4348 4349 Add uevent support 4350 4351 When a hotplug event is received from the kernel we should notify the 4352 client side to reconfigure the display. 4353 4354 Ported to nouveau from radeon driver, based on work by ajax in intel driver. 4355 4356commit 4063616938f76af8028491276039d422c0782b1b 4357Author: Ben Skeggs <bskeggs@redhat.com> 4358Date: Fri Apr 9 20:43:51 2010 +1000 4359 4360 Import latest nouveau_class.h from renouveau 4361 4362commit bfb95cc0ca600135474ff02a99889b09d41b3c80 4363Author: Rico Tzschichholz <ricotz@t-online.de> 4364Date: Thu Apr 1 20:39:23 2010 +0200 4365 4366 Fix "make dist". 4367 4368 - remove README.NV1 reference from Makefile.am 4369 - add nv_rop.h to src/Makefile.am 4370 4371 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4372 4373commit 2462b417fc550b71f021ca9736808f8f2d1cb6f0 4374Author: Ben Skeggs <skeggsb@beleth.localdomain> 4375Date: Mon May 4 17:04:34 2009 +1000 4376 4377 xv: only use bicubic filtering when scaling >=2x 4378 4379commit e2146d3b29a4bea3d584c145e3190c3313692ed9 4380Author: Francisco Jerez <currojerez@riseup.net> 4381Date: Thu Mar 18 14:32:54 2010 +0100 4382 4383 Fix for the latest nouveau_class.h. 4384 4385 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4386 4387commit 7858345b6b384e88902ccc516715156401edec04 4388Author: Ben Skeggs <bskeggs@redhat.com> 4389Date: Tue Mar 16 13:08:37 2010 +1000 4390 4391 nv50: fix texturing from >=4GiB mark 4392 4393commit 6b8b15731b7610c9d8fb3625861797a0c9fd9546 4394Author: Xavier Chantry <chantry.xavier@gmail.com> 4395Date: Fri Mar 5 00:53:47 2010 +0100 4396 4397 Remove leftover in man page and nv_const.h 4398 4399 Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> 4400 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4401 4402commit c642b9f7a13bdeecd0a83ddcbf6d6d4f2c287501 4403Author: Francisco Jerez <currojerez@riseup.net> 4404Date: Fri Mar 5 14:27:08 2010 +0100 4405 4406 kms: Don't try to copy fbcon contents when there's no framebuffer bound. 4407 4408 drmModeGetFB complains loudly when it's given an invalid framebuffer 4409 id, bail out earlier if that's the case. 4410 4411 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4412 4413commit efd7a526ca1cbac10b33b9d5d4cf3e542bc9b73b 4414Author: Ben Skeggs <bskeggs@redhat.com> 4415Date: Thu Feb 25 09:32:49 2010 +1000 4416 4417 fix typo 4418 4419commit 70d0a48b6c3f1a817bf850acd3bae48d063e56b9 4420Author: Ben Skeggs <bskeggs@redhat.com> 4421Date: Tue Feb 23 15:08:13 2010 +1000 4422 4423 Protect against potential crash for unknown connector types 4424 4425commit 83bbeea0d842094dd647e754608420a404eef6e3 4426Author: Ben Skeggs <bskeggs@redhat.com> 4427Date: Tue Feb 23 15:03:38 2010 +1000 4428 4429 Add connector name for eDP 4430 4431commit 29647021044463768cbfa3eead1416ef1cf27fa1 4432Author: Ben Skeggs <bskeggs@redhat.com> 4433Date: Thu Feb 18 14:17:57 2010 +1000 4434 4435 remove drm patchlevel check, libdrm checks this for us 4436 4437commit 9b4118d6d1fa488db86cd7d2875beea9cdefb096 4438Author: Francisco Jerez <currojerez@riseup.net> 4439Date: Wed Feb 10 18:43:39 2010 +0100 4440 4441 Revert "kms: work around some bong hits with dpms" 4442 4443 This reverts commit 98c9e4edb58374f18249e5c9c53b392fb8b4a1d1. AFAIK 4444 it's no longer needed. 4445 4446 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4447 4448commit f7deabfec0dcec4f203f85cd8494a70fe8fa6ebb 4449Author: Ben Skeggs <bskeggs@redhat.com> 4450Date: Thu Feb 11 08:39:49 2010 +1000 4451 4452 Pass pScreen to drmmode_fbcon_copy() 4453 4454commit 43524fcbb786c5b9e9ec25776560790aec208719 4455Author: Francisco Jerez <currojerez@riseup.net> 4456Date: Wed Feb 10 17:58:24 2010 +0100 4457 4458 dri2: Fix crashes on server regeneration. 4459 4460 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4461 4462commit f50577c117c82eea05e750fecd1ff5653105c648 4463Author: Francisco Jerez <currojerez@riseup.net> 4464Date: Wed Feb 10 13:23:46 2010 +0100 4465 4466 kms: Clean up the set_mode_major hook. 4467 4468 The X server already takes care of restoring the previous CRTC 4469 parameters after a failed mode set. As a bonus this patch fixes 4470 RandR13 projective transforms. 4471 4472 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4473 4474commit b16792b553dee41fc81d74c6e453832807e36368 4475Author: Marcin Kościelnicki <koriakin@0x04.net> 4476Date: Tue Feb 9 20:51:17 2010 +0000 4477 4478 Remove some UMS leftovers. 4479 4480 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4481 4482commit c56bce93f120d0ff18895149d1984896372cdd60 4483Author: Francisco Jerez <currojerez@riseup.net> 4484Date: Wed Feb 10 12:31:54 2010 +0100 4485 4486 kms: Don't pretend it works on xserver-1.5. 4487 4488 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4489 4490commit 0917665d1f2f1e76b6a0e7a4c027512f9f45f41b 4491Author: Francisco Jerez <currojerez@riseup.net> 4492Date: Wed Feb 10 11:48:47 2010 +0100 4493 4494 kms: Kill nv_cursor_convert_cursor. 4495 4496 Well, mostly, the remaining pitch conversion will be unnecessary soon. 4497 4498 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4499 4500commit e75dd23bd28f636b4c1759633d8dbc775e799add 4501Author: Marcin Kościelnicki <koriakin@0x04.net> 4502Date: Fri Feb 5 18:09:55 2010 +0100 4503 4504 nv50/accel: Fix mangled A8+A8 shader. 4505 4506 Turns out we used a misaligned long instruction near the end, and the 4507 shader was getting killed after writing R, A components. This has gone 4508 unnoticed since the remaining G, B outputs aren't actually used. 4509 4510commit 41fc1fdec47fa824c598e1f3d828f4c8c4a2cb71 4511Author: Marcin Kościelnicki <koriakin@0x04.net> 4512Date: Sun Jan 31 19:29:32 2010 +0000 4513 4514 Update to new nouveau_class.h 4515 4516 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4517 4518commit c94544c83ef84e96f8d132ac9ff9296c22c4468e 4519Author: Francisco Jerez <currojerez@riseup.net> 4520Date: Sun Jan 31 18:26:03 2010 +0100 4521 4522 nv10/exa: Fix up nv11 accel. 4523 4524 Fixes an off-by-one error made when UMS was removed. 4525 4526 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4527 4528commit a397b94e32e6b0109096aba09bbe7b5dcfdd8231 4529Author: Francisco Jerez <currojerez@riseup.net> 4530Date: Sun Jan 31 18:11:06 2010 +0100 4531 4532 dri2: Fix for the new DRI2InfoRec ABI. 4533 4534 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4535 4536commit 8b5c67145a9c29cd4c82f411f15e57723d76d0c0 4537Author: Francisco Jerez <currojerez@riseup.net> 4538Date: Sun Jan 31 17:43:54 2010 +0100 4539 4540 nv10/exa: Fix build after the last nouveau_class.h changes. 4541 4542 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4543 4544commit 2630a1553d560ce2c7391bc103d4a543f7d3d0da 4545Author: Marcin Kościelnicki <koriakin@0x04.net> 4546Date: Wed Jan 20 07:46:32 2010 +0000 4547 4548 Remove nv_dripriv.h, nv_local.h 4549 4550commit 2d341f7e0a0dc70a28c6091ef6919fc6c0d60561 4551Author: Ben Skeggs <bskeggs@redhat.com> 4552Date: Thu Jan 21 14:58:37 2010 +1000 4553 4554 xv: use nouveau_bo_new_tile() 4555 4556commit 2a76ff1106ee8c76bd2e16a4954b3c05714d1db3 4557Author: David Heidelberger <d.okias@gmail.com> 4558Date: Mon Jan 18 11:50:19 2010 +0100 4559 4560 Remove deprecated NV1 readme 4561 4562commit fe484a9b635ad56afec7be086a56c692b00dd6d1 4563Author: Ben Skeggs <bskeggs@redhat.com> 4564Date: Wed Jan 13 16:14:41 2010 +1000 4565 4566 exa: remove nouveau_pixmap_offset() 4567 4568 Completely useless now we don't have to try and support non-driver pixmaps. 4569 4570 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4571 4572commit bbf79469a878a8ab5b4c07faadcfdc8d85ceac83 4573Author: Ben Skeggs <bskeggs@redhat.com> 4574Date: Wed Jan 13 16:07:13 2010 +1000 4575 4576 exa: remove nouveau_exa_pixmap_{map,unmap} 4577 4578 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4579 4580commit 18e3a649f7df73bc1e6d199ecf7a62ddcfe37d6e 4581Author: Ben Skeggs <bskeggs@redhat.com> 4582Date: Wed Jan 13 14:26:04 2010 +1000 4583 4584 Check for drm+kms availability in NVPciProbe() 4585 4586 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4587 4588commit 6267b85460ef364aa51a7d33006940bb00a049d9 4589Author: Ben Skeggs <bskeggs@redhat.com> 4590Date: Wed Jan 13 12:03:14 2010 +1000 4591 4592 bump xorg-server requirement to 1.7 4593 4594 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4595 4596commit da5c0dc6040096fd12ddb6a04a22fada89115ccb 4597Author: Ben Skeggs <bskeggs@redhat.com> 4598Date: Mon Jan 11 13:23:06 2010 +1000 4599 4600 remove more unused code 4601 4602 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4603 4604commit 104b3ea842d4cebd993d3e7e9d55ebcadae0cf28 4605Author: Ben Skeggs <bskeggs@redhat.com> 4606Date: Mon Jan 11 12:59:12 2010 +1000 4607 4608 exa: Remove non-driver pixmaps path 4609 4610 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4611 4612commit e8798d91eedc5d8337223b2257ca607da8a197de 4613Author: Ben Skeggs <bskeggs@redhat.com> 4614Date: Mon Jan 11 12:48:00 2010 +1000 4615 4616 Remove pNv->NVArch 4617 4618 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4619 4620commit 7a6f785de1732ec0af429a0b66d5d6ba45427dcb 4621Author: Ben Skeggs <bskeggs@redhat.com> 4622Date: Mon Jan 11 12:00:19 2010 +1000 4623 4624 Remove pNv->Chipset use 4625 4626 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4627 4628commit 68c1f908be5739692c9f0bde9c23f3dc2a7210ea 4629Author: Ben Skeggs <bskeggs@redhat.com> 4630Date: Mon Jan 11 11:56:19 2010 +1000 4631 4632 remove pNv->VRAMPhysical 4633 4634 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4635 4636commit 06499197d6eb07a272a1812e1c8bce886798a1d7 4637Author: Ben Skeggs <bskeggs@redhat.com> 4638Date: Mon Jan 11 11:51:14 2010 +1000 4639 4640 dri1: remove DRI1 support 4641 4642 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4643 4644commit 6975651b0b74dca6edaee759fb1003f65189f1df 4645Author: Ben Skeggs <bskeggs@redhat.com> 4646Date: Mon Jan 11 10:07:11 2010 +1000 4647 4648 xv: ifdef out another problematic piece of overlay support for the moment 4649 4650commit 17485c234ff191cee3dd19e3dd693a80b024e189 4651Author: Ben Skeggs <bskeggs@redhat.com> 4652Date: Wed Jan 6 14:58:15 2010 +1000 4653 4654 Initial pass at removal of non-KMS support. 4655 4656 It's likely there's a lot more that can be cleaned up/removed as a result 4657 of this, we can handle that as we come across it. 4658 4659 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4660 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4661 Acked-by: Maarten Maathuis <madman2003@gmail.com> 4662 4663commit 061cb284b93612848296599759b915a4d66b6d01 4664Author: Maarten Maathuis <madman2003@gmail.com> 4665Date: Sun Jan 3 02:14:36 2010 +0100 4666 4667 exa: Some compat defines for new pixman formats. 4668 4669 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4670 4671commit 8ca5a7383aad0e0557b3c9a1e9edd5431cd509fc 4672Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4673Date: Wed Dec 30 21:46:04 2009 +0100 4674 4675 start using BEGIN_RING_NI 4676 4677commit b259b7ce5e57e1d20111878318b4703a14ec27ec 4678Author: Maarten Maathuis <madman2003@gmail.com> 4679Date: Fri Jan 1 20:16:13 2010 +0100 4680 4681 nv50: always set semaphore handle and offset 4682 4683 - This is in preperation of using semaphores for more than one thing. 4684 4685 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4686 4687commit 8deeed25014b36f8d60f25c7ea2509d88fcb52ae 4688Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4689Date: Mon Dec 28 18:39:16 2009 +0100 4690 4691 nv50: upgrade nv50_texture.h 4692 4693 - copy changes from mesa/src/gallium/drivers/nv50/nv50_texture.h 4694 - remove 2 redefinitions 4695 - fix R<->B rename (see df189c9efc0fbcdce816af483f0147ab635280d1 4696 (nv50: TIC/TSC fixes and additions) in mesa repo) 4697 4698commit 1877ee268774443a58a7bb73244bd70c82d67879 4699Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4700Date: Thu Dec 24 21:29:10 2009 +0100 4701 4702 nv50/exa: add support for more color formats 4703 4704commit 8b3753fc34e3557b91c3bdebe7c8addfb148b3bd 4705Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4706Date: Wed Dec 30 18:28:25 2009 +0100 4707 4708 nv50: check drawable.bitsPerPixel instead of depth to get format 4709 4710commit 920a346e14cdc40efe9e89c3583d8e573e7e2f87 4711Author: Marcin Kościelnicki <koriakin@0x04.net> 4712Date: Mon Dec 28 16:11:51 2009 +0000 4713 4714 nv50: Dehexify and bring up to date with new method defines. 4715 4716 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4717 4718commit 7c72ac1f47e19af97c997f57012e3af12f941894 4719Author: Francisco Jerez <currojerez@riseup.net> 4720Date: Sat Dec 26 15:56:58 2009 +0100 4721 4722 nv10/exa: Fix for the latest nouveau_class.h changes. 4723 4724 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4725 4726commit 6992d0e7a0cb3c32b16af0b724246e44f7a35d7e 4727Author: Francisco Jerez <currojerez@riseup.net> 4728Date: Thu Dec 17 19:13:08 2009 +0100 4729 4730 dri: Use classic mesa on the fixed pipe cards. 4731 4732 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4733 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4734 4735commit 87b9916dd4b471a9b8b02f166f6553f04f219769 4736Author: Maarten Maathuis <madman2003@gmail.com> 4737Date: Wed Dec 23 21:53:36 2009 +0100 4738 4739 kms: Remove the one-off offset of connector names compared to the kernel. 4740 4741 - Seeing DVI-I-0 in xrandr and DVI-I-1 in the kernel logs can be a source of 4742 confusion. 4743 4744 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4745 4746commit bb1947831d9a4e080b8d1e9dba086af6527ef479 4747Author: Ben Skeggs <bskeggs@redhat.com> 4748Date: Thu Dec 17 13:08:34 2009 +1000 4749 4750 Revert "exa: map the pixmap bo after creation to ensure a useable driver pixmap" 4751 4752 This reverts commit 740c9f3e79729e4e06c693e66826afbad9bd1ce5. 4753 4754 To get the same effect as this commit, update to latest libdrm git. 4755 4756commit 03c7d675f6d12886b6bca8e0375888ecf1b393df 4757Author: Francisco Jerez <currojerez@riseup.net> 4758Date: Fri Dec 11 15:47:05 2009 +0100 4759 4760 dri2: Make the render targets tiled for pre-G80 cards. 4761 4762 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4763 4764commit 963aaeff6b414f371eff3e8ce016f7707c60f7c0 4765Author: Francisco Jerez <currojerez@riseup.net> 4766Date: Fri Dec 11 15:44:47 2009 +0100 4767 4768 exa: Pre-G80 tiling support. 4769 4770 For now, pixmaps will only be tiled if driver pixmaps is being used 4771 and we're told to with the NOUVEAU_CREATE_PIXMAP_TILED usage hint. 4772 4773 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4774 4775commit 41d8d511124fcbe83a3cc68aaf22c3ce0fb4eb8a 4776Author: Francisco Jerez <currojerez@riseup.net> 4777Date: Mon Dec 14 00:51:17 2009 +0100 4778 4779 kms: Allow interlaced/doublescan modes. 4780 4781 After bcafdfbed6 (an X server commit) we have to explicitly state we 4782 can handle them. 4783 4784 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4785 4786commit 740c9f3e79729e4e06c693e66826afbad9bd1ce5 4787Author: Maarten Maathuis <madman2003@gmail.com> 4788Date: Sat Dec 12 22:27:30 2009 +0100 4789 4790 exa: map the pixmap bo after creation to ensure a useable driver pixmap 4791 4792 - Large pixmaps (think of 8000x8000 pixmaps on NV50) will cause crashes 4793 otherwise because exa assumes driver pixmaps to be mappable. Handling this 4794 elsewhere is problematic. 4795 4796 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4797 4798commit 0b5120cf8ef2528a15d88054afdc6fc33eb521f5 4799Author: Ben Skeggs <skeggsb@beleth.(none)> 4800Date: Mon Dec 7 15:31:53 2009 +1000 4801 4802 Allow texturing from GART 4803 4804 Unfortunately NV_CONTEXT_SURFACES_2D on most cards (probably only PCIE cards 4805 work actually, but that's not confirmed) rejects a GART DMA object, so the 4806 usefulness is a bit more limited than I'd hoped. 4807 4808commit 60a394222b410da8bb832935fc525132218b4d94 4809Author: Ben Skeggs <bskeggs@redhat.com> 4810Date: Thu Dec 3 21:14:00 2009 +1000 4811 4812 nv50: avoid touching 0x16b0 on 0x8597, it causes a DATA_ERROR from the GPU 4813 4814 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4815 4816commit 95fc663d5fb653fc0a50aa4d589bbf3b9c79e928 4817Author: Ben Skeggs <bskeggs@redhat.com> 4818Date: Thu Nov 26 13:10:45 2009 +1000 4819 4820 shadowfb: fix segv on fb resize 4821 4822 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4823 4824commit 1cf0cfa926dd78698ff8b8c2d776bcdaa6a867bd 4825Author: Ben Skeggs <bskeggs@redhat.com> 4826Date: Thu Nov 26 10:04:43 2009 +1000 4827 4828 kms: zfill fb if we have no accel to do copy, better than random garbage 4829 4830commit 92578fb4db0feb549bea82d0874ba0e39a2b1ae2 4831Author: Francisco Jerez <currojerez@riseup.net> 4832Date: Thu Nov 5 18:30:28 2009 +0100 4833 4834 nv10/exa: Rename VIEWPORT_SCALE to VIEWPORT_TRANSLATE. 4835 4836 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4837 4838commit 9de0d97bd2fc2ee8800d48b5340a3d495525ad3e 4839Author: Francisco Jerez <currojerez@riseup.net> 4840Date: Thu Nov 5 13:29:09 2009 +0100 4841 4842 nv04-nv40/exa: Match the blob behavior more closely on PrepareCopy. 4843 4844 Fix a somewhat indeterministic corruption problem on nv17 when there 4845 is stuff going on the other fifos (e.g. gallium but I've also 4846 reproduced it with an app just SIFM-ing memory around): in some cases 4847 it made the blits the X server had scheduled fail corrupting the 4848 nearby screen areas. 4849 4850 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4851 Reviewed-by: Ben Skeggs <bskeggs@redhat.com> 4852 4853commit 16ef9ff7e394a693fc74764d8bc2630e784947f3 4854Author: Francisco Jerez <currojerez@riseup.net> 4855Date: Thu Nov 5 03:28:00 2009 +0100 4856 4857 nv10/exa: Spring-cleaning 4858 4859 * Kill the A8+A8 hack. Recent enough X servers (>=1.7) fall back to 4860 ARGB glyphs for drivers not supporting A8 render targets. 4861 4862 * Kill all the global state. It doesn't matter a lot yet but it might 4863 if we get multicard working at some point. 4864 4865 * Other random clean-ups with no functional changes. 4866 4867 Some numbers from x11perf -aa10text -aa24text -comppixwin10 -comppixwin500: 4868 4869 * Before, with A glyphs: 4870 12000000 trep @ 0.0025 msec (394000.0/sec): Char in 80-char aa line (Charter 10) 4871 3200000 trep @ 0.0119 msec ( 84300.0/sec): Char in 30-char aa line (Charter 24) 4872 8000000 trep @ 0.0036 msec (280000.0/sec): Composite 10x10 from pixmap to window 4873 60000 trep @ 0.4813 msec ( 2080.0/sec): Composite 500x500 from pixmap to window 4874 4875 * After, ARGB glyphs: 4876 20000000 trep @ 0.0015 msec (649000.0/sec): Char in 80-char aa line (Charter 10) 4877 4800000 trep @ 0.0057 msec (175000.0/sec): Char in 30-char aa line (Charter 24) 4878 8000000 trep @ 0.0036 msec (280000.0/sec): Composite 10x10 from pixmap to window 4879 60000 trep @ 0.4813 msec ( 2080.0/sec): Composite 500x500 from pixmap to window 4880 4881 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4882 Tested-by: Pekka Paalanen <pq@iki.fi> 4883 4884commit e1c2efd7e7703f5860e5fe99e0413e3be10576d4 4885Author: Ben Skeggs <bskeggs@redhat.com> 4886Date: Thu Nov 5 13:04:17 2009 +1000 4887 4888 kms: don't update drmmode_output->mode_output when vtSema is FALSE 4889 4890 Fixes fast user switching issues. 4891 4892 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4893 4894commit aed811e71b544dccfe84671f962503342acb75ab 4895Author: Ben Skeggs <bskeggs@redhat.com> 4896Date: Wed Nov 4 18:03:12 2009 +1000 4897 4898 exa/nv10: handle reloc failures 4899 4900commit 5315034b7d46980a3527c814526857aed3bc98f7 4901Author: Ben Skeggs <skeggsb@beleth.(none)> 4902Date: Wed Nov 4 16:52:02 2009 +1000 4903 4904 xv/nv04: handle reloc failures + fail on bad surface format 4905 4906commit 99b1bf3d3e6b8c8ef2aa4aae3e33f3908cd00dab 4907Author: Ben Skeggs <skeggsb@beleth.(none)> 4908Date: Wed Nov 4 16:46:35 2009 +1000 4909 4910 xv/nv40: don't even try with unknown surface format 4911 4912commit c1447574a025416f92f8dec2c361859c3945db92 4913Author: Ben Skeggs <skeggsb@beleth.(none)> 4914Date: Wed Nov 4 16:46:18 2009 +1000 4915 4916 xv/nv40: handle reloc failures 4917 4918commit 6ca14ba77104542a2915af8dca56236646be139a 4919Author: Ben Skeggs <skeggsb@beleth.(none)> 4920Date: Wed Nov 4 16:41:58 2009 +1000 4921 4922 xv/nv30: don't even try with an unknown surface format.. 4923 4924commit 53ef7be58a2c46b2b5ffe912dcd408d74705ccbf 4925Author: Ben Skeggs <skeggsb@beleth.(none)> 4926Date: Wed Nov 4 16:41:44 2009 +1000 4927 4928 xv/nv30: handle reloc failures 4929 4930commit 6facc0f765c1130aeb19ddfb76cbaaabaecf3f4a 4931Author: Ben Skeggs <skeggsb@beleth.(none)> 4932Date: Wed Nov 4 16:36:09 2009 +1000 4933 4934 exa/nv40: handle reloc failures 4935 4936commit a97501a4e64d690be4232b01f9a3663fc2338c8a 4937Author: Ben Skeggs <skeggsb@beleth.(none)> 4938Date: Wed Nov 4 16:31:56 2009 +1000 4939 4940 exa/nv30: handle reloc failures 4941 4942commit 222d13a03b41eb610a05063f81f0c47f57e6098e 4943Author: Ben Skeggs <skeggsb@beleth.(none)> 4944Date: Wed Nov 4 16:02:50 2009 +1000 4945 4946 exa/nv04: handle reloc failures 4947 4948commit bd8aa7515f69c412e8f379777c49d59364df32fe 4949Author: Ben Skeggs <bskeggs@redhat.com> 4950Date: Wed Oct 28 12:59:59 2009 +1000 4951 4952 xv: handle reloc failures 4953 4954commit 0214cb8b25a6959573bfc183b259b435f0a728bd 4955Author: Ben Skeggs <bskeggs@redhat.com> 4956Date: Wed Oct 28 12:55:25 2009 +1000 4957 4958 xv/nv50: handle reloc failures 4959 4960commit e84e98d7f9260006a8b16a5785e4d2926d2370d4 4961Author: Ben Skeggs <bskeggs@redhat.com> 4962Date: Wed Oct 28 12:47:49 2009 +1000 4963 4964 exa/nv50: handle reloc failures 4965 4966commit 62c5c875e4c0812815be48f74bdef25d9f046515 4967Author: Ben Skeggs <bskeggs@redhat.com> 4968Date: Wed Oct 28 12:30:24 2009 +1000 4969 4970 exa: handle reloc failures 4971 4972commit c839f6098451aa59c7cb1fd7819e17a966e8ace7 4973Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4974Date: Sun Nov 1 22:16:50 2009 +0100 4975 4976 nv30/exa: support more 16bpp formats 4977 4978 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 4979 4980commit 1d93e207db6e5a58b702c1812feaeb6b7252bc70 4981Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4982Date: Sat Oct 31 20:24:52 2009 +0100 4983 4984 nv/exa: fix 15/16 bits solid fill 4985 4986 after this change nouveau passes all fill and blend tests of rendercheck 4987 (before: fill - 108/120, blend - 3323868/3569150) 4988 tested on NV34 4989 4990 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 4991 4992commit df5f17e59a7f42781b388074798d26f7981b2296 4993Author: Arthur HUILLET <arthur.huillet@free.fr> 4994Date: Mon Nov 2 15:56:56 2009 +0100 4995 4996 nv10exa: improve codestyle 4997 4998 Signed-off-by: Arthur HUILLET <arthur.huillet@free.fr> 4999 5000commit 5587f40c1b8af7d178f9a68d0f1fecdfc0ca9749 5001Author: Ben Skeggs <bskeggs@redhat.com> 5002Date: Fri Oct 30 14:01:09 2009 +1000 5003 5004 exa: force the use of sysmem pixmaps on low-mem cards 5005 5006 Very similar effect to forcing MigrationHeuristic "greedy" on classic 5007 EXA. Far better than the migration ping-pong that'd occur otherwise 5008 5009 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5010 5011commit 718a41b9a2b5649ac37c18f456b94eaf99584598 5012Author: Ben Skeggs <bskeggs@redhat.com> 5013Date: Thu Oct 22 12:35:32 2009 +1000 5014 5015 nv50: NVA8's 3D object class is 0x8597 5016 5017commit 7494b18bf4061fb960a2126c745721161baddd01 5018Author: Francisco Jerez <currojerez@riseup.net> 5019Date: Sun Oct 18 19:45:02 2009 +0200 5020 5021 nv50/crtc: Don't perform the LUT expansion twice. 5022 5023 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5024 5025commit b161a7f7fa81b6d499c91c17f988a38ed537ed35 5026Author: Francisco Jerez <currojerez@riseup.net> 5027Date: Sun Oct 18 19:41:11 2009 +0200 5028 5029 nv04-nv40/crtc: Don't perform the LUT expansion twice. 5030 5031 Fixes bug 24595. 5032 5033 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5034 5035commit 9cbc139176ae991150bd9ddf66b61db471b391f2 5036Author: Francisco Jerez <currojerez@riseup.net> 5037Date: Sun Oct 11 23:42:01 2009 +0200 5038 5039 Partially revert "kms: always set gamma on modeset" 5040 5041 6c8d3e39b72abe897b08d9e90cae85e121863d2c breaks gamma setting with 5042 servers older than 1.7. Keep the call to xf86HandleColormaps even with 5043 KMS enabled, as it's a no-op in the cases we don't need it. 5044 5045 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5046 5047commit cef4b61b4d0cf096428d89eff65a78fd16f612d5 5048Author: Francisco Jerez <currojerez@riseup.net> 5049Date: Sun Oct 11 20:23:45 2009 +0200 5050 5051 Fix NVLoadPalette for 15/16 bit depth. 5052 5053 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5054 5055commit cc4f7a733e3504260437d06091490fcb8a4c8063 5056Author: Francisco Jerez <currojerez@riseup.net> 5057Date: Sun Oct 11 20:31:11 2009 +0200 5058 5059 Remove an useless call to NVLeaveVT from NVCloseScreen. 5060 5061 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5062 5063commit 5a4afade51fe5fd149f8726fc243fbb69a660bf3 5064Author: Francisco Jerez <currojerez@riseup.net> 5065Date: Thu Oct 8 03:33:34 2009 +0200 5066 5067 nv10/exa: Replace "celcius" with "celsius". 5068 5069 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5070 Tested-by: Pekka Paalanen <pq@iki.fi> 5071 5072commit 2e744325827d702b564c5d6becaf65f3ad164761 5073Author: Francisco Jerez <currojerez@riseup.net> 5074Date: Sun Oct 11 17:40:56 2009 +0200 5075 5076 nv10/exa: Allow component-alpha masks. 5077 5078 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5079 Tested-by: Pekka Paalanen <pq@iki.fi> 5080 5081commit c3bb746ab6b371e843e1754a919dd25fa7b96b19 5082Author: Francisco Jerez <currojerez@riseup.net> 5083Date: Sun Oct 11 17:38:44 2009 +0200 5084 5085 nv10/exa: Fix PictOpAtopReverse for destination pixmaps with no alpha channel. 5086 5087 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5088 Tested-by: Pekka Paalanen <pq@iki.fi> 5089 5090commit f0a3d9f59817ebf2b9606097785f0ad1ae45da12 5091Author: Francisco Jerez <currojerez@riseup.net> 5092Date: Sun Oct 11 16:15:30 2009 +0200 5093 5094 nv10/exa: Refactor the reg combiner/alpha blending code. 5095 5096 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5097 Tested-by: Pekka Paalanen <pq@iki.fi> 5098 5099commit 3f020b0bf2e8d2bc54eceda771829c4b2535688a 5100Author: Ben Skeggs <bskeggs@redhat.com> 5101Date: Thu Oct 8 16:19:16 2009 +1000 5102 5103 kms: reload cursor on modeset, needed on rotation (rh#524632) 5104 5105commit 38d7520986078fd01c19957a75ebfd9d91665225 5106Author: Ben Skeggs <bskeggs@redhat.com> 5107Date: Thu Oct 8 11:34:20 2009 +1000 5108 5109 kms: switch to CP+MPH instead of GetScratchPixmapHeader 5110 5111commit 6c8d3e39b72abe897b08d9e90cae85e121863d2c 5112Author: Ben Skeggs <bskeggs@redhat.com> 5113Date: Wed Oct 7 15:57:49 2009 +1000 5114 5115 kms: always set gamma on modeset 5116 5117 fixes issues vt-switching between console and X of different depths. 5118 5119commit b13c0509be63f27a4a9c918112d0a0fc84ccce10 5120Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 5121Date: Wed Sep 16 18:17:30 2009 +0200 5122 5123 nv50/exa: use A8 RT format for PICT_a8 5124 5125 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5126 5127commit 7a63e4c61cd5d082caf074702cde79e1a66354b0 5128Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 5129Date: Tue Oct 6 11:58:39 2009 +0200 5130 5131 nv50/exa: cleanup shader settings 5132 5133 Since we only pass through 2D coordinates in the VP, 5134 no need to occupy extra output registers for HPOS z 5135 and, which can be coded as 0, 1 into VP_RESULT_MAP. 5136 5137 We don't have to fetch all 4 attribute components if 5138 we only read 2 in the VPs. 5139 5140 Using 0x1, 0x1 as terminator instructions looks odd, 5141 just make the last ones that do something long and 5142 set the exit bit. 5143 5144 Setup VP_RESULT_MAP and INTERPOLANT_CTRL correctly. 5145 5146 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5147 5148commit 60818bdeb975a9f469d3ae890932d4de1cbb59f9 5149Author: Ben Skeggs <bskeggs@redhat.com> 5150Date: Wed Oct 7 10:49:00 2009 +1000 5151 5152 kms: don't copy fbcon if depths don't match 5153 5154commit dd8339fc4e18fa4fd409f2997db741be209e852d 5155Author: Ben Skeggs <bskeggs@redhat.com> 5156Date: Tue Sep 29 10:52:53 2009 +1000 5157 5158 Pass NULL fb pointer to fbScreenInit when using EXA 5159 5160 Fixes 1.7 xserver getting very confused... 5161 5162commit 6dbdc80016c2a81c390d77db613833cd4d15c617 5163Author: Ben Skeggs <bskeggs@redhat.com> 5164Date: Tue Sep 29 09:00:59 2009 +1000 5165 5166 exa: make tiled scanout a separate condition from wfb being used 5167 5168commit 96d025232e292a8b1aebd54eaad3a21dbf6e2f77 5169Author: Maarten Maathuis <madman2003@gmail.com> 5170Date: Fri Sep 25 19:50:11 2009 +0200 5171 5172 nv40/exa: fallback on special case xrgb non-repeat textures 5173 5174commit ed05bd6dab4fdd1289947154df02cd21c0839574 5175Author: Maarten Maathuis <madman2003@gmail.com> 5176Date: Fri Sep 25 19:49:14 2009 +0200 5177 5178 nv30/exa: fallback on special case xrgb non-repeat textures 5179 5180commit dd7b86cb5351a60f21eee9cf81ae0ef61cf45f13 5181Author: Maarten Maathuis <madman2003@gmail.com> 5182Date: Fri Sep 25 19:39:24 2009 +0200 5183 5184 exa: fallback on src pictures without drawable 5185 5186commit de0b095a1deaa1e53e1f555a6eb537482c488638 5187Author: Maarten Maathuis <madman2003@gmail.com> 5188Date: Thu Sep 24 19:21:59 2009 +0200 5189 5190 nv50/exa: avoid fallback on xrgb repeat none when dst has no alpha 5191 5192 - This should fix resizing slowness in evince amongst other things. 5193 5194commit df94ebdbcd89c1678ac243217e7f5b20cbbe857c 5195Author: Ben Skeggs <bskeggs@redhat.com> 5196Date: Mon Sep 21 08:37:27 2009 +1000 5197 5198 kms: use displayWidth for pitch calc in transition, not virtualX (rh#523281) 5199 5200commit 5a6c3c427796f7f3dac0f597a320b09feb25ffc8 5201Author: Ben Skeggs <bskeggs@redhat.com> 5202Date: Wed Sep 16 15:13:08 2009 +1000 5203 5204 dri2: call CreatePixmap rather than yet another custom-built one 5205 5206commit 95086de507df7c5676c7ee712139ac4c91c9f6d2 5207Author: Pekka Paalanen <pq@iki.fi> 5208Date: Tue Sep 15 20:31:33 2009 +0300 5209 5210 Partially revert "kms: wait for fbcon to be copied before continuing" 5211 5212 This partially reverts commit 6c045fc44783454180d7b3d00b5f25436bd5544e. 5213 5214 The nv_driver.c hunk of the above patch breaks the build on at least git 5215 and 1.6.3.901 xorg-servers due to: 5216 nv_driver.c:745: error: 'struct _ScrnInfoRec' has no member named 5217 'canDoBGNoneRoot' 5218 5219 Signed-off-by: Pekka Paalanen <pq@iki.fi> 5220 5221commit 6c045fc44783454180d7b3d00b5f25436bd5544e 5222Author: Ben Skeggs <bskeggs@redhat.com> 5223Date: Mon Sep 14 13:04:12 2009 +1000 5224 5225 kms: wait for fbcon to be copied before continuing 5226 5227commit 22971d5545a2cd03e5c0b5d5d16fb85d7fff2aff 5228Author: Ben Skeggs <bskeggs@redhat.com> 5229Date: Thu Sep 10 16:05:15 2009 +1000 5230 5231 dri2: switch to bo_new_tile() 5232 5233commit 806eaf6b0b36cb05ca9d883ff4572629812a1d48 5234Author: Ben Skeggs <bskeggs@redhat.com> 5235Date: Thu Sep 10 12:00:44 2009 +1000 5236 5237 kms: rework fbcon transition 5238 5239 This does 2 things. Most importantly, it avoids a situation where we get 5240 multiple GEM handles for a single object, making it possible to confuse 5241 the kernel if both appear in the same push buffer. 5242 5243 Secondly, it moves the transition to only on X startup, and not on every 5244 modeset etc. 5245 5246commit f90edc168c4a18b20750043d33c193bdc1b89156 5247Author: Ben Skeggs <bskeggs@redhat.com> 5248Date: Wed Sep 9 09:23:58 2009 +1000 5249 5250 Revert "nv50: use 0x7000 everywhere for now, until we can fix mixed mode alignment" 5251 5252 This reverts commit c80f125a97003c2d0db77f54e22d9de447a06f63. 5253 5254 This was not supposed to sneak in.. 5255 5256commit ff6bdb14ac13168c1a4b7866784e4833a1162dbc 5257Author: Ben Skeggs <bskeggs@redhat.com> 5258Date: Wed Sep 9 09:19:42 2009 +1000 5259 5260 Revert "kms: fetch active encoder during init if there is one" 5261 5262 This reverts commit 4f66fc6e871969448eba25817bfb383f2fdd4b34. 5263 5264 See reason in previous commit. 5265 5266commit 9708e50e820970d526b084e0ab736c1c7a4f50c0 5267Author: Ben Skeggs <bskeggs@redhat.com> 5268Date: Wed Sep 9 09:18:48 2009 +1000 5269 5270 Revert "kms: update encoder config during detect" 5271 5272 This reverts commit 25610704d4b16293f5bc24d5ad18cc76e20896d2. 5273 5274 Very bad thinko, drm_mode_get_connector.encoder_id is *not* the same thing 5275 as our DRM's nouveau_connector.detected_encoder. Need to find a better 5276 way of achieving this. 5277 5278commit c80f125a97003c2d0db77f54e22d9de447a06f63 5279Author: Ben Skeggs <bskeggs@redhat.com> 5280Date: Tue Sep 8 16:20:33 2009 +1000 5281 5282 nv50: use 0x7000 everywhere for now, until we can fix mixed mode alignment 5283 5284commit 25610704d4b16293f5bc24d5ad18cc76e20896d2 5285Author: Ben Skeggs <bskeggs@redhat.com> 5286Date: Tue Sep 8 11:33:51 2009 +1000 5287 5288 kms: update encoder config during detect 5289 5290commit 4f66fc6e871969448eba25817bfb383f2fdd4b34 5291Author: Ben Skeggs <bskeggs@redhat.com> 5292Date: Tue Sep 8 11:26:29 2009 +1000 5293 5294 kms: fetch active encoder during init if there is one 5295 5296commit 2b5ec6ad708164eb9b2df00f453ea84f4898153a 5297Author: Ben Skeggs <bskeggs@redhat.com> 5298Date: Fri Sep 4 10:35:57 2009 +1000 5299 5300 kms: only call drmModeSetCursor when cursor is visible 5301 5302 It seems we get load_cursor_argb() calls even when the cursor is hidden, 5303 and the drmModeSetCursor() call would then decide a cursor is available 5304 and show it on outputs where the cursor shouldn't have been actuve. 5305 5306commit 569a17a98d03d965f9500c37c0cb14e0fb462311 5307Author: Francisco Jerez <currojerez@riseup.net> 5308Date: Thu Aug 20 18:44:38 2009 +0200 5309 5310 kms: No need to upload gamma on set_mode_major in older X servers. 5311 5312 Fixes build for CRTC ABI < 3. 5313 5314 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5315 5316commit 32fc8a9a3104b38fe89427ffa60d21dad1572c15 5317Author: Francisco Jerez <currojerez@riseup.net> 5318Date: Thu Aug 20 18:43:58 2009 +0200 5319 5320 kms: Fix <nv11 hardware cursor. 5321 5322 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5323 5324commit e4e6f863b626d77934935e13714c6cbfd014d916 5325Author: Maarten Maathuis <madman2003@gmail.com> 5326Date: Thu Aug 20 12:04:26 2009 +0200 5327 5328 kms: actually call kernel when loading cursor image 5329 5330 - In the past we depended on getting a cursor show to call the kernel and actually make it visible. 5331 5332commit 95f09df23efd0a36d29cb4810faa659f839194f0 5333Author: Ben Skeggs <bskeggs@redhat.com> 5334Date: Thu Aug 20 15:48:26 2009 +1000 5335 5336 kms: prevent X from hiding cursor before updating image 5337 5338 This wasn't noticeable when everything was being done in userspace. However, 5339 with KMS there's more of a delay between the hide<->update<->show steps 5340 and this produces a noticeable flicker. 5341 5342 If there's any good reason we shouldn't be updating the cursor image while 5343 it's being shown, we'll handle it transparently in the DRM as required. 5344 5345commit fe2b5e6c6f81f4c4a76f5e4c5816812459872af3 5346Author: Maarten Maathuis <madman2003@gmail.com> 5347Date: Wed Aug 19 22:06:42 2009 +0200 5348 5349 kms: fix gamma 5350 5351 - crtc->active is needed in order to set the gamma manually 5352 - the initial gamma must be set by us 5353 5354commit 9d270f65ee85dedc6bf9cd9cf24e3d8df062f670 5355Author: Maarten Maathuis <madman2003@gmail.com> 5356Date: Tue Aug 18 21:59:10 2009 +0200 5357 5358 exa: update to latest CreatePixmap2 + do not align width to 64 5359 5360 - Only the pitch needs to be aligned to 64. 5361 5362commit b50110d00e32396e186168271adbb88ace8ba986 5363Author: Francisco Jerez <currojerez@riseup.net> 5364Date: Mon Aug 17 16:54:48 2009 +0200 5365 5366 kms: Some TV-out fixes. 5367 5368commit 523feba8fdc6d285929ac72be0a6e037019f019e 5369Author: Maarten Maathuis <madman2003@gmail.com> 5370Date: Mon Aug 17 00:09:42 2009 +0200 5371 5372 wfb: more correct and more error tolerant 5373 5374 - In a strange world it is possible that a high index is tiled, and a lower index empty. 5375 - This should avoid that loophole and also emit a warning when we run out of indices. 5376 5377commit 3db3e5350e2f6dea50cd2bce0c5fb0437fe08dcf 5378Author: Francisco Jerez <currojerez@riseup.net> 5379Date: Wed Aug 12 02:18:27 2009 +0200 5380 5381 kms: Implement output->get_property when RandR1.3 is available. 5382 5383 This allows getting updated values when the kernel is modifying them 5384 behind our back. 5385 5386commit ba9817b88d31364a5d43d945359e357535aeb09a 5387Author: Francisco Jerez <currojerez@riseup.net> 5388Date: Wed Aug 12 02:18:26 2009 +0200 5389 5390 kms: Don't hardcode the output properties 5391 5392 Replicate any properties the kernel exposes. Mostly taken from the 5393 intel DDX. 5394 5395commit 92f271020a1b9486bd5890a00649aed3678ead62 5396Author: Ben Skeggs <bskeggs@redhat.com> 5397Date: Thu Aug 13 15:40:52 2009 +1000 5398 5399 nv50/xv: provide SYNC_TO_VBLANK attribute 5400 5401commit ada1d36d7097c389c8e21707d36b3cdd6378db94 5402Author: Ben Skeggs <bskeggs@redhat.com> 5403Date: Thu Aug 13 15:38:14 2009 +1000 5404 5405 xv: disable overlay with kms for the moment 5406 5407commit 85b1c86983a39cb921bd68a8601785975c948e2d 5408Author: Ben Skeggs <bskeggs@redhat.com> 5409Date: Mon Aug 10 11:42:15 2009 +1000 5410 5411 dri2: call exaMoveInPixmap() before accessing driver pixmap private 5412 5413commit 292f46a0a0e031fc8a4256aa1eed91e3b2167acd 5414Author: Ben Skeggs <bskeggs@redhat.com> 5415Date: Mon Aug 10 11:36:56 2009 +1000 5416 5417 xv: call exaMoveInPixmap() for driver pixmaps 5418 5419commit 0210fbf01d61fb0541770d541b71396537bcb728 5420Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 5421Date: Sun Aug 9 14:53:28 2009 +0200 5422 5423 nv50/exa: fix pointer increment in UploadSIFC 5424 5425 We always output 'size' dwords to the ring buffer, so the pointer 5426 should be advanced accordingly, independent of cpp. 5427 5428commit 1ac7d83c1e46a164c4a3a3688de1bcde9e5a58e0 5429Author: Maarten Maathuis <madman2003@gmail.com> 5430Date: Sat Aug 8 19:41:02 2009 +0200 5431 5432 wfb: don't default to linear when encountering a pixmap without bo 5433 5434 - With exa "mixed" there are actually very valid cases where this happens. 5435 - This fixes certain types of corruptions, like the yellow and black in a gimp window. 5436 5437commit 64790e950e7f46e6f4f5b8486f8d0bd929cb5504 5438Author: Maarten Maathuis <madman2003@gmail.com> 5439Date: Fri Aug 7 16:12:41 2009 +0200 5440 5441 Revert "nv50: enforce certain allignments on a tiled frontbuffer, as well as overallocate it a bit" 5442 5443 This reverts commit dd72640c8133ee78304f875023134f214d94a630. 5444 5445 Moved to the kernel. 5446 5447commit dd72640c8133ee78304f875023134f214d94a630 5448Author: Maarten Maathuis <madman2003@gmail.com> 5449Date: Fri Aug 7 11:56:29 2009 +0200 5450 5451 nv50: enforce certain allignments on a tiled frontbuffer, as well as overallocate it a bit 5452 5453 - There is reason to believe that with driver modifications (part of) this won't be needed. 5454 - Until then this should fix "tiles" appearing at the upper left or lower right corner. 5455 5456commit bfbe4d33679cc25939db0da729d89ba2a4295764 5457Author: Ben Skeggs <bskeggs@redhat.com> 5458Date: Fri Aug 7 16:02:27 2009 +1000 5459 5460 exa: default to enabling driver pixmaps if everything else is new enough 5461 5462commit 30ddd08bb2739514edf6d6e137f533b34a4369d2 5463Author: Ben Skeggs <bskeggs@redhat.com> 5464Date: Fri Aug 7 16:01:27 2009 +1000 5465 5466 exa: turn on new exa migration mode for driver pixmaps 5467 5468commit 712064e6188d65e2c7d85078b95a0292edcad0e7 5469Author: Ben Skeggs <bskeggs@redhat.com> 5470Date: Wed Aug 5 14:00:51 2009 +1000 5471 5472 nv04-nv40/exa: set cliprect to drawing area for IFC 5473 5474commit 7f63da83d8622176114ecd55048736fecd703322 5475Author: Ben Skeggs <bskeggs@redhat.com> 5476Date: Wed Aug 5 12:04:46 2009 +1000 5477 5478 dri: close before dropping master 5479 5480commit 0cc44b713ec07dfb56a4b4a6d7ae1c1a75c74971 5481Author: Ben Skeggs <bskeggs@redhat.com> 5482Date: Wed Aug 5 11:57:01 2009 +1000 5483 5484 Set/Drop master in Enter/LeaveVT 5485 5486commit 087e9f61b81ea90a1591d8b43e29bda091156405 5487Author: Ben Skeggs <bskeggs@redhat.com> 5488Date: Wed Aug 5 11:51:54 2009 +1000 5489 5490 dri: close before taking down accel 5491 5492 Fixes "failed to destroy server context" errors on exit. 5493 5494commit 96ac8c5a9473d81b737afa116f4fd388e3152f50 5495Author: Ben Skeggs <bskeggs@redhat.com> 5496Date: Wed Aug 5 11:36:39 2009 +1000 5497 5498 nv04-nv40: deal with framebuffer resize in !kms_enable mode 5499 5500commit b8ea3b41b0540635585bc68334691414f7cff53d 5501Author: Ben Skeggs <bskeggs@redhat.com> 5502Date: Wed Aug 5 11:30:51 2009 +1000 5503 5504 nv50: deal with framebuffer resize for !kms_enable 5505 5506commit d0dcc89825acb4b480f3849d8896b17a80df02f4 5507Author: Ben Skeggs <bskeggs@redhat.com> 5508Date: Wed Aug 5 11:28:45 2009 +1000 5509 5510 No wfb without KMS 5511 5512commit 2c7502680e1ab3a4ea4869a78d0317746084dd92 5513Author: Ben Skeggs <bskeggs@redhat.com> 5514Date: Wed Aug 5 08:55:09 2009 +1000 5515 5516 dri2: fix CopyRegion() 5517 5518commit 2a4c93a064353cf61c30dd1e96f93203895beb15 5519Author: Ben Skeggs <bskeggs@redhat.com> 5520Date: Wed Aug 5 08:36:26 2009 +1000 5521 5522 dri2: merge DRI2BufferRec and nouveau_dri2_buffer into a single struct 5523 5524commit 4f386f983fde197e9136ffe6fbf941a343996897 5525Author: Ben Skeggs <bskeggs@redhat.com> 5526Date: Wed Aug 5 08:20:46 2009 +1000 5527 5528 dri2: remove support for < version 3 5529 5530commit 0f691257e6d2c3662f9c76adc3287f5320a8822d 5531Author: Ben Skeggs <bskeggs@redhat.com> 5532Date: Mon Aug 3 11:30:46 2009 +1000 5533 5534 zfill scanout buffer, not offscreen 5535 5536commit d893600356b3480d3df536a04e9860bfada5a159 5537Author: Maarten Maathuis <madman2003@gmail.com> 5538Date: Sun Aug 2 19:43:58 2009 +0200 5539 5540 kms: remove fb in NVCloseScreen otherwise server regeneration fails 5541 5542 - The bo was deleted, but fb_id remained non-zero, so it never picked up the new one. 5543 5544commit ac2a644773e5b160b6794a252b85c0bf8acc5169 5545Author: Ben Skeggs <bskeggs@redhat.com> 5546Date: Sun Aug 2 20:10:35 2009 +1000 5547 5548 xv: really fix offscreen pixmap calculation 5549 5550 sleep.. good.. 5551 5552commit 60635e5073e69c6f690dc3c876772b5478013783 5553Author: Ben Skeggs <bskeggs@redhat.com> 5554Date: Sun Aug 2 19:42:17 2009 +1000 5555 5556 xv: fix check for offscreen pixmaps 5557 5558commit 1ecd4358c851b3d7bebfb00f5f7ac3c7c151bc20 5559Author: Ben Skeggs <bskeggs@redhat.com> 5560Date: Fri Jul 31 15:30:08 2009 +1000 5561 5562 Recalculate displayWidth if we do a late NoAccel fallback 5563 5564 Fixes G80, where we'd have calculated the pitch for tiled scanout. 5565 5566commit 08ef8aaf2bd7b9565cc36679412b721499f9a367 5567Author: Ben Skeggs <bskeggs@redhat.com> 5568Date: Fri Jul 31 15:23:49 2009 +1000 5569 5570 Don't allocate offscreen memory or GART when using NoAccel 5571 5572commit 64a1515fab9764d0ada304426e7f0d7ec995b84e 5573Author: Ben Skeggs <bskeggs@redhat.com> 5574Date: Fri Jul 31 13:49:49 2009 +1000 5575 5576 Fix NoAccel/ShadowFB with fb resize 5577 5578commit e9034a2e8d8285cf45cd1410b9e8933991f82a2b 5579Author: Ben Skeggs <bskeggs@redhat.com> 5580Date: Fri Jul 31 13:29:11 2009 +1000 5581 5582 NoAccel + wfb == bad idea 5583 5584commit 69a40131b700a4fbc4de9432110045870de0806e 5585Author: Ben Skeggs <bskeggs@redhat.com> 5586Date: Fri Jul 31 13:28:02 2009 +1000 5587 5588 Fix up screen pixmap's devPrivate.ptr after resize 5589 5590commit 4ea65c594a1f10f586da2ca32e499de2ea0a2605 5591Author: Ben Skeggs <bskeggs@redhat.com> 5592Date: Fri Jul 31 13:25:45 2009 +1000 5593 5594 Point fb at the correct buffer.. 5595 5596commit c6b98608daec4162a7d23ce8c1d50a4a9c3ca3dc 5597Author: Ben Skeggs <bskeggs@redhat.com> 5598Date: Fri Jul 31 13:09:56 2009 +1000 5599 5600 Switch on can_resize for non-kms 5601 5602commit 4bb007ebb8e60c87c815f9c4ce63b8d1d46e8b75 5603Author: Ben Skeggs <bskeggs@redhat.com> 5604Date: Fri Jul 31 13:03:45 2009 +1000 5605 5606 Fall back to NoAccel if channel/object creation fails 5607 5608commit 641fdacbd1aeb9882caa30da6d568ff9a0bd78f5 5609Author: Ben Skeggs <bskeggs@redhat.com> 5610Date: Fri Jul 31 11:46:47 2009 +1000 5611 5612 nv50/exa: use scissored triangle for composite too 5613 5614commit c6c0ef1b5a837838a0fc2e8d1659b1b4d76d26b0 5615Author: Ben Skeggs <bskeggs@redhat.com> 5616Date: Fri Jul 31 11:23:04 2009 +1000 5617 5618 nv50/xv: enable sync-to-vblank 5619 5620commit b3d6861fa482a92807aadd9222ca2c8c605beaeb 5621Author: Maarten Maathuis <madman2003@gmail.com> 5622Date: Thu Jul 30 17:23:25 2009 +0200 5623 5624 nv50_xv: switch to a scissored triangle to avoid strange artifacts when vsync is enabled 5625 5626commit 9b37bc96d86882b7f9c355e92cbeff517090a98d 5627Author: Ben Skeggs <bskeggs@redhat.com> 5628Date: Thu Jul 30 19:24:19 2009 +1000 5629 5630 more cleanup 5631 5632commit d8c10eb14f8d6b5cad88a39a5da7104a403060cd 5633Author: Ben Skeggs <bskeggs@redhat.com> 5634Date: Thu Jul 30 10:17:38 2009 +1000 5635 5636 non-kms fb resize 5637 5638commit 3b1a861aa56f823e8d26f33b7139e290bf44b79d 5639Author: Ben Skeggs <bskeggs@redhat.com> 5640Date: Thu Jul 30 07:14:17 2009 +1000 5641 5642 free scanout buffer in NVUnmapMem() 5643 5644commit 4d20547df30d630b94b0cfc28dcf7ead564f7369 5645Author: Ben Skeggs <bskeggs@redhat.com> 5646Date: Tue Jul 28 18:14:03 2009 +1000 5647 5648 nv50: tile scanout buffer for "classic" exa if xserver new enough 5649 5650commit 03bc3a604e5c12829f81f2582374d37012da7f36 5651Author: Ben Skeggs <bskeggs@redhat.com> 5652Date: Tue Jul 28 11:45:51 2009 +1000 5653 5654 kms: only use rounded height for allocation 5655 5656 Fixes minor cursor corruption in some circumstances with driver pixmaps. 5657 5658commit e4fb3e7064df14b21a6ea34b919ccf2bf9fa0ca2 5659Author: Ben Skeggs <bskeggs@redhat.com> 5660Date: Tue Jul 28 11:27:09 2009 +1000 5661 5662 More fixing of pitches + use 0x7000 tile_flags for tiled 16bpp on nv50 5663 5664commit 97cca7630441876414da5dfabb9ad9f2b208e29d 5665Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 5666Date: Tue Jul 28 10:21:11 2009 +1000 5667 5668 kms: implement rotation support without driver pixmaps 5669 5670commit 786ff2994aa4f614b7cc9d466455eef183697d42 5671Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 5672Date: Tue Jul 28 09:43:00 2009 +1000 5673 5674 kms: simplify drmmode_is_rotate_pixmaps args 5675 5676commit ff62da668a468796e4001523958e73eb2060b7f2 5677Author: Ben Skeggs <bskeggs@redhat.com> 5678Date: Mon Jul 27 22:07:38 2009 +1000 5679 5680 dri1: dodgyness to "survive" a framebuffer resize (or rather, move) 5681 5682 This can never work well without a lot of work, which I'm not willing to 5683 put in for DRI1. This will at least let it keep sort-of working, any DRI1 5684 apps running when a resize event occurs will continue rendering into the 5685 old framebuffer. 5686 5687commit b77d580ebcc9b371153774010d29038645effffb 5688Author: Ben Skeggs <bskeggs@redhat.com> 5689Date: Mon Jul 27 21:43:25 2009 +1000 5690 5691 We already map offscreen and store the virtual, no need to keep doing it 5692 5693commit bdf2c9aee02a100b44c083347a2415c100bd2546 5694Author: Ben Skeggs <bskeggs@redhat.com> 5695Date: Mon Jul 27 21:35:19 2009 +1000 5696 5697 kms: implement framebuffer resize without driver pixmaps 5698 5699commit 595b1c74e52f16ef482be6f14e4a33b4649b8bfd 5700Author: Ben Skeggs <bskeggs@redhat.com> 5701Date: Mon Jul 27 07:44:41 2009 +1000 5702 5703 Fix build with 0.0.15 5704 5705commit 9b879b9b38809e7d206c9e78610836bdd9c2d09b 5706Author: Ben Skeggs <bskeggs@redhat.com> 5707Date: Mon Jul 27 21:09:42 2009 +1000 5708 5709 Cleanup 5710 5711commit 0336eb15ebc351ab6900b48972e12f5cc6abf1bb 5712Author: Ben Skeggs <bskeggs@redhat.com> 5713Date: Mon Jul 27 17:52:15 2009 +1000 5714 5715 Switch to using scanout buffer detached from EXA offscreen memory area 5716 5717commit 0403cf3698ecb9a290bb4b7e24d0deedc957ad2a 5718Author: Ben Skeggs <bskeggs@redhat.com> 5719Date: Mon Jul 27 17:45:29 2009 +1000 5720 5721 Allocate scanout buffer independently of EXA offscreen area 5722 5723 This is just wasted memory for the moment... 5724 5725commit f8ac9e35bd20391f923c5c5ccc509251ea23a4c5 5726Author: Ben Skeggs <bskeggs@redhat.com> 5727Date: Mon Jul 27 17:30:54 2009 +1000 5728 5729 Remove NoDRM mode 5730 5731commit e259925bbdcebe4c3d136f476fc54f426eea9261 5732Author: Ben Skeggs <bskeggs@redhat.com> 5733Date: Mon Jul 27 17:14:00 2009 +1000 5734 5735 xv: fix some badness in nv3x/nv4x textured video adaptors 5736 5737commit 3a10daca16752b52ec3187deb8b1c25d6c6fd641 5738Author: Ben Skeggs <bskeggs@redhat.com> 5739Date: Mon Jul 27 16:05:03 2009 +1000 5740 5741 rename pNv->FB to pNv->offscreen 5742 5743 Not strictly true right now, but it's about to be. 5744 5745commit 91bfda81982a77a79c2baee39929711b38b1ae6a 5746Author: Ben Skeggs <bskeggs@redhat.com> 5747Date: Mon Jul 27 11:46:51 2009 +1000 5748 5749 exa: allow acceleration to rotation bo 5750 5751commit d59aaa81590b52b6227b69028f08d8ab62505525 5752Author: Ben Skeggs <bskeggs@redhat.com> 5753Date: Mon Jul 27 11:02:44 2009 +1000 5754 5755 exa: use PixmapIsOffscreen hook for non-driver pixmaps path too 5756 5757commit c442376d4e9a8296760c1171fee5ca155534d011 5758Author: Ben Skeggs <bskeggs@redhat.com> 5759Date: Mon Jul 27 07:44:14 2009 +1000 5760 5761 Fix typo exposed by removal of NV_* card type defines from DRM header 5762 5763commit 15bfc676094d19e57711bbdff40edd5c8e8592d6 5764Author: Ben Skeggs <bskeggs@redhat.com> 5765Date: Mon Jul 27 07:40:20 2009 +1000 5766 5767 Warning fixes 5768 5769commit 6eb790b6113a999727895694d01910b83348647a 5770Author: Ben Skeggs <bskeggs@redhat.com> 5771Date: Fri Jul 24 13:54:49 2009 +1000 5772 5773 kms: keep rotate buffer pitch in crtc struct, rather than recalculating 5774 5775commit 25f29426293fcac2e7a17b986673b2874e7a7264 5776Author: Ben Skeggs <bskeggs@redhat.com> 5777Date: Fri Jul 24 13:18:22 2009 +1000 5778 5779 Wrap CreateScreenResources and set screen pixmap's BO there 5780 5781 Avoids reallocating pNv->FB yet again when we hit the resize hook. 5782 5783commit d1628dc9159343400f09f696b9c4ef9d0fe1acbf 5784Author: Maarten Maathuis <madman2003@gmail.com> 5785Date: Tue Jul 28 10:08:40 2009 +0200 5786 5787 nouveau: remove some more RAC bits 5788 5789 - The assumption is that RAC is dead anyway on post-libpciaccess xservers. 5790 5791commit 75fba5dfd2a00f3b8212d0e8af544273c14ee0c5 5792Author: Dave Airlie <airlied@redhat.com> 5793Date: Tue Jul 28 13:53:06 2009 +1000 5794 5795 nouveau: rip out resources code whats left at least 5796 5797commit 094e4e075f8e48ace534a6f011f95b6ebf1abc3b 5798Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 5799Date: Thu Jul 23 11:25:22 2009 +1000 5800 5801 kms: don't skip resize call if we don't have a backing bo for screen pixmap 5802 5803commit bff801941e23dfe3fb7449af5780ee477b10d092 5804Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 5805Date: Thu Jul 23 11:23:15 2009 +1000 5806 5807 Fix a DRM vs DDX confusion typo 5808 5809commit e9ebddae840789535acf56ac2281b3fde3cfee96 5810Author: Maarten Maathuis <madman2003@gmail.com> 5811Date: Wed Jul 22 12:51:08 2009 +0200 5812 5813 Fix build without AM_SILENT_RULES. 5814 5815commit f70287cf7cacc03d8390376519165d50a325cec5 5816Author: Peter Henriksson <peter.henriksson@gmail.com> 5817Date: Mon Jul 20 23:56:13 2009 +0200 5818 5819 Add support for AM_SILENT_RULES 5820 5821 Make use of the AM_SILENT_RULES functionality in automake 1.11 5822 Defaults to quiet output. Verbose output can be enabled with 5823 "./configure --disable-silent-rules" or "make V=1" 5824 5825 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5826 5827commit 69ba1095a9aef29ce8fdb71ecf48f15cb13202c2 5828Author: Ben Skeggs <bskeggs@redhat.com> 5829Date: Tue Jul 21 16:29:13 2009 +1000 5830 5831 nv50/xv: attempt sync-to-vblank if driver pixmaps are being used 5832 5833commit 994c37927289de7a0ab6e951892f0d66880a6210 5834Author: Ben Skeggs <bskeggs@redhat.com> 5835Date: Tue Jul 21 14:05:59 2009 +1000 5836 5837 nv50: fix a number of tiled buffer sizing issues in kms paths 5838 5839commit 9c1eefd221366b9f5efbd30e4a28fba244347d4f 5840Author: Ben Skeggs <bskeggs@redhat.com> 5841Date: Tue Jul 21 13:43:14 2009 +1000 5842 5843 Don't set driver pixmaps enabled with NoAccel 5844 5845commit 52882e82708f79ef198dde51f9bbebee752154be 5846Author: Ben Skeggs <bskeggs@redhat.com> 5847Date: Tue Jul 21 13:19:07 2009 +1000 5848 5849 exa: fix nouveau_exa_pixmap_is_onscreen() for driver pixmaps 5850 5851commit 9fb28d107ad9fcd6a4bbb0a35c1fc0f719d531ae 5852Author: Ben Skeggs <bskeggs@redhat.com> 5853Date: Tue Jul 21 12:52:35 2009 +1000 5854 5855 exa: remove ModifyPixmapHeader hook, it's not required 5856 5857commit 574fa36c73a1b04b67289762a10b5bbda7be083f 5858Author: Ben Skeggs <bskeggs@redhat.com> 5859Date: Tue Jul 21 12:51:26 2009 +1000 5860 5861 exa: only support driver pixmaps on servers with CreatePixmap2 5862 5863commit 365ab69499f466aeebac1437578609a7790f5dc4 5864Author: Ben Skeggs <bskeggs@redhat.com> 5865Date: Fri Jul 17 13:41:07 2009 +1000 5866 5867 remove explicit pin of pNv->FB on creation 5868 5869commit a757db1aadfd7a7d206dfc7968da8647dd91e65f 5870Author: Ben Skeggs <bskeggs@redhat.com> 5871Date: Fri Jul 17 13:38:52 2009 +1000 5872 5873 no need to pin GART bo 5874 5875commit 474ebdeea1266959fddeabf04b24e04aaab8449e 5876Author: Ben Skeggs <bskeggs@redhat.com> 5877Date: Fri Jul 17 13:37:29 2009 +1000 5878 5879 remove pinned creation from nodrm path 5880 5881commit b9333d5d34386d88b58d2267b388bbcc89b73f47 5882Author: Ben Skeggs <bskeggs@redhat.com> 5883Date: Fri Jul 17 13:35:20 2009 +1000 5884 5885 nv04-nv40: explicitly pin scanout buffer when required 5886 5887commit 53b5b68cd168b15c377f83e5e068cee92361f51d 5888Author: Ben Skeggs <bskeggs@redhat.com> 5889Date: Fri Jul 17 13:31:13 2009 +1000 5890 5891 nv50: no need to pin rotate scanout buffers on creation now 5892 5893commit a57a9bb825e04bbe4aa94d9ac1149e2fca6525a4 5894Author: Ben Skeggs <bskeggs@redhat.com> 5895Date: Fri Jul 17 13:28:36 2009 +1000 5896 5897 exa: only allow driver pixmaps when KMS enabled 5898 5899 The pre-KMS code can't deal with driver pixmaps in some circumstances, 5900 and rather than leave it there for people to accidently trip on, 5901 remove support. 5902 5903 The other option would have been to fix the UMS code, but, who really 5904 cares? 5905 5906commit 5d7a0b954c0da879f81a6fa1a9dc8070c58a0fe6 5907Author: Ben Skeggs <bskeggs@redhat.com> 5908Date: Fri Jul 17 13:25:31 2009 +1000 5909 5910 remove remains of prehistoric NOUVEAU_EXA_PIXMAPS stuff 5911 5912commit 784a0337c3165c8d8fb696e4fa30bbdc8cf01b98 5913Author: Ben Skeggs <bskeggs@redhat.com> 5914Date: Fri Jul 17 13:18:06 2009 +1000 5915 5916 nv50: explicitly pin scanout buffer in non-kms path 5917 5918commit 09db6180e4205ef55516c24ac5dfc3bd861d9fd6 5919Author: Ben Skeggs <bskeggs@redhat.com> 5920Date: Fri Jul 17 13:12:25 2009 +1000 5921 5922 nv30: don't pin shader memory 5923 5924commit 7da55d99e3c93cadda50dcad06b09c52daa0cc5b 5925Author: Ben Skeggs <bskeggs@redhat.com> 5926Date: Fri Jul 17 13:10:16 2009 +1000 5927 5928 xv: don't pin buffer unless using the overlay 5929 5930commit e8b9f689b778909e710fc5bd5616e6497b922a09 5931Author: Ben Skeggs <bskeggs@redhat.com> 5932Date: Fri Jul 17 13:07:04 2009 +1000 5933 5934 kms: don't pin scanout buffer, no need, kernel will do it 5935 5936commit b1b233099853b56cfdcff9c4c31d3550b76b949e 5937Author: Ben Skeggs <bskeggs@redhat.com> 5938Date: Fri Jul 17 08:22:02 2009 +1000 5939 5940 Fix build with xextproto 7.1 5941 5942commit c089a71a94e7887c405af7141e188302a5e2d393 5943Author: Ben Skeggs <bskeggs@redhat.com> 5944Date: Thu Jul 16 09:32:59 2009 +1000 5945 5946 dri2: fix for xserver abi change 5947 5948commit ef3a386a6df4569343e63332eb798c1d722fe164 5949Author: Ben Skeggs <bskeggs@redhat.com> 5950Date: Mon Jul 6 20:33:49 2009 +1000 5951 5952 Update manpage + finish removing useless options 5953 5954commit 4b6e0b96188e32cb2a13f8d2bd5973f0287c827b 5955Author: Ben Skeggs <bskeggs@redhat.com> 5956Date: Mon Jul 6 20:25:23 2009 +1000 5957 5958 No need for pci access wrappers now.. 5959 5960commit 1e22673f43acd0f02ba36e189b39e28b635cd50c 5961Author: Ben Skeggs <bskeggs@redhat.com> 5962Date: Mon Jul 6 20:16:02 2009 +1000 5963 5964 Remove non-XSERVER_LIBPCIACCESS paths, we depend on a new xserver anyway 5965 5966commit aafb62f86adebb3418876649e8bd189c1523e961 5967Author: Ben Skeggs <bskeggs@redhat.com> 5968Date: Mon Jul 6 20:08:03 2009 +1000 5969 5970 Some more bits of NVRec to go... 5971 5972commit 0ba588cb75af67a644f51add35778925d4088cf9 5973Author: Ben Skeggs <bskeggs@redhat.com> 5974Date: Mon Jul 6 19:58:15 2009 +1000 5975 5976 Rip out vgaHW + more unused vars from NVRec 5977 5978commit 3e22547b6826ae741b168c4b3391b6ade56b4829 5979Author: Ben Skeggs <bskeggs@redhat.com> 5980Date: Mon Jul 6 19:46:26 2009 +1000 5981 5982 Nuke nv_hw.c, and a heap of unused vars from NVRec 5983 5984commit eea5259d951a5919fa7800877570347c14411a32 5985Author: Ben Skeggs <bskeggs@redhat.com> 5986Date: Mon Jul 6 19:13:44 2009 +1000 5987 5988 Remove nv_dac.c 5989 5990commit a38b91a7a5c3337d405aa217830857832c5399e0 5991Author: Ben Skeggs <bskeggs@redhat.com> 5992Date: Mon Jul 6 19:09:09 2009 +1000 5993 5994 Cull everything in !pNv->randr12_enabled blocks 5995 5996commit 4815d312911cb4cfad4b4a5b194fce41d82f4869 5997Author: Ben Skeggs <bskeggs@redhat.com> 5998Date: Mon Jul 6 11:44:26 2009 +1000 5999 6000 kms: fix CRTC offset when rotation enabled 6001 6002commit 6d143272f497a61c5578752f58261befbfaf911a 6003Author: Ben Skeggs <bskeggs@redhat.com> 6004Date: Wed Jul 1 14:03:06 2009 +1000 6005 6006 nv50: initial support for depth 30 6007 6008commit 9b0919c3f3269b88fb338c043bbad34f20c22f41 6009Author: Ben Skeggs <bskeggs@redhat.com> 6010Date: Tue Jun 30 13:20:15 2009 +1000 6011 6012 kms: don't try transition when we don't have src+dst buffer ids 6013 6014commit c0bf670ac6b58cff60a01ab6b174ece6b1b7d892 6015Author: Ben Skeggs <bskeggs@redhat.com> 6016Date: Thu Jun 25 07:26:54 2009 +1000 6017 6018 wfb: fix stupid thinko + more safety 6019 6020commit a12cb5c8c0a85a601188178c5fc0d84a13abd87e 6021Author: Ben Skeggs <bskeggs@redhat.com> 6022Date: Thu Jun 18 14:28:25 2009 +1000 6023 6024 bios: oops 6025 6026commit e66867e4cf9f0bc8a1971664ccc3d5c56b08b2fb 6027Author: Ben Skeggs <bskeggs@redhat.com> 6028Date: Tue Jun 16 10:28:00 2009 +1000 6029 6030 bios: use image from PRAMIN in preference to PROM on NV50 6031 6032 There's at least one known case (rh#492658) where the DCB table present in 6033 the VBIOS image from PROM is not suitable for use. It contained all 16 6034 entries filled, each entry valid in itself, but contradicting other entries. 6035 6036 The VBIOS image in PRAMIN however, still has all 16 entries filled, but the 6037 first few entries now match what is present on the hardware, and the rest 6038 are set as type 0xf, which we ignore. 6039 6040commit 42c5730a4f6c243b75fbd40f1dc26e8433191c7b 6041Author: Ben Skeggs <bskeggs@redhat.com> 6042Date: Tue Jun 16 09:48:39 2009 +1000 6043 6044 wrap BlockHandler a little earlier 6045 6046commit 09e663aea82403f69a0e44e3b7cd89dfe96970d5 6047Author: Ben Skeggs <bskeggs@redhat.com> 6048Date: Mon Jun 15 16:09:27 2009 +1000 6049 6050 kms: safer fb resize func 6051 6052commit 90be5d5d6a696564bda23e9a2dad14a3a1808868 6053Author: Ben Skeggs <bskeggs@redhat.com> 6054Date: Mon Jun 15 13:43:21 2009 +1000 6055 6056 wfb: use straight memcpy hook if no tiled wraps present 6057 6058commit 86d905d34a5693e3d9b986660d4a2bcd6f30a06a 6059Author: Ben Skeggs <bskeggs@redhat.com> 6060Date: Mon Jun 15 13:41:21 2009 +1000 6061 6062 wfb: be more cautious in a few places 6063 6064commit 1bcbc4b26f71f90345bd82b836fc634e741aced8 6065Author: Ben Skeggs <bskeggs@redhat.com> 6066Date: Mon Jun 15 10:19:53 2009 +1000 6067 6068 kms: small cleanup 6069 6070commit c2d3550aafeb3e7c4df3334f0ac3554a8aa15da3 6071Author: Ben Skeggs <bskeggs@redhat.com> 6072Date: Mon Jun 15 09:16:10 2009 +1000 6073 6074 kms: fix rotation buffer pitch 6075 6076commit 6fd982979e03ce3eace7dc7523c428aca2c30b4a 6077Author: Ben Skeggs <bskeggs@redhat.com> 6078Date: Mon Jun 15 09:00:02 2009 +1000 6079 6080 kms: point rotation pixmap at correct buffer 6081 6082commit 67f8ebe77f047c12d76e508b4d7f6384baed39ac 6083Author: Ben Skeggs <bskeggs@redhat.com> 6084Date: Mon Jun 15 08:52:36 2009 +1000 6085 6086 nv50: create non-linear scanout buffers for rotation 6087 6088commit b7e3306ddc3693699f6f9de7b22913ee22ed31ed 6089Author: Stuart Bennett <stuart@freedesktop.org> 6090Date: Sun May 31 00:26:13 2009 +0100 6091 6092 Add DVI-A output info for Mac card missing bios tables (#21273) 6093 6094 The reporter indicates the card also has DVI-D and ADC, but those can't be 6095 tested to deduce the fake correct data at present 6096 6097commit 01b19c9fc25b147596e1719008ed9d861246ced9 6098Author: Ben Skeggs <bskeggs@redhat.com> 6099Date: Wed Jun 10 18:00:05 2009 +1000 6100 6101 nv50: sigh 6102 6103commit 4d9e63baff079fad727430fc605cb1e43c4303a7 6104Author: Ben Skeggs <bskeggs@redhat.com> 6105Date: Wed Jun 10 11:38:43 2009 +1000 6106 6107 wfb: "mode0" tiles have the same pitch as the others 6108 6109 This appears to be the case now (as in: after making the GPU do some of the 6110 dirty work) even though it didn't in the previous wfb patches. 6111 6112commit 02ed6b66e37e13ab4064974b89db2e73613108ef 6113Author: Ben Skeggs <bskeggs@redhat.com> 6114Date: Wed Jun 10 11:23:37 2009 +1000 6115 6116 wfb: work-around wfb suckage 6117 6118 wfb sucks far more than anticipated: 6119 - can only expose a single set of rd/wr hooks, not per-wrap as wfb doesn't 6120 treat the hooks as per-pixmap. 6121 - the hooks will get called on buffers that aren't even pixmaps 6122 6123commit 669c59ecb69a6f84ef8b8714cda6e87eacb3de9f 6124Author: Ben Skeggs <bskeggs@redhat.com> 6125Date: Wed Jun 10 09:15:37 2009 +1000 6126 6127 wfb: need a 64-bit datatype for multiply_factor 6128 6129commit 86dedb748cb6d047b195e50e921e840c1c403f6f 6130Author: Ben Skeggs <bskeggs@redhat.com> 6131Date: Tue Jun 9 22:25:01 2009 +1000 6132 6133 fix some pitch issues 6134 6135commit 794a27724fb9ab173dc7ea8062730797e1b4de04 6136Author: Ben Skeggs <bskeggs@redhat.com> 6137Date: Tue Jun 9 10:54:54 2009 +1000 6138 6139 nv50: use libwfb for pixmap access when driver pixmaps enabled 6140 6141commit 11d9690dd9e1190d1f6873bb9a5df8f98a39d4f5 6142Author: Ben Skeggs <bskeggs@redhat.com> 6143Date: Tue Jun 9 09:10:57 2009 +1000 6144 6145 exa: use the sane CreatePixmap hook, if available 6146 6147commit 6ee453381f00063522187939cb54ab9447b73ec7 6148Author: Ben Skeggs <bskeggs@redhat.com> 6149Date: Thu Jun 4 14:43:54 2009 +1000 6150 6151 xv: fix some issues with driver pixmaps 6152 6153commit 67c5287f31bf20ab3a38ffcdee410d9d49ce4d2b 6154Author: Ben Skeggs <bskeggs@redhat.com> 6155Date: Thu Jun 4 14:19:14 2009 +1000 6156 6157 exa: wait_marker becomes a NOP with driver pixmaps 6158 6159 mapping/unmapping buffers will sync as necessary 6160 6161commit f44e52852a199196f8428822bf9fb71711b9c4f9 6162Author: Ben Skeggs <bskeggs@redhat.com> 6163Date: Thu Jun 4 14:08:10 2009 +1000 6164 6165 nv50: make use of larger tile sizes 6166 6167commit 30c44ce3142ba44fc7a6c95ceaa9bf028cc112c1 6168Author: Ben Skeggs <bskeggs@redhat.com> 6169Date: Thu Jun 4 13:41:36 2009 +1000 6170 6171 exa: create unacceleratable pixmaps (ie. 1bpp) in system memory 6172 6173commit 1aa22d5894c4e4efe746592bf1c51cdaf0c31c24 6174Author: Ben Skeggs <bskeggs@redhat.com> 6175Date: Thu Jun 4 13:20:37 2009 +1000 6176 6177 nv50: use non-linear scanout buffer when driver pixmaps enabled 6178 6179commit 13d8d49f74fb10f631bcd38b169068e691b9ca99 6180Author: Ben Skeggs <bskeggs@redhat.com> 6181Date: Thu Jun 4 13:11:40 2009 +1000 6182 6183 nv50: use tile_mode from bo 6184 6185 should have no effect currently, but needed later 6186 6187commit bd9f5f2cbe7687aba7bb3a7f397d9b1bf87a8ef3 6188Author: Ben Skeggs <bskeggs@redhat.com> 6189Date: Thu Jun 4 12:11:48 2009 +1000 6190 6191 exa: fix compile against latest libdrm_nouveau 6192 6193commit 5f97afe38095a274938b8c2e9c5ebd17b7733bb6 6194Author: Stuart Bennett <stuart@freedesktop.org> 6195Date: Wed Jun 3 12:16:23 2009 +0100 6196 6197 randr12: split from pre-randr12 structs into new header, de-typedef 6198 6199 New nv_crtc->state shortcut and some renaming included for convenience 6200 6201commit 0c17b8790086a529ee9e4b5aca4b6f19f31900a9 6202Author: Stuart Bennett <stuart@freedesktop.org> 6203Date: Thu May 28 22:40:30 2009 +0100 6204 6205 Move head getting into nouveau_hw.c 6206 6207commit 12314fa6abb2dd6d325a370724c7d16c371c229c 6208Author: Stuart Bennett <stuart@freedesktop.org> 6209Date: Thu May 28 21:45:36 2009 +0100 6210 6211 randr12: improve uniformity of props code 6212 6213commit b541c1c4400942c59be37f62b7a25719dbdaa1a1 6214Author: Stuart Bennett <stuart@freedesktop.org> 6215Date: Thu May 28 18:23:37 2009 +0100 6216 6217 Remove "TMDS table script pointers not stubbed" bios warning 6218 6219 Scripts appear to be init scripts (+7 one for 0x6808b?, +9 for 0x6828b?), 6220 which when the pointer is non-zero (and the script isn't 'q') get called 6221 at POST (at least on my nv4b). 6222 6223 The warning, from a time when the scripts were thought to perhaps be needed 6224 for setting up outputs, seems redundant. 6225 6226commit 8af50289136e562198b5acc851629606d9ce450f 6227Author: Adam Jackson <ajax@redhat.com> 6228Date: Thu May 28 15:08:35 2009 -0400 6229 6230 Remove useless loader symbol lists. 6231 6232commit 317b58166bf9f3189f33e99493cf8a1b40e014b8 6233Author: Stuart Bennett <stuart@freedesktop.org> 6234Date: Wed May 13 19:05:25 2009 +0100 6235 6236 randr12: disable lvds (invalidate all modes) if bios lvds parsing fails 6237 6238commit e897191c7bcf61193576ecf52d23fcddf5b70634 6239Author: Stuart Bennett <stuart@freedesktop.org> 6240Date: Thu May 28 16:42:29 2009 +0100 6241 6242 randr12: better behaviour (avoid crash) when fp native mode can't be found 6243 6244commit 03167483b41f7205dd1efc5b571ec73ec4b3cdb5 6245Author: Stuart Bennett <stuart@freedesktop.org> 6246Date: Thu May 28 02:18:52 2009 +0100 6247 6248 randr12: line length improvements 6249 6250commit b60c16cdcbeff2d02ea0866dfbb742c3880b7ae4 6251Author: Stuart Bennett <stuart@freedesktop.org> 6252Date: Wed May 13 02:21:17 2009 +0100 6253 6254 Simplify tests for digital fp outputs 6255 6256commit 992d4b5d3aa04f88c22e52e25dc2e3e7d9bd776e 6257Author: Stuart Bennett <stuart@freedesktop.org> 6258Date: Thu May 28 15:59:12 2009 +0100 6259 6260 randr12: a bunch of trivial improvements and tidyups 6261 6262commit 6f0a324a503431d757b2247e7232de2eb7c318a5 6263Author: Stuart Bennett <stuart@freedesktop.org> 6264Date: Wed May 27 16:17:38 2009 +0100 6265 6266 Fix oopsy from 81bbdd4e causing broken framebuffer 6267 6268commit c5799186b1f70df0484c6cef63c8485ddf924733 6269Author: Stuart Bennett <stuart@freedesktop.org> 6270Date: Wed May 27 16:01:42 2009 +0100 6271 6272 randr12: fix two colour cursor on second head 6273 6274 Colour caching was preventing cursor from being set correctly on second head 6275 6276commit 81bbdd4ee2e942d91d056a10ef993a8f41651c64 6277Author: Ben Skeggs <bskeggs@redhat.com> 6278Date: Tue May 26 15:48:25 2009 +1000 6279 6280 explicitly mark buffers mappable 6281 6282commit 6c09ad5296820a845571d07cbe42d88bb19560df 6283Author: Stuart Bennett <stuart@freedesktop.org> 6284Date: Wed May 27 00:53:51 2009 +0100 6285 6286 Tolerate missing fp bios table (rh#502371) 6287 6288 Modern desktop IGPs frequently miss it out, and now it seems even some 6289 laptop parts (MXM style) do too 6290 6291commit db9ff958291416dd5b72d20d32d7412ec45c1e60 6292Author: Ben Skeggs <bskeggs@redhat.com> 6293Date: Mon May 25 08:31:07 2009 +1000 6294 6295 kms: clip sw transition dims to smallest common area 6296 6297commit 2688c97169d8ea579ba09b9db049e31704f96626 6298Author: Ben Skeggs <bskeggs@redhat.com> 6299Date: Mon May 25 08:29:47 2009 +1000 6300 6301 don't run vbios parser when kms enabled 6302 6303commit 9656762ba186e91dd2b3b7f3f9427ba520982f9d 6304Author: Ben Skeggs <bskeggs@redhat.com> 6305Date: Thu May 14 10:26:44 2009 +1000 6306 6307 nv50: fix multiple-display hangs when encoders swap crtcs 6308 6309commit d70eed91b2909ba0b20415ab1d5a099fb6b39b08 6310Author: Stuart Bennett <stuart@freedesktop.org> 6311Date: Tue May 12 16:54:33 2009 +0100 6312 6313 randr12: fix digital dpms regression 6314 6315 introduced in 3971dda57004894d5d4fc9420aa00da400815af9 6316 6317 setting two different "blank" DPMS modes (say Suspend, followed by Off) 6318 consecutively would lead to the saved fp control value getting overwritten 6319 with FP_TG_CONTROL_OFF flavoured state, so DPMS on would then never work 6320 6321 also, an improvement to LVDS DPMS state caching 6322 6323commit 10721038b854d9945ae551c6aa382b90f5d743e1 6324Author: Ben Skeggs <skeggsb@gmail.com> 6325Date: Thu May 7 21:39:41 2009 +1000 6326 6327 exa: use exaDriverAlloc() to prevent issues across exa changes 6328 6329commit 8502a8024354b88a4f19c7ad355268bb20772356 6330Author: Stuart Bennett <stuart@freedesktop.org> 6331Date: Wed May 6 18:01:54 2009 +0100 6332 6333 Fix server regeneration again 6334 6335 The DRM is now opened in PreInit, so it must not be closed in CloseScreen, 6336 as the DRM wouldn't then be open in the subsequent ScreenInit 6337 6338commit 7a796a94d0c0e18a77c5c50a0f9ca9c218d7201f 6339Author: Stuart Bennett <stuart@freedesktop.org> 6340Date: Thu Apr 30 16:04:59 2009 +0100 6341 6342 randr12: off-chip lvds for nv28 (rh#487456) 6343 6344 Quite how this possibly works with the off-chip DVI connector the laptop 6345 in question also claims to have is unclear: I suspect that (at least in 6346 nouveau's implementation) it doesn't. Sadly we've no dvi-in-use reg dump 6347 to see what should be done. 6348 6349commit 5959512ef5ce20aa52bbd41d5d987392f27b9e65 6350Author: Stuart Bennett <stuart@freedesktop.org> 6351Date: Wed May 6 14:44:40 2009 +0100 6352 6353 'drmCheckModesettingSupported' implicit function declaration fix 6354 6355commit f62719e2ac8b04d4496dc56d5fa181934bcea9f7 6356Author: Peter Hjalmarsson <xake@rymdraket.net> 6357Date: Wed May 6 14:43:22 2009 +0100 6358 6359 Unused variable warning fixes 6360 6361commit c8260ef52b58234335bdbfab31364d3d25840c21 6362Author: Pierre Pronchery <khorben@defora.org> 6363Date: Wed May 6 14:32:34 2009 +0100 6364 6365 Fix crash with Xinerama enabled 6366 6367 From the mailing list, minor tweaks by Stuart Bennett 6368 6369commit 1a478edbd58bb2eb1a41f22dea893c6d85902318 6370Author: Stuart Bennett <stuart@freedesktop.org> 6371Date: Wed May 6 02:23:42 2009 +0100 6372 6373 randr12: de-magic ramdac general control values 6374 6375commit 6c209a87d2d90b39fddc446378b370bd7fb81f6b 6376Author: Stuart Bennett <stuart@freedesktop.org> 6377Date: Tue Apr 7 14:37:05 2009 +0100 6378 6379 randr12: pre-nv17 load detection 6380 6381 Sampling heuristic as close to nvidia's as mmiotrace-based inference admits 6382 6383 Works on both nv05 and nv11 6384 6385commit 3971dda57004894d5d4fc9420aa00da400815af9 6386Author: Stuart Bennett <stuart@freedesktop.org> 6387Date: Thu Apr 30 19:31:27 2009 +0100 6388 6389 randr12: fix fp_control again again again 6390 6391 As prophesied, 9c991d3a84ad16f893b739282403eb01e02bb57f broke something: 6392 turning off a digital output, then turning on an analogue output on the 6393 same crtc as previously used by the digital output led to FP_TG_CONTROL 6394 being turned on again when the (unmodified by analogue mode_set) fp_control 6395 state was written out 6396 6397 So, belt and braces attempt to get this right, one more time 6398 6399commit 0ef16031c7e27ffabb0299e9463def125bd5e72c 6400Author: Stuart Bennett <stuart@freedesktop.org> 6401Date: Thu Apr 30 15:27:33 2009 +0100 6402 6403 randr12: solve off-chip encoder crtc exclusion in prepare, rather than dpms 6404 6405commit 0447ce06989d5599e268fdb8a4ba7bebf72f5c95 6406Author: Stuart Bennett <stuart@freedesktop.org> 6407Date: Sat Apr 4 20:08:32 2009 +0100 6408 6409 randr12: simplify nv11 digital encoder-crtc binding 6410 6411 Always setting |0x10 on the appropriate crtc for nv11 digital is fine; 6412 it's what the proprietary driver does, even if the bios doesn't 6413 6414 Fix some line lengths in nv_output_mode_set() too 6415 6416commit f69b34aa92050987e8f3da07d92d5698e9333b75 6417Author: Ben Skeggs <skeggsb@gmail.com> 6418Date: Fri May 1 09:07:55 2009 +1000 6419 6420 nv50: return immediately in GetDDCModes if no DDC on connector... 6421 6422commit 45e16187612bc09b234b598dff25bbcc8069fde1 6423Author: Ben Skeggs <skeggsb@gmail.com> 6424Date: Thu Apr 30 16:37:29 2009 +1000 6425 6426 bios: use NV_ARCH_50 to match G8x chips 6427 6428 There's at least a couple of chips where we get 0x77 for chip_version, 6429 and fail to match the chip_version >= 0x80 test.. 6430 6431commit 3d61697c477dd7358e5fd4e5bc608b4fe763b5d3 6432Author: Ben Skeggs <skeggsb@gmail.com> 6433Date: Thu Apr 30 10:23:11 2009 +1000 6434 6435 nv50: remove reading back vbios-programmed lvds native mode 6436 6437commit bade2499db8e02dd2904bc811399c891bf126208 6438Author: Ben Skeggs <bskeggs@redhat.com> 6439Date: Thu Apr 30 09:33:21 2009 +1000 6440 6441 nv50: group encoders into connectors by i2c port 6442 6443commit 9ee2ac19d7adc067a5551e6d6853a19b89946d46 6444Author: Ben Skeggs <skeggsb@gmail.com> 6445Date: Wed Apr 29 16:26:41 2009 +1000 6446 6447 bios: remove dodgy mode-table search for g80 6448 6449 This appears to work in exactly the same way as on earlier chipsets, the 6450 strap value just moved slightly.. 6451 6452commit 6282574dbeeb7075a00ce03940c4f2a597a048b5 6453Author: Ben Skeggs <skeggsb@gmail.com> 6454Date: Wed Apr 29 16:25:43 2009 +1000 6455 6456 bios: modify get_fp_strap() for g80 6457 6458commit 09b832e24b9bd887275ba882beabe9bba56f0207 6459Author: Ben Skeggs <skeggsb@gmail.com> 6460Date: Tue Apr 28 09:46:55 2009 +1000 6461 6462 nv50: merge NV50SorSetClockMode and NV50SorSetClockModeLVDS 6463 6464commit ed2c185caeb75c595dfb2e814748a856a23b2b35 6465Author: Ben Skeggs <skeggsb@gmail.com> 6466Date: Tue Apr 28 08:44:01 2009 +1000 6467 6468 bios/nv50: initial parsing of display script tables, not quite complete 6469 6470commit 3fccc9e83a194fd58c333c6c4793a27cb05ce026 6471Author: Ben Skeggs <skeggsb@gmail.com> 6472Date: Tue Apr 28 09:38:21 2009 +1000 6473 6474 bios: some nv50 init scripts have flags in reg values, deal with (1<<30) 6475 6476commit 2b4b3da73babbe9ebf4acc26238a4b2b8a6e6ee8 6477Author: Ben Skeggs <skeggsb@gmail.com> 6478Date: Wed Apr 29 11:00:17 2009 +1000 6479 6480 bios: dcb location is only 2 bits 6481 6482commit 7b5bfff21916461ce7f6a2adb27dc443ad0b8201 6483Author: Ben Skeggs <skeggsb@gmail.com> 6484Date: Tue Apr 28 08:12:05 2009 +1000 6485 6486 bios: parse BIT U table 6487 6488commit e4260ec4f0303b286f16eab4fe5a1bb66ff89e3d 6489Author: Stuart Bennett <stuart@freedesktop.org> 6490Date: Wed Apr 1 02:56:05 2009 +0100 6491 6492 randr12: more use of logging abstraction in modesetting code 6493 6494commit 4d0fdba9abcd0af736821d54baca5f0c9a8d6ce1 6495Author: Stuart Bennett <stuart@freedesktop.org> 6496Date: Mon Apr 6 01:14:04 2009 +0100 6497 6498 randr12: fix for off-chip dual link digital (enable extra wide interface?) 6499 6500commit bb246d72a01285299599cbf8ff82c67f14682a4f 6501Author: Stuart Bennett <stuart@freedesktop.org> 6502Date: Mon Apr 6 01:00:41 2009 +0100 6503 6504 Partial fix for nv28 lvds bios parsing (part of rh#487456) 6505 6506 For rh#487456, though this is neither a complete fix for that bug, nor a 6507 complete fix for nv25/28 lvds (the EDID matching mentioned in the commit is 6508 omitted until someone appears with a laptop requiring it) 6509 6510commit 2915926702b7ae9ccb1e900c07ca14a2f32e4512 6511Author: Stuart Bennett <sb476@cam.ac.uk> 6512Date: Mon Apr 7 23:20:12 2008 +0100 6513 6514 plls: max_log2p_bias is likely actually max_log2p 6515 6516 As explained in nouveau_bios.h, a separate max_usable_log2p is needed 6517 (lack of change from 6 to 7 tested by setting a stable small mode, say 6518 400x300, then manually tweaking the multiplier up and post divider down). 6519 The max_usable_log2p values hardcoded here are unchanged from those 6520 previously taken from the bios pll calculation code 6521 6522 For reference, the blob will quite happily attempt to set clocks using the 6523 raw parsed max_log2p values (and go up to 7 therefore) when setting modes 6524 around 200x200 (3MHz pxclk), but at such a low clock my monitor won't agree 6525 to give a sensible picture anyway. Reg dumped data using "nvidia" below: 6526 6527 nv40: log2P up to 7 (dual pll mode), at very low clocks driver gives up and sets 0x0006ff0d 0x80001f04 6528 nv43: log2P up to 7 (dual pll mode), at very low clocks driver gives up and sets 0x0006ff0d 0x80001f04 6529 nv11: single pll, therefore goes quite happily down to at least 0.25MHz 6530 nv31: log2P up to 7 (dual pll mode), at very low clocks card locks up 6531 nv34: log2P up to 5 (single pll), goes down to at least 2.25MHz 6532 nv4b: log2P up to 6 (single pll mode), at very low clocks driver gives up and sets 0x0006ff0d 0x80001f04 6533 6534commit 47bb00fee8b9906adc03b372efa1ae813bc9ca9a 6535Author: Ben Skeggs <skeggsb@gmail.com> 6536Date: Tue Apr 21 08:57:07 2009 +1000 6537 6538 nv50: missed a WAIT_RING 6539 6540commit 523ccecee26454fc43a65e9b33d91a7d0ff8487d 6541Author: Ben Skeggs <skeggsb@gmail.com> 6542Date: Fri Apr 17 14:18:54 2009 +1000 6543 6544 nv50: use vbios-programmed lvds mode as native mode if no ddc 6545 6546 Why was this even removed? Its replacement (read VBIOS fp mode table) has 6547 proven useless in the majority of cases I've seen. 6548 6549commit fa2f1115d5f7f3e3767d423a77c6d929a4ae8d0f 6550Author: Ben Skeggs <skeggsb@gmail.com> 6551Date: Fri Apr 17 10:25:57 2009 +1000 6552 6553 Remove pNv->GART conditional for selecting CB_LOCATION in AGP/PCI 6554 6555 Kinda useless, the DRM knows better whether GART is available. 6556 6557commit 7100c06be099bacc0f8bb8898bbf7eb34ff1cc6e 6558Author: Ben Skeggs <skeggsb@gmail.com> 6559Date: Mon Apr 13 20:21:51 2009 +1000 6560 6561 kms: fix displayWidth in resize 6562 6563commit ef2de256dabfde2d619e4d451bd417973c919329 6564Author: Ben Skeggs <skeggsb@gmail.com> 6565Date: Mon Apr 13 19:09:32 2009 +1000 6566 6567 do e-edid for legacy modesetting path 6568 6569commit d8545e669aaa4362a236ba2e7231ca27ffdea1bd 6570Author: Ben Skeggs <skeggsb@gmail.com> 6571Date: Wed Apr 8 16:15:02 2009 +1000 6572 6573 bios: logic typo from earlier commit 6574 6575commit 960a5c82a80272a1577dede6a05ab7dc5db37cc3 6576Author: Ben Skeggs <skeggsb@gmail.com> 6577Date: Wed Apr 8 14:44:06 2009 +1000 6578 6579 nv50: modify ddc<->nvreg assignments again.. 6580 6581commit 3a6c7091d9706778a2e3971b7f36601d79fe7a83 6582Author: Ben Skeggs <skeggsb@gmail.com> 6583Date: Wed Apr 8 14:34:20 2009 +1000 6584 6585 kms: fix setting the randr edid property 6586 6587commit a1194b3690ced5db552d63be118a605508a1b965 6588Author: Ben Skeggs <skeggsb@gmail.com> 6589Date: Tue Apr 7 19:24:25 2009 +1000 6590 6591 bios: fix typo 6592 6593commit 11451cabbd5357dd71ab65e6155d7ca7d9766db7 6594Author: Ben Skeggs <skeggsb@gmail.com> 6595Date: Tue Apr 7 18:34:57 2009 +1000 6596 6597 bios: some G8x don't have PBUS at 0x1800, us 0x88000 unconditionally there 6598 6599commit 62d69bdf807423a644d7c2c493f94948ea11e491 6600Author: Ben Skeggs <skeggsb@gmail.com> 6601Date: Sat Apr 4 01:41:47 2009 +1000 6602 6603 bios: add exception for chipset 0x73 for lack of fp table 6604 6605commit 620d519564fdc6b3a7d55184bd481fa69035371b 6606Author: Ben Skeggs <skeggsb@gmail.com> 6607Date: Fri Apr 3 23:07:56 2009 +1000 6608 6609 consistent connector naming across <nv50, nv50 and kms 6610 6611commit a5d45c80e85611c9e22d8eca27294eef5378a549 6612Author: Stuart Bennett <stuart@freedesktop.org> 6613Date: Tue Apr 7 00:40:31 2009 +0100 6614 6615 randr12: set 1 on cr59 for off-chip digital, 0 otherwise (#21023, rh#492399) 6616 6617 The ubiqitous setting of 1 on cr59 for <nv40 tmds was breaking the 6618 integrated dvi of nv34gl. 6619 Thanks to Bill Nottingham for isolating the problem. 6620 6621commit d63c92435956b23351f1950563bbb92e24e60cea 6622Author: Stuart Bennett <stuart@freedesktop.org> 6623Date: Fri Apr 3 23:39:22 2009 +0100 6624 6625 randr12: unlock CR21 *after* turning off digital output 6626 6627 otherwise the analogue output still fails to come up. 6628 6629 That'll teach me to rearrange things just before committing 6630 6631commit 11be9a982073d66a68cd3db2bfc611eb58d3ea81 6632Author: Ben Skeggs <skeggsb@gmail.com> 6633Date: Fri Apr 3 12:22:04 2009 +1000 6634 6635 nv50: fix i2c port addresses 6636 6637commit e2aa03794420324ae5a682bbc415a79a4d830f7e 6638Author: Stuart Bennett <stuart@freedesktop.org> 6639Date: Fri Apr 3 00:57:19 2009 +0100 6640 6641 randr12: fall back to standard timings when finding native mode (rh#492819) 6642 6643commit 6965663ddcc8dd3330842d3c4c4eb4cbf4e4fc39 6644Author: Stuart Bennett <stuart@freedesktop.org> 6645Date: Wed Apr 1 05:38:29 2009 +0100 6646 6647 randr12: fix hw cursor for fully transparent pixels 6648 6649 ARGB8 pixels of 0x00000000 were getting bumped to 0x01000000, which was 6650 _just_ visible as a box around the cursor 6651 6652commit d12f70cedb0ba598234bbfc26dd6beed23e3dfe7 6653Author: Stuart Bennett <stuart@freedesktop.org> 6654Date: Sun Mar 29 00:51:05 2009 +0000 6655 6656 randr12: pre-nv17 digital fixes 6657 6658 1) set panel regs better (don't do min_front_porch adjustment) 6659 2) scaler programming - nv11 and nv20 don't need / 2 for aspect scaling 6660 6661commit ea567dbc7bc9c8d2ee5d7d9e0dcd33b03c638edb 6662Author: Stuart Bennett <stuart@freedesktop.org> 6663Date: Sat Mar 28 01:58:09 2009 +0000 6664 6665 randr12: fix restore for cards where CR21 is not left unlocked at POST 6666 6667 More nv11 inspired fun. If CR21 is left without a 0xfa mask after boot, 6668 we'd restore the old CR21 value and the subsequent restoration of VGA 6669 CRTC values wouldn't get through. 6670 6671 RE'd doc of CR21 behaviour included 6672 6673commit bd263d83139fcc93b967c71c99fd5e63e1ba6315 6674Author: Stuart Bennett <stuart@freedesktop.org> 6675Date: Fri Mar 27 18:27:18 2009 +0000 6676 6677 randr12: make nv11 dvi work for both crtcs 6678 6679commit 52c287dc64a97a750eb953ac5f725d794cbf0c64 6680Author: Stuart Bennett <stuart@freedesktop.org> 6681Date: Fri Mar 27 00:23:04 2009 +0000 6682 6683 Every card since nv5 can do panels 6684 6685 We'll only try to do ones using scripts atm though 6686 6687 Note that as we don't have a load detect function for pre-nv17 you'll 6688 likely get a 1024x768 mode set up on VGA-0 even if only the DVI output 6689 is plugged. Unclear if this is a bug or feature :) 6690 6691commit 3d371a78bc9522e9a1b2c967957a090bb527a30c 6692Author: Stuart Bennett <stuart@freedesktop.org> 6693Date: Thu Mar 26 22:21:57 2009 +0000 6694 6695 randr12: enable tmds reg access on pre-nv17 6696 6697 I think this nv11 hates me 6698 6699commit 1bb85c8020802719e82c1335a18df9367215a8ff 6700Author: Stuart Bennett <stuart@freedesktop.org> 6701Date: Wed Apr 1 04:09:09 2009 +0100 6702 6703 randr12: reorder ramdac reg access 6704 6705commit 4465fddb2467ad9d923120a2fd2c648222603771 6706Author: Stuart Bennett <stuart@freedesktop.org> 6707Date: Wed Apr 1 04:10:18 2009 +0100 6708 6709 randr12: remove nv30 special case 6710 6711 0x68?89? are just an alternative way to set scaling (set | 0x40 on 0x68.880, 6712 then horiz scaling in 0x68.898, vert in 0x68.89c) and afaict don't have any 6713 special significance on nv30 6714 6715commit 72eced5eeeef438979dff06b6c1cbaa120738cfe 6716Author: Stuart Bennett <stuart@freedesktop.org> 6717Date: Wed Apr 1 03:12:30 2009 +0100 6718 6719 randr12: fix/improve a load of version/feature tests 6720 6721 Main improvement is introduction of flag for nv17+ display architecture 6722 6723 Other version fixes include: 6724 * allow access of fp control regs on all cards (defined since nv4) 6725 * only read crtc_850 and gpio_ext on nv40+, since only written on nv40+ 6726 * set dither state on all versions (only written out on relevant cards) 6727 * PRAMDAC_DACCLK is only defined/usable on nv17+ 6728 * no point saving the lvds/tmds head for restore if there's only one head 6729 * fix a bunch of places the nforce (0x1a) case had been missed 6730 6731commit 37c6916d3eac54cc13812276fca99662162c4bbc 6732Author: Ben Skeggs <skeggsb@gmail.com> 6733Date: Wed Apr 1 15:00:03 2009 +1000 6734 6735 bios: fix chips with pll limits table version 0 6736 6737commit 76c5a05603b0eaa0831e031268e48ab6ffdee3a9 6738Author: Ben Skeggs <skeggsb@gmail.com> 6739Date: Wed Apr 1 10:36:34 2009 +1000 6740 6741 bios: xf86DrvMsg->NV_ERROR 6742 6743commit b1b9bcb111f1f5ec15e19d5a84b7ca576983c4a1 6744Author: Ben Skeggs <skeggsb@gmail.com> 6745Date: Tue Mar 31 11:43:26 2009 +1000 6746 6747 bios: support for pll limits table v3.0 6748 6749commit 8c85b4b7451bd09b0607b1f4ef8ce4b833006328 6750Author: Ben Skeggs <skeggsb@gmail.com> 6751Date: Tue Mar 31 11:11:12 2009 +1000 6752 6753 kms: CONNECTORn -> CONNECTOR-n 6754 6755commit 4e1c3239648510a4024917289127ad1e982ed34d 6756Author: Stuart Bennett <stuart@freedesktop.org> 6757Date: Tue Mar 31 20:59:26 2009 +0100 6758 6759 Restore call to NVDRIGetVersion, to ensure the dri module is loaded 6760 6761commit c973f756cfdf36db3a5c7095f6e2c57ff5841388 6762Author: Stuart Bennett <stuart@freedesktop.org> 6763Date: Tue Mar 31 17:07:26 2009 +0100 6764 6765 Abstract logging in nv_bios.c 6766 6767commit b17bebd811316b5ccca21146b58f8fbf4773f0ad 6768Author: Stuart Bennett <stuart@freedesktop.org> 6769Date: Mon Mar 30 20:52:29 2009 +0100 6770 6771 nForce DIMM check is now in DRM 6772 6773 Since it only at most suggests an optimization, there's no real need to 6774 wait for a DRM version bump 6775 6776commit 9c991d3a84ad16f893b739282403eb01e02bb57f 6777Author: Stuart Bennett <stuart@freedesktop.org> 6778Date: Mon Mar 30 03:31:01 2009 +0100 6779 6780 randr12: FP_TG_CONTROL 2: dpms improvements 6781 6782 For DPMS on digital outputs nvidia does not just OR the 0x68.848 value 6783 with 0x20000022, they mask off 0x10000011 too. 6784 To do the same thing here, don't change in-memory state of programmed reg 6785 value (hopefully nothing breaks) 6786 6787commit 5fb2888d79d39a1c74ab005d8d518686ad823224 6788Author: Stuart Bennett <stuart@freedesktop.org> 6789Date: Fri Mar 27 18:27:18 2009 +0000 6790 6791 randr12: FP_TG_CONTROL 1: turn off digital path when using VGA encoder 6792 6793 On pre-nv17, having a CRTC's digital output path turned on when 6794 programming the CRTC for VGA confuses the chip and often results in the 6795 analogue output not working. Indeed, having it turned on even just before 6796 programming the CRTC seems to break it. 6797 6798 Nvidia solves this by turning off the digital path early in modesetting 6799 and then delaying for 50ms, so (if the digital path was on to start with) 6800 that's reproduced here. 6801 6802 Although this problem has not been seen on nv17+, nvidia uses the same 6803 approach, so we may as well too. 6804 6805 Some tidying of the output_prepare function thrown in as well. 6806 6807commit 8023dc3e2dcfa8a4cc11a5a64750a7505e8aa704 6808Author: Stuart Bennett <stuart@freedesktop.org> 6809Date: Mon Mar 30 02:27:50 2009 +0100 6810 6811 Split DCB 1.5 parsing from 2.0+, get closer to 80 cols 6812 6813commit ea027b35b28c0305aca03edc8c1ff5cd84bbf3ef 6814Author: Stuart Bennett <stuart@freedesktop.org> 6815Date: Fri Mar 27 00:03:38 2009 +0000 6816 6817 The dcb prior to v1.5 is pretty hopeless, just add a crt. 6818 6819 Also, we don't use dcb 1.2 i2c for modesetting due to cards with broken 6820 tables (ala #14821), and I've got an nv11 with duff entries (v1.4), so 6821 don't raise hopes of init_dcb_i2c_entry working on these versions either 6822 6823commit 921fbccd53eae37ed86ecece6dc1fcae4b7bf3c4 6824Author: Stuart Bennett <stuart@freedesktop.org> 6825Date: Thu Mar 26 16:41:02 2009 +0000 6826 6827 randr12: avoid nv11 chip lockup when saving palette regs 6828 6829commit 9d46930f0eec7b787666671681e9a93fc33dce62 6830Author: Ben Skeggs <skeggsb@gmail.com> 6831Date: Mon Mar 30 20:11:03 2009 +1000 6832 6833 xv: oops 6834 6835commit 9213c39d3a8d9a7fc90a44f9427c1fb8218243e2 6836Author: Ben Skeggs <skeggsb@gmail.com> 6837Date: Mon Mar 30 11:14:20 2009 +1000 6838 6839 xv: post damage after we draw (rh#492239) 6840 6841commit d68a0527aa2a3e93c3408526d4bbb93db89e9b3c 6842Author: Ben Skeggs <skeggsb@gmail.com> 6843Date: Mon Mar 30 10:45:59 2009 +1000 6844 6845 kms: small cleanup 6846 6847commit c9cb6a6f7f79233bdab737fa6b6d0916dab45971 6848Author: Stuart Bennett <stuart@freedesktop.org> 6849Date: Fri Mar 27 16:43:27 2009 +0000 6850 6851 rh#492511 has a CRTC_OWNER of 0x7 for some reason 6852 6853 not that this probably affects the bug in any way 6854 6855commit 95bff61597ddf21d6415b40759258802a5f42150 6856Author: Stuart Bennett <stuart@freedesktop.org> 6857Date: Wed Mar 25 02:40:17 2009 +0000 6858 6859 randr12: fix LVDS legitimately disconnected case 6860 6861 DPMS off still needs to work, but there's no native_mode for the pxclk. 6862 Fortunately LVDS_PANEL_OFF doesn't actually need a pxclk, so just use 0 6863 6864commit f86e395231c97155c1a211010835fd02b8e4dc5f 6865Author: Stuart Bennett <stuart@freedesktop.org> 6866Date: Wed Mar 25 02:07:15 2009 +0000 6867 6868 randr12: permit vga outputs to be force enabled in xorg.conf 6869 6870 You need: 6871 Section "Monitor" 6872 Identifier "VGA-0" 6873 Option "Enable" "true" 6874 EndSection 6875 6876commit 8427b39a2f6cb32496bbbe370b793d5ba78f6b6c 6877Author: Stuart Bennett <stuart@freedesktop.org> 6878Date: Tue Mar 24 03:32:24 2009 +0000 6879 6880 randr12: move a load of hw mode programming into nouveau_hw.c 6881 6882 Pull in pll setting (common, no reason to bloat nv_bios with it), state 6883 load/unload from nv_crtc, and useful bits of nv_hw.c (remnants in nv_hw.c 6884 are only used on the non-randr12 path) 6885 6886commit 163bdce98c0f9ca5c1125e33a9a2bf2d2d9a1286 6887Author: Stuart Bennett <stuart@freedesktop.org> 6888Date: Tue Mar 24 03:19:38 2009 +0000 6889 6890 Turn the smaller mmio wrappers into static inline 6891 6892commit 21ee927f28d1ca8d3807acc767ef14783e43f057 6893Author: Stuart Bennett <stuart@freedesktop.org> 6894Date: Mon Mar 23 21:34:26 2009 +0000 6895 6896 Put arbitration and mnp calcs in separate file 6897 6898 Make bios->chip_version public so the pll calcs can use it 6899 6900commit 83dc890f0b1fc88d2fbc7559f5d4decf4c84f340 6901Author: Maarten Maathuis <madman2003@gmail.com> 6902Date: Sat Mar 28 01:25:32 2009 +0100 6903 6904 nv50: use E-EDID when available + apply edid quirks 6905 6906commit 2c130cf71587706a4f1dcd8f5db1de47a10522f5 6907Author: Pekka Paalanen <pq@iki.fi> 6908Date: Fri Mar 27 23:16:59 2009 +0200 6909 6910 nv50: fix xf86GetDefaultModes() call for older servers 6911 6912 Thanks to stillunknown for this build fix. 6913 6914commit f1907dcef8d06d7ee4ef10ba22bb7decef700110 6915Author: Ben Skeggs <skeggsb@gmail.com> 6916Date: Fri Mar 27 15:37:17 2009 +1000 6917 6918 nv50: add default modes to mode pool for LVDS panel 6919 6920 At some point X stopped doing this if the display doesn't support 6921 continuous timing. For a lot of G80 LVDS panels, they only report 6922 their native mode via DDC. 6923 6924 We'll add the default modes ourself, and use the GPU scalers. 6925 6926commit 7da6fdb8b477d2007c83b47e9cbcc2476ae40f22 6927Author: Ben Skeggs <skeggsb@gmail.com> 6928Date: Fri Mar 27 14:17:29 2009 +1000 6929 6930 kms: fix bug which prevented getting edid from the kernel 6931 6932commit f431e204d3a9be92df5ca606e86ed7c6d82103f0 6933Author: Ben Skeggs <skeggsb@gmail.com> 6934Date: Fri Mar 27 11:50:22 2009 +1000 6935 6936 randr: fix crash when rotation requested 6937 6938commit 36dedd04da1b3c89be61a95270414477d284b2ef 6939Author: Ben Skeggs <skeggsb@gmail.com> 6940Date: Fri Mar 27 11:26:09 2009 +1000 6941 6942 kms: check for mm_enabled as an additional test for kms presence 6943 6944commit a923bc1e4840c0386301f8648add2ccbfbf79a88 6945Author: Ben Skeggs <skeggsb@gmail.com> 6946Date: Thu Mar 26 16:24:01 2009 +1000 6947 6948 nv50/xv: correct rendering to partically obscured windows 6949 6950 Won't be exposed by current git, due to lack of accelerated front-buffer 6951 rendering. But should fix rh#492173, rh#492229. 6952 6953commit 01cee2906686897c4b795d308270b3b69a3e286e 6954Author: Ben Skeggs <skeggsb@gmail.com> 6955Date: Thu Mar 26 11:43:09 2009 +1000 6956 6957 nv50: call NVSync() in CloseScreen() before restoring video mode 6958 6959 Without this, if accel is still being done to the front buffer (usually at 6960 offset 0), we'll restore the video mode and then the engine will clobber 6961 the text mode fonts right afterwards leaving a messed up console. 6962 6963commit aa7c0375b51d813be54de5e19b96e958ac183f17 6964Author: Ben Skeggs <skeggsb@gmail.com> 6965Date: Thu Mar 26 06:36:17 2009 +1000 6966 6967 kms: implement AdjustFrame, should fix crash in fdo#24236 6968 6969commit 61879b8079bee1caeedc0bd9c11061423ff27b4a 6970Author: Ben Skeggs <skeggsb@gmail.com> 6971Date: Wed Mar 25 10:09:39 2009 +1000 6972 6973 kms: drm_mode_modeinfo struct changed names at some point 6974 6975commit 79306fc29f6b27fd61fe51855bad5489fc4fd986 6976Author: Ben Skeggs <skeggsb@gmail.com> 6977Date: Wed Mar 25 08:15:41 2009 +1000 6978 6979 dri: fail harder 6980 6981commit da1ba93f1dc2b02615e4f0366450872659176799 6982Author: Ben Skeggs <skeggsb@gmail.com> 6983Date: Wed Mar 25 08:12:26 2009 +1000 6984 6985 device close doesn't belong in DRI close, can have DRM without DRI 6986 6987commit 56b11c773ac9392069c6a589f4f87c5cc79e020e 6988Author: Younes Manton <younes.m@gmail.com> 6989Date: Tue Mar 24 14:27:40 2009 -0400 6990 6991 Fix mouse cursor disappearing when near top/left edge of screen. 6992 6993commit 4067ab466fe3aa817e0323959f70c7dd3494de0a 6994Author: Ben Skeggs <skeggsb@gmail.com> 6995Date: Mon Mar 23 14:43:22 2009 +1000 6996 6997 another ppc fix 6998 6999commit 862dba8b6ca6354d915f2430826a5581f41d1002 7000Author: Ben Skeggs <skeggsb@gmail.com> 7001Date: Mon Mar 23 14:22:15 2009 +1000 7002 7003 more ppc.. 7004 7005commit 30634865617737171835f6ac9437df597e5a8951 7006Author: Ben Skeggs <skeggsb@gmail.com> 7007Date: Mon Mar 23 13:57:52 2009 +1000 7008 7009 fix ppc build 7010 7011commit d80fe7878379aefd3345746a149f2b46d3a84805 7012Author: Francisco Jerez <currojerez@riseup.net> 7013Date: Mon Mar 23 03:27:16 2009 +0100 7014 7015 Fix nouveau_hw_decode_pll on NV30/35. 7016 7017commit 62aa81deca5c63d30407872c0e2b784f5084acb3 7018Author: Stuart Bennett <stuart@freedesktop.org> 7019Date: Sat Mar 21 01:43:14 2009 +0000 7020 7021 Some laptop mode finding fixes resulting from rh#487456 7022 7023 On closer inspection, it seems BMP laptops only depend on 7024 use_straps_for_mode to ban DDC. Therefore use pxclk alone to determine 7025 EDID case in parse_lvds_table, and invert sense of fp ddc flag to get a 7026 default of "false" 7027 7028commit aa6edfaf1c32432b07c298c42b68f2d93f3b337c 7029Author: Stuart Bennett <stuart@freedesktop.org> 7030Date: Sun Mar 15 15:18:16 2009 +0000 7031 7032 randr12: name VGA CRTC fields 7033 7034 Now with added consistent indentation 7035 Use fields in a couple of other cases while we're about it 7036 7037commit 7b7c44c828eda2edfad2fa9bea95f70889c59453 7038Author: Stuart Bennett <stuart@freedesktop.org> 7039Date: Sun Mar 15 03:45:54 2009 +0000 7040 7041 randr12: rename reg state members to follow reg names 7042 7043commit 4ae6c22957a929760e583d5704e350adb4404c3d 7044Author: Stuart Bennett <stuart@freedesktop.org> 7045Date: Sun Mar 15 03:11:40 2009 +0000 7046 7047 randr12: name some FP flags, move some unrelated stuff out from nvreg.h 7048 7049commit b50b49f6f54148ee64ba7500e797f432b198a324 7050Author: Stuart Bennett <stuart@freedesktop.org> 7051Date: Sun Mar 15 04:21:40 2009 +0000 7052 7053 pre-nv50: use nvidia's names for PRAMDAC regs where known 7054 7055 Mostly adding 'P' to the previous NV_RAMDAC regs -- either when known 7056 correct, or when totally unknown (eg NV_PRAMDAC_580); made-up names 7057 untouched. Lack of code changes checked with cpp. 7058 7059 Unused defines removed too. 7060 7061commit a9df3049a7e38b3bf4478459e5f0736e10927247 7062Author: Stuart Bennett <stuart@freedesktop.org> 7063Date: Sun Mar 15 04:08:56 2009 +0000 7064 7065 pre-nv50: use nvidia's names for PCRTC regs where known 7066 7067 Mostly adding 'P' to the previous NV_CTRC regs -- either when known 7068 correct, or when totally unknown (eg NV_PCRTC_850); made-up names 7069 untouched. Lack of code changes checked with cpp. 7070 7071 Unused defines removed too. 7072 7073commit 2c0710d334e3e1dcb04cc4fc0b46ec4c8cdb9ba6 7074Author: Stuart Bennett <stuart@freedesktop.org> 7075Date: Tue Mar 17 18:50:18 2009 +0000 7076 7077 Separate maximum limits for encoder devices and i2c records, DCB_ prefixes 7078 7079 From the comment with pNv->connector in nv_type.h I've assumed nv50 was 7080 using the previous define as an I2C limit, rather than encoder limit 7081 7082commit 0db27a6f1aee023782de14ae2f260fec4e60229d 7083Author: Stuart Bennett <stuart@freedesktop.org> 7084Date: Tue Mar 17 13:43:13 2009 +0000 7085 7086 Add DCB 1.5 entry from a GeForce2 Go reported by Martin Ketzer on the ML 7087 7088commit 3e7fa97a50e42c0255876c79137dc1a40a6052a6 7089Author: Ben Skeggs <skeggsb@gmail.com> 7090Date: Wed Mar 18 09:36:33 2009 +1000 7091 7092 dri: pass object handle instead of offset if using real mm 7093 7094commit 88efe405213a3ea23edd9bed971da1d2492021eb 7095Author: Ben Skeggs <skeggsb@gmail.com> 7096Date: Mon Mar 16 17:45:49 2009 +1000 7097 7098 dri2: initial implementation, only with driver pixmaps 7099 7100 Also, no DRI1 when driver pixmaps enabled. 7101 7102commit 675126e0f0c1c077bde4b25ccb64f87d1d08547b 7103Author: Ben Skeggs <skeggsb@gmail.com> 7104Date: Mon Mar 16 15:06:31 2009 +1000 7105 7106 kms: support framebuffer resize if driver pixmaps enabled 7107 7108commit 8b354b92a859cf277b19e51fc6cb109f4ea44b7a 7109Author: Ben Skeggs <skeggsb@gmail.com> 7110Date: Mon Mar 16 13:13:07 2009 +1000 7111 7112 kms: copy old fb to new fb on modeset 7113 7114 Requires driver pixmaps enabled, which suck on G8x currently. Paves the 7115 way for a nicer transition from console->X. There's still a flash where 7116 the screen goes black before X starts here, but this is on the way to what 7117 we want. 7118 7119commit 6658403cfd91556d06afecdde03feec7384c5398 7120Author: Ben Skeggs <skeggsb@gmail.com> 7121Date: Mon Mar 16 12:34:49 2009 +1000 7122 7123 Call NVEnterVT from NVScreenInit rather than duplicating it. 7124 7125commit f59fef15c94fc5c6f216d0f5dcdcb3d3188c0049 7126Author: Ben Skeggs <skeggsb@gmail.com> 7127Date: Mon Mar 16 09:17:29 2009 +1000 7128 7129 exa: fix multiple prepare/finish_access on a pixmap 7130 7131commit 75a1c4158a19bf0857de49b736fb87a40c095048 7132Author: Stuart Bennett <stuart@freedesktop.org> 7133Date: Sat Mar 14 15:48:39 2009 +0000 7134 7135 Wrap bios endian casting 7136 7137 Also convert some functions to use individual bios pointers, rather than 7138 bios->data[offset + ... 7139 Plus some minor bmp structure documentation and tidying 7140 7141commit 3666d73333ecbdd3a4941a76af2528113db427bb 7142Author: Stuart Bennett <stuart@freedesktop.org> 7143Date: Wed Feb 25 20:21:42 2009 +0000 7144 7145 Switch to using pll_vals struct for passing pll stuff around 7146 7147commit a3dbc06d4f9dc340f5c167b94d8e10ac8386c5b4 7148Author: Stuart Bennett <stuart@freedesktop.org> 7149Date: Fri Apr 11 16:51:30 2008 +0100 7150 7151 randr12: cull old unused pll code 7152 7153commit 71c821b8119cbac8dcd91b27e3b7556d00ceb546 7154Author: Stuart Bennett <stuart@freedesktop.org> 7155Date: Sat Mar 14 19:06:12 2009 +0000 7156 7157 Don't pointlessly overallocate cursor storage 7158 7159commit 7284c07a0ad6551ea99c28454f4e7308699835e6 7160Author: Stuart Bennett <stuart@freedesktop.org> 7161Date: Fri Mar 13 21:23:48 2009 +0000 7162 7163 randr12: nv10 hw cursor fixes/changes 7164 7165 Remove access to PCRTC_GPIO, it's unused and on NV10 overwrites 7166 PCRTC_CURSOR_CONFIG leading to all sorts of cursor weirdness 7167 7168 NV10 hw cursor is now set-up on the assumption it can do 64x64 (we've been 7169 using 64x32 up to now), but if it can't do cursors 64px high it can easily 7170 be fixed to behave like nv0x at 32x32 (64x32's pretty silly) 7171 7172 It's possible that with the PCRTC_GPIO thing resolved the nv10 cursor can 7173 be more featureful: the code would also be simpler if it supported 32bpp 7174 cursors (test by seeing if setting NV_CRTC_CURSOR_CONFIG_32BPP has any 7175 effect). It may even do alpha -- change pNv->alphaCursor to be 7176 (NVArch >= 0x10) to find out. 7177 7178commit bcc3a14b15cdad3647cc7df0f540df1111843be5 7179Author: Stuart Bennett <stuart@freedesktop.org> 7180Date: Fri Mar 13 02:31:35 2009 +0000 7181 7182 randr12: use nv0x cursor colour expansion funcs on later cards, unify argb paths 7183 7184commit b21c807d2ced35ac1b06300f6e68d661710b336a 7185Author: Stuart Bennett <stuart@freedesktop.org> 7186Date: Fri Mar 13 03:52:54 2009 +0000 7187 7188 randr12: store nv0x hw cursor image in VRAM 7189 7190 nv_driver.c is already doing the alloc, nvidia uses the same method, and it saves code :) 7191 7192commit 3ea4b194e83735145d5e9d5c5357f92ae6c6a569 7193Author: Stuart Bennett <stuart@freedesktop.org> 7194Date: Thu Mar 12 15:37:59 2009 +0000 7195 7196 Kill pre-randr12 hwcursor code, and tidy randr12 hwcursor code 7197 7198 If you're not using randr12 you should be. 7199 7200 Misc fixes included: 7201 Ensure PNVM bit set on PCRTC_CURSOR_CONFIG for consistency 7202 Fix NV11 alpha cursors 7203 Add missing bo unref 7204 7205commit b988160dfa5a535fd042062d7318ab99fc7efa5a 7206Author: Stuart Bennett <stuart@freedesktop.org> 7207Date: Thu Mar 12 16:31:24 2009 +0000 7208 7209 Remove calls to load ddc and i2c modules -- they're built-in since server 1.3 7210 7211commit d5893ecf3dd915fc6937c61e6eae7c221edeb6e2 7212Author: Stuart Bennett <stuart@freedesktop.org> 7213Date: Thu Mar 12 21:46:02 2009 +0000 7214 7215 Hack around missing display table in rdivacky's GeForce 7050 PV/nForce 630a 7216 7217commit 369e1efd23c0180e210dbe898318b6b9efa1faad 7218Author: Stuart Bennett <stuart@freedesktop.org> 7219Date: Thu Mar 12 16:09:27 2009 +0000 7220 7221 Fix xserver shutdown for randr12 off 7222 7223commit 8343d6b2c0ebddf1a1a7d146890ed90278559fea 7224Author: Stuart Bennett <stuart@freedesktop.org> 7225Date: Wed Mar 11 01:11:02 2009 +0000 7226 7227 Remove bios lvds parsing pxclk test; ddc_permitted is a sufficient condition 7228 7229commit 8b56c699ad39c64326d76658c741801bb4118c5f 7230Author: Stuart Bennett <stuart@freedesktop.org> 7231Date: Wed Mar 11 00:43:33 2009 +0000 7232 7233 Name some regs/values and reduce crtc reg struct size 7234 7235 TVOUT_LATENCY taken from nv11 .scp file 7236 7237 CRTC[]: even nvidia only use up to 9f, and they know what the regs do 7238 7239commit 79d23d87b489332af521fbda418a13b9ae032b7d 7240Author: Ben Skeggs <skeggsb@gmail.com> 7241Date: Fri Mar 13 11:43:54 2009 +1000 7242 7243 improve drm/dri initialisation code 7244 7245 The main motivation here was to fix the scenario where X is started without 7246 nouveau.ko loaded, checks if kms is enabled, is told no because nouveau.ko 7247 isn't loaded, and then later nouveau.ko gets loaded with kms enabled by 7248 default and starts fighting with the ddx for the display. 7249 7250 One cool side-effect is that we're not depending on DRIScreenInit for our 7251 DRM fd now, which means that if DRIScreenInit fails for a non-fatal reason 7252 (like, NVIDIA's libglx being around instead of xorg's) we can still run 7253 with full 2D acceleration. 7254 7255commit bd1448216715681beebabe82b88c8b4d0e62eced 7256Author: Ben Skeggs <skeggsb@gmail.com> 7257Date: Wed Mar 11 16:07:41 2009 +1000 7258 7259 kms: cleanup set_property 7260 7261commit 7a455929785e00beb2d1e65007a3407427ca693a 7262Author: Ben Skeggs <skeggsb@gmail.com> 7263Date: Wed Mar 11 15:51:59 2009 +1000 7264 7265 kms: get current values for output properties on startup 7266 7267commit 7095e8942c74953fcf1615900e2d7864024ece5c 7268Author: Ben Skeggs <skeggsb@gmail.com> 7269Date: Wed Mar 11 11:30:08 2009 +1000 7270 7271 kms: work around some xserver stupidity with DPMS 7272 7273 The server calls the output DPMS functions with the intention of 7274 turning off outputs before reprogramming them. It probably shouldn't 7275 be doing this in the case of the randr driver using set_mode_major, 7276 and leave it up to the driver. 7277 7278 The DRM modesetting will usually reenable the outputs after a modeset 7279 anyway, which is the behaviour that the xserver currently relies on. 7280 However, there's a shortcut used in the drm to allow far faster fb 7281 swaps without doing a modeset. When this path is hit, the DRM will 7282 rightly not touch any power states and the display will never get 7283 turned back on. 7284 7285commit 8f9a58070c2fc55c922e9d82d0796e32959a8431 7286Author: Stuart Bennett <stuart@freedesktop.org> 7287Date: Tue Mar 10 00:20:35 2009 +0000 7288 7289 Another DCB 1.5 entry (seen in rh#455194) 7290 7291 Plus a few minor PLL tidyings 7292 7293commit 9a719900adcebf47442a30fe1989509f93e13e16 7294Author: Stuart Bennett <stuart@freedesktop.org> 7295Date: Mon Mar 9 15:57:06 2009 +0000 7296 7297 randr12: add output properties for digital vibrance and image sharpening 7298 7299commit 678ddc2e56aea3deb1e95b2309b47e1f2cce0635 7300Author: Stuart Bennett <stuart@freedesktop.org> 7301Date: Mon Mar 9 15:34:03 2009 +0000 7302 7303 randr12: functionate output properties creation 7304 7305 notes: 7306 * setting pending at change time is necessary for props created as pending, 7307 so that PostPending doesn't overwrite the correct current state with the 7308 incorrect pending one 7309 * our call to PostPending can go; relic from when props were updated in 7310 update_output_fields 7311 7312commit ed9bd8848fcfe6a77894bfe520a5aa25a9b3f769 7313Author: Ben Skeggs <skeggsb@gmail.com> 7314Date: Wed Mar 4 15:10:24 2009 +1000 7315 7316 kms: remove early-exit from gamma_set, the kernel side works now 7317 7318commit 98c9e4edb58374f18249e5c9c53b392fb8b4a1d1 7319Author: Ben Skeggs <skeggsb@gmail.com> 7320Date: Wed Mar 4 13:40:49 2009 +1000 7321 7322 kms: work around some bong hits with dpms 7323 7324 This'll need to get fixed elsewhere, but in the meantime, we have working 7325 DPMS *and* can actually see what's happening when X starts! 7326 7327commit 88ae2c92c0efc1919dbaa7e8db4c37b86987046c 7328Author: Ben Skeggs <skeggsb@gmail.com> 7329Date: Wed Mar 4 13:36:36 2009 +1000 7330 7331 kms: implement dpms 7332 7333commit 5269cc8060e0ce5160dfca408b0807a4cf2ff17c 7334Author: Stuart Bennett <stuart@freedesktop.org> 7335Date: Sun Mar 8 20:07:23 2009 +0000 7336 7337 randr12: make props code slightly less awful to behold 7338 7339commit 0b87c4964076101a2d8373fd3addd9355fb7765e 7340Author: Stuart Bennett <stuart@freedesktop.org> 7341Date: Sat Mar 7 21:13:55 2009 +0000 7342 7343 More robust PLL upclocking for old cards 7344 7345commit cb237a34f31f8b8c841974cb64141a2f2e36c53b 7346Author: Stuart Bennett <stuart@freedesktop.org> 7347Date: Sat Mar 7 04:38:12 2009 +0000 7348 7349 bios/randr12: mode validation fixes (includes fix for #20298) 7350 7351 Remove arbitrary 12000kHz mode clock lower bound (#20298) 7352 Use DCB supplied max dac clock (and remove a memcpy) 7353 7354commit 9cfccd7281a715e45a4296226d9d52854230f346 7355Author: Stuart Bennett <stuart@freedesktop.org> 7356Date: Sat Mar 7 04:34:20 2009 +0000 7357 7358 Handle failure to calculate pll values better 7359 7360 Ensure pll limit table get parsed on nv30 and nv35 too 7361 7362commit 1e994400913bc656b34440df67aa105aa2b211c4 7363Author: Stuart Bennett <sb476@cam.ac.uk> 7364Date: Fri Jan 16 22:26:28 2009 +0000 7365 7366 xv: return BadAlloc if destination pixmap is not put into EXA offscreen (#15792) 7367 7368 Lets the player get X errors, instead of the card choking trying to do system 7369 memory addresses 7370 7371 We could use exaDrawableIsOffscreen() here, but that's only in new xservers. 7372 7373commit 77347da64f86822f128e0dae3e89a6b80282c4ba 7374Author: Stuart Bennett <stuart@freedesktop.org> 7375Date: Fri Feb 27 01:22:13 2009 +0000 7376 7377 Remove duplicated DCB parsing 7378 7379 Store stuff in DCB private instead 7380 7381commit 1b6cabeee4c0160335c174bd4e9111dbd9535aaa 7382Author: Stuart Bennett <stuart@freedesktop.org> 7383Date: Tue Mar 3 01:03:45 2009 +0000 7384 7385 Remove VBIOS access in parse_dcb_entry 7386 7387commit 72fd0ae537e4db208bbfa142dd70144901d7f267 7388Author: Stuart Bennett <stuart@freedesktop.org> 7389Date: Tue Mar 3 21:51:46 2009 +0000 7390 7391 randr12: no need to re-detect edid for lvds, it's not going away 7392 7393 Reuse of nv_connector->edid is safe as nv_lvds_output_get_modes doesn't call 7394 nv_output_get_edid_modes after a mode has been found once 7395 7396commit ae981a8075395af40cf530f2aa24ac68d2ca0e77 7397Author: Maarten Maathuis <madman2003@gmail.com> 7398Date: Thu Mar 5 20:21:39 2009 +0100 7399 7400 nv50: some minor modesetting changes 7401 7402commit 42f99e68940a526f804e2046676c1d06d1bbbb42 7403Author: Ben Skeggs <skeggsb@gmail.com> 7404Date: Thu Mar 5 12:11:03 2009 +1100 7405 7406 nv30/xv: restore original viewport/clipping after putimage 7407 7408 Fixes two cases of corruption I seen while using the texture adaptors with 7409 a composite manager. 7410 - desktop getting clipped to video size sometimes 7411 - missing fonts on some menu items after xv+compmgr 7412 7413commit 56bb8f8e81e9d152217df7863e59781009a9bb77 7414Author: Stuart Bennett <stuart@freedesktop.org> 7415Date: Wed Mar 4 19:48:29 2009 +0000 7416 7417 Allow parse_fp_mode_table for x86 cards that find themselves on ppc 7418 7419commit 1c2f33ed33791f391d059778b1490222e8cd1e1d 7420Author: Stuart Bennett <stuart@freedesktop.org> 7421Date: Wed Mar 4 19:40:37 2009 +0000 7422 7423 Don't rely on the bios mobile feature bit for BMP biosen (#19986) 7424 7425 Quadro bios builds also set the mobile bit (not on nv10gl, but for all 7426 observed subsequent Quadros before nv4x (intro of BIT bios structure). 7427 So for BMP cards, use bit 6 of cr4b on head A to detect mobile biosen (all 7428 sampled mobile bios images set this in their init scripts, and non-mobile 7429 don't) 7430 7431commit e436c7ee98c2eda9d5ba45f7d897d68497b52799 7432Author: Stuart Bennett <stuart@freedesktop.org> 7433Date: Wed Mar 4 20:59:42 2009 +0000 7434 7435 randr12: make treatment of CR4B more closely resemble blob's behaviour 7436 7437 Possibly totally unnecessary anyway 7438 7439commit c61102b326455f6c63a55c8c73ed629994281588 7440Author: Stuart Bennett <stuart@freedesktop.org> 7441Date: Wed Feb 18 01:17:29 2009 +0000 7442 7443 Parse bios fp mode during modesetting, removing extra alloc 7444 7445 Also, it seems that the mode parsing was wrong on big endian for years, so 7446 fix that (though Apple laptops have DDC panels anyway) 7447 7448commit 631e15a03b8a790d342aefe677f8c5eb33935de6 7449Author: Stuart Bennett <stuart@freedesktop.org> 7450Date: Tue Mar 3 22:03:00 2009 +0000 7451 7452 Get dual_link and dithering bios info through lvds table parsing function 7453 7454 Now that lvds table is only parsed during modesetting, return the parsed 7455 data in out parameters to make the ordering requirements obvious 7456 7457 Since calling this on nv50 is pointless, that code was commented out 7458 7459commit 2d4377193f5e2166af3df32ddcfb1235be82764e 7460Author: Stuart Bennett <stuart@freedesktop.org> 7461Date: Tue Mar 3 21:52:04 2009 +0000 7462 7463 Call parse_lvds_manufacturer_table during modesetting only (#19986 partial fix) 7464 7465 Also remove SetOwner call now that locking crtcs doesn't change the set head 7466 7467 Moving parse_lvds_manufacturer_table to modesetting means it only gets 7468 called for lvds outputs, removing the dependency on checking for the mobile 7469 bios build. Another benefit is making the strap and EDID FP paths common. 7470 7471 A side effect is that as the lvds dithering toggle depends on the results of 7472 parse_lvds_manufacturer_table, setting that moves to after calling the 7473 parsing function 7474 7475commit ce8f5d71dacbe0d56cfcb17dfe60f1c4c6cf1773 7476Author: Stuart Bennett <stuart@freedesktop.org> 7477Date: Tue Mar 3 17:24:09 2009 +0000 7478 7479 Variety of LVDS script changes 7480 7481 Remove lvds invocation static 7482 No LVDS_INIT for BIT biosen 7483 Merge in one-time call to LVDS_INIT script to main script function 7484 Make sel_clk preservation stuff use regular reg writing functions 7485 7486commit 071d5373df744c0c9578134fa634bce1e202d4f3 7487Author: Stuart Bennett <stuart@freedesktop.org> 7488Date: Tue Feb 17 16:45:50 2009 +0000 7489 7490 Read embedded bios edid only on demand 7491 7492commit f04689cb326da409448d54694e2660cf4b4b7950 7493Author: Ben Skeggs <skeggsb@gmail.com> 7494Date: Tue Mar 3 10:14:26 2009 +1000 7495 7496 move memset of fb after NVSave(), hopefully fix lost VGA fonts 7497 7498commit 6961efb84dd6894aaaf010a9f620231dfcbad004 7499Author: Ben Skeggs <skeggsb@gmail.com> 7500Date: Mon Mar 2 11:35:05 2009 +1000 7501 7502 kms: fix check for xf86drmMode.h 7503 7504commit 76fa6569ffd1a7f61e295753383bd01b246b5348 7505Author: Stuart Bennett <stuart@freedesktop.org> 7506Date: Mon Mar 2 16:43:06 2009 +0000 7507 7508 Detypedef bios_t, rename bios io functions, group various helper functions 7509 7510commit 39c9d0231c0d24bf91dbe9ab262f54fcad1b3b2f 7511Author: Stuart Bennett <stuart@freedesktop.org> 7512Date: Fri Feb 27 18:57:35 2009 +0000 7513 7514 Move parsed DCB to bios structs, split into public and private parts 7515 7516commit 275daaf7be46e54ca59067d3f2a6e6790e1ce7e0 7517Author: Stuart Bennett <stuart@freedesktop.org> 7518Date: Fri Feb 27 17:46:26 2009 +0000 7519 7520 Split bios struct into struct for nv_bios.c, and exported public info struct 7521 7522commit 8b3e966e3230add04aa05a9ded3f8a647afe0d91 7523Author: Stuart Bennett <stuart@freedesktop.org> 7524Date: Sun Mar 1 20:50:15 2009 +0000 7525 7526 Remove never updated bios opcodes 0x31, 0x5A and 0x73 7527 7528 Notices of removal left in case any bios using them ever appears, so they 7529 can be found in git history 7530 7531 Also nuke a few unused reg access defines 7532 7533commit ce9eb05f516899f56e66cc290fc7c4f9d3085882 7534Author: Stuart Bennett <stuart@freedesktop.org> 7535Date: Fri Feb 27 23:14:24 2009 +0000 7536 7537 Trivial bios convenience variable changes 7538 7539commit cfeef1144943e72d62a2c0d9701ddf4a639deeca 7540Author: Maarten Maathuis <madman2003@gmail.com> 7541Date: Fri Feb 27 17:30:40 2009 +0100 7542 7543 exa: forgot to check if EXA_SUPPORTS_PREPARE_AUX was defined 7544 7545commit 37a85dcbd6f6134a43b5c9bb883553fdaf7c0bd9 7546Author: Maarten Maathuis <madman2003@gmail.com> 7547Date: Fri Feb 27 17:23:42 2009 +0100 7548 7549 exa: we support PREPARE_AUX 7550 7551commit 1249fd25a529702a4c6fb4831ef92e801f0b6122 7552Author: Maarten Maathuis <madman2003@gmail.com> 7553Date: Fri Feb 27 17:21:47 2009 +0100 7554 7555 Revert "exa: support major version 3" 7556 7557 This reverts commit b7f99aec7282ca7c81d19ff3ad7d9ff22275d476. 7558 7559commit 1c4a284a80ebed9f9d1e01c47b929481801566b5 7560Author: Stuart Bennett <stuart@freedesktop.org> 7561Date: Fri Feb 20 20:02:38 2009 +0000 7562 7563 Rework PLL decoding in terms of pll_vals, save/restore pll_vals on vt switch 7564 7565 If your nv04-nv4x vt after running nouveau is more broken than it was with 7566 the previous commit, file a bug 7567 7568commit 81b4732162915ab1ac0593e0ef21b56b089dafae 7569Author: Stuart Bennett <stuart@freedesktop.org> 7570Date: Fri Feb 20 19:11:41 2009 +0000 7571 7572 New common struct for pll values 7573 7574 Makes the compiler do our dirty accessing work for us 7575 7576commit adf2e350341b983d27123550041c3b1ddaac4526 7577Author: Stuart Bennett <stuart@freedesktop.org> 7578Date: Wed Feb 25 02:11:27 2009 +0000 7579 7580 Check whether NV_RAMDAC_580 has changed when setting PLLs 7581 7582commit b7f99aec7282ca7c81d19ff3ad7d9ff22275d476 7583Author: Maarten Maathuis <madman2003@gmail.com> 7584Date: Tue Feb 24 19:13:23 2009 +0100 7585 7586 exa: support major version 3 7587 7588commit d91fc78859b11d00c822e5cae70f0fc511b26701 7589Author: Ben Skeggs <skeggsb@gmail.com> 7590Date: Tue Feb 24 08:31:40 2009 +1000 7591 7592 kms: fix resize func 7593 7594 Don't change virtualX/virtualY when we're not resizing the actual framebuffer, 7595 just change displayWidth to account for the adjusted scanout size. 7596 7597 With driver pixmaps, we'll be able to do "proper" framebuffer resize. 7598 7599commit 535498bcfe79858e08ae1f01125025f56bcd504f 7600Author: Ben Skeggs <skeggsb@gmail.com> 7601Date: Mon Feb 23 08:20:34 2009 +1000 7602 7603 clear the scanout buffer on statup to avoid seeing garbage on-screen 7604 7605commit 022767373474a0dacf50ee6fcd6401db15018aca 7606Author: Ben Skeggs <skeggsb@gmail.com> 7607Date: Fri Feb 20 13:59:58 2009 +1000 7608 7609 nv50/exa: properly align offset for mem_tile ioctl 7610 7611 I really really hate this ioctl().. 7612 7613commit e09f50e5f9126c682289b7ba790f16b93a80b876 7614Author: Stuart Bennett <stuart@freedesktop.org> 7615Date: Wed Feb 18 21:04:00 2009 +0000 7616 7617 bios/randr12: fix dual link TMDS (#20006) 7618 7619 TMDS04 needs setting, just as for LVDS, and bit 31 of fp_control should also 7620 be set (although in this instance the scripts ensure it is set) 7621 Furthermore, stop dpms clobbering any changes made to fp_control by scripts 7622 7623 Many thanks to bmaass for testing 7624 7625commit b968db77037790dd5be91d6fafa0552eb7e9520f 7626Author: Stuart Bennett <stuart@freedesktop.org> 7627Date: Mon Feb 16 21:38:31 2009 +0000 7628 7629 Return of "bios: fix create_i2c_device for g80" 7630 7631commit 0a439ba05aa192e7433d430acd91b60719d20caf 7632Author: Stuart Bennett <stuart@freedesktop.org> 7633Date: Wed Feb 11 20:52:43 2009 +0000 7634 7635 Parse DCB before running init 7636 7637commit 870b6f0d2df3e64af5ac921594b1742f82329c49 7638Author: Stuart Bennett <sb476@cam.ac.uk> 7639Date: Tue Jan 20 05:29:38 2009 +0000 7640 7641 Split parsing and init into separate functions 7642 7643commit 0280a0c975830b5c4b2edf4fff8a79fb7d67b9df 7644Author: Stuart Bennett <stuart@freedesktop.org> 7645Date: Wed Feb 11 18:53:56 2009 +0000 7646 7647 Attempt to remove pNv and bios_t use in parsing the DCB 7648 7649 It's meant to parse a section of rom image into useful things, so use of pNv 7650 ought to be unusual. 7651 Access to things contained in pNv and bios_t makes it harder to prove parsing 7652 ordering requirements 7653 7654commit 9179c6667cf859248a525c8d01922b69ed45c17b 7655Author: Stuart Bennett <stuart@freedesktop.org> 7656Date: Wed Feb 11 18:33:47 2009 +0000 7657 7658 Variety of DCB enhancements 7659 7660 * ensure parsing of dcb_table.i2c_default_indices happens 7661 * only merge entries on dcb versions < 2.1, and note consequnces of merging 7662 * correct dcbent->index on post-merge compacted entries 7663 * drop pointless memcpy 7664 * return an error if no outputs found 7665 * define dcb structure in nouveau_bios.h (ought to rename pNv->dcb_table to pNv->dcb one day) 7666 7667commit 317ca477cdbb936f29360984bcee25a0ecda3aa3 7668Author: Stuart Bennett <stuart@freedesktop.org> 7669Date: Mon Feb 16 21:15:51 2009 +0000 7670 7671 Revert "bios: fix create_i2c_device for g80" 7672 7673 This reverts commit ca72ca24784b9da09b6e3e0b39f3aa32b8f7b502. 7674 It'll be back in a minute. 7675 7676commit 7b25a3019beba6342505fa16327a5bcd43669f90 7677Author: Maarten Maathuis <madman2003@gmail.com> 7678Date: Mon Feb 16 21:23:56 2009 +0100 7679 7680 nv04: unbreak copy 7681 7682commit 60c8bb1391a51188a4981b4936c190c149b79b7f 7683Author: Ben Skeggs <skeggsb@gmail.com> 7684Date: Mon Feb 16 13:09:39 2009 +1000 7685 7686 default to autodetecting whether to enable the driver's kms paths 7687 7688commit a31b1d0118dc7b4d07a2c232fcd5aafbf94f69b9 7689Author: Ben Skeggs <skeggsb@gmail.com> 7690Date: Mon Feb 16 09:49:39 2009 +1000 7691 7692 exa: reimplement driver-controlled pixmaps 7693 7694commit d97e993072dc773ecfeb80b5e138b5e4598a1c3d 7695Author: Ben Skeggs <skeggsb@gmail.com> 7696Date: Mon Feb 16 08:50:02 2009 +1000 7697 7698 exa: preparation for reintroducing driver-controlled pixmaps 7699 7700commit 1e00c7d1e6edb7f6b4e6d12ef227d27413948f8f 7701Author: Maarten Maathuis <madman2003@gmail.com> 7702Date: Sun Feb 15 18:52:59 2009 +0100 7703 7704 shadowfb: clip copied regions to frontbuffer size. 7705 7706 - There have been reports of crashed when moving windows outside the visible screen. 7707 7708commit efe27964fa25f71dcbdc7a751210860369ea0e11 7709Author: Maarten Maathuis <madman2003@gmail.com> 7710Date: Sun Feb 15 16:54:18 2009 +0100 7711 7712 nv50: correct a poorly written comment 7713 7714commit 2573c065423af47e14263479c66f2308259f29b8 7715Author: Ben Skeggs <skeggsb@gmail.com> 7716Date: Fri Feb 13 10:46:13 2009 +1000 7717 7718 exa: remove exaWaitSync() call in nouveau_exa_pixmap_map() 7719 7720 unnecessary, nouveau_bo_map() will sync if required. 7721 7722commit 500053517cb5fe058468c8965f43e6c3209ba7b5 7723Author: Ben Skeggs <skeggsb@gmail.com> 7724Date: Thu Feb 12 09:04:43 2009 +1000 7725 7726 exa: don't need exaMarkSync on DFS, the operation will be done already 7727 7728commit a7e7c557dbf9b2fe54db401793608128de08bdf5 7729Author: Ben Skeggs <skeggsb@gmail.com> 7730Date: Thu Feb 12 09:01:49 2009 +1000 7731 7732 xv: remove notifier usage 7733 7734commit 8ecb8d5331bdb910beea416cdb0b662c624c5c96 7735Author: Ben Skeggs <skeggsb@gmail.com> 7736Date: Thu Feb 12 09:00:07 2009 +1000 7737 7738 exa: remove notifier waits in UTS/DFS 7739 7740 nouveau_bo will handle CPU/GPU sync if necessary when bo_map() is called. 7741 7742commit cfb884b816eebbdaa2103dd233c6f975834e536d 7743Author: Maarten Maathuis <madman2003@gmail.com> 7744Date: Fri Feb 13 22:29:33 2009 +0100 7745 7746 bios: add some more valid regs 7747 7748commit ca72ca24784b9da09b6e3e0b39f3aa32b8f7b502 7749Author: Maarten Maathuis <madman2003@gmail.com> 7750Date: Fri Feb 13 22:18:18 2009 +0100 7751 7752 bios: fix create_i2c_device for g80 7753 7754commit bbd7041791eacd357afa775236d4123dd98ab9c9 7755Author: Maarten Maathuis <madman2003@gmail.com> 7756Date: Fri Feb 13 20:30:24 2009 +0100 7757 7758 bios: implement opcode 0x76 (INIT_IO_CONDITION). 7759 7760commit 5dd2cbe454ee8560c814f3fd96d7c28e0fec1dc1 7761Author: Maarten Maathuis <madman2003@gmail.com> 7762Date: Thu Feb 12 17:13:42 2009 +0100 7763 7764 exa: add nouveau_exa_pixmap_is_tiled 7765 7766commit 15ccf721791fa4f61784ad00449630c6d2496328 7767Author: Stuart Bennett <stuart@freedesktop.org> 7768Date: Sat Feb 7 16:40:46 2009 +0000 7769 7770 randr12: anti-crash measures for #19854 7771 7772commit 17e9d4bb8c46d67e201b2a369eff7db805dff07b 7773Author: Stuart Bennett <stuart@freedesktop.org> 7774Date: Fri Apr 4 19:01:20 2008 +0100 7775 7776 randr12: use bios PLL setting routines for modesetting 7777 7778 Only used for setting modes currently, old code remains for restore 7779 7780commit e444e0e348b3aab59671ffdeb605f9a57c46bf70 7781Author: Stuart Bennett <stuart@freedesktop.org> 7782Date: Tue Jan 20 03:23:40 2009 +0000 7783 7784 Readability improvements for nv_hw.c and nvreg.h 7785 7786commit f5ea66c2ef2c726b6a0aff72843c379ab25dbaff 7787Author: Stuart Bennett <stuart@freedesktop.org> 7788Date: Tue Feb 10 19:01:43 2009 +0000 7789 7790 Pull in extras from CRTC PLL code to bios routines 7791 7792 * g7x magic bits 7793 * 0xc040 manipulation for vplls 7794 7795commit 416636509152cf12c801ac537cb8c1bd20c19b5e 7796Author: Stuart Bennett <stuart@freedesktop.org> 7797Date: Tue Jan 20 02:11:08 2009 +0000 7798 7799 Pull out ramdac580 setting and powerctrl_1 shift code to separate functions 7800 7801 And only twiddle powerctrl_1 for vplls on nv3x single stage pll chips 7802 7803commit 8b7041833c11f32feb7fa5edc21648cc9db1a333 7804Author: Stuart Bennett <stuart@freedesktop.org> 7805Date: Tue Feb 10 19:01:05 2009 +0000 7806 7807 Miscellaneous fixes to bios PLL code 7808 7809 * bios variable was only used for chip_version. simplify. 7810 * set plls faster on single pll cards after nv15/16 7811 * allow early return for single stage plls when already set 7812 * single stage pll mode is only for nv41+ 7813 * 80 cols fixes 7814 7815commit 01bb4c1576a45217953632c9f5612aea9173f95f 7816Author: Stuart Bennett <stuart@freedesktop.org> 7817Date: Mon Feb 9 21:14:43 2009 +0000 7818 7819 Make PROM score badly, out of available bios images, if checksum bad 7820 7821 Problem exposed on a Mac following 0387ac32 7822 7823 Having PROM first is good, if the image is fine. But if the read-only PROM 7824 has problems, not a good idea to use it if there are other options available 7825 7826 Also avoid result contamination, if a read method has returned early and not 7827 overwritten previous image in *data 7828 7829commit 30848dd378d05917c646a24df404846e6f9b2352 7830Author: Stuart Bennett <sb476@cam.ac.uk> 7831Date: Tue Jan 6 16:23:33 2009 +0000 7832 7833 randr12: bodge-in continuous timings when the scaler is in use (#19203) 7834 7835 Similar to 3354e660b0744976871683ce226f17e873f26b50 in the intel driver, except 7836 I can't see much benefit in allowing bigger-than-native resolutions, so no sync 7837 range hacking 7838 7839 A pity the xserver has no idea of scalers and so each driver ends up with a hack 7840 7841commit 0387ac32bef6c714f54917d5d36071ae1224458c 7842Author: Stuart Bennett <stuart@freedesktop.org> 7843Date: Sun Feb 8 09:19:53 2009 +0000 7844 7845 Allow reading of PROM and PCI rom on PPC (for people using x86 cards) 7846 7847commit 6ad66c0b6165822dde167fd1700bd14727ce7087 7848Author: Stuart Bennett <sb476@cam.ac.uk> 7849Date: Sun Jan 25 20:09:36 2009 +0000 7850 7851 bios/randr12: be strict about when to use modes from bios vs modes from ddc 7852 7853 Again, the Inspiron 8100 in #14567 is an example of wackiness, having a 7854 non-0xf i2c_index, but using straps 7855 7856 If the previous commit didn't break your DCB 2.0 EDID equipped laptop, this will 7857 7858commit b5391eb909f8b477c3c438f1136d788acfe6bfd8 7859Author: Stuart Bennett <sb476@cam.ac.uk> 7860Date: Sun Jan 25 03:03:29 2009 +0000 7861 7862 Simplify FP strapping semantics and trust bios parsing of use_straps_for_mode 7863 7864 In many ways a spiritual revert of 11de8d 7865 7866 The compound fp.strapping member faithfully implemented what nvidia sticks in 7867 cr58 (for cr57 == 0xf), but this was never directly useful and had differing 7868 overloaded interpretations with bios version, causing confusion. Return to 7869 just using the result of get_fp_strap (g80 code of which unused and so dropped) 7870 7871 As noted in the commit, there have been DCB 2.0 laptops (as in bug 14567) which 7872 don't set use_straps_for_mode when they should, so we set it for all DCB 1.4-2.0 7873 cards. If EDID-ful DCB 1.4-2.0 laptops exist they will be broken, and will need 7874 fixing later (simplistic fix: use_straps_for_mode = (get_fp_strap() == 0xf) ) 7875 7876 Will also break nv40 straps-based laptops whose tables used reserved values, 7877 but that's pretty broken anyway, and I've no evidence they exist 7878 7879commit 34c2b1539bb2d69dd3bd5911c4fac62e46385d20 7880Author: Stuart Bennett <sb476@cam.ac.uk> 7881Date: Sat Jan 24 18:41:31 2009 +0000 7882 7883 bios/randr12: misc (mainly lvds related) clarifications and cleanups 7884 7885 get_fp_strap() moved (& unused g80 bodge removed) in anticipation of next commit 7886 7887commit 98b8cada6c355d437925a92ef0413e96751ed567 7888Author: Maarten Maathuis <madman2003@gmail.com> 7889Date: Sat Feb 7 21:02:31 2009 +0100 7890 7891 Always allocate 2 hw cursors. 7892 7893 - This hopefully fixes the legacy codepath again. 7894 7895commit f1099810bb3cfe451877667a0224eb3d664e442f 7896Author: Maarten Maathuis <madman2003@gmail.com> 7897Date: Sat Feb 7 20:04:54 2009 +0100 7898 7899 Fix a few warnings. 7900 7901commit 691589d8c05b8b0354e359b4942711f6fffa9903 7902Author: Maarten Maathuis <madman2003@gmail.com> 7903Date: Sat Feb 7 19:59:28 2009 +0100 7904 7905 Fix some cursor fallout, mostly in legacy code. 7906 7907commit 945f0cb644b6e4f34cc04927177fe53529aeb5cf 7908Author: Ben Skeggs <skeggsb@gmail.com> 7909Date: Fri Feb 6 00:44:14 2009 +1000 7910 7911 kms: update drmmode_display 7912 7913commit ba1f897159d910a25560796d11c9d0357869e1c0 7914Author: Ben Skeggs <skeggsb@gmail.com> 7915Date: Thu Feb 5 23:15:24 2009 +1000 7916 7917 keep resources around after leavevt, far too problematic currently 7918 7919commit 4dfd0b1b21415c48c4b6e0e8d335f3fc70922d27 7920Author: Ben Skeggs <skeggsb@gmail.com> 7921Date: Wed Feb 4 15:35:53 2009 +1000 7922 7923 oops 7924 7925commit e02813aab0376271ee777a2b8dafc9381f96311a 7926Author: Ben Skeggs <skeggsb@gmail.com> 7927Date: Wed Feb 4 14:50:35 2009 +1000 7928 7929 link against libdrm_nouveau (installed with libdrm) 7930 7931commit 2c06308a6c5878fca3ff4f2f9c969705d966607f 7932Author: Ben Skeggs <skeggsb@gmail.com> 7933Date: Wed Feb 4 14:09:21 2009 +1000 7934 7935 require drm 0.0.12 7936 7937commit 29aa1341fb28578968953f7e7dc3de0ec66f70f5 7938Author: Ben Skeggs <skeggsb@gmail.com> 7939Date: Mon Feb 2 11:13:55 2009 +1000 7940 7941 fix NoAccel from when map/unmap became stricter 7942 7943commit 62adc557560fa82c2086e32cd16bc51f67a28b48 7944Author: Ben Skeggs <skeggsb@gmail.com> 7945Date: Tue Feb 3 08:10:45 2009 +1000 7946 7947 Revert "Improve the NoAccel situation, but it's not working yet." 7948 7949 This reverts commit 285027a180b676ac63f4c7e158e94ffbe22bf11d. 7950 7951 Sorry, fixed this yesterday and forgot to push the commit. 7952 7953commit 285027a180b676ac63f4c7e158e94ffbe22bf11d 7954Author: Maarten Maathuis <madman2003@gmail.com> 7955Date: Mon Feb 2 11:15:02 2009 +0100 7956 7957 Improve the NoAccel situation, but it's not working yet. 7958 7959 - nouveau_bo related functions will cause problems for fake bo's (since they don't have a bo_priv). 7960 - NoAccel still doesn't work for me (the scanout contains random crap). 7961 7962commit 5e63c7866ac93f39fde49af185387d2094110627 7963Author: Ben Skeggs <skeggsb@gmail.com> 7964Date: Mon Feb 2 13:46:01 2009 +1000 7965 7966 Revert "nv50: make entire offscreen area tiled, use extra blits to scanout buffer" 7967 7968 This reverts commit 6c3f8da1bff3c94353748321b40a523add824327. 7969 7970 EXA doesn't use UTS/DFS hooks when it's accessing the "front buffer" for 7971 software fallbacks, so sw rendering to it was garbled because it doesn't 7972 understand tiling. 7973 7974 The Prepare/FinishAccess hooks could be used to point the pixmap at the 7975 linear scanout buffer instead for sw access, but on VT switch for some 7976 reason exa get called to try and do things, hit the PrepareAccess() hook 7977 and die horribly because in LeaveVT() the driver deallocates the buffers. 7978 7979 The other alternative was to use libwfb to wrap the fb accesses and 7980 handle tiling, but exa isn't quite ready for that yet either - it's 7981 being worked on. 7982 7983 Another point made about this patch was that we should figure out the 7984 display engine and get it to scanout the tiled buffer directly, not 7985 commit shoddy workarounds. Even for this "correct" solution, the two 7986 above-mentioned issues still apply. 7987 7988commit 6c3f8da1bff3c94353748321b40a523add824327 7989Author: Ben Skeggs <skeggsb@gmail.com> 7990Date: Mon Feb 2 08:52:18 2009 +1000 7991 7992 nv50: make entire offscreen area tiled, use extra blits to scanout buffer 7993 7994 This fixes some pretty bad performance issues with window resize and desktop 7995 switching where ARGB windows are concerned. It also allows Xv to be used 7996 without a composite manager. 7997 7998 The drawbacks are the use of a little more memory for the shadow scanout 7999 buffer, and a bit more GPU time is used for the extra blits. But it's worth 8000 it. 8001 8002 If you want to get rid of this, figure out how to scanout tiled buffers :) 8003 8004commit 61791028ee9321748b635a85d4e53ed80d143df5 8005Author: Ben Skeggs <skeggsb@gmail.com> 8006Date: Sun Feb 1 18:58:27 2009 +1000 8007 8008 nv10: use the correct 3d object on NV1A 8009 8010commit dfd87ece014402339f82ecc26bc27b2e47e213df 8011Author: Younes Manton <younes.m@gmail.com> 8012Date: Sat Jan 31 16:52:46 2009 -0500 8013 8014 xv: Unmap filter table BO after init so it can be validated (nv30,40) 8015 8016commit b8de749bbaeacbbe677df1939f7fd39d9d3863a7 8017Author: Stuart Bennett <sb476@cam.ac.uk> 8018Date: Sat Jan 24 05:40:02 2009 +0000 8019 8020 Avoid any risk of parsing oscillation on if_is_24bit 8021 8022 Would depend on having a BMP laptop with EDID equipped panel and a bios that 8023 doesn't match current suspicions, but better safe 8024 8025commit 0a0bb720da63e4a323978e4a52a4d6e1e4f4ae27 8026Author: Stuart Bennett <sb476@cam.ac.uk> 8027Date: Wed Jan 21 00:33:55 2009 +0000 8028 8029 Split up parsing the bit structure, complain when necessary tables are missing 8030 8031 Added bios major version 0x60 (g80+) check since it now complains about missing 8032 the BIT "A" table on nv4x roms 8033 Also permits on-demand parsing of individual tables if needed in the future 8034 8035commit 2d86018d52c387d4f2370b7c1ff83798ad6e1cf7 8036Author: Stuart Bennett <sb476@cam.ac.uk> 8037Date: Sun Jan 25 20:12:41 2009 +0000 8038 8039 Swap the order of calling parse_fp_mode_table and parse_lvds_manufacturer_table 8040 8041 Last seen in this order pre 11de8d7a 8042 8043commit 8c6b3a800ae2df35b6475a46aebab32f0577261a 8044Author: Stuart Bennett <sb476@cam.ac.uk> 8045Date: Tue Jan 20 04:04:43 2009 +0000 8046 8047 Make calling of init bios functions common 8048 8049 Bios structure parsing stage should no longer require hw access 8050 This involves serializing BIT hw-accessing functions after BIT structure 8051 parsing, but order is maintained so should cause no issues 8052 8053 Also, set a digital_min_front_porch default on BIT PPC (G5s), as they have no BIT 8054 "display" table (might even fix some wonky display issues like #17571) 8055 8056commit 9b32034eb72e580d4cb5a5e2fa22a76eff0e7f26 8057Author: Stuart Bennett <sb476@cam.ac.uk> 8058Date: Thu Jan 29 04:07:04 2009 +0000 8059 8060 Don't read obviously useless bios images, and drop 5x reading on PROM 8061 8062 If some nv43 actually need the 5x bodge (no pramin image) we can add it back as 8063 a method of last resort 8064 PCIR check taken from mmiotrace of the blob's PROM behaviour 8065 8066commit 63aa210f7aee4674337fed3ebfebd198ff1e699b 8067Author: Stuart Bennett <sb476@cam.ac.uk> 8068Date: Wed Jan 28 16:08:42 2009 +0000 8069 8070 Implement bios I2C opcode 4E (untested) 8071 8072 Courtesy an old trace by RAOF 8073 8074commit a81f1590d384bad214111139db9c988ff7676e83 8075Author: Stuart Bennett <sb476@cam.ac.uk> 8076Date: Wed Jan 28 15:39:24 2009 +0000 8077 8078 Handle I2C device 0xff fallback for I2C bios opcodes 8079 8080 Courtesy an old trace by RAOF 8081 Also, use i2c record entry length when available and make rundigitaloutscript 8082 function name legible 8083 8084commit 34e967e689a186cdde2f6c3ec222a6870b3584ea 8085Author: Stuart Bennett <sb476@cam.ac.uk> 8086Date: Wed Jan 28 15:48:27 2009 +0000 8087 8088 Fix pasta error in bios opcode 4D 8089 8090commit 786dd366474006b10c740c5012630ff5f1cd2a0f 8091Author: Stuart Bennett <sb476@cam.ac.uk> 8092Date: Thu Jan 29 17:56:40 2009 +0000 8093 8094 Fix nv04+ IFC upload and frag prog upload 8095 8096commit 3ab65cf6af0d3f892ade584c29f861f9f8a9d021 8097Author: Ben Skeggs <skeggsb@gmail.com> 8098Date: Thu Jan 29 16:51:53 2009 +1000 8099 8100 add vm_vram_base field to nouveau_device instead of hardcoding 512MiB 8101 8102commit d833c81fadf7dd63ab4ca94b953397fcbe0be581 8103Author: Ben Skeggs <skeggsb@gmail.com> 8104Date: Thu Jan 29 16:25:14 2009 +1000 8105 8106 nv50/xv: previous xv commit was bonged - fix that 8107 8108 It actually still worked just fine, but it was wrong. It's possible we'll 8109 have more than 1 clipbox, in which case the check for enough space in the 8110 pushbuf for a single frame is insufficient. 8111 8112 Check for enough space just before emitting quads, if there's not enough 8113 flush and reemit state - then go again. 8114 8115commit 0f741eb09c556f8d7893628964fedea862322771 8116Author: Ben Skeggs <skeggsb@gmail.com> 8117Date: Thu Jan 29 16:10:18 2009 +1000 8118 8119 exa: small cleanup 8120 8121commit c10c3c9bbabe8682fe1500098dc53f631690b182 8122Author: Ben Skeggs <skeggsb@gmail.com> 8123Date: Thu Jan 29 15:43:51 2009 +1000 8124 8125 exa: mass renaming and movement of nv04 solid/copy code to nv04_exa.c 8126 8127commit 81ace5dd1fa2c2760036fb1371cc61a383b2698e 8128Author: Ben Skeggs <skeggsb@gmail.com> 8129Date: Thu Jan 29 15:29:37 2009 +1000 8130 8131 exa: remove driver pixmaps path that never worked here anyway 8132 8133 Bits and pieces remain (disabled) in various modesetting bits for reference. 8134 Some of it may be useful when it reappears again. 8135 8136commit 4b1829e2c66f92a19a233afb749f3fb946930db5 8137Author: Ben Skeggs <skeggsb@nisroch.(none)> 8138Date: Tue Oct 7 00:44:46 2008 +1100 8139 8140 exa: remove NVCopyROP table.. 8141 8142commit 410788dc896d99b658508e3a7ebcb4940a039f35 8143Author: Ben Skeggs <skeggsb@gmail.com> 8144Date: Thu Jan 29 14:32:13 2009 +1000 8145 8146 blow up horribly if GPU access to mapped buffer is attempted 8147 8148 ...and fix the numerous cases where this was done. The current bufmgr couldn't 8149 care less, and synchronisation is done elsewhere. This won't be the case for 8150 much longer. 8151 8152commit 4c9346bd750797ee0f0485195f7ce8beb2114b04 8153Author: Ben Skeggs <skeggsb@gmail.com> 8154Date: Thu Jan 29 14:24:57 2009 +1000 8155 8156 bo_del->bo_ref, closer to ng api 8157 8158commit c533f86b512b9d84ec698163a8fbc54233648fbb 8159Author: Ben Skeggs <skeggsb@gmail.com> 8160Date: Thu Jan 29 14:13:06 2009 +1000 8161 8162 exa: same for UTS state 8163 8164commit 02677c07f9af01fa3b1eb787d6d320aa43c9140b 8165Author: Ben Skeggs <skeggsb@gmail.com> 8166Date: Thu Jan 29 14:10:51 2009 +1000 8167 8168 exa: ensure DFS state is updated across flushes 8169 8170commit 69d02bc73409c8010d19c9f87780b0c0e7621e43 8171Author: Ben Skeggs <skeggsb@gmail.com> 8172Date: Thu Jan 29 13:52:08 2009 +1000 8173 8174 nv50: remove some redundant init, this stuff is done as required now 8175 8176commit 60aea9057a78255a0ded1f64a9b9efd75017347f 8177Author: Ben Skeggs <skeggsb@gmail.com> 8178Date: Thu Jan 29 13:50:28 2009 +1000 8179 8180 nv50: forgotten buffer access flags during init 8181 8182commit 5a382dddc948c49f3f5159c078875ee6cdf56db7 8183Author: Ben Skeggs <skeggsb@gmail.com> 8184Date: Thu Jan 29 13:04:04 2009 +1000 8185 8186 nv10/exa: resubmit state in composite as needed 8187 8188commit d4ff8db7b0fb34e0494042b128251ad78c19ad09 8189Author: Ben Skeggs <skeggsb@gmail.com> 8190Date: Thu Jan 29 12:58:30 2009 +1000 8191 8192 nv30/exa: resubmit state in composite as needed 8193 8194commit b71ebcb2c8a0c97837f3de09f034c0bbb35f562c 8195Author: Ben Skeggs <skeggsb@gmail.com> 8196Date: Thu Jan 29 12:56:39 2009 +1000 8197 8198 nv40/exa: resubmit state in composite as necessary 8199 8200commit 6ddaddbb7b9442000f1e665bf61994b16d52cd25 8201Author: Ben Skeggs <skeggsb@gmail.com> 8202Date: Thu Jan 29 12:11:24 2009 +1000 8203 8204 exa: rework common pre-nv50 code in the same way nv50 code just was 8205 8206 Still have card-specific composite hooks to go. 8207 8208commit f36fa31401b060b9785d1835845c8ce09f8fe6b1 8209Author: Ben Skeggs <skeggsb@gmail.com> 8210Date: Thu Jan 29 11:25:22 2009 +1000 8211 8212 nv50/xv: ensure entire frame will fit in pushbuf without causing a flush 8213 8214commit 1b48331f6bd077f39797bb2d25b62c3c9df5ccb3 8215Author: Ben Skeggs <skeggsb@gmail.com> 8216Date: Thu Jan 29 10:38:53 2009 +1000 8217 8218 nv50/exa: ensure buffer usage is tracked correctly 8219 8220commit 7e644265267b4e35a05328b1c4cb1f2ef5beea58 8221Author: Ben Skeggs <skeggsb@gmail.com> 8222Date: Thu Jan 29 10:13:57 2009 +1000 8223 8224 remove unconditional FIRE_RING() in DoneComposite() hooks 8225 8226 Far, far too much flushing. Will completely destroy performance with kernel 8227 command submission. 8228 8229commit 34fc4461a6f612e4e00db483effe3a2b9760e70c 8230Author: Ben Skeggs <skeggsb@gmail.com> 8231Date: Thu Jan 29 09:47:21 2009 +1000 8232 8233 hack a flush_notify() hook in to match ng 8234 8235 preparation for rework of accel code so it'll be more suitable for ng-style 8236 command submission. 8237 8238commit d9da090cae1d2dfc539c9db4c923c0e665bce975 8239Author: Ben Skeggs <skeggsb@gmail.com> 8240Date: Thu Jan 29 09:38:39 2009 +1000 8241 8242 Drop GPU resources on LeaveVT, reaquire on EnterVT 8243 8244 This allows GDM's switch-user functionality to work on some systems. 8245 8246commit 1eb8b8778037336e530e113b8bbd61d724b1cc52 8247Author: Ben Skeggs <skeggsb@gmail.com> 8248Date: Wed Jan 28 13:50:55 2009 +1000 8249 8250 Enable ShadowFB for DRM-less mode. 8251 8252commit 487463895390500fd4e899f4e3badbb44f2b5429 8253Author: Ben Skeggs <skeggsb@gmail.com> 8254Date: Wed Jan 28 13:41:44 2009 +1000 8255 8256 Allow NoAccel operation without the DRM module present. 8257 8258commit f78aeed720ef185ccdea2d62e02b2714f00ee49c 8259Author: Ben Skeggs <skeggsb@gmail.com> 8260Date: Wed Jan 28 10:30:43 2009 +1000 8261 8262 if CARD_INIT ioctl fails, report it instead of continuing 8263 8264commit cf65b875ba3467060d8a3806914b75c710504b78 8265Author: Stuart Bennett <sb476@cam.ac.uk> 8266Date: Wed Jan 21 05:22:34 2009 +0000 8267 8268 Fix stupidity introduced in 25de6b867f319099dac05ba84f170da0f0e6c803 8269 8270 Wow. (function executes before bios is parsed, hence version check never works) 8271 8272commit 55e9cdda6e555937e8f5f3998a2e603669b84df4 8273Author: Stuart Bennett <sb476@cam.ac.uk> 8274Date: Tue Jan 20 05:09:22 2009 +0000 8275 8276 Split out a function for finding the panel power sequencer stuff 8277 8278 and add a bios_t convenience member 8279 8280commit 1b3546b0687a1ae8080009f0c58b26074f08d3af 8281Author: Stuart Bennett <sb476@cam.ac.uk> 8282Date: Tue Jan 20 04:11:11 2009 +0000 8283 8284 Move the bios flat-panel pointers back into the bios struct 8285 8286 Last there in 2007, removed in 82fdd3f76e20fc7dd10fcf00cf1c13520dc56364 :-) 8287 8288commit d29c4815b61635ed53ded94361ba52ee61ea5ac7 8289Author: Stuart Bennett <sb476@cam.ac.uk> 8290Date: Tue Jan 20 03:46:05 2009 +0000 8291 8292 Remove a BITism from BMP parsing path, and move old style BMP init into common path 8293 8294commit 3e971f63b6b6859acc19a52a4003bb6041cc5374 8295Author: Stuart Bennett <sb476@cam.ac.uk> 8296Date: Mon Jan 19 23:02:09 2009 +0000 8297 8298 randr12: lock independent crtc base registers separately (#19620) 8299 8300 Thanks to Mjules for tireless testing, surprising nobody else noticed it earlier 8301 8302commit ffbca7272878d440a06a613df95ce5d7be46f288 8303Author: Stuart Bennett <sb476@cam.ac.uk> 8304Date: Sun Jan 18 17:24:47 2009 +0000 8305 8306 randr12: code motion and allow ramdac580 setting on nv40 8307 8308commit 75a037623adecbe460198066b5059c349de427aa 8309Author: Stuart Bennett <sb476@cam.ac.uk> 8310Date: Sun Jan 18 15:41:23 2009 +0000 8311 8312 randr12: better selection of nv4x single pll mode and some notes 8313 8314commit 767fcea420fc21c5b5ec6c9f2db56c1a667db306 8315Author: Stuart Bennett <sb476@cam.ac.uk> 8316Date: Mon Jan 19 01:51:21 2009 +0000 8317 8318 randr12: no mmiotrace indication that the blob ever clears these bits 8319 8320 some hardware drops them on readback, but I don't think that matters 8321 also make defined bits shifts comprehensible 8322 8323commit 985ac728276633d14fa5577eacbc2095582b2587 8324Author: Stuart Bennett <sb476@cam.ac.uk> 8325Date: Sat Jan 17 23:21:19 2009 +0000 8326 8327 randr12: no mmiotrace evidence for nv47 using the special pll bits 8328 8329commit 3ef6b41a1c072d2f3545915180b522e43e0c8754 8330Author: Stuart Bennett <sb476@cam.ac.uk> 8331Date: Sun Jan 18 16:13:57 2009 +0000 8332 8333 twoStagePLL is actually a description of cards using two PLL regs 8334 8335commit c7a423a24ad7da7b510007a0d5a779999bd8cf73 8336Author: Stuart Bennett <sb476@cam.ac.uk> 8337Date: Sat Jan 17 04:34:48 2009 +0000 8338 8339 nv04 blitter: use correct number of dma params for real nv04 8340 8341commit 25de6b867f319099dac05ba84f170da0f0e6c803 8342Author: Stuart Bennett <sb476@cam.ac.uk> 8343Date: Fri Jan 16 20:22:16 2009 +0000 8344 8345 Complain more about weird bios images 8346 8347 also use bios chip version to test for g80 8348 8349commit 4d72981cc7d156708683aba51489d4691106438c 8350Author: Stuart Bennett <sb476@cam.ac.uk> 8351Date: Wed Jan 14 18:15:21 2009 +0000 8352 8353 randr12: avoid classic macro error 8354 8355 Guess there's not many ppc nv11 users, as it's been here since Feb '08 8356 8357commit 133c1a55134853161a25f358432fd05e736718b5 8358Author: Stuart Bennett <sb476@cam.ac.uk> 8359Date: Tue Jan 6 17:47:07 2009 +0000 8360 8361 No need of separate allocation for bios image 8362 8363 nor of manual allocations for short lived I2C devices 8364 8365commit 8a25049abd2b755187f47572f92b11e9072e522a 8366Author: Stuart Bennett <sb476@cam.ac.uk> 8367Date: Tue Jan 6 16:55:42 2009 +0000 8368 8369 Make turning on bios execution logging slightly easier 8370 8371 and add a minor parsing check 8372 8373commit 54d43c4760b573b5d376859281268046b61fb2f4 8374Author: Maarten Maathuis <madman2003@gmail.com> 8375Date: Fri Jan 9 20:02:44 2009 +0100 8376 8377 nv50: small fix 8378 8379 - planemask is rarely used, so it's just a cleanup. 8380 8381commit 5c9f8d3ce8964ad974175f94b858f9efc11756bb 8382Author: Maarten Maathuis <madman2003@gmail.com> 8383Date: Fri Jan 9 17:48:07 2009 +0100 8384 8385 nv50: Add a fallback for non-repeating XRGB pixmaps. 8386 8387 - Other card generations will most likely need this too. 8388 8389commit 0321e6741d9749f9f6b15ac2099139f24e88eef9 8390Author: Ben Skeggs <skeggsb@gmail.com> 8391Date: Thu Jan 8 14:31:39 2009 +1100 8392 8393 nv50: don't segfault if preinit fails before display setup done 8394 8395commit 7dc567d432fc6a3734bf64244e57bcc3612d5ec2 8396Author: Ben Skeggs <skeggsb@gmail.com> 8397Date: Mon Jan 5 10:51:03 2009 +1100 8398 8399 nv50: correct size/layout of uploaded data 8400 8401 This should fix the minor corruption that is present while playing some 8402 videos. 8403 8404commit 159c18cea2ecb92da74f9a9fdff0a9f5ef03df53 8405Author: Maarten Maathuis <madman2003@gmail.com> 8406Date: Sun Dec 28 17:56:55 2008 +0100 8407 8408 Make CHECK_TIMEOUT() a little more correct. 8409 8410 - Decrease the maximum counter value by a factor 16. 8411 - Determine t_start at the start. 8412 8413commit 5d281a2439de1e8c1848b6b700f30476575966e0 8414Author: Stuart Bennett <sb476@cam.ac.uk> 8415Date: Wed Dec 24 23:38:02 2008 +0000 8416 8417 nv04-nv4x: support RandR 1.3 panning 8418 8419commit 3c4705cb4472680b6cdc02fd5152d565d214226f 8420Author: Stuart Bennett <sb476@cam.ac.uk> 8421Date: Mon Dec 15 01:54:12 2008 +0000 8422 8423 Implement bios opcodes 4C and 4D 8424 8425commit 1fd60f202d41d6bb2028955d3bf9e6fc3921e3ff 8426Author: Stuart Bennett <sb476@cam.ac.uk> 8427Date: Mon Dec 15 01:19:26 2008 +0000 8428 8429 Group all DCB I2C info for a given bus in a structure 8430 8431 Furthermore, use the port type field to determine how to drive a bus, rather 8432 than the chip(s) characteristically associated with that port type 8433 8434commit 31c9958779d95ae84993f4772607367927a0e313 8435Author: Maarten Maathuis <madman2003@gmail.com> 8436Date: Fri Dec 19 19:59:53 2008 +0100 8437 8438 nv50: implement get_crtc 8439 8440 - Won't help much right now (pre-KMS), but it doesn't hurt to prototype now. 8441 8442commit f7a757827c1d62ac8a7246fe3b64fea1891a7a16 8443Author: Maarten Maathuis <madman2003@gmail.com> 8444Date: Thu Dec 18 19:57:50 2008 +0100 8445 8446 nv50: implement set_origin (mostly used for panning) 8447 8448commit 74b2e4e92822fb321a9304f0e077c18de57e585f 8449Author: Maarten Maathuis <madman2003@gmail.com> 8450Date: Wed Dec 17 22:42:20 2008 +0100 8451 8452 configure: Avoid compiling drm modesetting code by accident. 8453 8454commit d104f145260ff183b5f7e4c16cebc1680cf771b7 8455Author: Maarten Maathuis <madman2003@gmail.com> 8456Date: Tue Dec 16 23:54:39 2008 +0100 8457 8458 nv50: Improve lut code. 8459 8460commit 20f93a94ae034ee7c744947f42a29a7c0b50ee9d 8461Author: Stuart Bennett <sb476@cam.ac.uk> 8462Date: Wed Nov 26 01:37:38 2008 +0000 8463 8464 randr12: pass cursor visibility changes through mode state structures 8465 8466commit 763e0f88c79105a726ea05219875a25fc0129e1f 8467Author: Stuart Bennett <sb476@cam.ac.uk> 8468Date: Wed Nov 12 20:32:47 2008 +0000 8469 8470 randr12: allow ddc while crtc is locked 8471 8472commit 9d8bd459485392ec21d90c405510f3f097a61921 8473Author: Stuart Bennett <sb476@cam.ac.uk> 8474Date: Sat Nov 22 21:20:07 2008 +0000 8475 8476 Punt all bios structs and defines into a new header 8477 8478commit a34a2c07662b0175e03161cb48abaea9d814c1eb 8479Author: Stuart Bennett <sb476@cam.ac.uk> 8480Date: Thu Nov 20 17:35:59 2008 +0000 8481 8482 Do not attempt to parse FP mode tables for Mac laptops (#18636) 8483 8484 The two varieties of these laptops I've had the misfortune to encounter use DDC, 8485 and the NV34M based one appears to not include a fp mode table at all 8486 8487commit 1aba513a0b5a00996f28462cd4118214dffd87e2 8488Author: Ben Skeggs <skeggsb@gmail.com> 8489Date: Fri Nov 21 13:16:38 2008 +1100 8490 8491 nv50: program physical addresses into CRTCs, not VM addresses. 8492 8493commit 65b956fb407818117ce17ced6bbe66c55b4acb7c 8494Author: Stuart Bennett <sb476@cam.ac.uk> 8495Date: Mon Nov 17 20:02:19 2008 +0000 8496 8497 randr12: fix stupidity from 539f4990 8498 8499 found by AVRS2 8500 8501commit 1666e858dc027bc028083c15618da5cde5a1b6f1 8502Author: Maarten Maathuis <madman2003@gmail.com> 8503Date: Sun Nov 9 23:10:15 2008 +0100 8504 8505 nv50: use bios provided load detect value 8506 8507commit a020a44a2c48ff20bca6188469cb9cbbb5bf6093 8508Author: Maarten Maathuis <madman2003@gmail.com> 8509Date: Sun Nov 9 22:56:30 2008 +0100 8510 8511 bios: support g80 loadval table 8512 8513commit 220cbb6347cb0404bd24f457ac6cb5e39917cdbf 8514Author: Maarten Maathuis <madman2003@gmail.com> 8515Date: Sat Nov 8 18:01:18 2008 +0100 8516 8517 nv50_randr: plug a small memory leak 8518 8519commit cea05e14f94dcb842adbfcec515e17e9f5655089 8520Author: Stuart Bennett <sb476@cam.ac.uk> 8521Date: Sun Oct 26 03:51:36 2008 +0000 8522 8523 randr12: make colour-map setting less complex 8524 8525commit 0e4b01a5e06d8b5323c010ce89723369f17b10b2 8526Author: Stuart Bennett <sb476@cam.ac.uk> 8527Date: Sat Oct 25 02:11:37 2008 +0100 8528 8529 randr12: convenience functions for vga crtc state access 8530 8531commit fe9bfd9b1b5ce6fd0cd0360ec850ae48b4abac41 8532Author: Stuart Bennett <sb476@cam.ac.uk> 8533Date: Fri Oct 24 21:02:00 2008 +0100 8534 8535 Tidy EnterVT, and don't call it from ScreenInit 8536 8537commit 3e1ccff8744d9cabef0cd3901e987deeeb38ec12 8538Author: Stuart Bennett <sb476@cam.ac.uk> 8539Date: Fri Oct 24 02:49:19 2008 +0100 8540 8541 Condense crtc locking 8542 8543 We unlock all crtcs whenever the driver is active, and relock them when 8544 returning to VT (which is what we were doing, but in a more complicated manner) 8545 8546commit 83b541e0a9c454059d0e55a932a2ecdbbf650d60 8547Author: Stuart Bennett <sb476@cam.ac.uk> 8548Date: Mon Oct 27 19:20:22 2008 +0000 8549 8550 Common function for the bios condition table 8551 8552commit 36c6aa449063387b34c31015d618e53d4b6634e0 8553Author: Stuart Bennett <sb476@cam.ac.uk> 8554Date: Mon Oct 27 18:55:28 2008 +0000 8555 8556 Allow more time in INIT_CONDITION_TIME (#18234) 8557 8558commit bf810b32bc959f3821bca18cf158f711dd314a26 8559Author: Stuart Bennett <sb476@cam.ac.uk> 8560Date: Mon Oct 27 18:41:43 2008 +0000 8561 8562 More warnings for C51's magical unaligned regs 8563 8564commit d481b5e2e1dcb7ac5b5a7583bc6542b42567eac2 8565Author: Stuart Bennett <sb476@cam.ac.uk> 8566Date: Sat Oct 25 17:48:35 2008 +0100 8567 8568 Rework bios parser error handling 8569 8570commit 387f30821ff7add22376de33a203744cdc719849 8571Author: Stuart Bennett <sb476@cam.ac.uk> 8572Date: Sat Oct 25 00:38:29 2008 +0100 8573 8574 RivaTuner dumps call the `how much memory have I got?' reg NV_PFB_CSTATUS 8575 8576commit bb20175001748e5d2fab1b9cb2075bbe5d94e5ed 8577Author: Stuart Bennett <sb476@cam.ac.uk> 8578Date: Fri Oct 24 17:42:53 2008 +0100 8579 8580 pedantry fix for nv11 locking, and some minor cleanups 8581 8582commit 9aecc4226ca9067667004150f7d885b2247273b2 8583Author: Stuart Bennett <sb476@cam.ac.uk> 8584Date: Thu Oct 23 23:17:15 2008 +0100 8585 8586 Add a function to lock/unlock all crtcs, use it in nv_bios code 8587 8588 Also split initial head owner determination into separate function 8589 8590commit 48581da4d0e1663456ddcbf7a456029cf961d4cd 8591Author: Stuart Bennett <sb476@cam.ac.uk> 8592Date: Thu Oct 23 02:35:30 2008 +0100 8593 8594 Attempt to make the usage of cr44 rational instead of cargoculted 8595 8596 and a couple of minor cleanups in nv_crtc 8597 8598commit 1c7bee95610a47175064b17afd6aa2a45e311b1a 8599Author: Stuart Bennett <sb476@cam.ac.uk> 8600Date: Thu Oct 23 02:46:03 2008 +0100 8601 8602 Robust nv11 head setting (from mmiotrace) 8603 8604commit cf5162b5ed99666d3dc8db8328115afd6fff6a8e 8605Author: Stuart Bennett <sb476@cam.ac.uk> 8606Date: Tue Oct 21 02:12:24 2008 +0100 8607 8608 randr12: update scrn field on server regen, and emit an error if rotated 8609 8610 (updating the scrn is easier than removing and re-adding outputs) 8611 8612commit 13739cf36893e8ab6d3d4911c76a45f0b8bd5f4c 8613Author: Stuart Bennett <sb476@cam.ac.uk> 8614Date: Mon Oct 20 21:47:07 2008 +0100 8615 8616 randr12: don't change virtualX/virtualY 8617 8618 all the things in the ddx that use virtual* (setting displayWidth, allocating 8619 the FB, EXA init etc) use the values present before this function is called 8620 8621 these prior values are derived from any Virtual line in xorg.conf and are what 8622 we want to use 8623 8624 setting virtual* to the crtc size here, rather than the desired Virtual size, 8625 breaks everything using them in ScreenInit on server regeneration 8626 8627 as the rhd guys say: 8628 /* This is strange... if we set virtualX/virtualY like the intel driver 8629 * does, we limit ourself in the future to this maximum size. 8630 * The check for this is internally in RandR, no idea why the intel driver 8631 * actually works this way... 8632 * Even more curious: if we DON'T update virtual, everything seems to 8633 * work as expected... */ 8634 so I'll take that as precedent. 8635 8636commit 98a4dcb112221fa66d82b87ef9229f5c443daf90 8637Author: Stuart Bennett <sb476@cam.ac.uk> 8638Date: Mon Oct 20 18:59:35 2008 +0100 8639 8640 Delete notifiers and grobjs in CloseScreen to avoid channel member becoming stale on server regeneration 8641 8642commit 12fce00b2ecf4c6be6cc86c8a7374878bb7dfc20 8643Author: Stuart Bennett <sb476@cam.ac.uk> 8644Date: Wed Oct 22 02:47:45 2008 +0100 8645 8646 Remove all object with mmaps in CloseScreen, so that drmClose actually calls the drm release method 8647 8648 (and so subsequently, we can be DRM master on the next drmOpen) 8649 8650commit 8e3f27a30078675f1a7974ba436a68a5b45e0924 8651Author: Stuart Bennett <sb476@cam.ac.uk> 8652Date: Wed Oct 22 03:32:51 2008 +0100 8653 8654 No reason to call AccelCommonInit twice in ScreenInit, but calling it in EnterVT helps resume... 8655 8656commit f495fa9153ee57d3ee0dc735c3e9e836d84a2ccc 8657Author: Stuart Bennett <sb476@cam.ac.uk> 8658Date: Wed Oct 22 02:41:17 2008 +0100 8659 8660 nouveau_channel_free should remove mmaps made in nouveau_channel_alloc 8661 8662commit 1cedb8e49c832890efd12904e78dfd8ab5855691 8663Author: Stuart Bennett <sb476@cam.ac.uk> 8664Date: Wed Oct 22 02:15:06 2008 +0100 8665 8666 Do frag prog allocation and shader upload in TCL init 8667 8668 Similar in spirit to the nv50 inplementation. 8669 Removes many dependencies on state stored in static variables, which in turn 8670 makes reinitializing shaders on resume / server regeneration tractable. 8671 8672commit 9e2c08937b0d1bfed71997b2b16bded91830af71 8673Author: Stuart Bennett <sb476@cam.ac.uk> 8674Date: Wed Oct 22 01:44:10 2008 +0100 8675 8676 Only hackup shaders once 8677 8678commit afc6668d2b4a1971c211c421b6a415fe74dbd2ea 8679Author: Stuart Bennett <sb476@cam.ac.uk> 8680Date: Sat Oct 18 02:23:18 2008 +0100 8681 8682 cr26 is just another view of 0x3c0 8683 8684 remove superfluous crtc unlock too 8685 8686commit 539f4990c8f1a32da57992dc863f277f8ede8194 8687Author: Stuart Bennett <sb476@cam.ac.uk> 8688Date: Wed Oct 15 03:59:06 2008 +0100 8689 8690 Use symbolic define values where known 8691 8692commit 791666a76c68880136ae26d0477bf484cc667f72 8693Author: Stuart Bennett <sb476@cam.ac.uk> 8694Date: Wed Oct 15 00:25:26 2008 +0100 8695 8696 Convert CIO, DIO and VIO use to use defines from nvreg for index and data reg offsets 8697 8698commit a1b7f8d9b20bff59956ea1dc2130e5590a60aa4c 8699Author: Stuart Bennett <sb476@cam.ac.uk> 8700Date: Wed Oct 15 00:12:11 2008 +0100 8701 8702 Rename relevant functions, sizes and offsets to PRM.IO from P.IO, in keeping with the nvidia scheme 8703 8704commit 267c0eef02f5e2a48217235d170a0530de6a94d3 8705Author: Stuart Bennett <sb476@cam.ac.uk> 8706Date: Tue Oct 14 23:58:11 2008 +0100 8707 8708 Name crtc index regs according to rules.xml 8709 8710commit 9261c34e873356b02a0fda00e9911d9795d9f1f2 8711Author: Stuart Bennett <sb476@cam.ac.uk> 8712Date: Tue Oct 21 17:46:37 2008 +0100 8713 8714 SaveGeneration isn't doing a lot 8715 8716 add another close screen thing too 8717 8718commit c29c190036c721dac2e58e66d0c5a70a24377a1d 8719Author: Stuart Bennett <sb476@cam.ac.uk> 8720Date: Tue Oct 21 16:27:00 2008 +0100 8721 8722 Replace a few memsets with initializers 8723 8724commit 3b53f6ceb86458f9df9b7becc18a79e74b21c91f 8725Author: Stuart Bennett <sb476@cam.ac.uk> 8726Date: Sun Oct 12 15:52:43 2008 +0100 8727 8728 Eliminate separate NVRec ctor and dtor 8729 8730commit 1b18db28f124bd5021f61b72389e5c0ce003b212 8731Author: Stuart Bennett <sb476@cam.ac.uk> 8732Date: Sat Oct 11 21:05:57 2008 +0100 8733 8734 randr12: remove pointless debug in nv_output and nv_crtc 8735 8736commit 240d51dc928cea38f6b9d842b59011ad7c5500c0 8737Author: Stuart Bennett <sb476@cam.ac.uk> 8738Date: Sat Oct 11 18:40:35 2008 +0100 8739 8740 randr12: deBoolification and eliminate `override' arg to nv_crtc_load_state_ext 8741 8742commit b95c3e23f0eac7d12d5ee271af8ec5707ac4ef8e 8743Author: Stuart Bennett <sb476@cam.ac.uk> 8744Date: Sat Oct 11 18:29:40 2008 +0100 8745 8746 Make all CR 57/58 access use the proper functions and defines 8747 8748 Use a define for usleep in bios too 8749 8750commit 9988ae594f6f03385b261b0af83b324981f11593 8751Author: Stuart Bennett <sb476@cam.ac.uk> 8752Date: Sat Oct 11 17:56:23 2008 +0100 8753 8754 Redo bios logging 8755 8756commit 0e6a9cc61c88deaf0e0935d5a7d269621c3d6cd0 8757Author: Stuart Bennett <sb476@cam.ac.uk> 8758Date: Sat Oct 11 18:04:58 2008 +0100 8759 8760 Improve some nv_bios messages, remove others 8761 8762commit b175bfcd6485d9dcddb66ab5f79104567d256336 8763Author: Stuart Bennett <sb476@cam.ac.uk> 8764Date: Sat Oct 11 17:59:02 2008 +0100 8765 8766 Bios register list is easier to read when sorted numerically 8767 8768 and remove NULL initialization for calloc'd struct 8769 8770commit e51b49c938483ccbd172ff07d0385a6fb474b57e 8771Author: Stuart Bennett <sb476@cam.ac.uk> 8772Date: Sat Oct 11 02:35:40 2008 +0100 8773 8774 randr12: panels with edid have only a constant mode 8775 8776 prove me wrong. 8777 8778commit 765494ebf9b129bd613121cb714e928b09e19500 8779Author: Stuart Bennett <sb476@cam.ac.uk> 8780Date: Sat Oct 11 02:16:50 2008 +0100 8781 8782 Remove unnecessary "Setting owner" message 8783 8784commit bf585ad38a80f7828b821936296316bcee4658f5 8785Author: Maarten Maathuis <madman2003@gmail.com> 8786Date: Sat Oct 11 01:22:35 2008 +0200 8787 8788 The fifo channel should be removed along with closing of the fd, so only clear the client memory. 8789 8790commit 8b7e42461add708e75d3f7d675245f5bbf3652e8 8791Author: Maarten Maathuis <madman2003@gmail.com> 8792Date: Fri Oct 10 23:37:55 2008 +0200 8793 8794 git-log is no longer valid for git 1.6, switch to git log. 8795 8796commit 933fd803f0aadc934f448937dbeb305256fe8893 8797Author: Maarten Maathuis <madman2003@gmail.com> 8798Date: Fri Oct 10 23:14:57 2008 +0200 8799 8800 Some fixes that bring me closer to surviving to the 2nd X server generation. 8801 8802 - Not quite done, i get a fifo dump when something tries to render. 8803 - Something is keeping an fd, which is preventing a full takedown, but this is not a valid reason for failing (kernel modesetting 8804 for example will never have full takedown). 8805 8806commit daee3c38a02f48f9094f712800174b88b065f0ff 8807Author: Stuart Bennett <sb476@cam.ac.uk> 8808Date: Thu Oct 9 17:09:58 2008 +0100 8809 8810 randr12: separate cursor pixmap location setting function 8811 8812commit caf2e920f18cad1c57e945a4e474e63a65ec6a43 8813Author: Stuart Bennett <sb476@cam.ac.uk> 8814Date: Thu Oct 9 17:07:30 2008 +0100 8815 8816 Move cursor show/hide funcs to nv_hw, document nv40 bug, and set curctl2 before applying nv40 fix 8817 8818commit f76074c7041b1246efdf2c0a4b0c467e2fe0bef1 8819Author: Stuart Bennett <sb476@cam.ac.uk> 8820Date: Thu Oct 9 17:24:23 2008 +0100 8821 8822 Use correct refclk for nv_get_clock, and use bool type as appropriate in arbitration 8823 8824commit bd5b8074b4a250610cf8c9e2f181c2946e902bf8 8825Author: Stuart Bennett <sb476@cam.ac.uk> 8826Date: Thu Oct 9 15:25:16 2008 +0100 8827 8828 Tidy arbitration prototypes and split randr12 cursor pixmap setting from arbitration 8829 8830 Also fix ages old warning in nv_hw 8831 8832commit 5dc41fdcf4ba76d7154d32f030d2e99756681e4a 8833Author: Stuart Bennett <sb476@cam.ac.uk> 8834Date: Fri Oct 10 01:11:46 2008 +0100 8835 8836 Merge nv4, nv10 and nForce UpdateArbitrationSettings functions 8837 8838commit 0ffd012c922d241aec22c8e44416171e39e6bf0c 8839Author: Stuart Bennett <sb476@cam.ac.uk> 8840Date: Fri Oct 10 00:57:45 2008 +0100 8841 8842 Add PCI slot reading defines, and use them for nForce code 8843 8844 Also move nForce dimm checking code to nv_setup, so it is only tested once 8845 8846commit 520a76ef3df3cdc735691cfda329ceaae0ec3123 8847Author: Stuart Bennett <sb476@cam.ac.uk> 8848Date: Thu Oct 9 20:22:34 2008 +0100 8849 8850 Some tidying of arbitration functions 8851 8852commit 3ceb2b60a09379ef51635f8309fdc82060681e8f 8853Author: Stuart Bennett <sb476@cam.ac.uk> 8854Date: Thu Oct 9 19:05:01 2008 +0100 8855 8856 Reindent arbitration stuff 8857 8858commit d7439fc50a924f6f1a6b5b59ba3ec076cf90c52e 8859Author: Stuart Bennett <sb476@cam.ac.uk> 8860Date: Wed Oct 8 23:45:13 2008 +0100 8861 8862 Wrap usleep when called in bios code 8863 8864commit 62cf9f371c420abe7a74ac4bb9fa2da081f1d29b 8865Author: Stuart Bennett <sb476@cam.ac.uk> 8866Date: Fri Oct 10 16:41:29 2008 +0100 8867 8868 randr12: don't use in use (by another vga output) crtc for load detect (avoids flicker) 8869 8870commit f1d0fd0595b40d3a7f555bada88f1f79b517d610 8871Author: Stuart Bennett <sb476@cam.ac.uk> 8872Date: Tue Oct 7 21:39:10 2008 +0100 8873 8874 Better behaviour on allocator fail 8875 8876 also fix randr12 code which doesn't know how to call calloc 8877 and be sure to use the number of actually inited crtcs 8878 8879commit 2b67015e5911cb7e321da72d7d3d5f0fefedd8e0 8880Author: Stuart Bennett <sb476@cam.ac.uk> 8881Date: Tue Oct 7 02:35:44 2008 +0100 8882 8883 randr12: reorder nv_output functions 8884 8885 roughly into order of use 8886 8887commit 9f4eef0165766be2e1aa5516eae409e94c09553b 8888Author: Stuart Bennett <sb476@cam.ac.uk> 8889Date: Thu Sep 18 18:32:36 2008 +0100 8890 8891 randr12: distinguish detected encoder from active encoder 8892 8893 don't swap output props until a mode is set on new encoder either 8894 8895commit 549cda114ee378640dda89621b0ce9c937c473da 8896Author: Stuart Bennett <sb476@cam.ac.uk> 8897Date: Wed Oct 8 01:22:17 2008 +0100 8898 8899 Reduce includes, everything necessary is in nv_include.h 8900 8901commit 30eaa0f08250f72b0171a858f2694ca8a62c3ebd 8902Author: Stuart Bennett <sb476@cam.ac.uk> 8903Date: Sun Sep 21 00:52:56 2008 +0100 8904 8905 Oops. 8906 8907commit 2481e5646ab3ea5e18d3f5ee4042fa20a8dad3de 8908Author: Stuart Bennett <sb476@cam.ac.uk> 8909Date: Sun Sep 21 00:44:50 2008 +0100 8910 8911 Optimizing memory usage for unaccelerated case is not interesting 8912 8913commit 19f0ea63a505e6a840cf07bc554fd8f1787616b4 8914Author: Stuart Bennett <sb476@cam.ac.uk> 8915Date: Sun Sep 21 00:43:57 2008 +0100 8916 8917 randr12: rename mon -> edid 8918 8919commit 0cb081758f52e73c3055758ed7aced12b93c2519 8920Author: Stuart Bennett <sb476@cam.ac.uk> 8921Date: Sun Sep 21 00:31:40 2008 +0100 8922 8923 randr12: crtc destroy 8924 8925 also alleviate world shortage of curly braces 8926 8927commit 37adca1dd68d5791b0371eed4b96f6613fc747c2 8928Author: Stuart Bennett <sb476@cam.ac.uk> 8929Date: Sat Sep 20 23:57:06 2008 +0100 8930 8931 Need to increment dcb entry index when fabricating additional entries 8932 8933commit e6b6d8c9189f3b5ebbc77f55e318246be0fa1bd4 8934Author: Maarten Maathuis <madman2003@gmail.com> 8935Date: Fri Sep 19 21:23:04 2008 +0200 8936 8937 Also remove man page entry. 8938 8939commit cb1e9c1ab288bcf380789f775533e4c8ff8705db 8940Author: Maarten Maathuis <madman2003@gmail.com> 8941Date: Fri Sep 19 21:14:09 2008 +0200 8942 8943 NV50: remove {Prepare,Finish}Access since i realise now it's not so useful 8944 8945 - despite that the xserver code suggests that pixmaps can be offscreen on this call, that is not done as far as i can tell 8946 - not to mention that there is no way to know for sure if a pixmap is offscreen (exaPixmapIsOffscreen is not exported), making the 8947 offset useless 8948 - this will (obviously) become relevant as soon as driver managed pixmaps come into play, but that is for another day 8949 8950commit 3e397f575df6c3fee6eb9ee810fb3fc70d2c0cc8 8951Author: Maarten Maathuis <madman2003@gmail.com> 8952Date: Fri Sep 19 20:41:59 2008 +0200 8953 8954 NV50: The TMDS dual link threshold is meaningless for LVDS 8955 8956commit 599d258948be0505f02947251ad6877e7168d9a8 8957Author: Stuart Bennett <sb476@cam.ac.uk> 8958Date: Mon Aug 25 01:47:45 2008 +0100 8959 8960 randr12: multiple encoders per connector (DVI-I) 8961 8962 that this doesn't break things in subtle and unexpected ways is too much to 8963 hope for. one not-subtle and expected way things will break is that xorg.confs 8964 with specific setups for DVI-A-n and DVI-D-n connections will need renaming (to 8965 DVI-I-n). 8966 8967 as the last patch in the series, this also fixes an issue introduced with 8968 144b04a2 (randr12: fix dpms, detect, destroy, ...), that for a screen connected 8969 to a dvi connector, both the analogue and digital variants were detected as 8970 connected 8971 8972commit 5e8ac848936a1b70babc417454599c0231343399 8973Author: Ben Skeggs <skeggsb@gmail.com> 8974Date: Wed Sep 17 22:12:07 2008 +1000 8975 8976 nv50: 0xa0 family uses class 0x8397 for 3D 8977 8978commit 9c36eefe991daf47d20badffb3009def99473bdd 8979Author: Stuart Bennett <sb476@cam.ac.uk> 8980Date: Sun Sep 14 23:01:49 2008 +0100 8981 8982 randr12: avoid weirdness when tv-out happens to share i2c_index with another output 8983 8984commit 144b04a258eaa8e3b63c48b5e574524b40a59ac7 8985Author: Stuart Bennett <sb476@cam.ac.uk> 8986Date: Sun Aug 24 04:15:20 2008 +0100 8987 8988 randr12: fix dpms, detect, destroy, save and restore for multiple encoders per connector 8989 8990commit 2b30b8914a32049e87205cf896b2e89ab6649bca 8991Author: Stuart Bennett <sb476@cam.ac.uk> 8992Date: Sun Aug 24 04:26:19 2008 +0100 8993 8994 randr12: re-do detection of dvi-a vs vga 8995 8996commit 50bac3fcd24072b8926ba2dbebd571424fbb7d6d 8997Author: Stuart Bennett <sb476@cam.ac.uk> 8998Date: Sun Aug 24 03:56:16 2008 +0100 8999 9000 randr12: unify output funcs for analogue and tmds 9001 9002commit 69e30e6727895a8edeffc9a348b13a353cd0c6d0 9003Author: Stuart Bennett <sb476@cam.ac.uk> 9004Date: Sun Aug 24 03:12:58 2008 +0100 9005 9006 randr12: unified entry path for dpms 9007 9008commit a794a0c864e5b651bea5e40a4e10978aee9da5b6 9009Author: Stuart Bennett <sb476@cam.ac.uk> 9010Date: Sun Aug 24 04:45:48 2008 +0100 9011 9012 randr12: nouveau_output -> nouveau_connector 9013 9014commit 0a5119bd8a927da1f3f4ed6caa2e93acdae29c04 9015Author: Stuart Bennett <sb476@cam.ac.uk> 9016Date: Sun Aug 24 02:45:41 2008 +0100 9017 9018 randr12: separate encoder struct 9019 9020commit 352b8fd98c519f85ade02aa679d342bc64faa508 9021Author: Stuart Bennett <sb476@cam.ac.uk> 9022Date: Sun Sep 14 16:53:12 2008 +0100 9023 9024 Another DCB 1.4/1.5 TV (#17471) 9025 9026 I think we've got enough for TVs to no longer be fatal 9027 9028commit e8ba4e0baa62f02ba85258847963512791d89385 9029Author: Stuart Bennett <sb476@cam.ac.uk> 9030Date: Sun Sep 14 16:44:32 2008 +0100 9031 9032 Only use OF bios image on PPC 9033 9034commit 54b8a7ea43ec20c798dc93d881cdffa5cb1125a0 9035Author: Ben Skeggs <skeggsb@gmail.com> 9036Date: Thu Sep 11 03:29:46 2008 +1000 9037 9038 nv50/exa: work around corruption issues (see detailed commit msg) 9039 9040 It's not possible for us to do this properly without using the exa 9041 pixmap hooks, they require a real memory manager, and is being 9042 worked on in the ng branches, which doesn't currently support nv5x 9043 at all. 9044 9045 For a better solution until then: 9046 http://nouveau.freedesktop.org/wiki/NV50Support 9047 9048commit f8c0af3886142ea59936a77006ead0cd2c4ff795 9049Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9050Date: Fri Sep 5 23:08:14 2008 +0200 9051 9052 Partly revert ea152819f45b6cf92f6742ed3f9f639cdbbd53f0, alignment is needed. 9053 9054commit ea152819f45b6cf92f6742ed3f9f639cdbbd53f0 9055Author: Maarten Maathuis <madman2003@gmail.com> 9056Date: Fri Sep 5 22:51:27 2008 +0200 9057 9058 exa: align offscreenBase to something sensible 9059 - Aligning virtualY makes no sense whatsoever. 9060 - displayWidth is the "pitch-width" of the framebuffer. 9061 9062commit 95c19b98b38310c543758fe4288a9e47b970fe67 9063Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9064Date: Thu Sep 4 07:51:03 2008 +0200 9065 9066 Add 8200 detection. 9067 9068commit 6dd8ad4ed3f89c6ed9e61708a587d417c8d984fe 9069Author: Maarten Maathuis <madman2003@gmail.com> 9070Date: Sat Aug 30 17:51:05 2008 +0200 9071 9072 nv50: solid fill shouldn't use a pattern rop + minor changes 9073 9074commit b2b726d59fd8af819a7e464824a49f6e6fc10b84 9075Author: Stuart Bennett <sb476@cam.ac.uk> 9076Date: Sun Aug 24 00:18:40 2008 +0100 9077 9078 randr12: merge output detection functions 9079 9080commit a223e581b06ffb308aecc2365795951e2c021f29 9081Author: Stuart Bennett <sb476@cam.ac.uk> 9082Date: Sun Aug 24 00:08:41 2008 +0100 9083 9084 randr12: remember the edid from detection for getting modes later 9085 9086 also split native mode finding into separate function 9087 9088commit 16d9e89d9cfae1c21999d880c557ae283e14178e 9089Author: Stuart Bennett <sb476@cam.ac.uk> 9090Date: Sun Aug 24 19:56:24 2008 +0100 9091 9092 randr12: detypedef private structs and use a define to get to the privates 9093 9094commit 3b3f3cdbe0f69c57153e070f248ff001cd5a4a17 9095Author: Stuart Bennett <sb476@cam.ac.uk> 9096Date: Sun Aug 24 00:31:35 2008 +0100 9097 9098 Remove unused code 9099 9100commit 1e2b87c459a3a0eacd630f1de8b567c36cc792bd 9101Author: Stuart Bennett <sb476@cam.ac.uk> 9102Date: Mon Aug 25 20:23:05 2008 +0100 9103 9104 randr12: make the nouveau experience less green 9105 9106commit f89af0e6bc5ac88d0755f9402b772ca823518298 9107Author: Maarten Maathuis <madman2003@gmail.com> 9108Date: Sat Aug 23 03:44:28 2008 +0200 9109 9110 nv50: micro cleanup 9111 9112commit 94bf1060cc9d2f4c0a14bc036f8b76c4d9bfc7d7 9113Author: Maarten Maathuis <madman2003@gmail.com> 9114Date: Sat Aug 23 03:39:39 2008 +0200 9115 9116 nv50: do ROPs properly this time 9117 - Table should work for pre-nv50 as well, i just don't have a card plugged in to be sure. 9118 9119commit 6bd14e4ffe1d5fd9420c4ebb46c9c0844d0547f9 9120Author: Maarten Maathuis <madman2003@gmail.com> 9121Date: Fri Aug 22 17:56:31 2008 +0200 9122 9123 nv10: composite is an async operation by default, no need to call exaMarkSync(). 9124 9125commit 9f11d13e68bbf72be814b37fa3d03853eec981b9 9126Author: Maarten Maathuis <madman2003@gmail.com> 9127Date: Fri Aug 22 17:53:11 2008 +0200 9128 9129 exa: FIRE_RING at the end of composite 9130 9131commit 137d099294617adead2cf3d5cc3372d18579eaef 9132Author: Maarten Maathuis <madman2003@gmail.com> 9133Date: Thu Aug 21 23:17:06 2008 +0200 9134 9135 nv50: move VERTEX_{START,END} to {Prepare,Done}Composite 9136 - If PrepareComposite returns TRUE, then everything upto DoneComposite is required. 9137 9138commit 34dc05fbc4835ec68de5a1f70cc094ff6efcf310 9139Author: Maarten Maathuis <madman2003@gmail.com> 9140Date: Thu Aug 21 22:50:49 2008 +0200 9141 9142 nv50: minor tweaks to composite 9143 - Make the blend stuff more consistent with other composite implementations. 9144 - Verified with "rendercheck -f a8r8g8b8,x8r8g8b8,r5g6b5,a8 -t {blend,composite,cacomposite}" for all accelerated ops. 9145 9146commit eca997750b1cc2263f804afba242f16b6d960e02 9147Author: Maarten Maathuis <madman2003@gmail.com> 9148Date: Thu Aug 21 20:01:49 2008 +0200 9149 9150 nv50: handle ROPs better 9151 - Handle ROP's more like pre-NV50 code. 9152 - Special case for 32bpp which seems to work. 9153 - This does NOT fix all rendering issues, just an improvement. 9154 9155commit e468df855abd8d8e4fecd2445c82bb8f824297fb 9156Author: Maarten Maathuis <madman2003@gmail.com> 9157Date: Wed Aug 20 19:14:54 2008 +0200 9158 9159 nv50: clip SIFC and add {Prepare,Finish}Access hooks. 9160 9161 - when w*cpp is not aligned to a dword, then it's possible to end up with crap at the end of a line, so clip it. 9162 - {Prepare,Finish}Access hooks force tiled memory to be migrated upon cpu access. 9163 - Added an option to disable these hooks in case you hit a xserver bug that existed up until very recently. 9164 9165commit 0c0c1ab2ce786def653e8adb95c7c5a8ff9c7eca 9166Author: Stuart Bennett <sb476@cam.ac.uk> 9167Date: Tue Aug 19 00:02:00 2008 +0100 9168 9169 randr12: don't cache pll values (fixes newrestore removal regression) 9170 9171 for 5ms, it's really not worth it 9172 9173commit 544fd3c502287754f2161c21514203ccaab8aed9 9174Author: Stuart Bennett <sb476@cam.ac.uk> 9175Date: Mon Aug 18 21:50:37 2008 +0100 9176 9177 Remove some of the inaccuracies in the manpage 9178 9179commit e3d9cb926e56d28b7cadd0026ae76c076faced75 9180Author: Stuart Bennett <sb476@cam.ac.uk> 9181Date: Mon Aug 18 21:40:36 2008 +0100 9182 9183 NV_ARCH_04 can have rotated output, it's just not accelerated 9184 9185commit 40e920fafb9f22da23ef11c941561bb14966dc47 9186Author: Stuart Bennett <sb476@cam.ac.uk> 9187Date: Mon Aug 18 21:39:18 2008 +0100 9188 9189 Delete ShadowFB rotation 9190 9191 And nothing of value was lost. 9192 9193commit 6352d7db24451b014b5f6b873881d103fc1eb316 9194Author: Stuart Bennett <sb476@cam.ac.uk> 9195Date: Mon Aug 18 00:59:32 2008 +0100 9196 9197 Bye bye 8 bit depth 9198 9199commit 33d52e476b64cd91dc4b01c6826892f2da9499b0 9200Author: Stuart Bennett <sb476@cam.ac.uk> 9201Date: Sun Aug 17 23:52:28 2008 +0100 9202 9203 CrtcNumber option is long gone 9204 9205commit a9393a87d36cc486114842275bb78e7e75de754e 9206Author: Stuart Bennett <sb476@cam.ac.uk> 9207Date: Sun Aug 17 23:17:01 2008 +0100 9208 9209 Micro-tidyups to nv_driver and nouveau_xv 9210 9211commit 8ed30d05afe4a5bb077c088c48c28741414c09d3 9212Author: Stuart Bennett <sb476@cam.ac.uk> 9213Date: Sun Aug 17 16:57:17 2008 +0100 9214 9215 randr12: a few line length improvements 9216 9217commit 666ab70754035c569eaa2550ca77c92fe3eaaff3 9218Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9219Date: Sun Aug 17 22:44:11 2008 +0200 9220 9221 Kill some 8 bit code. 9222 9223commit bee8450931395b23040a4cb1ddcb09f8a476cb93 9224Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9225Date: Sun Aug 17 22:25:43 2008 +0200 9226 9227 Fix IFC for 16bpp. Also fix the color accuracy of 16bpp solid fills. 9228 9229commit 609b10ff00c9e8d51fd7c9a5fb62120516780aed 9230Author: Stuart Bennett <sb476@cam.ac.uk> 9231Date: Sun Aug 17 03:51:39 2008 +0100 9232 9233 0x48 exception does not apply on BIT cards 9234 9235commit a9e2d47e2cee7db447063d7c33f3e42a8d865c92 9236Author: Stuart Bennett <sb476@cam.ac.uk> 9237Date: Sun Aug 17 02:48:33 2008 +0100 9238 9239 randr12: some code simplification, rearrangement and tidying 9240 9241 We don't claim to support a bpp of 15 or 24, so some old calculations can be simplified 9242 9243commit 5715f95b37ad182377024f468982608b48eb3409 9244Author: Stuart Bennett <sb476@cam.ac.uk> 9245Date: Sun Aug 17 02:27:42 2008 +0100 9246 9247 NewRestore: remove, due to lack of interest 9248 9249 nobody wants to do text modes manually. for any future masochists, it's here in the history 9250 9251commit d2e924e847273c5b4d342d0ad611de7d106df429 9252Author: Stuart Bennett <sb476@cam.ac.uk> 9253Date: Sun Aug 17 01:37:41 2008 +0100 9254 9255 randr12: remove another field member 9256 9257commit 55f490c8c29b103d7d8853e2126a8366304f4125 9258Author: Stuart Bennett <sb476@cam.ac.uk> 9259Date: Sun Aug 17 01:26:20 2008 +0100 9260 9261 randr12: fpWidth and fpHeight no more 9262 9263commit 4cbbd44db614d250fdaaf648db2d70ec9bc2f6d9 9264Author: Stuart Bennett <sb476@cam.ac.uk> 9265Date: Sun Aug 17 00:38:23 2008 +0100 9266 9267 randr12: improve aspect scaling code 9268 9269commit 8a364682fd67c10c153cb0778c914a4754e82ddd 9270Author: Stuart Bennett <sb476@cam.ac.uk> 9271Date: Sat Aug 16 23:15:29 2008 +0100 9272 9273 randr12: for native scaling, a clock check isn't enough 9274 9275 1280x1024 and 1280x960 can have the same clock 9276 9277commit 8793bb1d7b79632678d7ce9f1e94c79dfd55fa3c 9278Author: Stuart Bennett <sb476@cam.ac.uk> 9279Date: Fri Aug 15 23:02:48 2008 +0100 9280 9281 Apply minimum front porch only when necessary (#15949) 9282 9283 Also, read minimum front porch from bios table 9284 9285commit 83bb26fd9a8bb283c406bc34d1d7ad0b53d7098a 9286Author: Maarten Maathuis <madman2003@gmail.com> 9287Date: Sat Aug 16 17:18:21 2008 +0200 9288 9289 NV50: disallow doublescan modes on TMDS/LVDS 9290 9291commit 7d5b345f69bf63d36207a7f6ac4d01001d62e79c 9292Author: Maarten Maathuis <madman2003@gmail.com> 9293Date: Sat Aug 16 15:33:13 2008 +0200 9294 9295 NV50: extra warning message 9296 9297commit 743c696c8b0e420a67ce1552ac0cec49c0fdc0f2 9298Author: Maarten Maathuis <madman2003@gmail.com> 9299Date: Sat Aug 16 15:28:43 2008 +0200 9300 9301 NV50: a half decent attempt at doing something when LVDS has no DDC 9302 9303commit fcbaa10a945e04d77c6ea8f83b738fb6c9e47dd5 9304Author: Maarten Maathuis <madman2003@gmail.com> 9305Date: Sat Aug 16 14:35:05 2008 +0200 9306 9307 Forgot something. 9308 9309commit 628acddedc7755a16471e9beee3d95d3b8f11150 9310Author: Maarten Maathuis <madman2003@gmail.com> 9311Date: Sat Aug 16 14:24:18 2008 +0200 9312 9313 NV50: support extended i2c ports (4 and 5) 9314 9315commit c845f5ac0a54b17a9911155030234c229e80626c 9316Author: Maarten Maathuis <madman2003@gmail.com> 9317Date: Sat Aug 16 14:02:51 2008 +0200 9318 9319 nv50: fix some of the rendering bugs 9320 9321 - It seems that 32bpp solid fill only works well for for the non-rop case. 9322 - The SRCCOPY_PREMULT comes from nv and seems to work well, in combination with the above fallback. 9323 - This does not affect the strange stripes with font rendering issue. 9324 9325commit 18288208bdb7f872f0a2e227d20b77c3397747c2 9326Author: Stuart Bennett <sb476@cam.ac.uk> 9327Date: Fri Aug 15 01:40:01 2008 +0100 9328 9329 Redo parsing for panels with EDID, and fix nv3x in the process (#17138) 9330 9331 breakage a possibility :) 9332 9333commit c9d4e86022bffd00d89076a921b734645145f7db 9334Author: Stuart Bennett <sb476@cam.ac.uk> 9335Date: Tue Aug 12 14:15:03 2008 +0100 9336 9337 Try harder to load a good vbios image 9338 9339commit ae594786ffc1cdca5bdd8c8638225819f851061b 9340Author: Stuart Bennett <sb476@cam.ac.uk> 9341Date: Wed Aug 6 00:31:39 2008 +0100 9342 9343 Deal with mobile cards that scribble over the fp strap at POST 9344 9345 It's probably safe to assume a mobile card will have been POSTed at boot, so 9346 this should be fine. 9347 Hopefully there are no cards which have bit 2 set at 0x48 and now break... 9348 9349commit 776670613f79cce3891c65d2f688979767cd1e6d 9350Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9351Date: Fri Aug 15 00:43:02 2008 +0200 9352 9353 Fix a 16bpp issue, also remove old code that mostly worked around core EXA issues in older xservers. 9354 9355commit 6854f819f6bb89d67bfb737fd24c3e8b16e67e46 9356Author: Maarten Maathuis <madman2003@gmail.com> 9357Date: Tue Aug 5 13:08:22 2008 +0200 9358 9359 NV50: Disable messages from hide, show and load cursor, as they clutter the logs. 9360 9361commit 4b24be811b839f9f836b9f8574fc808d2182dd30 9362Author: Ben Skeggs <skeggsb@gmail.com> 9363Date: Mon Aug 4 16:09:28 2008 +1000 9364 9365 xv: fix thinko from when source was reformatted 9366 9367commit 30f54f2a4b81afde129170a26189cdb2bd3c7e9c 9368Author: Younes Manton <younes.m@gmail.com> 9369Date: Sun Aug 3 12:29:57 2008 -0400 9370 9371 g3dvl: Temporarily disable IDCT. 9372 9373commit 89d786435267af58bcecaff206a09b035e666df5 9374Author: Ben Skeggs <skeggsb@gmail.com> 9375Date: Tue Jul 29 23:38:45 2008 +1000 9376 9377 nv50: fix mystery typo 9378 9379commit c0b67f3f3490e826c86eedb32bbcf327592aaaf5 9380Author: Ben Skeggs <skeggsb@gmail.com> 9381Date: Tue Jul 29 01:26:20 2008 +1000 9382 9383 remove use of implicit variables from pushbuf macros 9384 9385 This matches the gallium winsys now. At some point the ddx will get updates 9386 so the "common" code is once again in sync to make it easier to do mm 9387 changes to both the ddx and dri simultaneously. 9388 9389 But, I want to get this part out of the way first as the changes might take 9390 a bit of work - and I don't want to have to deal with merge conflicts 9391 everywhere if someone changes the accel code before I'm done :) 9392 9393commit 80278c9f53f7c357e499bf2b3c5a1dff75fb9651 9394Author: Younes Manton <younes.m@gmail.com> 9395Date: Sun Jul 27 16:48:58 2008 -0400 9396 9397 g3dvl: Basic XvMC initialization. 9398 9399commit 1f8e27fd1d92d1c07dd8387f1a5e751ab3fab54a 9400Author: Maarten Maathuis <madman2003@gmail.com> 9401Date: Sun Jul 27 00:09:02 2008 +0200 9402 9403 NV50: I was proven wrong quicker than i thought, reinstate a slightly prettier hack. 9404 9405commit 41d46f59eb055130d5d415f0573fbede957c66c3 9406Author: Maarten Maathuis <madman2003@gmail.com> 9407Date: Sat Jul 26 21:53:26 2008 +0200 9408 9409 NV50: forgot something 9410 9411commit 1b905249c492af4485a9a2f4e7ae3ad5441c8eb5 9412Author: Maarten Maathuis <madman2003@gmail.com> 9413Date: Sat Jul 26 21:50:34 2008 +0200 9414 9415 NV50: my best guess at the lvds bios table, time will tell if it's correct for more than a few cases 9416 9417commit f3ec6e0e2d84e172cb634fd1348a54aef7256e74 9418Author: Dave Airlie <airlied@redhat.com> 9419Date: Thu Jul 24 15:41:57 2008 +1000 9420 9421 nouveau: fix macro as pointed out my moondrake on irc 9422 9423commit 6652e9c85fe8e807ed3d8ff76ec18c250aef436f 9424Author: Ben Skeggs <skeggsb@nisroch.keine.ath.cx> 9425Date: Thu Jul 24 10:13:05 2008 +1000 9426 9427 nv50: support YUY2 in textured video adaptor 9428 9429commit 3534f40b64496d9f6f95148ab81b9321057f7af1 9430Author: Ben Skeggs <skeggsb@gmail.com> 9431Date: Thu Jul 24 09:39:09 2008 +1000 9432 9433 nv50: remove 32bpp solid fill fallback 9434 9435 It seems to work, but there's probably a good reason it's a fallback in nv, 9436 so may be reincarnated with a more specific fallback if needed. 9437 9438commit 87f7d1f7084032110c347cb73f63e9a929d8c00e 9439Author: Ben Skeggs <skeggsb@gmail.com> 9440Date: Thu Jul 24 09:38:27 2008 +1000 9441 9442 Revert "NV50EXA: read the notes + cleanup + enabled 32bpp solid fill" 9443 9444 This reverts commit 0b6249fed6909af30856e1afc1a0dd4cd98c0b9e. 9445 9446commit ba7c239e7a13c4726dab7c686ee1c7f34d03a593 9447Author: Maarten Maathuis <madman2003@gmail.com> 9448Date: Thu Jul 24 01:30:16 2008 +0200 9449 9450 NV50EXA: serious brain fart of my part, sorry 9451 9452 - prepare copy may set up a rop and will set operation appropriately. 9453 9454commit 0b6249fed6909af30856e1afc1a0dd4cd98c0b9e 9455Author: Maarten Maathuis <madman2003@gmail.com> 9456Date: Wed Jul 23 21:01:57 2008 +0200 9457 9458 NV50EXA: read the notes + cleanup + enabled 32bpp solid fill 9459 9460 - I observe occasional corruption, some of this goes away when using a compositing manager. 9461 - The above statement contradicts my earlier statement in the previous commit message. 9462 - 32bpp solid fills seem to work fine, but i left the original fallback in case something pops up. 9463 - There is definately something wrong somewhere, i just don't know what. 9464 9465commit edbfbd09ac0a05c4125c3217f5d9c8f198d9345d 9466Author: Maarten Maathuis <madman2003@gmail.com> 9467Date: Wed Jul 23 13:34:28 2008 +0200 9468 9469 EXA: put NOUVEAU_FALLBACK in a do { } while (0), fixed opera corruption for me. 9470 9471 - I don't understand why a single line define would need this, but i noticed that turning on the fallback info fixed rendering. 9472 9473commit 36d13082dd2c2ba5d490b3dbc6e82d9ccfed8669 9474Author: Maarten Maathuis <madman2003@gmail.com> 9475Date: Sun Jul 20 15:44:47 2008 +0200 9476 9477 NV50_KMS: some basic scaling and dithering output property support 9478 9479commit 022a9ed5c2657466dd2471a1b29d5e8bc92ca57a 9480Author: Ben Skeggs <skeggsb@gmail.com> 9481Date: Sat Jul 19 22:14:50 2008 +1000 9482 9483 nv50: no more sync in composite() :) 9484 9485 0x502d mthd 0x0110 some kind of 2D cache flush? 9486 9487commit 6d8096c72e1aa160cef6729443ed06305a8ae870 9488Author: Ben Skeggs <skeggsb@gmail.com> 9489Date: Fri Jul 18 13:57:13 2008 +1000 9490 9491 nv50: sync after composite for the moment 9492 9493 This corrects some severe text rendering issues that get *very* bad with 9494 server 1.5. Will look into a proper fix soon. 9495 9496commit c68d8806b309ef4b48d7a98d6fc7aeccb8bb05ac 9497Author: Ben Skeggs <skeggsb@gmail.com> 9498Date: Fri Jul 18 13:39:59 2008 +1000 9499 9500 nv50: punt vertex emission macro out to header 9501 9502commit 4ad74cb03070f5279e0b1de2ed326f1167400d60 9503Author: Ben Skeggs <skeggsb@gmail.com> 9504Date: Thu Jul 17 11:15:59 2008 +1000 9505 9506 exa: missed a reloc delta 9507 9508 Can't actually hit this bug currently, but one day perhaps :) 9509 9510commit 98a9056224a86244f99ef7e844cda363e563a446 9511Author: Ben Skeggs <skeggsb@gmail.com> 9512Date: Thu Jul 17 11:15:08 2008 +1000 9513 9514 nv50: remove acquire/release surface stuff 9515 9516 It's left over from code that never made it to git in the first place, 9517 long overdue removal. 9518 9519commit f0305a29c2b4010894362d17f21cdfec39cd7b92 9520Author: Ben Skeggs <skeggsb@gmail.com> 9521Date: Thu Jul 17 11:14:02 2008 +1000 9522 9523 exa: rename m2mf locals to prevent some confusion 9524 9525commit 140c36ed936f4f28842af88efdd8b824c01bb097 9526Author: Danny <obiwan@mailmij.org> 9527Date: Fri Jul 18 03:07:38 2008 +0100 9528 9529 randr12: fix dithering output property endian issue (#16624) 9530 9531 tweaked and commented by Stuart Bennett 9532 9533commit b36802fe90165cf0fea61728b06605be5ac25d8d 9534Author: Pawel Worach <pawel.worach@gmail.com> 9535Date: Fri Jul 18 01:17:18 2008 +0200 9536 9537 Fix for #14858 - freebsd compile. Someone still needs to fix the kernel part though. 9538 9539commit 6f5e90ae739c64478ddf3e042e2bc9c4ff2b951c 9540Author: Ben Skeggs <skeggsb@gmail.com> 9541Date: Sat Jul 12 02:24:54 2008 +1000 9542 9543 nv30: more header name changes... 9544 9545commit 4b8427af583a8f84a09e8bd8d6ad614575a4f9c7 9546Author: Ben Skeggs <skeggsb@gmail.com> 9547Date: Sat Jul 12 02:15:08 2008 +1000 9548 9549 nv30: more bustage from header update 9550 9551commit 1672a783c4af58c80ed549fb3dc63c07fc75a882 9552Author: Ben Skeggs <skeggsb@gmail.com> 9553Date: Sat Jul 12 02:03:58 2008 +1000 9554 9555 nv30: un-change something that somehow changed in an earlier commit. oops! 9556 9557commit dae59585abec4b514789a8e580d30757f10d0357 9558Author: Ben Skeggs <skeggsb@gmail.com> 9559Date: Tue Jul 8 12:28:18 2008 +1000 9560 9561 nv50: exa/xv share some stuff, punt it out to nv50_accel.[ch] 9562 9563commit 17fbd810748b61b298c1ea9729d94f7d1177253b 9564Author: Ben Skeggs <skeggsb@gmail.com> 9565Date: Tue Jul 8 12:09:09 2008 +1000 9566 9567 nv50: Xv support 9568 9569 The NV12 YCbCr->RGB shader is hand-written just like the composite shaders, 9570 hopefully correct! I'll probably put a disasm next to each opcode at some 9571 point so it doesn't look like just a bunch of magics. 9572 9573 You'll need to use a composite manager if you want to watch videos, we can't 9574 render directly to the screen for the same reasons as mentioned in the 9575 composite commit. Though, a simple workaround is possible in the Xv case, 9576 so that'll probably come at some point. For now, PutImage() will fail with 9577 BadMatch. 9578 9579 The Y and UV plane upload may not be 100% for what NV50 requires, I want to 9580 rework all that at some point anyway. For now, at least there's some form 9581 of accelerated video to work with. 9582 9583 Enjoy :) 9584 9585commit ec452786d9aa3b6db41f1ab3c89aaa20a758f89e 9586Author: Ben Skeggs <skeggsb@gmail.com> 9587Date: Sun Jul 6 20:38:44 2008 +1000 9588 9589 nv50: de-magic things before someone accuses me of being an NVIDIA employee 9590 9591commit ad56c5e27642674d8e435bbbe3d6030097a01ff9 9592Author: Ben Skeggs <skeggsb@gmail.com> 9593Date: Sun Jul 6 01:30:21 2008 +1000 9594 9595 nv50: exa composite 9596 9597commit 33fad279e935a5a134ee5cc1777b8ed7510101d0 9598Author: Ben Skeggs <skeggsb@gmail.com> 9599Date: Sun Jul 6 01:21:39 2008 +1000 9600 9601 nv50: tile offscreen pixmaps 9602 9603 Until someone figures out how to make the display engine scan out from 9604 tiled surfaces things will be a bit painful. Future commits for exa 9605 composite and Xv will require the use of the 3D engine, which will *not* 9606 render to linear surfaces.. a composite manager will probably be a must 9607 for it to be usable. 9608 9609 I really don't want the NOUVEAU_MEM_TILE ioctl in the end, but we'll have 9610 to deal with it until we can drop support for <xorg-server-1.5. EXA driver 9611 handled pixmaps are far far nicer :) 9612 9613commit 5c1deac8384413dc483238f60c366e98253c11d6 9614Author: Ben Skeggs <skeggsb@gmail.com> 9615Date: Sun Jul 6 00:57:08 2008 +1000 9616 9617 exa: pass window coords to m2mf-based UTS/DFS 9618 9619commit b1f316977e2c79fdf5c83092e953bdfc988299e1 9620Author: Ben Skeggs <skeggsb@gmail.com> 9621Date: Mon Jul 7 01:03:02 2008 +1000 9622 9623 xv: remove some disturbing abuses of buffer related things 9624 9625 Also brings to attention a point about the overlay when we use a real 9626 memory manager. We'll need to find a way for the overlay to signal it's 9627 finished with a buffer, or just resort to pinning pPriv->video_mem.. 9628 9629commit 0ce028b6aaa6c20a1578148add2a96b2d37d9108 9630Author: Maarten Maathuis <madman2003@gmail.com> 9631Date: Sun Jul 6 13:45:32 2008 +0200 9632 9633 EXA: add a pixmapIsOffscreen hook. 9634 9635commit 86c70df254e63ebc5c405803d6faa9ae33df4995 9636Author: Maarten Maathuis <madman2003@gmail.com> 9637Date: Sun Jul 6 12:52:16 2008 +0200 9638 9639 NV50_KMS: support gamma changes 9640 9641commit 6de89c8cb219cc82b46e0d0d723fa9d1cefe4ac8 9642Author: Maarten Maathuis <madman2003@gmail.com> 9643Date: Sun Jul 6 12:29:13 2008 +0200 9644 9645 NV50: Unaccelerated rotation support. 9646 9647 - This will need a PixmapIsOffscreen hook before it will be considered for acceleration. 9648 9649commit 788fefa2e78a4abf7bd5c396ab9639bc6ff78451 9650Author: Maarten Maathuis <madman2003@gmail.com> 9651Date: Sun Jul 6 01:03:44 2008 +0200 9652 9653 NV50_KMS: Unaccelerated rotation support. 9654 9655 - This will need a PixmapIsOffscreen hook for it to be ever considered for acceleration. 9656 9657commit 2bc1cb832e0ded6cd1411757bec2a4b03536b7ea 9658Author: Maarten Maathuis <madman2003@gmail.com> 9659Date: Sun Jul 6 01:02:45 2008 +0200 9660 9661 Revert "EXA: Add PixmapIsOffscreen hook for EXA versions that allow it." 9662 9663 This reverts commit 5a5aee10f84fbea70eee69ece17ddf6e797497a6. 9664 This was never supposed to end up here as it's broken. 9665 9666commit 5a5aee10f84fbea70eee69ece17ddf6e797497a6 9667Author: Maarten Maathuis <madman2003@gmail.com> 9668Date: Sat Jul 5 23:07:58 2008 +0200 9669 9670 EXA: Add PixmapIsOffscreen hook for EXA versions that allow it. 9671 9672 - This should allow more flexibility for rotation shadow buffers. 9673 9674commit b9f2358ac35caedbba0339649ef13b03f209f2a7 9675Author: Ben Skeggs <skeggsb@gmail.com> 9676Date: Sun Jul 6 03:50:03 2008 +1000 9677 9678 xv: remove some defines that are in a header now 9679 9680commit 9f53b2a341a81e1bff87fee8bf5c2754cac17849 9681Author: Ben Skeggs <skeggsb@gmail.com> 9682Date: Sun Jul 6 02:28:26 2008 +1000 9683 9684 xv: remove drawable handling from hw-specific PutImage.. it's common... 9685 9686commit a50bba662ddfe49f1b0a7f8faa3668f5e810811f 9687Author: Ben Skeggs <skeggsb@gmail.com> 9688Date: Sun Jul 6 01:57:17 2008 +1000 9689 9690 xv: misc cleanups 9691 9692commit 08e9489b79395b234282b0c03d94601ce57678b8 9693Author: Maarten Maathuis <madman2003@gmail.com> 9694Date: Sat Jul 5 12:47:48 2008 +0200 9695 9696 NV50_KMS: minor change 9697 9698commit ea7e85b493ff0f684f9ccad92f84348cd835719b 9699Author: Maarten Maathuis <madman2003@gmail.com> 9700Date: Fri Jul 4 23:05:20 2008 +0200 9701 9702 Fix some compile warnings. 9703 9704commit 3298249d8267c27235653f17379f8c9f18e4f344 9705Author: Ben Skeggs <skeggsb@nisroch.keine.ath.cx> 9706Date: Thu Jul 3 23:54:13 2008 +1000 9707 9708 xv: reformat source so mere mortals can understand it 9709 9710commit a1e8ccdf85c5a0177df38a8a2d8c99d60890ec96 9711Author: Ben Skeggs <skeggsb@nisroch.(none)> 9712Date: Thu Jul 3 17:07:45 2008 +1000 9713 9714 xv: nv_video.c to nouveau_xv.c 9715 9716commit 3e17781625c0ef0ec34ee23a6e999de7f1fe4524 9717Author: Maarten Maathuis <madman2003@gmail.com> 9718Date: Thu Jul 3 08:30:43 2008 +0200 9719 9720 NV50_KMS: autodetect kernel modesetting when active 9721 9722commit 48c2116fb31872111239f5434215f30c8707091e 9723Author: Maarten Maathuis <madman2003@gmail.com> 9724Date: Wed Jul 2 19:04:58 2008 +0200 9725 9726 NV50_KMS: no int10 please 9727 9728commit 11102af2896b3fdf2364854b2d7939b2802c5b2a 9729Author: Stuart Bennett <sb476@cam.ac.uk> 9730Date: Fri Jun 27 16:21:19 2008 +0100 9731 9732 Backport console font save/restore from nouveau_ms 9733 9734commit ca2c55dfbf65ac268d43ba62db2399976eaf8f0a 9735Author: Stuart Bennett <sb476@cam.ac.uk> 9736Date: Thu Jun 26 14:44:45 2008 +0100 9737 9738 randr12: fix mode detection for when screen size changes 9739 9740 also some mem leaks 9741 9742commit 9c6eb667aa48f87f6bbbdae10cc9f4d237bdb0c6 9743Author: Maarten Maathuis <madman2003@gmail.com> 9744Date: Sat Jun 28 15:47:18 2008 +0200 9745 9746 NV04-NV4E: Save and restore FB_START 9747 9748commit 82fe9a21596ab80157df20b269ce8df41315de83 9749Author: Maarten Maathuis <madman2003@gmail.com> 9750Date: Fri Jun 27 18:49:16 2008 +0200 9751 9752 NV50_KMS: switch to output dpms 9753 9754commit 13ce1f4c1d02e70333a192db2efefb3f6a6765e3 9755Author: Maarten Maathuis <madman2003@gmail.com> 9756Date: Wed Jun 25 19:45:12 2008 +0200 9757 9758 Properly close drm when exiting + misc cleanup. 9759 9760commit 7cb0eed603ea0bd196a7471e43d60fa5e518c7fb 9761Author: Maarten Maathuis <madman2003@gmail.com> 9762Date: Wed Jun 25 19:07:58 2008 +0200 9763 9764 Fixup and add some license statements. 9765 9766 - The changed statements are a response to nv commit 2fdcda8ea62eba1b7885f0a75249884715936247. 9767 9768commit 27c7c88431cf368c3d3a953daf03ce3f9f15bc3a 9769Author: Ben Skeggs <skeggsb@gmail.com> 9770Date: Wed Jun 25 04:01:21 2008 +1000 9771 9772 change hack to work with latest drm changes.. 9773 9774commit 99a4b686d2b1f8e6768b8cd1cc3fcb6cea2bf6d3 9775Author: Maarten Maathuis <madman2003@gmail.com> 9776Date: Tue Jun 24 00:02:25 2008 +0200 9777 9778 NV50: unbreak kms and implement a basic off mode/dpms 9779 9780commit 1a23dbd1878909709fc130e00f6171508dcd41bf 9781Author: Ben Skeggs <skeggsb@nisroch.keine.ath.cx> 9782Date: Tue Jun 24 02:24:42 2008 +1000 9783 9784 nv50: stub out NV50SorSetClockMode for LVDS, it doesn't work there 9785 9786commit 2ccc80bd87a76a9f0498cfec531e8a46cbd2c384 9787Author: Ben Skeggs <skeggsb@gmail.com> 9788Date: Mon Jun 23 02:10:09 2008 +1000 9789 9790 nv50: bring in int10-constole-restore hack from nv driver 9791 9792 Lack of console restore has been annoying me personally lately while working 9793 on 3D, I lack the time/modsetting skills to fix it properly at the moment, 9794 so this'll do. 9795 9796commit 73b4fcc20334ac6cd2076c658a4937f9a98ee06d 9797Author: Ben Skeggs <skeggsb@gmail.com> 9798Date: Mon Jun 23 01:47:55 2008 +1000 9799 9800 fix non-kms build/run 9801 9802commit 75d8947d40e19c5fc039caf4289cf94fd1570eda 9803Author: Maarten Maathuis <madman2003@gmail.com> 9804Date: Sun Jun 22 16:34:22 2008 +0200 9805 9806 NV50: Some basic code to get kernel modesetting going. 9807 9808 - This will get a cleanup later on. 9809 9810commit df52dc4664df11d57fcf8a6c9ae3f87a149e5392 9811Author: Stuart Bennett <sb476@cam.ac.uk> 9812Date: Fri Jun 13 02:11:09 2008 +0100 9813 9814 No need for G80+ LVDS conf bits reports 9815 9816 I've got a few already. 9817 9818commit 1813559a20f0786b4decdb645f7ba3f52bc30739 9819Author: Stuart Bennett <sb476@cam.ac.uk> 9820Date: Fri Jun 13 01:58:41 2008 +0100 9821 9822 More DCB 1.5 TV variants (#16252 and #16342) 9823 9824commit 29c4a58bb2ba476f9558bda31f1082b4685555fc 9825Author: Stuart Bennett <sb476@cam.ac.uk> 9826Date: Fri Jun 13 01:40:31 2008 +0100 9827 9828 Be a little more discerning about the BIT bios signature 9829 9830 Thank you ABIT 9831 9832commit e8c790721d99e171c57b8dd497f5b3e82126c78b 9833Author: Stuart Bennett <sb476@cam.ac.uk> 9834Date: Fri Jun 13 01:25:49 2008 +0100 9835 9836 LVDS_INIT should not always use head A 9837 9838 While the script doesn't need the head variable set correctly, 9839 link_head_and_output still gets called and will therefore break panels expecting 9840 to be on head B 9841 Fixes Apple NV34 console restore 9842 9843commit fc137f23bed7405221b7f483d9151e296b99caf0 9844Author: Maarten Maathuis <madman2003@gmail.com> 9845Date: Fri Jun 13 19:12:38 2008 +0200 9846 9847 NV50: lvds is probably still broken, but it's a step in the right direction 9848 9849 - Just something i had lingering around. 9850 - Note that lvds still doesn't run by default, but you're more than welcome to fix it ;-) 9851 9852commit e034616ab2bbbc486f90c5f64e2bd2de194cf92e 9853Author: Maarten Maathuis <madman2003@gmail.com> 9854Date: Thu May 22 21:08:48 2008 +0200 9855 9856 NV50: A small extra piece of init that may prove useful to someone, somewhere, at some point for something. 9857 9858commit c21594cf452a1263682386d04718531d76a7a9b8 9859Author: Maarten Maathuis <madman2003@gmail.com> 9860Date: Tue May 20 19:19:53 2008 +0200 9861 9862 NV50: Be consistent with rules-ng. 9863 9864commit 9c1d87fa9e6152bffc5c5cdf16b1931cc6e58399 9865Author: Maarten Maathuis <madman2003@gmail.com> 9866Date: Sat May 10 21:58:00 2008 +0200 9867 9868 NV50: Some misc things. 9869 9870commit 5f08db9057f2970171186b20a25d346386dcb0f2 9871Author: Stuart Bennett <sb476@cam.ac.uk> 9872Date: Thu May 8 21:36:05 2008 +0100 9873 9874 Cosmetic g80 laptop dcb parsing enhancement 9875 9876commit 6a460eae941f3e9a7a8a0297efbbd12dca71a9dd 9877Author: Stuart Bennett <sb476@cam.ac.uk> 9878Date: Thu May 8 14:17:38 2008 +0100 9879 9880 randr12: some reordering, tidying &c 9881 9882commit 7455bc89116bfc5e88fbd444d83c1415a6020a7f 9883Author: Stuart Bennett <sb476@cam.ac.uk> 9884Date: Tue Apr 29 19:42:54 2008 +0100 9885 9886 Enable RandR 1.2 code-path by default 9887 9888commit 98a751e773c098382e7675e41ee60ce3d9a67ce0 9889Author: Stuart Bennett <sb476@cam.ac.uk> 9890Date: Wed May 7 21:25:03 2008 +0100 9891 9892 Don't call call_lvds_script with a null dcbent pointer 9893 9894 Stumbled over by hiyuh :) 9895 9896commit 77b24bc93659471bb20254847da124fdaba13a54 9897Author: Stuart Bennett <sb476@cam.ac.uk> 9898Date: Mon May 5 00:56:28 2008 +0100 9899 9900 randr12: tidy up some nv50 remnants in the pre nv50 code 9901 9902commit 8997f83cd2727b76240e9dc31ec7751f6d69cf6b 9903Author: Maarten Maathuis <madman2003@gmail.com> 9904Date: Tue May 6 19:46:52 2008 +0200 9905 9906 NV50: Some misc fixes. 9907 9908 - Even though tv-out is mentioned, it by no means implies that is (nearly) functional. 9909 9910commit ae574ec7d930d8708e4dd9d1d47558666019afe5 9911Author: Maarten Maathuis <madman2003@gmail.com> 9912Date: Mon May 5 11:02:07 2008 +0200 9913 9914 nv50_exa.c had no license statement. 9915 9916commit a7af057ff67cf5d7baf78d852dee5ac69b24e706 9917Author: Maarten Maathuis <madman2003@gmail.com> 9918Date: Mon May 5 01:26:37 2008 +0200 9919 9920 NV50: Rework the modesetting code into a different model. 9921 9922 - There is now interface independent code for most things. 9923 - This structure, although not exclusive, is only used for NV50 atm. 9924 - The change in approach is that the concept of a connector is added to the model (randr12 sucks in this aspect). 9925 - I'm hacking around randr trying to create a single output for each connector, the indices are the bus numbers. 9926 - Limitations: Hot swapping vga and dvi of same monitor will not make randr12 think it changed, so for the moment force a change. 9927 - Concept is largely inspired by the radeonhd driver. 9928 9929commit 5e1b5708d3a7e4298f80b1a1b8bb3fafae0c69bd 9930Author: Stuart Bennett <sb476@cam.ac.uk> 9931Date: Fri May 2 20:36:59 2008 +0100 9932 9933 xv: nv10 double-buffered overlay mode was getting set on nv04 9934 9935commit 85536023ed7050632d121299ab99382e096b9984 9936Author: Stuart Bennett <sb476@cam.ac.uk> 9937Date: Wed Apr 30 00:59:47 2008 +0100 9938 9939 Use the actual number of BIT table entries 9940 9941commit 78588c71ffd19e18602b95a55186bc53eebb51c3 9942Author: Stuart Bennett <sb476@cam.ac.uk> 9943Date: Mon Apr 28 16:51:01 2008 +0100 9944 9945 randr12, xv: manual overlay clipping for randr12 (see #12825) 9946 9947 There could be something to be said for doing this clipping when using the blitter and texture adapters too 9948 9949commit 6f7d00a0cb4ec85b058afb0150a122a124542b5f 9950Author: Stuart Bennett <sb476@cam.ac.uk> 9951Date: Tue Apr 29 22:53:40 2008 +0100 9952 9953 randr12: remove unneeded separate dcb_entry and "or" members 9954 9955 Make off-chip outputs clearer too 9956 9957commit 52e58c7e799697989fcfbf95050ce10a4c3d1f8f 9958Author: Stuart Bennett <sb476@cam.ac.uk> 9959Date: Tue Apr 29 22:08:01 2008 +0100 9960 9961 Pass DCB entry structs in bios functions, rather than index 9962 9963commit 0c1da6907d8e29ed1c058f9655d436c228ea91b6 9964Author: Stuart Bennett <sb476@cam.ac.uk> 9965Date: Tue Apr 29 21:53:22 2008 +0100 9966 9967 Pass output field, rather than dcb indices, for tmds access functions 9968 9969commit 2333bc907a4be3c7e36bdd02f27e22b63a7ee7c3 9970Author: Stuart Bennett <sb476@cam.ac.uk> 9971Date: Tue Apr 29 21:58:17 2008 +0100 9972 9973 Add an index field to dcb entries, and carry pointer to dcb entry in output struct 9974 9975commit 21f062cad184f21d33d7f5b43f86937979291b58 9976Author: Stuart Bennett <sb476@cam.ac.uk> 9977Date: Tue Apr 29 21:27:07 2008 +0100 9978 9979 randr12, xv: oops, transform_in_use doesn't exist on xserver 1.3 9980 9981commit ee78dc0abef626e29f7617a4b324e847bab1abcc 9982Author: Stuart Bennett <sb476@cam.ac.uk> 9983Date: Mon Apr 28 02:12:17 2008 +0100 9984 9985 randr12: C51 I2C 9986 9987commit 9b70dfaf4f0317e622ca64fc0804f74a31158108 9988Author: Stuart Bennett <sb476@cam.ac.uk> 9989Date: Tue Apr 29 18:46:24 2008 +0100 9990 9991 randr12: only set cr59 to 1 for tmds (fixes nv34 issue) 9992 9993commit c8cec9b2a0b18cd1159613d4dd218725695aef7c 9994Author: Stuart Bennett <sb476@cam.ac.uk> 9995Date: Mon Apr 28 17:00:27 2008 +0100 9996 9997 randr12, xv: no overlay when the crtc is transformed 9998 9999commit 3233ebba07e7adab347dc3c6f9d17f02e1a9d32b 10000Author: Stuart Bennett <sb476@cam.ac.uk> 10001Date: Sat Apr 26 02:08:24 2008 +0100 10002 10003 randr12: fix spread spectrum setting for lvds and turn it off during dpms off 10004 10005 Assuming that the bios has set this up correctly for LVDS initially is probably safe 10006 10007commit 467f83aa43bffdf545b513fdb7b11b4fe2205b4f 10008Author: Stuart Bennett <sb476@cam.ac.uk> 10009Date: Sat Apr 26 19:59:58 2008 +0100 10010 10011 randr12: make nv50 code depend on Architecture 10012 10013commit 8b165722d9f9461353abf84b4136e33b816ac842 10014Author: Stuart Bennett <sb476@cam.ac.uk> 10015Date: Sat Apr 26 01:21:50 2008 +0100 10016 10017 CR27 appears to contain the chip revision 10018 10019commit 59ff20738e88d6621f9beaea94810274029a21a3 10020Author: Maarten Maathuis <madman2003@gmail.com> 10021Date: Sun Apr 27 19:52:41 2008 +0200 10022 10023 NV50: A little bit more information, no functional change. 10024 10025commit bb5a2a105f264502d0985ce70e76d5a3d3b6463c 10026Author: Stuart Bennett <sb476@cam.ac.uk> 10027Date: Fri Apr 25 22:09:46 2008 +0100 10028 10029 randr12: sel_clk binding fix 10030 10031commit 5a85626cccbba80ef3d6fb2fb90ae609b7abde15 10032Author: Stuart Bennett <sb476@cam.ac.uk> 10033Date: Fri Apr 25 02:09:18 2008 +0100 10034 10035 randr12: unified mode validation 10036 10037 doublescan/interlace limits applied too 10038 10039commit 38ad350118aa9592bdbcb530fe63b85983fb9f64 10040Author: Stuart Bennett <sb476@cam.ac.uk> 10041Date: Fri Apr 25 00:03:41 2008 +0100 10042 10043 randr12: only set up one spread spectrum clock on pre nv40 10044 10045 avoids inadvertently getting wobbly crt pictures 10046 10047commit dfd8b42f91257f2cb0762b3d9b07612a7edac549 10048Author: Stuart Bennett <sb476@cam.ac.uk> 10049Date: Thu Apr 24 22:23:50 2008 +0100 10050 10051 randr12: deny doublescan modes to digital outputs 10052 10053commit d150ce5c633c90a82411b4b8e44fa4b91647e6a8 10054Author: Stuart Bennett <sb476@cam.ac.uk> 10055Date: Thu Apr 24 01:22:49 2008 +0100 10056 10057 randr12: off-chip dvi dpms and fp_control dpms fixed properly 10058 10059 Also solves output exclusion problem: two crtcs claiming the same output 10060 through cr33 does not work 10061 10062commit dd152ce186fea953968805cf4a1b309a1fd3987b 10063Author: Stuart Bennett <sb476@cam.ac.uk> 10064Date: Thu Apr 24 00:24:35 2008 +0100 10065 10066 randr12: set CRTCX_LCD in nv_output 10067 10068 This makes my nv28 external dvi work. 10069 10070commit b8d401b0a56d23db7199147e6a5dee1edccff4ff 10071Author: Stuart Bennett <sb476@cam.ac.uk> 10072Date: Thu Apr 24 00:01:50 2008 +0100 10073 10074 These made up defines are more misleading than helpful 10075 10076commit fa8c8437798cfc5494a639d649f0f91f0e7275ce 10077Author: Stuart Bennett <sb476@cam.ac.uk> 10078Date: Tue Apr 22 22:42:12 2008 +0100 10079 10080 randr12: remove FPP setting and other FSEL changes 10081 10082commit a083bb1a55d0983991c45d113eb7e9814369fff4 10083Author: Stuart Bennett <sb476@cam.ac.uk> 10084Date: Tue Apr 22 23:25:40 2008 +0100 10085 10086 randr12: oops (fix to 9edf6d60) 10087 10088commit 16f420e339f0dd6d55d7b87763d97c2eb8e77e66 10089Author: Stuart Bennett <sb476@cam.ac.uk> 10090Date: Tue Apr 22 21:34:52 2008 +0100 10091 10092 randr12: RAMDAC_OUTPUT is only for analogue outputs 10093 10094commit 52174047f3f817fa9ce3674440a13687b73ccea8 10095Author: Stuart Bennett <sb476@cam.ac.uk> 10096Date: Tue Apr 22 21:29:48 2008 +0100 10097 10098 Revert "randr12: correct SEL_CLK register beheaviour for outputs with or=2" 10099 10100 This reverts commit 77af887089be6fef7b793e3c3afdb98ac90a2e8c. 10101 10102 External DVI (which is source of or == 2) do not use SEL_CLK 10103 10104commit 61e416153b24516951962aca407ceaa9b7885e22 10105Author: Maarten Maathuis <madman2003@gmail.com> 10106Date: Sun Apr 13 02:40:55 2008 +0200 10107 10108 NV50: Another few regs. 10109 10110commit 5328370d2f7e10c61485572f53031deace69c515 10111Author: Maarten Maathuis <madman2003@gmail.com> 10112Date: Sun Apr 13 02:16:27 2008 +0200 10113 10114 NV50: Some more regs. 10115 10116commit e5511a564564350bd8755b7f18a1448ea7c796de 10117Author: Maarten Maathuis <madman2003@gmail.com> 10118Date: Sun Apr 13 01:21:20 2008 +0200 10119 10120 NV50: I now know what UNK8A8 is, so update the value register as well. 10121 10122commit 2c9027679db1657e6fe02cf6674024ca97f4cd6e 10123Author: Maarten Maathuis <madman2003@gmail.com> 10124Date: Sat Apr 12 02:11:32 2008 +0200 10125 10126 NV50: Re-implement output status caching. 10127 10128commit d7681e8ad70c07ec963ac9425b868a2686d79769 10129Author: Stuart Bennett <sb476@cam.ac.uk> 10130Date: Fri Apr 11 17:28:16 2008 +0100 10131 10132 randr12: separate pll and arbitration stages of calc_state_ext, and call from mode_set directly 10133 10134commit 0bf08d7699d7c3a1748060febded1c8b3950c9bd 10135Author: Stuart Bennett <sb476@cam.ac.uk> 10136Date: Fri Apr 11 16:20:21 2008 +0100 10137 10138 state->config is not used 10139 10140commit 08b8bd8a97b580a57d7bb75b3da7827d65c046f5 10141Author: Stuart Bennett <sb476@cam.ac.uk> 10142Date: Fri Apr 4 18:59:29 2008 +0100 10143 10144 randr12: unite pre nv40 and nv40 pll restore 10145 10146commit 5b443084ec7b03230d0ec7490c5a3378a9f7187e 10147Author: Stuart Bennett <sb476@cam.ac.uk> 10148Date: Tue Apr 8 02:25:34 2008 +0100 10149 10150 Use the correct reference clock when reading (V)PLLs 10151 10152commit 0f533b8cc12f49f5d5ac017838f7330a4f8b47ea 10153Author: Stuart Bennett <sb476@cam.ac.uk> 10154Date: Tue Apr 8 02:25:22 2008 +0100 10155 10156 Various PLL code improvements 10157 10158commit 4e1caa6edfe9499e6c501e70a8fba14bae510462 10159Author: Maarten Maathuis <madman2003@gmail.com> 10160Date: Wed Apr 9 18:55:06 2008 +0200 10161 10162 NV50: Some misc stuff. 10163 10164commit 099128175ad31956fd1c6622166b65f4ab1fe370 10165Author: Dave Airlie <airlied@redhat.com> 10166Date: Tue Apr 8 16:48:37 2008 +1000 10167 10168 nv50: fix distcheck since header removal 10169 10170commit 4af376fa6031bd41dc247e950319f3a151c49f22 10171Author: Stuart Bennett <sb476@cam.ac.uk> 10172Date: Tue Apr 8 00:28:03 2008 +0100 10173 10174 MCP67 does not do the second stage gain tests 10175 10176commit dbca8b65d7b12a1dd2eb7aee3ac37ece0bd4ce65 10177Author: Stuart Bennett <sb476@cam.ac.uk> 10178Date: Tue Apr 8 01:31:14 2008 +0100 10179 10180 PLL stuff 10181 10182commit 39b2e0b842f4a4e1c3de96c94e380aa9a0327c12 10183Author: Stuart Bennett <sb476@cam.ac.uk> 10184Date: Sat Apr 5 05:20:54 2008 +0100 10185 10186 If no PLL coefficients compatible with the constraints exist, don't brick the hardware 10187 10188commit 0b54450e1db7c6411528bc4a3bac4d1a42510aca 10189Author: Maarten Maathuis <madman2003@gmail.com> 10190Date: Mon Apr 7 22:12:44 2008 +0200 10191 10192 NV50: Scaling works fine on VGA connectors, so support that as well. 10193 10194 - The default is SCALE_PANEL instead of SCALE_ASPECT for obvious reasons. 10195 10196commit 891e72f4316c4e7e1b9d06f39e075b1a8a8a8c53 10197Author: Maarten Maathuis <madman2003@gmail.com> 10198Date: Mon Apr 7 21:18:54 2008 +0200 10199 10200 NV50: Deobfuscate some more commands. 10201 10202commit 13c701f9d23a598c281ced726070a219e1b78607 10203Author: Maarten Maathuis <madman2003@gmail.com> 10204Date: Mon Apr 7 19:29:55 2008 +0200 10205 10206 Make some CARD32 die. 10207 10208commit a3a0710604017f3ceb9c552552d71c3f5dcfab0f 10209Author: Maarten Maathuis <madman2003@gmail.com> 10210Date: Mon Apr 7 19:09:35 2008 +0200 10211 10212 NV50: Give a few registers an UNK label. 10213 10214commit be72a7c9104c1c1d6db960b1d80cc4d820d37440 10215Author: Maarten Maathuis <madman2003@gmail.com> 10216Date: Mon Apr 7 18:35:18 2008 +0200 10217 10218 randr12: NV04/05/06 can't accelerate rotation, so it's better to disable it. 10219 10220commit 9cf76c91a661587d9c54845e6a06fb25cf9b55a2 10221Author: Maarten Maathuis <madman2003@gmail.com> 10222Date: Sun Apr 6 23:36:15 2008 +0200 10223 10224 NV50: Some more stuff. 10225 10226commit c725e33078a2fed374fbb52175beba92b0b9fbe8 10227Author: Maarten Maathuis <madman2003@gmail.com> 10228Date: Sun Apr 6 19:49:11 2008 +0200 10229 10230 NV50: minor rename to avoid confusion 10231 10232commit fcda539ce60ca02f2f4589157f8b8c522430571f 10233Author: Maarten Maathuis <madman2003@gmail.com> 10234Date: Sun Apr 6 15:16:40 2008 +0200 10235 10236 NV50: Deobfuscate another register (partially). 10237 10238commit fa93541b257a8055ea8b55c883475d2db717d971 10239Author: Maarten Maathuis <madman2003@gmail.com> 10240Date: Sun Apr 6 15:05:33 2008 +0200 10241 10242 NV50: Fix another deadlock in the clock setting code. 10243 10244 - Swapping my monitor from dvi to vga causes no mode (=clock) change, but still the supervisor expects a clock change. 10245 - This meant it got stuck in stage 2, with no clock that is supposed to change. 10246 10247commit c001fea3b0ae3921c063e7f44c298cafdfef51f6 10248Author: Maarten Maathuis <madman2003@gmail.com> 10249Date: Sat Apr 5 23:33:22 2008 +0200 10250 10251 Forgot a few things. 10252 10253commit 17a8e1743478e5548a90caf8f84a387366020416 10254Author: Maarten Maathuis <madman2003@gmail.com> 10255Date: Sat Apr 5 23:23:22 2008 +0200 10256 10257 NV50: rename randr-1.2 functions to be nv50_something_function 10258 10259commit a71ef4da76e33e84303a8b9181dbcfd655e78aa9 10260Author: Maarten Maathuis <madman2003@gmail.com> 10261Date: Sat Apr 5 23:00:39 2008 +0200 10262 10263 NV50: Some more cleanup. 10264 10265commit aeab563cc89b2fc3cd6cb306aab880b6e28f2b64 10266Author: Maarten Maathuis <madman2003@gmail.com> 10267Date: Sat Apr 5 22:52:58 2008 +0200 10268 10269 NV50: Some reordering. 10270 10271commit b899ab75781a3076898791381604be575c6d8a70 10272Author: Maarten Maathuis <madman2003@gmail.com> 10273Date: Sat Apr 5 21:17:23 2008 +0200 10274 10275 Some minor corrections. 10276 10277commit b0ef158a7e281329825c7b6c10cab6097e627b54 10278Author: Maarten Maathuis <madman2003@gmail.com> 10279Date: Sat Apr 5 21:06:03 2008 +0200 10280 10281 NV50: Document dvi hotplug detection. 10282 10283 - This can only be used once modesetting is moved to the kernel. 10284 10285commit be54b9299b4a261fc707b74407cf4d847fcbb243 10286Author: Maarten Maathuis <madman2003@gmail.com> 10287Date: Sat Apr 5 16:16:26 2008 +0200 10288 10289 NV50: Remove some questionable guesses. 10290 10291commit c06f202cfbee8568fb8358ea1caffec41c71e648 10292Author: Maarten Maathuis <madman2003@gmail.com> 10293Date: Sat Apr 5 01:54:06 2008 +0200 10294 10295 nvbios: Drop a N2/M2 requirement on NV5x hardware, as it prevents getting a mode on 1024x768'ish and lower. 10296 10297 - Limitations are very strict in nv5x bios tables and N2/M2 can drop below 2 (the blob does this too). 10298 10299commit 5ce26b9aec214dd99e5399fe0f864d8faad15d2c 10300Author: Maarten Maathuis <madman2003@gmail.com> 10301Date: Fri Apr 4 22:49:06 2008 +0200 10302 10303 nvbios: Add some valid register ranges for nv50. 10304 10305commit ce86484979d873325ec4c74ed84107be9ad9ba62 10306Author: Maarten Maathuis <madman2003@gmail.com> 10307Date: Fri Apr 4 22:38:30 2008 +0200 10308 10309 NV50: Switch to common pll calculator function. 10310 10311commit 821ad3d643f9564d043c7f3909e0b8be28e94965 10312Author: Stuart Bennett <sb476@cam.ac.uk> 10313Date: Wed Apr 2 16:58:45 2008 +0100 10314 10315 randr12: delete stuff commented out a week ago that no one's complained about 10316 10317commit e90e534728e9cbe65ee6c70faf596db449495665 10318Author: Maarten Maathuis <madman2003@gmail.com> 10319Date: Fri Apr 4 17:13:25 2008 +0200 10320 10321 NV50: Minor comment updates. 10322 10323commit 08550984aba2bfa3eaeeddbbf6af25206819abe8 10324Author: Maarten Maathuis <madman2003@gmail.com> 10325Date: Fri Apr 4 17:04:49 2008 +0200 10326 10327 NV50: Some more stuff. 10328 10329commit ef4339aacf72bf5422b22ab18b73416f2738b284 10330Author: Maarten Maathuis <madman2003@gmail.com> 10331Date: Fri Apr 4 16:49:00 2008 +0200 10332 10333 NV50: Some more registers. 10334 10335commit 3183df1aa61f3c441a93e5a8b50db6628d804465 10336Author: Maarten Maathuis <madman2003@gmail.com> 10337Date: Thu Apr 3 22:42:31 2008 +0200 10338 10339 NV50: Update my knowledge of interrupts. 10340 10341commit 04fd80d29913ed02524de177fa7c87b616147d15 10342Author: Stuart Bennett <sb476@cam.ac.uk> 10343Date: Thu Apr 3 03:00:13 2008 +0100 10344 10345 Small declaration reordering 10346 10347commit 92934e4b7571a578386327ebdb59eb6d10992763 10348Author: Stuart Bennett <sb476@cam.ac.uk> 10349Date: Thu Apr 3 01:03:38 2008 +0100 10350 10351 Move some variable declarations in the bios parser 10352 10353commit 927384005a01a606835452c9d1e26d7df98f81cb 10354Author: Stuart Bennett <sb476@cam.ac.uk> 10355Date: Thu Apr 3 00:11:31 2008 +0100 10356 10357 randr12: some fixes to dithering property 10358 10359commit 52c880c97acf29d5ed8dfeec5810fcc7d8bb7b35 10360Author: Stuart Bennett <sb476@cam.ac.uk> 10361Date: Wed Apr 2 19:45:43 2008 +0100 10362 10363 randr12: better analogue clock limits (taken from pNv->{Min,Max}VClockFreqKHz) 10364 10365commit 29714e7b9ae952aecd036086c053ec030aad94c9 10366Author: Maarten Maathuis <madman2003@gmail.com> 10367Date: Wed Apr 2 21:31:07 2008 +0200 10368 10369 NV50: Some minor changes to the display supervisor (mostly comment). 10370 10371commit 9ac32d3e2bf400f6a6220118b8008804cd11e435 10372Author: Stuart Bennett <sb476@cam.ac.uk> 10373Date: Wed Apr 2 19:03:07 2008 +0100 10374 10375 Some bios parser PLL writing improvements 10376 10377commit 4a192ea6cf9df39d95368f46482c777524471118 10378Author: Maarten Maathuis <madman2003@gmail.com> 10379Date: Wed Apr 2 18:21:01 2008 +0200 10380 10381 NV50: Add my name to some files. 10382 10383commit db6220b8611829a77d354de1e45f6fe29e118b2a 10384Author: Stuart Bennett <sb476@cam.ac.uk> 10385Date: Wed Apr 2 16:16:13 2008 +0100 10386 10387 randr12: since the crtc function records are now mutable, unify pre nv50 templates 10388 10389commit b9762ba272a3ee817278e3967794c55a4fe73961 10390Author: Stuart Bennett <sb476@cam.ac.uk> 10391Date: Wed Apr 2 16:02:43 2008 +0100 10392 10393 randr12: don't provide rotation functions in NoAccel case 10394 10395commit a24ab3d1559d023270915f373527efb6eefacd8d 10396Author: Stuart Bennett <sb476@cam.ac.uk> 10397Date: Wed Apr 2 16:05:30 2008 +0100 10398 10399 Revert "randr12: Fail rotation in NoAccel case." 10400 10401 This reverts commit b33317ed98957db42691f5f9c41c119c10c91be6. 10402 10403commit 33d4c2f2fe6c6c400ce945f4c7ecc09ee08123a5 10404Author: Stuart Bennett <sb476@cam.ac.uk> 10405Date: Wed Apr 2 15:46:50 2008 +0100 10406 10407 Add quirks for Apple *book backlight 10408 10409commit 8a3f051dc9f007c3d801942d32899b8d6c09fd34 10410Author: Maarten Maathuis <madman2003@gmail.com> 10411Date: Wed Apr 2 14:54:16 2008 +0200 10412 10413 NV50: Some more things. 10414 10415commit b33317ed98957db42691f5f9c41c119c10c91be6 10416Author: Maarten Maathuis <madman2003@gmail.com> 10417Date: Wed Apr 2 09:28:45 2008 +0200 10418 10419 randr12: Fail rotation in NoAccel case. 10420 10421commit d017dfa93e7eff988339b8030af1a563347156bc 10422Author: Stuart Bennett <sb476@cam.ac.uk> 10423Date: Tue Apr 1 21:23:35 2008 +0100 10424 10425 NV30/35 setPLL bios support 10426 10427commit 32f550a534dc3e19f7cd3640549336846ad6052d 10428Author: Maarten Maathuis <madman2003@gmail.com> 10429Date: Tue Apr 1 22:33:15 2008 +0200 10430 10431 NV50: Fix a minor cursor issue. 10432 10433commit 27e819dbcd5ce36be71c7dd3be332f777a80caf4 10434Author: Maarten Maathuis <madman2003@gmail.com> 10435Date: Tue Apr 1 22:20:04 2008 +0200 10436 10437 NV50: Add some debugging statements to important functions. 10438 10439commit 99857933e8edc3be2e4af0c8c7e3fe3b1e221de9 10440Author: Maarten Maathuis <madman2003@gmail.com> 10441Date: Tue Apr 1 20:33:16 2008 +0200 10442 10443 NV50: Some i2c stuff. 10444 10445commit 9199307195c51b52979c483b3c0adf49f2301281 10446Author: Stuart Bennett <sb476@cam.ac.uk> 10447Date: Tue Apr 1 05:16:29 2008 +0100 10448 10449 Use new PLL reading code 10450 10451 Of course, having spent some time perfecting the reading of NVPLL and MPLL, 10452 it turns out to be totally unnecessary on >= nv30 :-/ 10453 10454commit a3f82d92ae6cbd779d341fe11687d12c5aac1762 10455Author: Stuart Bennett <sb476@cam.ac.uk> 10456Date: Tue Apr 1 05:03:14 2008 +0100 10457 10458 Unified PLL reading 10459 10460commit 350fb202e113bc03a71fd7e451e2c26ec990a61a 10461Author: Stuart Bennett <sb476@cam.ac.uk> 10462Date: Tue Apr 1 05:29:05 2008 +0100 10463 10464 randr12: get_clock_from_crtc only necessary for TMDS 10465 10466commit f741bf7b724dd0698f71b28c461337526f20fe31 10467Author: Stuart Bennett <sb476@cam.ac.uk> 10468Date: Tue Apr 1 00:23:06 2008 +0100 10469 10470 Better PLL limits for some nv3x 10471 10472commit 94ca1951feda10b9d6ad828816a459af750de286 10473Author: Stuart Bennett <sb476@cam.ac.uk> 10474Date: Tue Apr 1 01:00:16 2008 +0100 10475 10476 randr12: deal with nv30 and nv35 PLLs individually 10477 10478commit 626d8d62eef205dc542e3a7cd82beb329a23cdaf 10479Author: Maarten Maathuis <madman2003@gmail.com> 10480Date: Mon Mar 31 19:27:28 2008 +0200 10481 10482 Init global gamma on all crtc's, even if they are currently not in use. 10483 10484commit f54cea5662fdfc17762711a88892a27aed62f74c 10485Author: Maarten Maathuis <madman2003@gmail.com> 10486Date: Mon Mar 31 19:17:50 2008 +0200 10487 10488 NV50: Some clock related cleanups + minor changes. 10489 10490commit 7393d8fc76f7bbb8aa156587d81ee1a01c17470e 10491Author: Maarten Maathuis <madman2003@gmail.com> 10492Date: Mon Mar 31 14:10:42 2008 +0200 10493 10494 NV50: Some misc cleanup. 10495 10496commit 9edf6d60b2b6698e88edc7798285bd843bfce0f4 10497Author: Stuart Bennett <sb476@cam.ac.uk> 10498Date: Sun Mar 30 21:48:13 2008 +0100 10499 10500 randr12: different handling for sel_clk for pre and post nv40 10501 10502 This won't set the spread spectrum bits for pre nv40 from null initial state, but that's not a major concern right now 10503 10504commit 84ab4be08947ef35900da6b84702bc9acb4121bb 10505Author: Stuart Bennett <sb476@cam.ac.uk> 10506Date: Sat Mar 29 21:26:37 2008 +0000 10507 10508 Minor tidyup to output merging 10509 10510commit 1fe1d8161059afcc6f6ba152b9331e1576ef1f93 10511Author: Maarten Maathuis <madman2003@gmail.com> 10512Date: Sun Mar 30 22:42:47 2008 +0200 10513 10514 Kill a useless register offset. 10515 10516commit 75680d723144270c12a6d500d8e2c2c421e4ebc1 10517Author: Maarten Maathuis <madman2003@gmail.com> 10518Date: Sun Mar 30 15:18:09 2008 +0200 10519 10520 NV50: remove unneeded function 10521 10522commit 263ec94ec0f553f5ab6a22d3fd335bebff2c029b 10523Author: Maarten Maathuis <madman2003@gmail.com> 10524Date: Sun Mar 30 12:21:29 2008 +0200 10525 10526 NV50: Some minor cursor cleanups. 10527 10528commit 86722ad60fb939743f5ab73413f721cd26bf2c3c 10529Author: Maarten Maathuis <madman2003@gmail.com> 10530Date: Sun Mar 30 03:37:16 2008 +0200 10531 10532 NV50: Deobfuscate some of the modesetting, a few things were hidden away in innocent looking variables. 10533 10534 - Some mode variables were overridden and didn't represent their name anymore. 10535 10536commit 633a8f4f0a8ff3bcb5e6afa9bbcf3f6ed44ef905 10537Author: Stuart Bennett <sb476@cam.ac.uk> 10538Date: Sat Mar 29 19:01:30 2008 +0000 10539 10540 randr12: make sel_clk behaviour match comment (which seems to be correct) 10541 10542 If nv40 breaks, this whole thing will need another look 10543 10544commit 7a8bbb7f0890ef99de539f0f7acccd469f33dce9 10545Author: Stuart Bennett <sb476@cam.ac.uk> 10546Date: Sat Mar 29 00:03:27 2008 +0000 10547 10548 Fix Apple backlight code, broken in pci-rework conversion 10549 10550commit 4d0974c48eff8cd51af66f8fded4fad50044958a 10551Author: Stuart Bennett <sb476@cam.ac.uk> 10552Date: Fri Mar 28 01:10:31 2008 +0000 10553 10554 Consistency fix 10555 10556 + constify 10557 10558commit acd007843f00cb99cf26c4a5f885e365c3a8065b 10559Author: Maarten Maathuis <madman2003@gmail.com> 10560Date: Sat Mar 29 21:47:04 2008 +0100 10561 10562 It seems wise to NVSync for all hardware on NVLeaveVT. 10563 10564commit ea27bc38938277599228ba403a082963bf89d702 10565Author: Maarten Maathuis <madman2003@gmail.com> 10566Date: Fri Mar 28 19:56:36 2008 +0100 10567 10568 NV50: Better safe than sorry. 10569 10570commit d4ca83e2d1f1432dc7de290087f03a6ff3553d98 10571Author: Stuart Bennett <sb476@cam.ac.uk> 10572Date: Thu Mar 27 23:55:30 2008 +0000 10573 10574 randr12: shrink pitch alignment stuff and move 10575 10576commit 43ff98cd89e3dc43c281e41f3a36a76bcd3e5a65 10577Author: Stuart Bennett <sb476@cam.ac.uk> 10578Date: Wed Mar 26 18:35:14 2008 +0000 10579 10580 randr12: tidy-up 3/3 - TMDS04 twiddling 10581 10582 Code commented for easy reinstatement should problems arise 10583 10584commit 9491ee3f3fbb8b50244444424ef6148217ace944 10585Author: Stuart Bennett <sb476@cam.ac.uk> 10586Date: Wed Mar 26 18:34:28 2008 +0000 10587 10588 randr12: tidy-up 2/3 - DPMS CR57/58 twiddling 10589 10590 Code commented for easy reinstatement should problems arise 10591 10592commit 2e001c140eacc5d5f02435b9c81b13e5d40db71f 10593Author: Stuart Bennett <sb476@cam.ac.uk> 10594Date: Wed Mar 26 18:33:59 2008 +0000 10595 10596 randr12: tidy-up 1/3 - FP_DEBUG_0 twiddling 10597 10598 Code commented for easy reinstatement should problems arise 10599 10600commit ec9fa3c958d6763ff96d8b884ed36c80d911475a 10601Author: Stuart Bennett <sb476@cam.ac.uk> 10602Date: Thu Mar 27 19:24:04 2008 +0000 10603 10604 randr12: allow doublescan and low clock modes 10605 10606 320x240 ftw. Also improved mode rejection error messages 10607 10608commit 048f31014092c1dccb1944d2b1a84c7a301be48e 10609Author: Stuart Bennett <sb476@cam.ac.uk> 10610Date: Wed Mar 26 18:58:47 2008 +0000 10611 10612 Minor fix to lvds script caching commit 10613 10614commit 3feaa48b53f51c094718708e52f08b546b0b0e27 10615Author: Maarten Maathuis <madman2003@gmail.com> 10616Date: Wed Mar 26 20:01:19 2008 +0100 10617 10618 NV50: Implement per CRTC gamma correction. 10619 10620 - This remains untested, so if you're in the mood to test ;-) 10621 10622commit 77af887089be6fef7b793e3c3afdb98ac90a2e8c 10623Author: Maarten Maathuis <madman2003@gmail.com> 10624Date: Wed Mar 26 10:02:46 2008 +0100 10625 10626 randr12: correct SEL_CLK register beheaviour for outputs with or=2 10627 10628commit cb5d4cdb3dc83f9dbd53eae9097c0df458313fff 10629Author: Stuart Bennett <sb476@cam.ac.uk> 10630Date: Wed Mar 26 02:27:33 2008 +0000 10631 10632 Cache running of LVDS scripts, rather than blocking LVDS_RESET 10633 10634 Fixes a regression on some nv40 where LVDS_RESET is needed to fix some bad behaviour in the off/on scripts 10635 10636commit 6924d1ac900524d0978a02f8f8509faab1809b62 10637Author: Maarten Maathuis <madman2003@gmail.com> 10638Date: Thu Mar 20 20:20:16 2008 +0100 10639 10640 NV50: Although not essential, it's nicer to save a register as uint32_t. 10641 10642commit 1042c2bed3aee8561411fba85438c3fe5ee2cdea 10643Author: Maarten Maathuis <madman2003@gmail.com> 10644Date: Thu Mar 20 20:10:13 2008 +0100 10645 10646 NV50: Some more stuff. 10647 10648commit b58e5e99aa06e1851ce255211d524a88f1fb297a 10649Author: Maarten Maathuis <madman2003@gmail.com> 10650Date: Thu Mar 20 19:59:46 2008 +0100 10651 10652 NV50: Educated guesses at some of the control registers. 10653 10654commit ef25cb9224d37c7937e67824a262937a747c91cc 10655Author: Maarten Maathuis <madman2003@gmail.com> 10656Date: Thu Mar 20 18:49:58 2008 +0100 10657 10658 NV50: Forgot some more stuff. 10659 10660commit 64b3d1ab1a4226fa688722dabc40fe05a0e30d52 10661Author: Maarten Maathuis <madman2003@gmail.com> 10662Date: Thu Mar 20 18:35:20 2008 +0100 10663 10664 NV50: Forgot something. 10665 10666commit 81929c1810fe4825ff9bd5d4bc84996c35c8ceb7 10667Author: Maarten Maathuis <madman2003@gmail.com> 10668Date: Thu Mar 20 17:43:30 2008 +0100 10669 10670 NV50: More dehexing. 10671 10672commit ee1ac0646c7c2f018abdfd4f58d49d51f5340784 10673Author: Maarten Maathuis <madman2003@gmail.com> 10674Date: Thu Mar 20 17:19:37 2008 +0100 10675 10676 NV50: Some more dehexing. 10677 10678commit ca1b8bbebd4b786f0fe8531ba7145aa932e5abcc 10679Author: Maarten Maathuis <madman2003@gmail.com> 10680Date: Thu Mar 20 14:18:18 2008 +0100 10681 10682 NV50: Some more register guesses. 10683 10684commit aa99fb07cd438f436fdfa4e5dff6d87d27950358 10685Author: Stuart Bennett <sb476@cam.ac.uk> 10686Date: Wed Mar 19 18:16:03 2008 +0000 10687 10688 randr12: do DPMS off better 10689 10690 Half the time that DPMS off is done, there is no crtc bound, which meant outputs never got turned off. 10691 It seems xf86DisableUnusedFunctions is always run *before* setting up the new outputs (when using xrandr): 10692 if this is not the case, this commit may not be quite right. 10693 10694commit 063b393ac12bec286e0b28c2b18a98cedd3422c1 10695Author: Stuart Bennett <sb476@cam.ac.uk> 10696Date: Wed Mar 19 02:56:31 2008 +0000 10697 10698 Optimizations on LVDS script code 10699 10700commit c5203647ddf262978e7d6a4912661a9cc448da66 10701Author: Stuart Bennett <sb476@cam.ac.uk> 10702Date: Wed Mar 19 23:12:59 2008 +0000 10703 10704 randr12: unbreak LVDS and primary I2C for < NV50 10705 10706 NV50 check disallowed pre-NV50 cards using I2C on first head, and made garbage get written to CR0 on LVDS 10707 10708 This should work for both pre-nv50 and nv50. 10709 10710commit ebc75dc9e8394ee1d13a853341ba9995e9d9d04f 10711Author: Maarten Maathuis <madman2003@gmail.com> 10712Date: Wed Mar 19 21:31:10 2008 +0100 10713 10714 NV50: fix i2c for real 10715 10716commit c6e3a6f57a7ae67c187aff0ad87153e988961784 10717Author: Maarten Maathuis <madman2003@gmail.com> 10718Date: Wed Mar 19 08:57:33 2008 +0100 10719 10720 NV50: Fix a typo and hopefully fix i2c. 10721 10722commit a989b4caac077f65034fb328a80ab4ae758c1162 10723Author: Maarten Maathuis <madman2003@gmail.com> 10724Date: Mon Mar 17 23:40:16 2008 +0100 10725 10726 NV50: Fix major thinko in "NV50: kill output_resource and use or directly." 10727 10728commit cd5aaeaa319e2b681c7c6ccc135d76b7c027bd0d 10729Author: Maarten Maathuis <madman2003@gmail.com> 10730Date: Mon Mar 17 22:05:12 2008 +0100 10731 10732 NV50: Handle some things that weren't fixed during rebase. 10733 10734commit f73c2361a7bba5aa9abb4fe65697bfcb2a407e99 10735Author: Maarten Maathuis <madman2003@gmail.com> 10736Date: Sun Mar 16 16:09:11 2008 +0100 10737 10738 NV50: kill output_resource and use or directly. 10739 10740commit de0fc0ece55997f8b2ad86070cb940e2afd2d7e8 10741Author: Maarten Maathuis <madman2003@gmail.com> 10742Date: Sun Mar 16 12:46:40 2008 +0100 10743 10744 NV50: Mostly resorting regs. 10745 10746 - Also a dithering register define and rename cursor related reg. 10747 10748commit 849bab73da8da8ad8b2987f80fcf90bf86299171 10749Author: Maarten Maathuis <madman2003@gmail.com> 10750Date: Sun Mar 16 12:33:19 2008 +0100 10751 10752 NV50: Some more educated guesses at register names. 10753 10754commit 0244dc1dd0698be161d7fd629efa10dcb3df106a 10755Author: Maarten Maathuis <madman2003@gmail.com> 10756Date: Sun Mar 16 01:09:48 2008 +0100 10757 10758 NV50: Another subtle difference. 10759 10760commit 5e2d220edf65357f4d7bd8ce97bd829086e0781c 10761Author: Maarten Maathuis <madman2003@gmail.com> 10762Date: Sun Mar 16 01:05:03 2008 +0100 10763 10764 NV50: Fix a potentional bug. 10765 10766commit cef158cee51ecc53c2f5a9910a88c9e802d49980 10767Author: Maarten Maathuis <madman2003@gmail.com> 10768Date: Sun Mar 16 00:40:59 2008 +0100 10769 10770 NV50: Share output properties. 10771 10772commit 31e7a740a1cddc5edfdede05187e6bd9a6f1b993 10773Author: Maarten Maathuis <madman2003@gmail.com> 10774Date: Sun Mar 16 00:27:41 2008 +0100 10775 10776 randr12: Implement dithering output property. 10777 10778commit 05f0464669eef0a3caff2466eeffd9843c18a7b7 10779Author: Maarten Maathuis <madman2003@gmail.com> 10780Date: Sat Mar 15 19:02:55 2008 +0100 10781 10782 NV50: Merge output creation and i2c init. 10783 10784commit 285a13ab41e869544681260b1f2415143456bdc9 10785Author: Maarten Maathuis <madman2003@gmail.com> 10786Date: Sat Mar 15 18:20:34 2008 +0100 10787 10788 NV50: Merge crtc creation. 10789 10790commit c5dac45a199b7f4fa3692727aa6af1cd9a6b8d35 10791Author: Stuart Bennett <sb476@cam.ac.uk> 10792Date: Mon Mar 17 23:20:39 2008 +0000 10793 10794 randr12 offbyone debug commitnoise 10795 10796 semantic version control messages ftw? 10797 10798commit 4cd5e430d164cb5a834e4946d5e5dc79061cadfb 10799Author: Stuart Bennett <sb476@cam.ac.uk> 10800Date: Mon Mar 17 17:21:28 2008 +0000 10801 10802 randr12: remove NVGetOutputFromCRTC 10803 10804 This function had a major problem for the long term: assuming a maximum of 1 10805 output per CRTC, which is simply not valid 10806 10807commit 27c21c0574bac47bbb311094c32f17e7ac321ba5 10808Author: Stuart Bennett <sb476@cam.ac.uk> 10809Date: Mon Mar 17 17:09:23 2008 +0000 10810 10811 randr12: split out fp-only registers 10812 10813commit c09d190ffe2bab1e1df52d8b83009c10fafbc2bc 10814Author: Stuart Bennett <sb476@cam.ac.uk> 10815Date: Mon Mar 17 03:03:14 2008 +0000 10816 10817 randr12: better handling for output types in nv_crtc 10818 10819commit 78ded96a4e8f88dba038e5ef0c452b7c7bf9a2dc 10820Author: Stuart Bennett <sb476@cam.ac.uk> 10821Date: Mon Mar 17 17:16:27 2008 +0000 10822 10823 randr12: remove duplicated regs 10824 10825commit f7013760f9e9ec91bc3bd3739b6cce9018e34bcb 10826Author: Stuart Bennett <sb476@cam.ac.uk> 10827Date: Mon Mar 17 00:59:31 2008 +0000 10828 10829 randr12: fix noscale scaling mode 10830 10831 Also, a bit of consistency missed in the earlier commit 10832 10833commit a9c01eff4bcf3af52faf73269f63a5fd46b3b3b3 10834Author: Stuart Bennett <sb476@cam.ac.uk> 10835Date: Sun Mar 16 14:27:14 2008 +0000 10836 10837 Misc startup info mostly duplicated the state storage stuff 10838 10839commit a02f82e9ce79ae24a4f2eba71a83e51f3b6d9e52 10840Author: Stuart Bennett <sb476@cam.ac.uk> 10841Date: Sun Mar 16 00:51:09 2008 +0000 10842 10843 randr12: make output parsing consistent 10844 10845commit f04c44eff67adb9099eca7b298b10639dc0b1759 10846Author: Stuart Bennett <sb476@cam.ac.uk> 10847Date: Sat Mar 15 01:36:13 2008 +0000 10848 10849 G80 I2C parsing 10850 10851 Changed to on-demand parsing 10852 10853commit 718e42478c02c7497cd3917b8ea78ed692f30f3f 10854Author: Stuart Bennett <sb476@cam.ac.uk> 10855Date: Fri Mar 14 21:22:48 2008 +0000 10856 10857 randr12: make nv_crtc_calc_state_ext definition smaller 10858 10859commit 772bf76b3697d1d1725017787378802c2940093e 10860Author: Stuart Bennett <sb476@cam.ac.uk> 10861Date: Tue Mar 11 03:39:43 2008 +0000 10862 10863 randr12: merge common PLL paths 10864 10865commit 1326e0176582fd21e16359764e2792cd125548e6 10866Author: Stuart Bennett <sb476@cam.ac.uk> 10867Date: Tue Mar 11 02:19:10 2008 +0000 10868 10869 randr12: make plls belong to their CRTCs 10870 10871commit 97b074889feef7b4a3b6401825a46d53321d1c7e 10872Author: Stuart Bennett <sb476@cam.ac.uk> 10873Date: Wed Jan 30 14:38:59 2008 +0000 10874 10875 Use PMC defines 10876 10877commit ee11c6abe875a758bdfa4469ae6326ac25732178 10878Author: Maarten Maathuis <madman2003@gmail.com> 10879Date: Fri Mar 14 11:11:07 2008 +0100 10880 10881 randr12: Let an unneeded quirk die. 10882 10883commit 8851d9f3ef4a8cb9b35e1cb8ed80b3ff213eeee0 10884Author: Stuart Bennett <sb476@cam.ac.uk> 10885Date: Wed Mar 12 16:29:17 2008 +0000 10886 10887 randr12: sel_clk values are really an FP thing, so move calculation to nv_output 10888 10889commit 63527f978d923317a97dec060be6df16c7baf17d 10890Author: Stuart Bennett <sb476@cam.ac.uk> 10891Date: Thu Mar 13 20:26:07 2008 +0000 10892 10893 randr12: tidy up output restore 10894 10895commit 769436b3840e10da00b51b94d72d0b2ef510fecc 10896Author: Stuart Bennett <sb476@cam.ac.uk> 10897Date: Thu Mar 13 19:52:52 2008 +0000 10898 10899 randr12: common tmds access functions 10900 10901commit c455ca0d3df3bb2322154ded40fbe6b86c6a8acd 10902Author: Stuart Bennett <sb476@cam.ac.uk> 10903Date: Wed Mar 12 03:23:21 2008 +0000 10904 10905 Improve bios' handling of ramdac_580 10906 10907commit bd5ad7c4e1f824d57517da540658c97b5283d5d0 10908Author: Maarten Maathuis <madman2003@gmail.com> 10909Date: Thu Mar 13 20:49:53 2008 +0100 10910 10911 NV50: Accept G9X cards. 10912 10913commit 0318b31e19da12ba0d4dc456ad08d6b059d08d1e 10914Author: Maarten Maathuis <madman2003@gmail.com> 10915Date: Thu Mar 13 16:57:24 2008 +0100 10916 10917 NV50: Add back output_resource. 10918 10919commit a4397563c6845668ad1f4b2352b90c872957f8bc 10920Author: Maarten Maathuis <madman2003@gmail.com> 10921Date: Wed Mar 12 23:16:53 2008 +0100 10922 10923 NV50: Unbreak "NV50: Kill the connection status caching (which was broken btw)." 10924 10925commit 63ffb8dce809267706eb621f03da3c3501935bbd 10926Author: Maarten Maathuis <madman2003@gmail.com> 10927Date: Tue Mar 11 23:15:11 2008 +0100 10928 10929 NV50: Merge the two output private structs. 10930 10931commit b4c3bee2f8cc824cd52aca61121634c55d5f5a60 10932Author: Maarten Maathuis <madman2003@gmail.com> 10933Date: Tue Mar 11 23:09:19 2008 +0100 10934 10935 NV50: rename scale to scaling_mode 10936 10937commit b0d2f93d3adbb798f5d9bfa2d188b666e4c5fc16 10938Author: Maarten Maathuis <madman2003@gmail.com> 10939Date: Tue Mar 11 23:06:16 2008 +0100 10940 10941 NV50: Rename nativeMode 10942 10943commit e5b8efad35df21d35a3893a6c8b10e1f02272544 10944Author: Maarten Maathuis <madman2003@gmail.com> 10945Date: Tue Mar 11 23:00:19 2008 +0100 10946 10947 NV50: Rename or to output_resource. 10948 10949commit 19ca2db7683b8cdcfb74f6cc14c9cb6c3876d2c7 10950Author: Maarten Maathuis <madman2003@gmail.com> 10951Date: Tue Mar 11 22:43:33 2008 +0100 10952 10953 NV50: kill set_pclk 10954 10955commit eef3a665c01c530238c3dc02324573d6bcf6c3f2 10956Author: Maarten Maathuis <madman2003@gmail.com> 10957Date: Tue Mar 11 22:24:46 2008 +0100 10958 10959 NV50: Remove the remnants of cached_status. 10960 10961commit dc0bb590a40f3d8b18d2136ed906e8dac10ec598 10962Author: Maarten Maathuis <madman2003@gmail.com> 10963Date: Tue Mar 11 22:22:12 2008 +0100 10964 10965 NV50: kill partner entry 10966 10967commit f66463713a71b0e3090f33c68186884594255cc0 10968Author: Maarten Maathuis <madman2003@gmail.com> 10969Date: Tue Mar 11 22:12:57 2008 +0100 10970 10971 NV50: fix warning 10972 10973commit cb50cd3276825569a6da1f25a2d89bfd417b5034 10974Author: Maarten Maathuis <madman2003@gmail.com> 10975Date: Tue Mar 11 21:33:29 2008 +0100 10976 10977 NV50: Kill the connection status caching (which was broken btw). 10978 10979commit 6e2af71c73263c3cf2d61f66c02363decd354da5 10980Author: Maarten Maathuis <madman2003@gmail.com> 10981Date: Tue Mar 11 21:15:21 2008 +0100 10982 10983 NV50: change i2c to pDDCBus 10984 10985commit d07b3063953c0b17585249dfbc2938a433bea88f 10986Author: Maarten Maathuis <madman2003@gmail.com> 10987Date: Tue Mar 11 19:50:25 2008 +0100 10988 10989 NV50: Switch to other scaling defines. 10990 10991commit 4ddb92b8e936985b5b1429a0a21890879635bcde 10992Author: Maarten Maathuis <madman2003@gmail.com> 10993Date: Tue Mar 11 19:29:11 2008 +0100 10994 10995 NV50: Switch to the same output type as the rest of the code. 10996 10997commit e605fbfc659d3fe1bd71d478c21429b563fbfd80 10998Author: Stuart Bennett <sb476@cam.ac.uk> 10999Date: Thu Mar 13 15:21:49 2008 +0000 11000 11001 randr12: nothing uses output_resource. kill it 11002 11003commit 53925cfc3540b89dedd317bbae4318cf53daada1 11004Author: Stuart Bennett <sb476@cam.ac.uk> 11005Date: Thu Mar 13 15:31:00 2008 +0000 11006 11007 randr12: fix the setting of NV_RAMDAC_OUTPUT 11008 11009 And turn on/off the DAC for DPMS 11010 11011commit 493c79405be23a543cd21c2583c466342399509d 11012Author: Stuart Bennett <sb476@cam.ac.uk> 11013Date: Thu Mar 13 03:53:18 2008 +0000 11014 11015 Simplify TMDS writes a little 11016 11017commit 4cf1bd9ef016a2c9fe7784fdc83f559bec464f9e 11018Author: Stuart Bennett <sb476@cam.ac.uk> 11019Date: Tue Mar 11 17:20:28 2008 +0000 11020 11021 randr12: don't allow scripts to break overlay 11022 11023commit 95f2b8439f433afb5d637a3580f933e2cd44488a 11024Author: Danny Tholen <obiwan@mailmij.org> 11025Date: Tue Mar 11 17:14:54 2008 +0000 11026 11027 Fix video overlays to treat double-scan correctly when using randr12 11028 11029commit 460cb260c30467799fa31aef11946d1fe2dd6523 11030Author: Stuart Bennett <sb476@cam.ac.uk> 11031Date: Mon Mar 10 23:47:43 2008 +0000 11032 11033 Correct RAMIN offset 11034 11035 and some bits missed in previous nv_setup tidying 11036 11037commit e8a5d4638e74b5957fc12b05865f49dd995d0435 11038Author: Stuart Bennett <sb476@cam.ac.uk> 11039Date: Mon Mar 10 21:46:38 2008 +0000 11040 11041 randr12: changing tmds2 for dvi-d seemingly unnecessary 11042 11043commit 30ddbe9c2b82bc19d1480a1b38df6b5ca0dd057b 11044Author: Stuart Bennett <sb476@cam.ac.uk> 11045Date: Mon Mar 10 23:49:08 2008 +0000 11046 11047 randr12: unbreak sel_clk changes 11048 11049commit 03f38725304842b053b7976db5df97e61159d07d 11050Author: Stuart Bennett <sb476@cam.ac.uk> 11051Date: Mon Mar 10 19:50:55 2008 +0000 11052 11053 randr12: allow spread spectrum bits to be updated on pre nv40 11054 11055commit 323b7ef9c1c26996b84fd1f67297b2958f68fcc9 11056Author: Stuart Bennett <sb476@cam.ac.uk> 11057Date: Mon Mar 10 01:18:56 2008 +0000 11058 11059 randr12: quirk for 17" powerbook, and better sel_clk handling 11060 11061 We set sel_clk *before* running the output script, so make sure the set pll->head binding is not altered 11062 11063commit 58f9079cda17bb6a76ba16c14ddc56bd4ac640fc 11064Author: Stuart Bennett <sb476@cam.ac.uk> 11065Date: Sun Mar 9 16:08:46 2008 +0000 11066 11067 nv_type.h mandates XF86DRI being declared 11068 11069commit 0dbffc868a7b60aa99ca550d33b8488ac9de8d00 11070Author: Stuart Bennett <sb476@cam.ac.uk> 11071Date: Sun Mar 9 03:59:57 2008 +0000 11072 11073 Fix up a bunch of prototypes, remove unused wrappers 11074 11075commit e5ded02925e7d39c67e69d0389778ac795bfe743 11076Author: Stuart Bennett <sb476@cam.ac.uk> 11077Date: Sun Mar 9 01:31:47 2008 +0000 11078 11079 Move setting of alphaCursor to nv_setup, and restyle useful portions of nv_setup 11080 11081commit 0b8629a9a29203553397eb764b9b9c87d38d4b9f 11082Author: Stuart Bennett <sb476@cam.ac.uk> 11083Date: Sat Mar 8 22:05:52 2008 +0000 11084 11085 Kill NVFBLayout 11086 11087 Using pScrn->currentMode is wrong for randr12, but it's no worse than what it was 11088 11089commit 29cfb08c1b75e050aa58fa6019f7d9be063f8555 11090Author: Stuart Bennett <sb476@cam.ac.uk> 11091Date: Sat Mar 8 21:02:35 2008 +0000 11092 11093 Warning fixes 11094 11095 And remove a few unused members from nv_type.h 11096 11097commit b87059fcccfac693df0b2dc5ba85cb358ad1eba6 11098Author: Stuart Bennett <sb476@cam.ac.uk> 11099Date: Sat Mar 8 20:53:20 2008 +0000 11100 11101 Drop the NV*VGA defines and adjust users 11102 11103commit a636b02eba03454b8b757f69e6a62aae2c3fd571 11104Author: Maarten Maathuis <madman2003@gmail.com> 11105Date: Sat Mar 8 21:18:34 2008 +0100 11106 11107 randr12: Disable a quirk that has adverse sideeffects on NV36M. 11108 11109 - NV31M owners, please test if you have: 11110 - LVDS on CRTC 1 and or = 3. 11111 - VGA on CRTC 0 and or = 1. 11112 - Testing requires enabling both lvds and vga. 11113 11114commit f4228861abec9df310efb863833c82022136e464 11115Author: Maarten Maathuis <madman2003@gmail.com> 11116Date: Sat Mar 8 18:23:58 2008 +0100 11117 11118 Merge CRTC private structs. 11119 11120commit b3d0d0c01664e874f3b69b36383ad1a7845d7d91 11121Author: Maarten Maathuis <madman2003@gmail.com> 11122Date: Sat Mar 8 18:10:53 2008 +0100 11123 11124 Death to some unnecesary stuff. 11125 11126commit 03a7a1d7065b55f16385fd16e7a2eff938d59cea 11127Author: Stuart Bennett <sb476@cam.ac.uk> 11128Date: Sat Mar 8 01:56:36 2008 +0000 11129 11130 Various minor tidyups 11131 11132commit 624148ca7067f748c142db3cd4d31314aa31ee0f 11133Author: Maarten Maathuis <madman2003@gmail.com> 11134Date: Fri Mar 7 20:59:30 2008 +0100 11135 11136 NV50: Convert back to absolute registers. 11137 11138 - Someone with a known to work setup should test this, as i have no NV5x card. 11139 11140commit 10bdffb65e2d8f59399556fe3224cbf8e8a171a9 11141Author: Stuart Bennett <sb476@cam.ac.uk> 11142Date: Fri Mar 7 19:08:50 2008 +0000 11143 11144 PLL limit table v0x11 11145 11146commit 2e1af24826e7db0e3f53440a2c5912789ade6c97 11147Author: Stuart Bennett <sb476@cam.ac.uk> 11148Date: Fri Mar 7 18:43:16 2008 +0000 11149 11150 Make bios init code work on 6600 by changing pll setting stuff a bit 11151 11152 I suspect we're going to need some card specific checks in here. ugh. 11153 11154commit 5fd2dd7b4c6e15d83cb7e7daafb6ee801fa823e8 11155Author: Maarten Maathuis <madman2003@gmail.com> 11156Date: Fri Mar 7 07:52:09 2008 +0100 11157 11158 It seems libpciaccess release became version 0.10 not version 0.10.0 11159 11160commit 3e4db03a39770e5fa94ca094deb690cba8175196 11161Author: Maarten Maathuis <madman2003@gmail.com> 11162Date: Fri Mar 7 07:36:16 2008 +0100 11163 11164 randr12: Forgot to clean up when switching output resources. 11165 11166commit 8a5c6e8b4d00871b17b7d564d765ea677596f79a 11167Author: Jaime Velasco Juan <jsagarribay@gmail.com> 11168Date: Sat Feb 16 15:01:23 2008 +0000 11169 11170 Do not access beyond source pixmap in NVAccelUploadIFC 11171 11172commit 7afb739418fbac5058d13d05188a69b142529fb4 11173Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11174Date: Thu Mar 6 23:40:08 2008 +0100 11175 11176 Oops. 11177 11178commit 0da8c84cceb178b04ab535edb4e3f0ced204d00a 11179Author: Stuart Bennett <sb476@cam.ac.uk> 11180Date: Thu Mar 6 22:35:30 2008 +0000 11181 11182 randr12: workaround for xserver randr bug, where the hwcursor always gets displayed after a mode change 11183 11184commit c424144e854563709a01ed2d30a0482edc57fbf3 11185Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11186Date: Thu Mar 6 23:15:31 2008 +0100 11187 11188 Fix my nv10 cursor. 11189 11190commit 633047c65708f1a39e371c2c5da5c111027af1af 11191Author: Maarten Maathuis <madman2003@gmail.com> 11192Date: Thu Mar 6 23:05:43 2008 +0100 11193 11194 randr12: A major rework of output resource conflict handling. 11195 11196 - This mostly affects laptops, such as some geforce5 and the famous 7300go laptops. 11197 - Test this if you know to have a strange vga/dvi port of your laptop. 11198 11199commit c5230961d181f15cd965c4569813219d9292681a 11200Author: Maarten Maathuis <madman2003@gmail.com> 11201Date: Thu Mar 6 19:29:50 2008 +0100 11202 11203 randr12: Readd some useful information about how an output is routed. 11204 11205commit 97ac866a4e433c70d0de7a1e8fb66a3994194ffd 11206Author: Maarten Maathuis <madman2003@gmail.com> 11207Date: Thu Mar 6 19:16:36 2008 +0100 11208 11209 randr12: Kill almost all usage of ErrorF + some misc cleanup. 11210 11211commit ea8fba29bcfe8158c9bf17754a20684430027aee 11212Author: Stuart Bennett <sb476@cam.ac.uk> 11213Date: Wed Mar 5 18:53:54 2008 +0000 11214 11215 randr12: don't reset panel unnecessarily for mere backlight control 11216 11217commit 22ec35504fbef83ba5790c87d27cd13e936fccb0 11218Author: Stuart Bennett <sb476@cam.ac.uk> 11219Date: Wed Mar 5 14:40:08 2008 +0000 11220 11221 randr12: remove switchable_crtc stuff 11222 11223commit 3b0a1a11f662bfa705806f4afc5898338234ca65 11224Author: Stuart Bennett <sb476@cam.ac.uk> 11225Date: Wed Mar 5 14:35:41 2008 +0000 11226 11227 randr12: if no ddc, return XF86OutputStatusUnknown, for !twoHeads and nv11 11228 11229commit 424500cf828903e3449d4bca22a083087258cc99 11230Author: Stuart Bennett <sb476@cam.ac.uk> 11231Date: Wed Mar 5 02:15:28 2008 +0000 11232 11233 randr12: do not change CR43 from its initial value 11234 11235commit a764d3ca2741243f49f34e9a4930a59272927902 11236Author: Maarten Maathuis <madman2003@gmail.com> 11237Date: Wed Mar 5 09:44:46 2008 +0100 11238 11239 Give some defines more consistent names. 11240 11241commit 234ce16558e59dff302f13ea3d8eb48f46eedf0d 11242Author: Stuart Bennett <sb476@cam.ac.uk> 11243Date: Wed Mar 5 01:25:20 2008 +0000 11244 11245 Use the BMP structure's I2C info, instead of DCB 1.2's, as marcheu's bios is broken 11246 11247commit bb5429f08b3ffd16d6786bd65d6a4c8db1210ade 11248Author: Stuart Bennett <sb476@cam.ac.uk> 11249Date: Wed Mar 5 00:38:15 2008 +0000 11250 11251 Add another DCB 1.4 entry 11252 11253commit 5998ba0a35bc1c897916f66b0bcfb9a3e0a7c54d 11254Author: Stuart Bennett <sb476@cam.ac.uk> 11255Date: Wed Mar 5 00:34:16 2008 +0000 11256 11257 Don't zero out i2c_read and i2c_write 11258 11259 pNv is calloc'd, so zero inited, and explicit zeroing overwrites the stuff parsed in parse_bmp_structure. Duh. 11260 11261commit 2d74bcb4602bb0cdae18ed1ffdd17520a3b57a78 11262Author: Maarten Maathuis <madman2003@gmail.com> 11263Date: Tue Mar 4 21:18:49 2008 +0100 11264 11265 Put braces around a bitmask. 11266 11267commit c7ab8e84bf8ad8ee6106b21a1c07b6d8470e7f11 11268Author: Stuart Bennett <sb476@cam.ac.uk> 11269Date: Tue Mar 4 13:34:16 2008 +0000 11270 11271 Add an LVDS output setup quirk for Powerbooks 11272 11273 Again, as a result of much testing by moondrake and sbriglie. 11274 Hopefully it even works this time :) 11275 11276commit fd9b37b31896e1731bdd56ec847c86c0502ba0f8 11277Author: Maarten Maathuis <madman2003@gmail.com> 11278Date: Mon Mar 3 19:04:09 2008 +0100 11279 11280 randr12: Only change vpll value when needed. 11281 11282commit 89882b416de3528cf504c989cc147a86d3572053 11283Author: Maarten Maathuis <madman2003@gmail.com> 11284Date: Sun Mar 2 20:25:45 2008 +0100 11285 11286 randr12: Keep the gamma values when setting a new mode, instead of always resetting to default. 11287 11288commit e8c363b7ca4a416be37a1ea1c97bbd99b21d5be4 11289Author: Stuart Bennett <sb476@cam.ac.uk> 11290Date: Sat Mar 1 15:05:09 2008 +0000 11291 11292 Improve link_head_and_output 11293 11294 Thanks to moondrake and sbriglie for their work on this 11295 11296commit 4a16414c77ad77e7612f62f4ca1859e0d6a24cc2 11297Author: Patrice Mandin <pmandin@caramail.com> 11298Date: Fri Feb 29 22:17:30 2008 +0100 11299 11300 nv30: Remove fix that is useless now, and maybe broken in some cases 11301 11302commit 5cb164876b824e8bf52aa44ccf4a797bab310602 11303Author: Stuart Bennett <sb476@cam.ac.uk> 11304Date: Thu Feb 28 00:43:17 2008 +0000 11305 11306 Less magical way of setting dual link on EDID equipped panels 11307 11308 Eldritch coupling ftl 11309 11310commit 1127974ed8517f28ef9c451d81bf1c61a2b0e6ae 11311Author: Maarten Maathuis <madman2003@gmail.com> 11312Date: Wed Feb 27 23:45:34 2008 +0100 11313 11314 NV40EXA: Support extend/repeat type pad. 11315 11316 - Note that all xservers, up to about a minute ago, did not try to accelerate repeat type reflect or pad. 11317 11318commit 6980d0e24a9dae52903e6971c5c8a18240a7dbc1 11319Author: Stuart Bennett <sb476@cam.ac.uk> 11320Date: Wed Feb 27 12:55:54 2008 +0000 11321 11322 Add default dual link transition frequency 11323 11324 For card bios versions before the relevant field was added 11325 Should fix Apple laptops. 11326 11327commit 27e2e55698ab05bf3469e0f68474d4c3f021ca31 11328Author: Stuart Bennett <sb476@cam.ac.uk> 11329Date: Tue Feb 26 18:07:39 2008 +0000 11330 11331 Deal with pre-nv40 laptops with EDID 11332 11333commit 41992eb90828976105cbc8bba87fe7d079d7c06a 11334Author: Patrice Mandin <pmandin@caramail.com> 11335Date: Fri Feb 22 17:29:12 2008 +0100 11336 11337 Revert dummy commit 11338 11339commit 073d852f36df4a18563ea892e89eca269efd55ef 11340Author: Patrice Mandin <pmandin@caramail.com> 11341Date: Fri Feb 22 17:27:51 2008 +0100 11342 11343 Dummy commit 11344 11345commit 5db7920763aee3a1b124139273566f7add5e27df 11346Author: Stuart Bennett <sb476@cam.ac.uk> 11347Date: Sun Feb 10 23:14:52 2008 +0000 11348 11349 Use some of nv_hw's functions in nv_bios.c 11350 11351commit fa8891e78f37edc02537704172156ba77371a307 11352Author: Stuart Bennett <sb476@cam.ac.uk> 11353Date: Wed Feb 20 00:50:48 2008 +0000 11354 11355 Unbreak console restore again, and use a less ambiguous function name for head locking 11356 11357commit 38d42a7857480a930e2025e4f63aa7f5defca5c5 11358Author: Stuart Bennett <sb476@cam.ac.uk> 11359Date: Tue Feb 19 23:59:12 2008 +0000 11360 11361 randr12: rename NV*VGA functions for api consistency 11362 11363 Also nuke NVCrtcSetOwner wrapper 11364 11365commit c77a54768c3fed5939755f23c5c067bb86f49805 11366Author: Ben Skeggs <darktama@beleth.(none)> 11367Date: Thu Feb 21 00:55:39 2008 +1100 11368 11369 xv: don't crash on init 11370 11371commit cf963a128374bf7c2070e8a380e236b5e083adc1 11372Author: Maarten Maathuis <madman2003@gmail.com> 11373Date: Wed Feb 20 09:36:42 2008 +0100 11374 11375 randr12: Only NV11 needs byteswapping + NV11 uses premultiplied cursors i think. 11376 11377commit 87f1676a243cddcaece9eeb0487a85b7e74b0f13 11378Author: Maarten Maathuis <madman2003@gmail.com> 11379Date: Wed Feb 20 00:14:12 2008 +0100 11380 11381 NV30/40TEX: Create two adapters, one with fancy filtering, the default without. 11382 11383 - Also enable sync to vblank by default, strange that it was off. 11384 - Remove the GET_TEXTURE(D)_PRIVATE macros, as one of them pointed to the blitter and one is now ambigious. 11385 11386commit 7ee1bb47d86396cc1a0f7879a98d04588cb31eee 11387Author: Stuart Bennett <sb476@cam.ac.uk> 11388Date: Thu Feb 14 23:16:01 2008 +0000 11389 11390 randr12: make more hw funcs generic 11391 11392commit 11de8d7a6f9a2dfd5a4f93f031865e284268a0f3 11393Author: Stuart Bennett <sb476@cam.ac.uk> 11394Date: Tue Feb 19 21:44:56 2008 +0000 11395 11396 Use fp strapping to determine whether straps are used for flat panel modes 11397 11398commit c1ac6b977a4756e2dbfdb75ab5b53c7c10e76cf4 11399Author: Stuart Bennett <sb476@cam.ac.uk> 11400Date: Tue Feb 19 14:53:41 2008 +0000 11401 11402 Rehabilitate bios opcode 6d 11403 11404commit afb42307cb2810ca2d759df62240fbf1f0cc7f7c 11405Author: Stuart Bennett <sb476@cam.ac.uk> 11406Date: Tue Feb 19 14:23:06 2008 +0000 11407 11408 Spruce up NV04 bios parsing a little 11409 11410commit dfabaab48034bf36c19510fe5de0f1bdaa2157ef 11411Author: Stuart Bennett <sb476@cam.ac.uk> 11412Date: Tue Feb 19 00:37:27 2008 +0000 11413 11414 More DCB v1.5 entries 11415 11416 Courtesy HenneNWH's NV11 11417 11418commit 2a4373d4f3b092600651b7dc8e2f9f9b520c7e0d 11419Author: Stuart Bennett <sb476@cam.ac.uk> 11420Date: Mon Feb 18 17:32:43 2008 +0000 11421 11422 Treat 0x4 and 0x8 bits in LVDS DCB v2.0 configuration as meaning the same thing 11423 11424commit daa557c0dadb3ad5caf39a4e90d3ebd16b12fc96 11425Author: Danny Tholen <obiwan@mailmij.org> 11426Date: Mon Feb 18 05:00:03 2008 +0100 11427 11428 Fix PPC DFS/UTS by using PCIgart. 11429 11430commit f8f469286fb3acc1ee694c61fe21e42123a5456a 11431Author: Ben Skeggs <skeggsb@gmail.com> 11432Date: Sat Feb 16 03:41:38 2008 +1100 11433 11434 dri: fix broken display in some cases 11435 11436commit a293f32b2172837b6e2bcc3f5771c5219fccfb14 11437Author: Stuart Bennett <sb476@cam.ac.uk> 11438Date: Wed Feb 13 00:52:34 2008 +0000 11439 11440 Fix bios pll setting regression 11441 11442 Oops. 11443 11444commit 7121fe9dfb1c9162c8be808e09ed6b4b3ce3999e 11445Author: Stuart Bennett <sb476@cam.ac.uk> 11446Date: Tue Feb 12 18:20:43 2008 +0000 11447 11448 Use a loop to read RAMIN bios image, rather than memcpy 11449 11450commit 3ad7c35740905ad267faf8e248075640d5ee9cea 11451Author: Stuart Bennett <sb476@cam.ac.uk> 11452Date: Tue Feb 12 17:23:38 2008 +0000 11453 11454 randr12: reorder some variable declarations in nv_crtc and nv_output 11455 11456commit ab40a46430f369a7bd9cef8db4e86414125c8437 11457Author: Stuart Bennett <sb476@cam.ac.uk> 11458Date: Tue Feb 12 15:19:58 2008 +0000 11459 11460 randr12: use integer math for scaling 11461 11462 No floats in modesetting path 11463 11464commit 4a44468c29c37b5ad4828439f37d023865a9d457 11465Author: Stuart Bennett <sb476@cam.ac.uk> 11466Date: Tue Feb 12 15:03:46 2008 +0000 11467 11468 randr12: tidy up some mode retrieval stuff 11469 11470commit 50d77c4199a3a5d2f3ead8327341e91ac2ec5684 11471Author: Stuart Bennett <sb476@cam.ac.uk> 11472Date: Mon Feb 11 16:27:27 2008 +0000 11473 11474 Trim useless nv_type members 11475 11476 Also, crtc_active isn't used on randr12 path 11477 11478commit 0c1e48a2192555856894d7e2b3025cd342c2f448 11479Author: Stuart Bennett <sb476@cam.ac.uk> 11480Date: Mon Feb 11 01:42:04 2008 +0000 11481 11482 Remove some DDX cruft 11483 11484commit 5a8e246fcab3e349f48d0ce0c4da812a411767f2 11485Author: Stuart Bennett <sb476@cam.ac.uk> 11486Date: Mon Feb 11 00:34:27 2008 +0000 11487 11488 Use mmio access wrappers and reorder some variable declarations in nv_bios.c 11489 11490commit 2ffcd89bfb0383fb32e8ec41f1cd472764b9b99d 11491Author: Stuart Bennett <sb476@cam.ac.uk> 11492Date: Mon Feb 11 00:03:50 2008 +0000 11493 11494 randr12: Use absolute regs for 8 bit regs 11495 11496commit c9b1f020d1c5be069dae19f99b3c26bb126052ae 11497Author: Stuart Bennett <sb476@cam.ac.uk> 11498Date: Fri Feb 8 19:44:37 2008 +0000 11499 11500 Move non-crtc specific hw funcs from nv_crtc to nv_hw 11501 11502commit 6cb8fb6cc63bf55f18b4dde53c393336e817474e 11503Author: Stuart Bennett <sb476@cam.ac.uk> 11504Date: Thu Feb 7 02:04:20 2008 +0000 11505 11506 Ordering mechanism for BIT table parsing, and (hopefully) automagic laptop detection 11507 11508commit 4f690235d70ae249323439380a69d8309a8c9981 11509Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11510Date: Wed Feb 6 22:18:46 2008 +0100 11511 11512 Replace a const with its name. 11513 11514commit 75c5912fffde88bfe2ddd158a446588b76ef44d9 11515Author: Maarten Maathuis <madman2003@gmail.com> 11516Date: Wed Feb 6 19:06:14 2008 +0100 11517 11518 Fix bad debugging in NVWritePVIO(). 11519 11520commit 50da8b8f5b5feb6787ed50f221529730d25b5467 11521Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11522Date: Wed Feb 6 17:44:52 2008 +0100 11523 11524 Fix UV swapping on PPC. 11525 11526commit 4ff11d13be6e8050e0b726dc7af8e4bc11bd9d0d 11527Author: Stuart Bennett <sb476@cam.ac.uk> 11528Date: Mon Feb 4 22:34:21 2008 +0000 11529 11530 Missed out "DEBUG" part of the name in the define 11531 11532commit 181ee3bcecfc778c9f671853a696ab3224ac4747 11533Author: Stuart Bennett <sb476@cam.ac.uk> 11534Date: Mon Feb 4 22:31:02 2008 +0000 11535 11536 Load correct PLL limits for single stage PLL cards with blank PLL tables 11537 11538commit cbcb1070db6fbb4d13ddcc35739d2d3e49f3766d 11539Author: Maarten Maathuis <madman2003@gmail.com> 11540Date: Mon Feb 4 07:47:06 2008 +0100 11541 11542 Once again kill usage of an exa private function. 11543 11544 - Must have creeped back in during all the texture adapter changes recently. 11545 11546commit f14d27d638e75faa5bbda903f65a4d5479222ead 11547Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11548Date: Sun Feb 3 17:15:50 2008 +0100 11549 11550 Remove include guards & add copyright. 11551 11552commit 7522640ee8d342c5ebb62989b051f73e230f5ce7 11553Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11554Date: Sun Feb 3 17:01:50 2008 +0100 11555 11556 Last round of fixes for nv30/40 bicubic Xv. 11557 11558commit 78553ab9a0309c7d27632fe7184f3233cfde6610 11559Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11560Date: Sun Feb 3 06:07:35 2008 +0100 11561 11562 Fix tearing. 11563 11564commit 7240f861a98c5f8d9779a4f3a743b748af775337 11565Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11566Date: Sun Feb 3 05:15:41 2008 +0100 11567 11568 Understood and fixed some NV30 FP_CONTROL bits. 11569 11570commit bb2a7bd3461eec37f179748a9bdb9375b1c3da04 11571Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11572Date: Sat Feb 2 05:54:47 2008 +0100 11573 11574 Fixes to nv30/nv40 textured video. 11575 11576commit c10d30dfefe93a9911d89eaffe3d29d3cff66a96 11577Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11578Date: Thu Jan 31 06:15:02 2008 +0100 11579 11580 Misc textured video fixes. 11581 11582commit cfdfd5a99bb7ac959a1188994db4c75a97de2e34 11583Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11584Date: Thu Jan 31 06:00:59 2008 +0100 11585 11586 Of course, add the nv30 video texture file. 11587 11588commit 970a8e474c666d6e33351f7ca6a3a5273024baf4 11589Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11590Date: Thu Jan 31 05:59:08 2008 +0100 11591 11592 nv30 video texture. Doesn't work with bicubic yet, only bilinear. 11593 11594commit c1eba822f1579637f59933b04e31591e86b975fc 11595Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11596Date: Wed Jan 30 02:38:14 2008 +0100 11597 11598 Remove (void)ing that's not necessary any more. 11599 11600commit 7356ad90b387d01c2bf25aa653c41ca9365c5c20 11601Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11602Date: Wed Jan 30 02:30:39 2008 +0100 11603 11604 Remove unneeded stuff. 11605 11606commit e06dfd2964f9bd7f0855a101f5e6971020dfa6be 11607Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11608Date: Wed Jan 30 02:19:08 2008 +0100 11609 11610 Separate the shaders from the rest of the code. 11611 11612commit a69c50780cacf0d0f2948208cfa7e0558a8c3644 11613Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11614Date: Wed Jan 30 02:18:26 2008 +0100 11615 11616 Macros for the PME range. 11617 11618commit 47c8ed472f37d68f3cc241a58ee5b7b8643e537d 11619Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11620Date: Wed Jan 30 02:17:22 2008 +0100 11621 11622 Add PME range. 11623 11624commit 63f47c9bf59ccb9f1b6adbefd55deaec1435faf7 11625Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11626Date: Tue Jan 29 21:25:28 2008 +0100 11627 11628 Small cleanups. 11629 11630commit c98e9fa5c572deeafd7f605bb29d6c83cd38de9d 11631Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11632Date: Tue Jan 29 21:24:39 2008 +0100 11633 11634 nv40 video texture: first pass at bicubic video. 11635 11636commit 10967a4dac8c3eaf828359dcba7a6e1272561aa3 11637Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11638Date: Mon Jan 28 04:52:01 2008 +0100 11639 11640 Update to newer nouveau_class.h 11641 11642commit 82728b3df45e8a5c0a45462d2ce847a41fd31f07 11643Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11644Date: Sat Jan 26 19:02:50 2008 +0100 11645 11646 Update to latest nouveau_class.h 11647 11648commit 9d9a5acae1deae8c76b512362634066e0c32a817 11649Author: Jaime Velasco Juan <jsagarribay@gmail.com> 11650Date: Sun Feb 3 15:45:32 2008 +0100 11651 11652 Don't FIRE_RING() when in NoAccel mode. 11653 11654commit 11c1ee1cb0ee9c8096ea371d95d188c538ac3fb2 11655Author: Maarten Maathuis <madman2003@gmail.com> 11656Date: Sun Feb 3 15:43:35 2008 +0100 11657 11658 Some minor reindenting. 11659 11660commit 0db347294e09d3d17200ca130e719df2d22f69b6 11661Author: Ben Skeggs <skeggsb@gmail.com> 11662Date: Mon Feb 4 01:19:23 2008 +1100 11663 11664 exa: those limits were a bit conservative on some hw. 11665 11666 AFAIK nv2x up should be able to handle 4096x4096 textures and 11667 render targets. 11668 11669commit eb72e67641215b710868da7bb66b466f6ccbbe25 11670Author: Ben Skeggs <skeggsb@gmail.com> 11671Date: Mon Feb 4 01:07:07 2008 +1100 11672 11673 exa: more accurate coordinate limits 11674 11675commit 8645d2d9554ee46397240fbd9904fd4f905aefb2 11676Author: Maarten Maathuis <madman2003@gmail.com> 11677Date: Sun Feb 3 14:54:41 2008 +0100 11678 11679 Fix NVExaPixmapMap() for NOUVEAU_EXA_PIXMAPS case. 11680 11681commit dd81efd0cc64a070f7489decbac345cc1b4fa9ce 11682Author: Maarten Maathuis <madman2003@gmail.com> 11683Date: Sun Feb 3 12:03:43 2008 +0100 11684 11685 Fix undefined symbol. 11686 11687commit 2a1116cbf61e84b16366076366f4bbd5f550fb9f 11688Author: Maarten Maathuis <madman2003@gmail.com> 11689Date: Sat Feb 2 20:34:57 2008 +0100 11690 11691 Remove a few leftovers to actually make the last commits work. 11692 11693commit 714bea6449aab47a9f2211718183ee84a3c70129 11694Author: Maarten Maathuis <madman2003@gmail.com> 11695Date: Sat Feb 2 19:53:32 2008 +0100 11696 11697 Kill NVShowHideCursor and use a wrapper. 11698 11699commit 741acded643945c5a2da7bef088ed1ff7f5fa85e 11700Author: Maarten Maathuis <madman2003@gmail.com> 11701Date: Sat Feb 2 19:26:13 2008 +0100 11702 11703 Remove nvRead/WriteVGA in favor of nvRead/WriteCurVGA wrappers. 11704 11705commit d429cabd9ae9865a45cc88f43ab6d9d61b3fcf36 11706Author: Maarten Maathuis <madman2003@gmail.com> 11707Date: Sat Feb 2 19:17:32 2008 +0100 11708 11709 Kill NVLockUnlock and make it redirect to NVLockUnlockHead. 11710 11711commit dc2aee0ef69c85aaffdc3c1da5a228642d049a30 11712Author: Maarten Maathuis <madman2003@gmail.com> 11713Date: Sat Feb 2 15:12:00 2008 +0100 11714 11715 More wrapper death. 11716 11717commit a57fd67a2a6ae66af218fedd704a04d855260a2f 11718Author: Maarten Maathuis <madman2003@gmail.com> 11719Date: Sat Feb 2 15:06:02 2008 +0100 11720 11721 Let some wrappers die. 11722 11723commit b9a4eb6f6ea4f8f0747baa50037e33a0584cfd29 11724Author: Maarten Maathuis <madman2003@gmail.com> 11725Date: Sat Feb 2 12:47:32 2008 +0100 11726 11727 Undo last commit and move it to drm. 11728 11729commit 288b56545a8da1e7b5aa64b1093316ca2f28f868 11730Author: Maarten Maathuis <madman2003@gmail.com> 11731Date: Sat Feb 2 12:28:44 2008 +0100 11732 11733 NV40: Fix longstanding issue with nouveau crashing after using blob. 11734 11735 - Took me a while to track down, but for me this is definately it. 11736 - In my case i got the X cross and then it would freeze and i would get a fifo dump. 11737 - Don't be shy, let me know if this works for you too. 11738 11739commit 0ec1b10a82c411181ff7a8643bb2390cfe08e4e4 11740Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11741Date: Sat Feb 2 04:04:58 2008 +0100 11742 11743 Don't allocate the whole AGP gart as a scratch buffer, since we still need to allocate the fifo afterwards. 11744 11745commit 5b79b0a9e54fe99eaae5b411f46a601b6944b773 11746Author: Maarten Maathuis <madman2003@gmail.com> 11747Date: Fri Feb 1 23:34:32 2008 +0100 11748 11749 Don't use functions that are not supposed to be used in randr12 mode. 11750 11751 - Also add NVLockUnlockHead() and NVSetOwner() functions. 11752 11753commit cedb604ee79cd73a9ec3940c7b056109811ba670 11754Author: Maarten Maathuis <madman2003@gmail.com> 11755Date: Fri Feb 1 22:41:09 2008 +0100 11756 11757 Remove usage of "illegal" wrappers in code that also used for randr12 mode. 11758 11759 - I've got something prettier in mind to clean this up, which will likely follow. 11760 11761commit 1a5247856929877442e1ec00f190c6d497ca64fe 11762Author: Maarten Maathuis <madman2003@gmail.com> 11763Date: Fri Feb 1 19:14:38 2008 +0100 11764 11765 randr12: Remove a hack, confirmed on 7600GS that it is unneeded. 11766 11767 - This was one of the cards that did need it in the past. 11768 11769commit b6972e7bec0455250851c06d142336cb53be1a74 11770Author: Maarten Maathuis <madman2003@gmail.com> 11771Date: Fri Feb 1 14:47:32 2008 +0100 11772 11773 randr12: Some minor fixes. 11774 11775commit 988dce0f452f6b80b2d02e1a0f78f826674cc3c0 11776Author: Arthur Huillet <arthur.huillet@free.fr> 11777Date: Fri Feb 1 10:04:32 2008 +0100 11778 11779 NV10 EXA: limit regcomb state re-emission, fix logic for A8 + A8 yielding a 3% perf improvement :p 11780 11781commit a84852c2e0b19cf848495dc7e4bde4426b7bd199 11782Author: Maarten Maathuis <madman2003@gmail.com> 11783Date: Wed Jan 30 22:57:09 2008 +0100 11784 11785 (hopefully) Fix build on powerpc. 11786 11787commit e8a975e6a8afe5ae9c77d20f4d59d3d10221f7d9 11788Author: Arthur Huillet <arthur.huillet@free.fr> 11789Date: Wed Jan 30 18:37:39 2008 +0100 11790 11791 Xv: NV30 overlay can not scale down by more than 0.5x 11792 11793commit adc26892f6e711f08a5ed189a643e3fe9646e15c 11794Author: Stuart Bennett <sb476@cam.ac.uk> 11795Date: Wed Jan 30 17:43:16 2008 +0000 11796 11797 Fail gracefully for too-big resolutions / colour depths 11798 11799commit 09c9d7c3c50b630e1509f787ff946cc0656f7cba 11800Author: Maarten Maathuis <madman2003@gmail.com> 11801Date: Wed Jan 30 18:50:37 2008 +0100 11802 11803 randr12: Misc change. 11804 11805commit 6a46bf59f15d68404b536d436bf70337cd88e33d 11806Author: Maarten Maathuis <madman2003@gmail.com> 11807Date: Wed Jan 30 18:35:18 2008 +0100 11808 11809 Check if the framebuffer can fit into the offscreen memory. 11810 11811commit 9607d7828b16b0cb4a428bc29e2ce7c9bfd95371 11812Author: Arthur Huillet <arthur.huillet@free.fr> 11813Date: Wed Jan 30 18:24:44 2008 +0100 11814 11815 Xv: NV04 overlay can not scale down at all, as confirmed by DirectFB 11816 11817commit 7edfb473533ce41db9e2b3709d32bb8ca7da85a4 11818Author: Stuart Bennett <sb476@cam.ac.uk> 11819Date: Wed Jan 30 14:44:14 2008 +0000 11820 11821 PBUS define additions 11822 11823commit 6e090591bd2dab051362d8528a3bc76f30418d94 11824Author: Stuart Bennett <sb476@cam.ac.uk> 11825Date: Wed Jan 30 14:35:25 2008 +0000 11826 11827 PCRTC define additions 11828 11829commit e51799382e40c033b2d6d09dd65dd7f7c1e5e4d6 11830Author: Stuart Bennett <sb476@cam.ac.uk> 11831Date: Wed Jan 30 15:03:06 2008 +0000 11832 11833 Missed these in the ->absolute conversion 11834 11835commit ee0d557a26d326af27445bd0b283a5c6ead7c1cd 11836Author: Arthur Huillet <arthur.huillet@free.fr> 11837Date: Tue Jan 29 18:46:16 2008 +0100 11838 11839 Xv: detection of composite for the overlay 11840 11841commit 3a5f92d48e32d251e41bab561e52082033d26d9d 11842Author: Stuart Bennett <sb476@cam.ac.uk> 11843Date: Wed Jan 30 01:31:43 2008 +0000 11844 11845 Make bios port io use PVIO as appropriate, and have harsh validity checks 11846 11847commit 92c0d9630843957212d8ce296fea6bca8d802069 11848Author: Stuart Bennett <sb476@cam.ac.uk> 11849Date: Wed Jan 30 00:36:59 2008 +0000 11850 11851 Make PLL setting quieter 11852 11853commit f58d174bd50943c3dfb2d6c909d0a98dbbd35dae 11854Author: Stuart Bennett <sb476@cam.ac.uk> 11855Date: Tue Jan 29 23:10:27 2008 +0000 11856 11857 Move some regs from nv_bios.c to nvreg.h 11858 11859 And use more symbolic names in nv_bios 11860 11861commit d0022c35f39fde74ee5f3978ea78e053988fb608 11862Author: Stuart Bennett <sb476@cam.ac.uk> 11863Date: Tue Jan 29 22:41:40 2008 +0000 11864 11865 Tighten bios reg checks a little 11866 11867commit b1b1d76eb187f4ab3020bbd69c2b1cc9b39d0d83 11868Author: Stuart Bennett <sb476@cam.ac.uk> 11869Date: Wed Jan 30 00:30:46 2008 +0000 11870 11871 randr12: make nv4x plls less special 11872 11873commit 8f05d66bad8e74129cffa2918f9ecf6824c9f0b9 11874Author: Stuart Bennett <sb476@cam.ac.uk> 11875Date: Tue Jan 29 22:33:34 2008 +0000 11876 11877 Don't attempt to parse BIT D and L tables on non-mobile cards 11878 11879commit 8e834ece6592df13bd3eb7e9f28c01b4eb0c9791 11880Author: Stuart Bennett <sb476@cam.ac.uk> 11881Date: Tue Jan 29 18:57:28 2008 +0000 11882 11883 Add some mobile pci-ids, and reorder numerically 11884 11885commit 0b586ae0a2998339a9d5d3590e91dfa62af9ab6a 11886Author: Maarten Maathuis <madman2003@gmail.com> 11887Date: Tue Jan 29 19:04:25 2008 +0100 11888 11889 randr12: Remove excessive writing of VTOwner. 11890 11891commit c522ebb293a1c37142e29bf02bb82524e99336b0 11892Author: Stuart Bennett <sb476@cam.ac.uk> 11893Date: Tue Jan 29 17:30:32 2008 +0000 11894 11895 Make sure nv04 has some defaults (as the bios parsing is non-existant) 11896 11897commit 62b6c5fe490578990c249042657f20bb0cf49a01 11898Author: Stuart Bennett <sb476@cam.ac.uk> 11899Date: Sun Jan 27 22:11:31 2008 +0000 11900 11901 Use absolute regs in the DDX 11902 11903 Due to having to make a few defines for regs that were hardcoded, there could 11904 be breakage (nv04 overlay, this means you) 11905 Hopefully not. 11906 11907commit f5c9f9910a46cfa41d817ef7ca345bfea278b358 11908Author: Stuart Bennett <sb476@cam.ac.uk> 11909Date: Tue Jan 29 14:14:26 2008 +0000 11910 11911 Reorganise pll limit retrieval 11912 11913commit 26ff67f03be38925905a572dab3ec61653cd8286 11914Author: Maarten Maathuis <madman2003@gmail.com> 11915Date: Tue Jan 29 10:53:14 2008 +0100 11916 11917 NV30EXA: Always init texture origin, please report if your viewport setup needs to be different. 11918 11919commit 38df9a95740e934b9691dff1ed1b597cd2254cfa 11920Author: Maarten Maathuis <madman2003@gmail.com> 11921Date: Mon Jan 28 20:55:47 2008 +0100 11922 11923 Forgot to be paranoid. 11924 11925commit 2ea0314859569c3ae4356272a35f0b316abf4df7 11926Author: Maarten Maathuis <madman2003@gmail.com> 11927Date: Mon Jan 28 20:51:20 2008 +0100 11928 11929 Small improvement to nouveau_dma_wait, at least makes it show up in profiling in a clear way. 11930 11931 - This may also slightly reduce the cost of a very short wait, but not by much. 11932 11933commit dd483e226519bc4d2c088e97490039613014dfac 11934Author: Stuart Bennett <sb476@cam.ac.uk> 11935Date: Sat Jan 26 20:22:08 2008 +0000 11936 11937 randr12: 2nd attempt on nv11 console restore 11938 11939commit 5b0fa02101c82a83e11f7d279d366689d54bfacb 11940Author: Stuart Bennett <sb476@cam.ac.uk> 11941Date: Sat Jan 26 18:09:10 2008 +0000 11942 11943 Use NV_{WR,RD}08 to avoid double logging io 11944 11945 And one less bios FIXME 11946 11947commit a099bbff8bb3766201a7deb9c4a718fff7edbe51 11948Author: Stuart Bennett <sb476@cam.ac.uk> 11949Date: Mon Jan 21 23:54:51 2008 +0000 11950 11951 randr12: remove unused PLL code 11952 11953commit 0eb428e5a8b60e52d18b3bdffed46ae3f07b7bc0 11954Author: Stuart Bennett <sb476@cam.ac.uk> 11955Date: Fri Jan 25 16:05:59 2008 +0000 11956 11957 randr12: attempt to fix brokenness of head setting / getting on nv11 11958 11959commit eea2fd41ebc17f72b43c776a0391df0733b8d6e4 11960Author: Stuart Bennett <sb476@cam.ac.uk> 11961Date: Sat Jan 26 14:20:01 2008 +0000 11962 11963 randr12: don't do load detection on nv11 11964 11965commit a2c0facefbc878815e00c734464b3c87b5cce842 11966Author: Stuart Bennett <sb476@cam.ac.uk> 11967Date: Sat Jan 26 01:46:59 2008 +0000 11968 11969 Assume 18 bit laptop panels by default, add a message that may trigger on 24 bit panels 11970 11971 Revert "Invert 18/24 bit interface flag, so that the default value (0) does not imply dithering" 11972 11973 This reverts commit 5b9dc7ad6eb2f16c4ca8824c2a19c85bbe1f126b. 11974 11975commit ec548d20239a49f8e9eb0399317d4c68df24f4a3 11976Author: Stuart Bennett <sb476@cam.ac.uk> 11977Date: Sat Jan 26 01:36:41 2008 +0000 11978 11979 Detect mobile BMP biosen 11980 11981 I'd really love to know how where this info is in BIT 11982 11983commit 9f932eb684814e2a04c83d5aee172b9e020d82a3 11984Author: Maarten Maathuis <madman2003@gmail.com> 11985Date: Fri Jan 25 23:31:58 2008 +0100 11986 11987 NV30EXA: Fix viewport setup + switch to triangle based composite. 11988 11989commit afca5f2665a62ef2d025c15f07fe1cdc2b40d8d5 11990Author: Stuart Bennett <sb476@cam.ac.uk> 11991Date: Fri Jan 25 01:18:50 2008 +0000 11992 11993 randr12: fix / annotate a couple of ddc thinkos 11994 11995 catch a longstanding source of error too 11996 11997commit 3e6ea79c3292c3ed5bd676653c4c40532772ae5f 11998Author: Stuart Bennett <sb476@cam.ac.uk> 11999Date: Fri Jan 25 00:33:07 2008 +0000 12000 12001 Implement opcodes 0x66, 0x67, and 0x68 12002 12003 Courtesy jwstolk's trace 12004 Names taken from nv11 biosmod scps 12005 12006commit cdae2e26cc432ba572f92522f1b3454264d38f43 12007Author: Maarten Maathuis <madman2003@gmail.com> 12008Date: Fri Jan 25 00:10:08 2008 +0100 12009 12010 randr12: Rework native modes for TMDS. 12011 12012 - Choose a preferred ddc mode when available, otherwise the one with the highest refresh. 12013 - Fall back on cvt modes, only when needed. 12014 12015commit 46636052498d1e33985e3d98a6ce9462639bd4ff 12016Author: Stuart Bennett <sb476@cam.ac.uk> 12017Date: Wed Jan 23 23:02:46 2008 +0000 12018 12019 oops 12020 12021commit e067a0eee42324ec7c01e4d84a33554054817dd9 12022Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12023Date: Wed Jan 23 23:40:51 2008 +0100 12024 12025 Use proper version. 12026 12027commit 324c19acf6b506aae47e3699dd0fcefb72473590 12028Author: Stuart Bennett <sb476@cam.ac.uk> 12029Date: Wed Jan 23 01:13:58 2008 +0000 12030 12031 Fix C51 refclk 12032 12033commit 178b8bbf0e09c190fef8b2f85acddd3172ace629 12034Author: Stuart Bennett <sb476@cam.ac.uk> 12035Date: Wed Jan 23 20:59:50 2008 +0000 12036 12037 randr12: calculate (and set, for nv40) sel_clk before calculating plls 12038 12039commit 8067bd08d9a928c97b83f2b6ebff996b320c5813 12040Author: Maarten Maathuis <madman2003@gmail.com> 12041Date: Wed Jan 23 19:43:42 2008 +0100 12042 12043 Fix big bug in commit "Mostly log message changes". 12044 12045 - Please don't hide such important changes in a commit like that ;-) 12046 12047commit c5329a42c509efe9336573ff7e32978082ba9355 12048Author: Stuart Bennett <sb476@cam.ac.uk> 12049Date: Wed Jan 23 16:37:31 2008 +0000 12050 12051 Redo sel_clk setting and update its documentation 12052 12053 My apologies if this breaks stuff. 12054 12055commit f07ab92e7bb419df5473e1ed843a79ef4ff08f30 12056Author: Stuart Bennett <sb476@cam.ac.uk> 12057Date: Wed Jan 23 02:09:56 2008 +0000 12058 12059 Fail on LVDS DCB entry parsing issues 12060 12061commit 12efa8cdfe68c312458368ab876030b02919a922 12062Author: Stuart Bennett <sb476@cam.ac.uk> 12063Date: Wed Jan 23 00:09:11 2008 +0000 12064 12065 Mostly log message changes 12066 12067commit 0faa15d9b84b2cad23424dfc1679f119c5b45108 12068Author: Ben Skeggs <skeggsb@gmail.com> 12069Date: Wed Jan 23 23:45:37 2008 +1100 12070 12071 not an appropriate place for this type of thing.. 12072 12073commit 9e982df106028edd0f7ce0feedbe8e082f29f2ac 12074Author: Maarten Maathuis <madman2003@gmail.com> 12075Date: Wed Jan 23 11:42:55 2008 +0100 12076 12077 randr12: Increase cvt mode to 72 Hz. 12078 12079 - I've had occasions were i did slightly notice something at 60 Hz, and no problems at a higher setting. 12080 - I must admit i was a little bit tired at the time, but i figure it won't hurt (much). 12081 12082commit 71435dde5b2fd1c197ef5dc31b22ba40abcbca7e 12083Author: Maarten Maathuis <madman2003@gmail.com> 12084Date: Wed Jan 23 11:20:47 2008 +0100 12085 12086 NV40EXA: Use the same approach as the texture adapter for rendering. 12087 12088 - Verified to work for abitrary rotation. 12089 - This should eliminate diagional tearing altogether. 12090 12091commit d9149bddc758cc0644630b26fe10fc563ba38ce9 12092Author: Maarten Maathuis <madman2003@gmail.com> 12093Date: Wed Jan 23 10:28:25 2008 +0100 12094 12095 NV40TEX: Switch to a big triangle and clip it to a quad. 12096 12097 - On some systems (NV43, NV46 are known) an artifact shows when 2 triangles are combines and the size is larger than roughly 512x512. 12098 - The trick is draw a single triangle and use scissors to turn it into a quad. 12099 - Someone once asked me if i ever made drawings, well i did in this case and i've included it for future reference. 12100 12101commit e578d6e0a8c0fb8877d8b4b6ba1046dccf28ee6d 12102Author: Stuart Bennett <sb476@cam.ac.uk> 12103Date: Tue Jan 22 18:33:42 2008 +0000 12104 12105 Fix LVDS with DCB 2.0 12106 12107 Also use the X_ERROR facility for errors, not ErrorF 12108 12109commit fd3195f503420591b522249bb423c817db0709e7 12110Author: Maarten Maathuis <madman2003@gmail.com> 12111Date: Tue Jan 22 19:00:49 2008 +0100 12112 12113 Xv: Remove illegal usage of private exa symbols. 12114 12115commit 3a995b06ddb507655279565e992604bd40036b19 12116Author: Maarten Maathuis <madman2003@gmail.com> 12117Date: Tue Jan 22 15:53:38 2008 +0100 12118 12119 NV40TEX: Use width, not (x2, y2). 12120 12121commit abaa8e822be49b9d2129d31c4996dfcf8034ea2a 12122Author: Arthur Huillet <arthur.huillet@free.fr> 12123Date: Tue Jan 22 11:42:19 2008 +0100 12124 12125 Xv: NV12 overlay copy - removed wrong byteswapping on PPC, reported by moondrake 12126 12127commit 782237e4e942f2e8a9ed3dd111d60c665459963c 12128Author: Stuart Bennett <sb476@cam.ac.uk> 12129Date: Mon Jan 21 23:44:47 2008 +0000 12130 12131 randr12: some tidyup 12132 12133commit 91ca67056cb236e5770d4fb39dd7fbb9818ff093 12134Author: Stuart Bennett <sb476@cam.ac.uk> 12135Date: Mon Jan 21 22:35:58 2008 +0000 12136 12137 randr12: more beautiful dithering 12138 12139commit 1d5dc47324ddd1939db166af60df7a3a0e055810 12140Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12141Date: Mon Jan 21 22:19:24 2008 +0100 12142 12143 oops :) 12144 12145commit 7080f93a83e0d680f53a7962df300d527edd121a 12146Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12147Date: Mon Jan 21 21:43:11 2008 +0100 12148 12149 Quickly hacked support for NV6x. 12150 12151commit 2d399af61424cc4b4e0080ea016423f1b22c02f3 12152Author: Stuart Bennett <sb476@cam.ac.uk> 12153Date: Mon Jan 21 20:16:56 2008 +0000 12154 12155 randr12: fix dual head restore 12156 12157commit 8be20d6fc21a3869786e8c19656bf8b6569fee6e 12158Author: Stuart Bennett <sb476@cam.ac.uk> 12159Date: Mon Jan 21 18:51:52 2008 +0000 12160 12161 randr12: save and restore palette 12162 12163commit d32f310afa05ad85d6675348400880506d98ac1e 12164Author: Stuart Bennett <sb476@cam.ac.uk> 12165Date: Mon Jan 21 15:03:59 2008 +0000 12166 12167 Make LVDS bios script logs easier to understand 12168 12169 and fix a backwards comparison 12170 12171commit 7c7f0194678c7bd7c5ce791c07b38ac8eeeef608 12172Author: Stuart Bennett <sb476@cam.ac.uk> 12173Date: Mon Jan 21 14:14:07 2008 +0000 12174 12175 randr12: avoid SIGFPE 12176 12177commit b9a3aab7a7f6c5c4a5c440e46bbca7d76fd8df68 12178Author: Stuart Bennett <sb476@cam.ac.uk> 12179Date: Mon Jan 21 14:09:46 2008 +0000 12180 12181 debug_modes breaks build on old xservers 12182 12183commit d2e078b4ebf11b286e152e0ea10b17c41bf61b67 12184Author: Stuart Bennett <sb476@cam.ac.uk> 12185Date: Mon Jan 21 14:06:42 2008 +0000 12186 12187 randr12: use correct clock for LVDS modesetting part 2 12188 12189commit 52154e97b5a40b014fbee747fc542f765b4390bc 12190Author: Stuart Bennett <sb476@cam.ac.uk> 12191Date: Mon Jan 21 13:46:15 2008 +0000 12192 12193 randr12: use correct clock for LVDS modesetting 12194 12195commit d54a9f4b76f3a8c29c5fce6dfe7cc3fbc20f3952 12196Author: Stuart Bennett <sb476@cam.ac.uk> 12197Date: Mon Jan 21 12:27:36 2008 +0000 12198 12199 Don't log strange characters 12200 12201commit 07e01061e9b90348ea38b8889ff9e8daf207b820 12202Author: Stuart Bennett <sb476@cam.ac.uk> 12203Date: Sun Jan 20 21:53:30 2008 +0000 12204 12205 Use more imaginative log levels than X_INFO 12206 12207commit 18017632cbc96f36bbc72b454bd5b48070985a6f 12208Author: Stuart Bennett <sb476@cam.ac.uk> 12209Date: Sun Jan 20 20:17:28 2008 +0000 12210 12211 Use stdbool.h types in nv_bios.c 12212 12213 It makes vim highlighting work better and reduces shift key wear. 12214 Coincidentally it's what the drm uses too. 12215 12216 bool, true and false are defined in IEEE 1003.1 (2003) and POSIX since C99 12217 (as is stdint.h, which we use already) 12218 12219commit e1714a4f4329728cf897f8953acc480b47a4e5d7 12220Author: root <root@dpish.hayton.korsenowski> 12221Date: Sun Jan 20 18:38:11 2008 +0000 12222 12223 randr12: fix early cards 12224 12225commit 271844d3a761af65c9625d1564e1c08a9f64d159 12226Author: Maarten Maathuis <madman2003@gmail.com> 12227Date: Sun Jan 20 19:06:49 2008 +0100 12228 12229 NV40TEX: Don't sync when compositing, will have bad sideeffects if the compositing manager tries it too. 12230 12231commit c338a14ea688953b03f274d0e436b579d0411f18 12232Author: Maarten Maathuis <madman2003@gmail.com> 12233Date: Sun Jan 20 17:28:13 2008 +0100 12234 12235 Some misc cleanup. 12236 12237commit 2cd6e157cebac663f1b3c88e3653a4c2c9971ff1 12238Author: Maarten Maathuis <madman2003@gmail.com> 12239Date: Sun Jan 20 17:11:27 2008 +0100 12240 12241 randr12: Fix a major screwup i made during a cleanup. 12242 12243commit c3127a0c9cf4599c40b27e24a411a7fe4969152a 12244Author: Maarten Maathuis <madman2003@gmail.com> 12245Date: Sun Jan 20 17:00:58 2008 +0100 12246 12247 NV40TEX: Implement sync to vblank. 12248 12249 - I don't know why this didn't work the first time i tried, maybe i missed it due to another bug (that also caused tearing). 12250 - This should also work reasonably well for composited situations, but ofcource we can't guarantee that. 12251 12252commit 512f4ba33528dafb505bc2db5f9bb4d1b92c3a7b 12253Author: Stuart Bennett <sb476@cam.ac.uk> 12254Date: Sun Jan 20 14:47:52 2008 +0000 12255 12256 randr12: init some more Xv state 12257 12258commit 3f6a681a38fccbd53dd10aa42cc8d1b9bfe0eb71 12259Author: Stuart Bennett <sb476@cam.ac.uk> 12260Date: Sat Jan 19 14:02:43 2008 +0000 12261 12262 minor debug correction 12263 12264commit efd3cd086036cd5f8817aee771ee630066a92830 12265Author: Stuart Bennett <sb476@cam.ac.uk> 12266Date: Sun Jan 20 01:56:00 2008 +0000 12267 12268 INIT_8E opcode 12269 12270 again, from pq's trace 12271 12272commit f0bb436796a2d4dc693ec92b73c7abb27d428cda 12273Author: Stuart Bennett <sb476@cam.ac.uk> 12274Date: Sat Jan 19 01:37:34 2008 +0000 12275 12276 INIT_IO opcode 12277 12278 Based on pq's g8x trace 12279 12280commit c1b69fdaa089898821338b14c1f72eda354c2caa 12281Author: Maarten Maathuis <madman2003@gmail.com> 12282Date: Sat Jan 19 19:24:04 2008 +0100 12283 12284 randr12: hide cursor before locking + misc cleanup. 12285 12286commit dfa8901e847e1fbcbcb6de0c0726f53531b15b34 12287Author: Maarten Maathuis <madman2003@gmail.com> 12288Date: Sat Jan 19 16:39:26 2008 +0100 12289 12290 randr12: Remove unneeded vgahw stuff. 12291 12292commit 47452756724007318eb384912c40302b15523998 12293Author: Maarten Maathuis <madman2003@gmail.com> 12294Date: Sat Jan 19 16:29:57 2008 +0100 12295 12296 randr12: Move away from some of the nv_hw wrappers. 12297 12298commit 9e3a2d7c8c36d4dc43396be6b742b6137dfef455 12299Author: Maarten Maathuis <madman2003@gmail.com> 12300Date: Sat Jan 19 15:59:48 2008 +0100 12301 12302 randr12: Remove usage of nvRead/WriteVGA0/1. 12303 12304commit 936e9fe8adb2660cf75959265971c60f378cd7d6 12305Author: Maarten Maathuis <madman2003@gmail.com> 12306Date: Sat Jan 19 11:28:41 2008 +0100 12307 12308 randr12: Some cleanup. 12309 12310 - framebuffer consoles can use most of the normal stuff, so change it back. 12311 - some cursor deobfuscation 12312 12313commit a9bae6ba734882308ac29a9fe2403eaa027bd518 12314Author: Stuart Bennett <sb476@cam.ac.uk> 12315Date: Fri Jan 18 20:49:58 2008 +0000 12316 12317 More detailed modesetting debug (both randr12 and oldstyle) 12318 12319commit a28216639c3cf01d8f7cc85030d69fd58be86ed9 12320Author: Stuart Bennett <sb476@cam.ac.uk> 12321Date: Fri Jan 18 18:10:40 2008 +0000 12322 12323 Remove no longer needed panel quirk 12324 12325commit 59fec415ef32c291363408d5c8a24a2041450434 12326Author: Stuart Bennett <sb476@cam.ac.uk> 12327Date: Fri Jan 18 17:02:32 2008 +0000 12328 12329 Use bios PLL functions on nv4x 12330 12331 And a minor completeness correction 12332 12333commit 7efaf3d97a51d2447310954c9224fd7ec888caf9 12334Author: Maarten Maathuis <madman2003@gmail.com> 12335Date: Fri Jan 18 23:45:51 2008 +0100 12336 12337 randr12: Refine CR4B, anyone know what this does? 12338 12339 - There is more to this register. 12340 12341commit 41646042ab9d9d0c3bc8a76b25a4bff45f039922 12342Author: Stuart Bennett <sb476@cam.ac.uk> 12343Date: Fri Jan 18 16:50:50 2008 +0000 12344 12345 Rerefactor getting pll limits for nv4x 12346 12347commit 174d8f7e015250af4c0b27e044f5088f5465d851 12348Author: Stuart Bennett <sb476@cam.ac.uk> 12349Date: Fri Jan 18 14:24:48 2008 +0000 12350 12351 Use pll limits infrastructure on single stage plls 12352 12353 And add default PLL limits on old cards 12354 12355commit b3ca42d8589bed843ce5e772a1807c4c95377b92 12356Author: Stuart Bennett <sb476@cam.ac.uk> 12357Date: Fri Jan 18 01:47:05 2008 +0000 12358 12359 Don't speculate on the unknown limit field, and call the others log2p, not p 12360 12361commit d9db305e2d4bfb017a8542a7407ad4df27c86121 12362Author: Stuart Bennett <sb476@cam.ac.uk> 12363Date: Fri Jan 18 01:18:42 2008 +0000 12364 12365 Better setPLL_single 12366 12367commit 2a94184112cf06225672ef34836e19723761140a 12368Author: Stuart Bennett <sb476@cam.ac.uk> 12369Date: Fri Jan 18 14:33:01 2008 +0000 12370 12371 Bios parsing safety checks 12372 12373commit 6251f2fa774b913f5622ff9d07f56b2a5b9d1888 12374Author: Maarten Maathuis <madman2003@gmail.com> 12375Date: Fri Jan 18 12:17:50 2008 +0100 12376 12377 Some misc fixes. 12378 12379commit b21789f93c7e7df9db320dea093deab0f1056955 12380Author: Maarten Maathuis <madman2003@gmail.com> 12381Date: Fri Jan 18 09:23:39 2008 +0100 12382 12383 randr12: Actually using SavedReg does tend to help ;-) 12384 12385commit f15ea75b88b68fadb64fdeef75a23329e2a3f903 12386Author: Maarten Maathuis <madman2003@gmail.com> 12387Date: Fri Jan 18 09:13:24 2008 +0100 12388 12389 randr12: Fix a huge gaping hole in NewRestore. 12390 12391 - Restore CR5758 in a better place and actually restore something proper (use SavedReg instead of ModeReg). 12392 - Minor other fix. 12393 12394commit cd427da27d69db000f07ec50d27ca56ded97994e 12395Author: Stuart Bennett <sb476@cam.ac.uk> 12396Date: Thu Jan 17 23:37:23 2008 +0000 12397 12398 Invent a DVI-A output for the DVI-D output, on DCB1.4/1.5 12399 12400commit fbcb57827a1c4ac4b3c7ce66ca935f6b095f020d 12401Author: Stuart Bennett <sb476@cam.ac.uk> 12402Date: Thu Jan 17 22:49:37 2008 +0000 12403 12404 And another DCB 1.4 entry 12405 12406commit a355e5b0dcd5f5c78da20bd07f581b5841b3a2ba 12407Author: Maarten Maathuis <madman2003@gmail.com> 12408Date: Thu Jan 17 22:25:12 2008 +0100 12409 12410 randr12: Forgot to clear a few state variables on restore. 12411 12412commit ba0d0e8571b657b5196d0508347f7641cd7f04cb 12413Author: Stuart Bennett <sb476@cam.ac.uk> 12414Date: Thu Jan 17 20:48:16 2008 +0000 12415 12416 Add me 12417 12418commit 9cfc736ea4b089c74daaf1b0fac6393fec459bc0 12419Author: Stuart Bennett <sb476@cam.ac.uk> 12420Date: Thu Jan 17 20:29:30 2008 +0000 12421 12422 That warning wasn't there a moment ago 12423 12424commit 7eded6883404ce0cff83051497518a99c1d8a832 12425Author: Stuart Bennett <sb476@cam.ac.uk> 12426Date: Thu Jan 17 17:07:24 2008 +0000 12427 12428 Fix for situations with fixed second stage gain and hook code in to init scripts 12429 12430 And make sure bad PLL values are easily seen 12431 12432commit 075a14ac2525b364edc583caac50e03d171f67a7 12433Author: Stuart Bennett <sb476@cam.ac.uk> 12434Date: Thu Jan 17 19:59:55 2008 +0000 12435 12436 PLL limits reg off-by-four is dealt with elsewhere 12437 12438 Also some more imaginative pll limit member naming 12439 and minor get_pll_limits debugging corrections 12440 12441commit a3ef2cb34ad9de4567d30625a3bf87720a5ed8da 12442Author: Stuart Bennett <sb476@cam.ac.uk> 12443Date: Thu Jan 17 17:30:19 2008 +0000 12444 12445 setPLL for nv40 lowreg PLLs 12446 12447commit c3bef786b5291a638791b8a5125b3ff60cf9d1b1 12448Author: Stuart Bennett <sb476@cam.ac.uk> 12449Date: Thu Jan 17 17:30:36 2008 +0000 12450 12451 setPLL for nv40 highreg PLLs 12452 12453commit 996b93cdc73e3d6e581a766cbbf4a29bb34b8eb2 12454Author: Maarten Maathuis <madman2003@gmail.com> 12455Date: Thu Jan 17 18:27:51 2008 +0100 12456 12457 randr12: Some misc fixes. 12458 12459commit aa561c487754210ca22a1fc1d17c54d8e199e7a1 12460Author: Maarten Maathuis <madman2003@gmail.com> 12461Date: Wed Jan 16 22:42:18 2008 +0100 12462 12463 Some misc fixes, mostly related to setting the right crtc for overlay (randr12). 12464 12465commit 276d4e35673bb71410c882badf03550bcee48571 12466Author: Maarten Maathuis <madman2003@gmail.com> 12467Date: Wed Jan 16 08:03:51 2008 +0100 12468 12469 randr12: Fix mode privates again, hopefully ;-) 12470 12471commit f89243e4c2ba33a822b15de9136736f44b4c1579 12472Author: Stuart Bennett <sb476@cam.ac.uk> 12473Date: Wed Jan 16 00:25:08 2008 +0000 12474 12475 Minor reg adjustment 12476 12477commit df0f66750d1d893b2d91b0cfc91ecd4f0a1ba80e 12478Author: Stuart Bennett <sb476@cam.ac.uk> 12479Date: Tue Jan 15 16:30:00 2008 +0000 12480 12481 Refactor pll table parsing 12482 12483 And correct table reg matching on version 0x21 tables, which is off-by-4 12484 12485commit 3171b470f00a11d3528067c7d91e751257aa603c 12486Author: Stuart Bennett <sb476@cam.ac.uk> 12487Date: Tue Jan 15 14:59:49 2008 +0000 12488 12489 Use pll_lims in getMNP_double 12490 12491 Also move quirks elsewhere, and optimize 12492 12493commit 7bc921485c63232fecb59e488ef203166c48c6e1 12494Author: Stuart Bennett <sb476@cam.ac.uk> 12495Date: Tue Jan 15 15:14:46 2008 +0000 12496 12497 Store PLL limit frequencies in kHz, since that's what we use them in 12498 12499commit 51a739771b59a4725e75660b2c8edb54aa763ba5 12500Author: Stuart Bennett <sb476@cam.ac.uk> 12501Date: Tue Jan 15 01:32:25 2008 +0000 12502 12503 Two stage PLL limits parsing corrections 12504 12505 And some corrections to getMNP_double 12506 12507commit 7013116596ce8b065df265f16b3fdb9ac9e3df37 12508Author: Stuart Bennett <sb476@cam.ac.uk> 12509Date: Tue Jan 15 09:53:58 2008 +0000 12510 12511 randr12: Oh no! More pNv->twoHeads 12512 12513commit c7081039bf27aad12e17063d1a9becf160e7ee49 12514Author: Maarten Maathuis <madman2003@gmail.com> 12515Date: Tue Jan 15 21:05:08 2008 +0100 12516 12517 randr12: PrivFlags are not so private, switch to a real mode Private. 12518 12519 - This hopefully fixes the obscure issues people have had these last few days. 12520 12521commit cd14cd8c520361a15f5f8d255171c85810d83033 12522Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12523Date: Tue Jan 15 20:44:48 2008 +0100 12524 12525 Order the reg ranges, add some. 12526 12527commit 17fa42166fb4e8102cbe880be6021f1145268d16 12528Author: Patrice Mandin <pmandin@caramail.com> 12529Date: Tue Jan 15 18:45:30 2008 +0100 12530 12531 nv30: set VIEWPORT_TX_ORIGIN to 0 for all cards, except real nv30 12532 12533commit 777a3df246feb364d440282db0864fb9b0908872 12534Author: Maarten Maathuis <madman2003@gmail.com> 12535Date: Tue Jan 15 17:52:19 2008 +0100 12536 12537 NV30EXA: Chipset should be masked by 0xFFF0, switch to NVArch while i'm at it. 12538 12539commit b55608bac3f4f909f1ef8380a1ac69ca2f262ea2 12540Author: Maarten Maathuis <madman2003@gmail.com> 12541Date: Tue Jan 15 08:10:46 2008 +0100 12542 12543 randr12: Reenable cvtmode. 12544 12545commit 0db297bb6199878c0f77935acc447c568a87c900 12546Author: Maarten Maathuis <madman2003@gmail.com> 12547Date: Mon Jan 14 22:54:42 2008 +0100 12548 12549 randr12: Undo some changes of the past + always set vpll on modeset. 12550 12551commit 2879f4518e6830cf0b490cde5b4daca3e931383d 12552Author: Patrice Mandin <pmandin@caramail.com> 12553Date: Mon Jan 14 23:26:14 2008 +0100 12554 12555 nv30: Only change VIEWPOR_TX_ORIGIN on real nv30 12556 12557commit 405fd62ee8b56e3b1d6cc78df7ecfa654cd54dec 12558Author: Maarten Maathuis <madman2003@gmail.com> 12559Date: Mon Jan 14 20:17:05 2008 +0100 12560 12561 randr12: "NewRestore" Always reset some state regs after restore. 12562 12563commit 8093b83c3d1393ba225f9def1ce055b04cba5a8f 12564Author: Maarten Maathuis <madman2003@gmail.com> 12565Date: Mon Jan 14 19:29:28 2008 +0100 12566 12567 randr12: "NewRestore" proper depth vs bpp awareness. 12568 12569commit 8733ea89d9acece8721a2ae2d62a68916746c374 12570Author: Stuart Bennett <sb476@cam.ac.uk> 12571Date: Mon Jan 14 18:21:47 2008 +0000 12572 12573 randr12: yet more pre nv10 fixes 12574 12575commit c0d1117782673771b0490fe4d19abd83c6620033 12576Author: Stuart Bennett <sb476@cam.ac.uk> 12577Date: Mon Jan 14 11:54:28 2008 +0000 12578 12579 Possible fix for C51's misaligned regs 12580 12581commit 6ac824446d65a28519f378b3c01b1a6683a14d1b 12582Author: Stuart Bennett <sb476@cam.ac.uk> 12583Date: Sun Jan 13 21:36:53 2008 +0000 12584 12585 randr12: better load detection (enabled) 12586 12587commit ef28e91b24ee34911b3238e681064a95be7afd3a 12588Author: Maarten Maathuis <madman2003@gmail.com> 12589Date: Mon Jan 14 00:48:25 2008 +0100 12590 12591 randr12: We didn't copy the Flags to the adjusted mode, very bad. 12592 12593commit d41d5ae34a7d7f4658a1d86635fb8c59b80a1355 12594Author: Stuart Bennett <sb476@cam.ac.uk> 12595Date: Sun Jan 13 21:35:33 2008 +0000 12596 12597 Be more flexible on init table length 12598 12599commit 4744e5410c27d8bd3c2f92bee4554801639dba29 12600Author: Stuart Bennett <sb476@cam.ac.uk> 12601Date: Sun Jan 13 19:37:28 2008 +0000 12602 12603 More DCB 1.4/1.5 support 12604 12605commit c043b3fa7cf6297e010dfa6fcff24f263b8a8fd8 12606Author: Maarten Maathuis <madman2003@gmail.com> 12607Date: Sun Jan 13 17:09:04 2008 +0100 12608 12609 randr12: Minor fix. 12610 12611commit 3f7f0cab91416f6f4f4378ee6bdabeb9e75cf230 12612Author: Maarten Maathuis <madman2003@gmail.com> 12613Date: Sun Jan 13 16:05:22 2008 +0100 12614 12615 randr12: Some "NewRestore" fixes for framebuffer modes. 12616 12617 - This is mostly it for framebuffer modes. 12618 12619commit d8e7c5068835004741b74577344bd4defad4d139 12620Author: Maarten Maathuis <madman2003@gmail.com> 12621Date: Sun Jan 13 15:05:15 2008 +0100 12622 12623 nvbios: Fix a bmp bug for malc0. 12624 12625commit 5c01f96caa2b3b7223383f37d6903fbcaf3643cd 12626Author: Maarten Maathuis <madman2003@gmail.com> 12627Date: Sun Jan 13 14:12:00 2008 +0100 12628 12629 randr12: Some "NewRestore" fixes. 12630 12631 - Improvements to restoring framebuffer modes, still a few minor bugs to fix. 12632 - VGA modes work partially, i doubt this will make mainline though, since it's fragile. 12633 - This is a work in progress, only for testing. 12634 - Added some other functions to NOUVEAU_MODESET_TRACE. 12635 12636commit 364497a4234410adea25e4e51e0bdb17ccd3ba4a 12637Author: Stuart Bennett <sb476@cam.ac.uk> 12638Date: Sat Jan 12 00:39:59 2008 +0000 12639 12640 randr12: more fixes aimed at nv0x 12641 12642commit ac546e77fe71ffbbc76d9c48c5ab0b6faac832d7 12643Author: Stuart Bennett <sb476@cam.ac.uk> 12644Date: Fri Jan 11 22:05:11 2008 +0000 12645 12646 Remove some nv_bios TODOs and shut up some warnings 12647 12648commit fc04d71de6ec36158040617fb973218a8bdd0903 12649Author: Maarten Maathuis <madman2003@gmail.com> 12650Date: Fri Jan 11 23:23:43 2008 +0100 12651 12652 randr12: Add new experimental restore mode. 12653 12654 - Option "NewRestore" 12655 - Only tested on my 16bpp 1280x1024 vesafb console. 12656 - It may work on text consoles. 12657 - This should eventually replace the somewhat frail restore system that we currently have. 12658 12659commit 361bbe074a0d674012615b05fd3da81e8e1ce34e 12660Author: Maarten Maathuis <madman2003@gmail.com> 12661Date: Fri Jan 11 22:30:14 2008 +0100 12662 12663 randr12: Intermediate commit. 12664 12665commit 3b6e551e1afefe86338ab830505dc08412b2e80b 12666Author: Maarten Maathuis <madman2003@gmail.com> 12667Date: Fri Jan 11 18:59:53 2008 +0100 12668 12669 randr12: Intermediate commit. 12670 12671commit 5a989b23322e6ba1abe6456246300067c3bf42cb 12672Author: Stuart Bennett <sb476@cam.ac.uk> 12673Date: Fri Jan 11 21:33:47 2008 +0000 12674 12675 Tidy up and correct DCB merging 12676 12677commit ec7889a5a0787929c8c8ae08aaf729929c483035 12678Author: Stuart Bennett <sb476@cam.ac.uk> 12679Date: Thu Jan 10 23:44:59 2008 +0000 12680 12681 Fix bios opcode 0x56 and add reg alignment check 12682 12683commit 9b356d08f9169e35bdbff079c3351c475e53ec9b 12684Author: Stuart Bennett <sb476@cam.ac.uk> 12685Date: Fri Jan 11 16:34:28 2008 +0000 12686 12687 randr12: undo overzealous code disablement 12688 12689commit 44295b59f57be8956a5226415b5fdfbf49e175c1 12690Author: Stuart Bennett <sb476@cam.ac.uk> 12691Date: Fri Jan 11 12:28:16 2008 +0000 12692 12693 randr12: twoHeads and other fixes for pre nv10 (nv_crtc.c) 12694 12695commit 80fa1e1aef1b093b0310c51817ee9685e4d9d251 12696Author: Stuart Bennett <sb476@cam.ac.uk> 12697Date: Fri Jan 11 11:16:21 2008 +0000 12698 12699 randr12: some tidyup to output save/restore functions, and some twoHeads fixes 12700 12701commit 04f64725b5784ecfd7a5c3218d4710c2ad0f7f0f 12702Author: Stuart Bennett <sb476@cam.ac.uk> 12703Date: Fri Jan 11 11:20:45 2008 +0000 12704 12705 randr12: tidy up dpms functions 12706 12707 also, don't set cr57/58 in output_prepare as the dpms funcs do it, and it shouldn't be done on early cards anyway 12708 12709commit cc6794abb637e5ac8c98d7c6385bd36aa43d1ebc 12710Author: Stuart Bennett <sb476@cam.ac.uk> 12711Date: Thu Jan 10 20:25:50 2008 +0000 12712 12713 randr12: use clocks in kHz throughout 12714 12715commit 8337b77b40da9c3bba106837b4553433fa4e8a76 12716Author: Stuart Bennett <sb476@cam.ac.uk> 12717Date: Thu Jan 10 19:09:16 2008 +0000 12718 12719 The bios transition freq is in 10s kHz - so x10 12720 12721commit d65f59144f8a79116bca2f09de41d5786a7a4f84 12722Author: Maarten Maathuis <madman2003@gmail.com> 12723Date: Thu Jan 10 18:50:47 2008 +0100 12724 12725 randr12: Some minor things for supporting vga modes (in the future). 12726 12727commit 0e646b0332b52e23ef13301765f7f1e8f881e165 12728Author: Maarten Maathuis <madman2003@gmail.com> 12729Date: Thu Jan 10 17:41:39 2008 +0100 12730 12731 randr12: Intermediate commit. 12732 12733commit a5122460cfa07d45cf91ae112db9170fecee6966 12734Author: Stuart Bennett <sb476@cam.ac.uk> 12735Date: Thu Jan 10 16:21:49 2008 +0000 12736 12737 Remove weirdo special case handling on bios reg writes 12738 12739 I don't think these ever get used, and the code only seems to be on gf6 anyway 12740 12741commit 31b1a894079ca3983d17ac7a81d6ecd420f7d377 12742Author: Stuart Bennett <sb476@cam.ac.uk> 12743Date: Thu Jan 10 14:14:24 2008 +0000 12744 12745 randr12: dtrt wrt dual link on lvds when !straps 12746 12747commit e02d2cc8b77443fde4e267ce4d9691ed680eef01 12748Author: Stuart Bennett <sb476@cam.ac.uk> 12749Date: Thu Jan 10 12:03:43 2008 +0000 12750 12751 randr12: improve setting of fp_control 12752 12753commit d8eb924a43576c0e360965a43f5363d0ba2aecd0 12754Author: Arthur Huillet <arthur.huillet@free.fr> 12755Date: Thu Jan 10 12:03:30 2008 +0100 12756 12757 Xv: cleanup. 12758 12759commit 1f727083cfafa9097ed98266420a2fd16905ae10 12760Author: Stuart Bennett <sb476@cam.ac.uk> 12761Date: Thu Jan 10 00:12:52 2008 +0000 12762 12763 randr12: enable LVDS and refactor output creation 12764 12765 Heavily based on initial patch by seventhguardian 12766 12767commit c08c6de0f452c7f5cd1bac8bf974aaac872c8e2c 12768Author: Stuart Bennett <sb476@cam.ac.uk> 12769Date: Wed Jan 9 16:18:30 2008 +0000 12770 12771 deifdefication - we requre xserver 1.3, so randr 1.2 is guaranteed 12772 12773commit 1556144a1af3c89eaa14cbfe8bdc9dc966fef8be 12774Author: Stuart Bennett <sb476@cam.ac.uk> 12775Date: Wed Jan 9 15:47:50 2008 +0000 12776 12777 randr12: optimize away excessive LVDS_RESETing 12778 12779commit 55e6750038edd7010ae8304fe3c3b4ac9e7b963c 12780Author: Maarten Maathuis <madman2003@gmail.com> 12781Date: Wed Jan 9 22:08:49 2008 +0100 12782 12783 randr12: Fix minor bug, related to output resource conflicts. 12784 12785commit c1fe3766bd181d9ed273850e6c0d1939c0efc8aa 12786Author: Maarten Maathuis <madman2003@gmail.com> 12787Date: Wed Jan 9 20:20:03 2008 +0100 12788 12789 randr12: Reset crtc when changing output routes. 12790 12791commit 01b9a081c288c69fa0bbc0d3829a0026796e731a 12792Author: Maarten Maathuis <madman2003@gmail.com> 12793Date: Wed Jan 9 19:30:17 2008 +0100 12794 12795 randr12: Don't change vpll's twice on restore. 12796 12797commit 3643b2635dcaba3e6ec969a3cd6eda43623c8992 12798Author: Stuart Bennett <sb476@cam.ac.uk> 12799Date: Wed Jan 9 15:12:30 2008 +0000 12800 12801 Detect an LVDS panel if there's a hardcoded EDID 12802 12803commit 64d8032c419ef8cf14cdf3f83228d3e0f5714909 12804Author: Stuart Bennett <sb476@cam.ac.uk> 12805Date: Wed Jan 9 15:11:24 2008 +0000 12806 12807 If no PROM, and no PRAMIN, use the PCI rom image 12808 12809commit 99a64d31979a8c83ac9d52fabe3114c576c94bba 12810Author: Stuart Bennett <sb476@cam.ac.uk> 12811Date: Tue Jan 8 22:58:37 2008 +0000 12812 12813 fp bios edid oops commit 12814 12815commit b470cf257433dad174d62cdbd4331ada2809334e 12816Author: Maarten Maathuis <madman2003@gmail.com> 12817Date: Tue Jan 8 23:54:51 2008 +0100 12818 12819 randr12: More fixes for strange output routes. 12820 12821commit cfbdbd6ac846af79d9ddf2b4597736cba74d5916 12822Author: Stuart Bennett <sb476@cam.ac.uk> 12823Date: Tue Jan 8 20:57:10 2008 +0000 12824 12825 randr12: try to use bios fp edid, if nothing else works 12826 12827commit d4e4892244c90b481bfd8c6d28d2390fe696e160 12828Author: Stuart Bennett <sb476@cam.ac.uk> 12829Date: Tue Jan 8 20:07:10 2008 +0000 12830 12831 Read EDID from BIOS if appropriate 12832 12833commit 6fab536aa13b8639d9b419a37fccfb30a4313b77 12834Author: Stuart Bennett <sb476@cam.ac.uk> 12835Date: Tue Jan 8 16:18:09 2008 +0000 12836 12837 Darktama's C51 is a mobile card 12838 12839commit 921f2e226ccbe7468cc8e51919872c3e8cf28c4e 12840Author: Stuart Bennett <sb476@cam.ac.uk> 12841Date: Tue Jan 8 15:37:51 2008 +0000 12842 12843 BIT cards use the init scripts to do the power sequencing 12844 12845commit 33ea2cdef8c46ee9837b6fc9809df82d4bdca339 12846Author: Maarten Maathuis <madman2003@gmail.com> 12847Date: Tue Jan 8 22:36:12 2008 +0100 12848 12849 randr12: Small fix for NV3x, more will be needed. 12850 12851commit 175b91d48644bdbfc4e48f4c2fe6c9cf936802b5 12852Author: Maarten Maathuis <madman2003@gmail.com> 12853Date: Tue Jan 8 20:23:38 2008 +0100 12854 12855 randr12: Fix reverse pll reading code for NV30. 12856 12857commit 4add8cfb68404e9e2764451c4e48ab4d0cf04482 12858Author: Maarten Maathuis <madman2003@gmail.com> 12859Date: Tue Jan 8 19:07:50 2008 +0100 12860 12861 randr12: Some minor things for NV30. 12862 12863commit 74b03f7d4f5506222b6a95ccf8b5c9e0ff69e4dc 12864Author: Stuart Bennett <sb476@cam.ac.uk> 12865Date: Tue Jan 8 13:52:00 2008 +0000 12866 12867 Assorted small bios/randr12 bits and pieces 12868 12869 Make bios execution a bit faster 12870 Better self documenting code for DCB dual link criterion 12871 Tidy up some ineffectual LVDS mode code 12872 12873commit 76f3c47736661df86490b0d133ac82c371cab73d 12874Author: Maarten Maathuis <madman2003@gmail.com> 12875Date: Mon Jan 7 23:38:08 2008 +0100 12876 12877 randr12: Handle NV30 vpll's correctly. 12878 12879 - This only concerns the real NV30, not the other NV3x cards. 12880 12881commit 1a25def0a64ac6437c6ba5f51ddb8743d4a88d00 12882Author: Maarten Maathuis <madman2003@gmail.com> 12883Date: Mon Jan 7 19:06:16 2008 +0100 12884 12885 randr12: Clear dpms cache when needed. 12886 12887commit 3f0008128e2afd2b1a1b595829c6324e46a4bf1d 12888Author: Arthur Huillet <arthur.huillet@free.fr> 12889Date: Mon Jan 7 19:03:53 2008 +0100 12890 12891 Xv: overlay BW workaround applied to NV40 as well 12892 12893commit d5dabd8c316371605d81be55a5c6c82e6351b591 12894Author: Arthur Huillet <arthur.huillet@free.fr> 12895Date: Mon Jan 7 19:01:07 2008 +0100 12896 12897 Xv: removed useless #includes 12898 12899commit 510f3575df87733857dbb5bfe398ce04aebadfd4 12900Author: Arthur Huillet <arthur.huillet@free.fr> 12901Date: Mon Jan 7 17:13:43 2008 +0100 12902 12903 Xv: added NV04 overlay brightness attribute. Original patch by Andrew Randrianasulu 12904 12905commit a71de657e1e2718800ef1c319dab5dafcc9ea0cd 12906Author: Ben Skeggs <skeggsb@gmail.com> 12907Date: Tue Jan 8 02:18:59 2008 +1100 12908 12909 avoid symbol clash with 3d driver. 12910 12911commit 0463dc0682fb192ce82037601289f75913f65e3c 12912Author: Ben Skeggs <skeggsb@gmail.com> 12913Date: Tue Jan 8 02:16:26 2008 +1100 12914 12915 nv50: support hostdata UTS 12916 12917commit 9fb186c57bdad07281f1a0bdebac98a4b18dc6e3 12918Author: Ben Skeggs <skeggsb@gmail.com> 12919Date: Mon Jan 7 18:33:03 2008 +1100 12920 12921 nv50: small fix 12922 12923commit b679d6a8539403f075a57d882bb4d0eb33b180d9 12924Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12925Date: Mon Jan 7 02:39:19 2008 +0100 12926 12927 nv40 video texture: sometimes less is more. 12928 12929commit b9a364a985bb23ee30dc094ba13e19ea2f4f6bdf 12930Author: Maarten Maathuis <madman2003@gmail.com> 12931Date: Sun Jan 6 20:44:56 2008 +0100 12932 12933 NV40EXA: Remove stair shaped tearing i get. 12934 12935commit 80ac301acaf8dba6a93f5b04b97f8dca2748b92c 12936Author: Pierre Ossman <drzeus@drzeus.cx> 12937Date: Sun Jan 6 20:04:10 2008 +0100 12938 12939 We do not get a valid CRTC configuration structure if we're not using RandR 1.2, 12940 so make sure we can handle the old mode with some form of grace. 12941 12942 Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> 12943 12944commit f1aaf3fe616f5a0633e685867cf33b37f2c3f07b 12945Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12946Date: Sun Jan 6 19:14:03 2008 +0100 12947 12948 nv40 video texture: bilinear filtering for UV. 12949 12950commit 57fc0631428f29af0d24036c939826349e3018b5 12951Author: Arthur Huillet <arthur.huillet@free.fr> 12952Date: Sun Jan 6 17:41:50 2008 +0100 12953 12954 Xv: overlay auto CRTC switch with randr12, blitter fallback 12955 12956 Now switching the overlay to the right CRTC when displaying video with the overlay and dual head, with a nice fallback 12957 to the blitter when the window is on both CRTCs. 12958 Fixed a bug preventing the overlay from working on CRTC1. 12959 12960commit b6ba53ee1cbda5cb91e43ae6b84e1737ebc367f4 12961Author: Jeremy Kolb <jkolb@glorfindel.hsd1.ma.comcast.net> 12962Date: Sun Jan 6 12:58:45 2008 -0500 12963 12964 port "G80: Reduce load detection false positives." from xf86-video-nv commit d483ecd851bb84014f1fa86f0ada4540b3ad801e 12965 12966commit b4fa9b060308090f4bab3f8716f7e2ecaf234be7 12967Author: Jeremy Kolb <jkolb@glorfindel.hsd1.ma.comcast.net> 12968Date: Sun Jan 6 12:51:55 2008 -0500 12969 12970 Return NULL not FALSE. 12971 12972commit 47dde8283bcc409037682098cad8f0a0c3f9e3b2 12973Author: Pierre Ossman <drzeus@drzeus.cx> 12974Date: Sun Jan 6 17:48:48 2008 +0100 12975 12976 Xv: don't wait for vblank on CRTC0 _and_ CRTC1 12977 12978commit c8a9b4d0c2145d13c74a00cb24e1310e247a2718 12979Author: Pierre Ossman <drzeus@drzeus.cx> 12980Date: Sun Jan 6 17:45:37 2008 +0100 12981 12982 wait for correct crtc vsync 12983 12984 Make sure we wait for the CRTC that will actually display the video 12985 frame we're blitting. 12986 12987commit 25fac91dfc7072405243d2891f9ec1f0cef49a3d 12988Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12989Date: Sun Jan 6 16:20:43 2008 +0100 12990 12991 Switch to latest nouveau_class.h 12992 12993commit bc82548514daab356fe0e0ee942ff75018fbc383 12994Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12995Date: Sun Jan 6 16:19:50 2008 +0100 12996 12997 Use clamp to edge to avoid the thin black lines. 12998 12999commit acaf2501d17030097761b3f8d369f14874261f6d 13000Author: Maarten Maathuis <madman2003@gmail.com> 13001Date: Sun Jan 6 13:17:49 2008 +0100 13002 13003 randr12: Some fixes for NV31M. 13004 13005commit 7b1521c263511016538286806f54221721c60608 13006Author: Maarten Maathuis <madman2003@gmail.com> 13007Date: Sat Jan 5 19:43:08 2008 +0100 13008 13009 randr12: NV11 and NV20 stop at CR52. 13010 13011commit 9441ca0fd579cb648577f107777236d22a2b1ead 13012Author: Maarten Maathuis <madman2003@gmail.com> 13013Date: Sat Jan 5 19:32:32 2008 +0100 13014 13015 randr12: NV11 and NV20 don't have CR57 and CR58. 13016 13017commit 8f520754459c363313353605207f7598e259ea77 13018Author: Maarten Maathuis <madman2003@gmail.com> 13019Date: Sat Jan 5 18:54:14 2008 +0100 13020 13021 Add a missing function to NOUVEAU_MODESET_TRACE. 13022 13023commit d5bf6a0149dc80d5d76ab8857415d20b42188656 13024Author: Stuart Bennett <sb476@cam.ac.uk> 13025Date: Sat Jan 5 17:22:33 2008 +0000 13026 13027 randr12: fix PLL breaking typo 13028 13029commit 21f02f5f248bce5f49e0fcee5594c83155b532b5 13030Author: Stuart Bennett <sb476@cam.ac.uk> 13031Date: Sat Jan 5 03:10:21 2008 +0000 13032 13033 Need to restore EXTDEV before fp table parsing 13034 13035 and a nice hwsq message 13036 13037commit 4e4819f6722a120d3a22eb9829fe73780a0c1087 13038Author: Maarten Maathuis <madman2003@gmail.com> 13039Date: Sat Jan 5 18:30:08 2008 +0100 13040 13041 randr12: Minor cleanup. 13042 13043commit 758e1cf14d61725d69ca75b7268f22e11a32a5ba 13044Author: Maarten Maathuis <madman2003@gmail.com> 13045Date: Sat Jan 5 18:27:10 2008 +0100 13046 13047 randr12: Fix a thinko, generate data before restoring, not at the beginning. 13048 13049commit f315ce85fa33894767892772c1e7a0966150ba6b 13050Author: Maarten Maathuis <madman2003@gmail.com> 13051Date: Sat Jan 5 14:05:55 2008 +0100 13052 13053 randr12: Some NV40 quirks. 13054 13055commit 08b1a2622708be9f714c27fd31372e28277d7c5b 13056Author: Maarten Maathuis <madman2003@gmail.com> 13057Date: Sat Jan 5 13:03:40 2008 +0100 13058 13059 randr12: Small quirk for NV11. 13060 13061commit 73101dbcfac68688914e2a3f46008ddd69d0dc62 13062Author: Stuart Bennett <sb476@cam.ac.uk> 13063Date: Sat Jan 5 02:46:52 2008 +0000 13064 13065 Load NV17 power sequencing microcode 13066 13067commit 2ec6cf4a6e59b861c1672471872fc4ca75cfce27 13068Author: Maarten Maathuis <madman2003@gmail.com> 13069Date: Sat Jan 5 01:22:42 2008 +0100 13070 13071 randr12: Cache dpms calls to avoid unnecesary blinking and such. 13072 13073commit 4f586ac169e7acd0e0bfa4139bd74e718d7598e2 13074Author: Arthur Huillet <arthur.huillet@free.fr> 13075Date: Sat Jan 5 01:38:52 2008 +0200 13076 13077 Xv: linearly interpolate U and V samples when converting from YV12 to YUY2 13078 13079 Original patch by ahuillet, pq did one last fix. 13080 13081commit 5f1a721070c20a4287d17a8797ef1aabe19a579e 13082Author: Stuart Bennett <sb476@cam.ac.uk> 13083Date: Fri Jan 4 17:59:54 2008 +0000 13084 13085 More DCB 1.4/1.5 fixes 13086 13087commit 95485646eb61aaa84a8d3b6550552ab417be8e16 13088Author: Maarten Maathuis <madman2003@gmail.com> 13089Date: Fri Jan 4 18:33:31 2008 +0100 13090 13091 randr12: Forgot to switch to vpll1_a, etc in one place. 13092 13093commit c43bb4990f44d50d91785f8c9860e27c3357c0a3 13094Author: Stuart Bennett <sb476@cam.ac.uk> 13095Date: Fri Jan 4 01:14:40 2008 +0000 13096 13097 randr12: fix BIT bios LVDS dpms 13098 13099commit 5d9e42bbb5878f52cf7fd6d96532253d868b2a27 13100Author: Stuart Bennett <sb476@cam.ac.uk> 13101Date: Fri Jan 4 13:26:38 2008 +0000 13102 13103 Better guesses at DCB 1.4/1.5 13104 13105commit 73da4362cd7e2918bd066528a9feb157019edb5e 13106Author: Maarten Maathuis <madman2003@gmail.com> 13107Date: Fri Jan 4 11:54:27 2008 +0100 13108 13109 randr12: Remove unnecesary usleep. 13110 13111 - I once did this thinking it may solve a bug, but it turned out a palette issue. 13112 13113commit c35f532fdee6141e871560f8a400040c2eb82891 13114Author: Maarten Maathuis <madman2003@gmail.com> 13115Date: Fri Jan 4 11:43:16 2008 +0100 13116 13117 NV40: Improve VCO2 detection in nvGetClocks() 13118 13119commit 9369c03788d7410150044d2e3a83f0bcb876af42 13120Author: Maarten Maathuis <madman2003@gmail.com> 13121Date: Fri Jan 4 11:39:37 2008 +0100 13122 13123 randr12: Improve speed of mode switches. 13124 13125 - Moved pre-NV40 to vpll1_a, vpll1_b, etc variables. 13126 - Only change vpll when needed. 13127 13128commit ec0fe5294fdee7a79e9bfaf21ea42cfd3f52ec75 13129Author: Stuart Bennett <sb476@cam.ac.uk> 13130Date: Fri Jan 4 02:31:21 2008 +0000 13131 13132 Infra for regs stored over suspend and a sort-of implementation of INIT_COMPUTE_MEM 13133 13134commit 786e133577edcf91b519dd8dede24250ec6fdcdf 13135Author: Stuart Bennett <sb476@cam.ac.uk> 13136Date: Thu Jan 3 02:21:35 2008 +0000 13137 13138 Better bios register read function prototype and a ReadEXTDEV purge 13139 13140commit 951f95ba553f301de2a540ef67cf04152cf72344 13141Author: Stuart Bennett <sb476@cam.ac.uk> 13142Date: Thu Jan 3 00:52:12 2008 +0000 13143 13144 Refactor NVParseBios 13145 13146commit 8b82f24e8a526c0483120f9979a3b9370da3b297 13147Author: Stuart Bennett <sb476@cam.ac.uk> 13148Date: Thu Jan 3 00:32:24 2008 +0000 13149 13150 Revert "randr12: LVDS screens use center mode." 13151 13152 This reverts commit 1142b15c56a0b9dab8b929fc196a825815457374. 13153 13154 They don't, necessarily 13155 13156commit 876d7b11c754dd66738bcc26a07e0d707b81a99f 13157Author: Maarten Maathuis <madman2003@gmail.com> 13158Date: Thu Jan 3 22:45:00 2008 +0100 13159 13160 NV40: Handle broken VCO2 values. 13161 13162commit 50eb355e44017a51636c1e7b8c140bc3b48813af 13163Author: Maarten Maathuis <madman2003@gmail.com> 13164Date: Thu Jan 3 22:36:04 2008 +0100 13165 13166 NV40: A better attempt at YUV->RGB conversion constants + remove vblank sync. 13167 13168 - The vblank sync didn't work (made things worse actually), someone needs to reverse engineer the proper way for the 3d engine. 13169 13170commit 22cdfec9b0858c186ab37ff649248a2a825eb513 13171Author: Maarten Maathuis <madman2003@gmail.com> 13172Date: Thu Jan 3 12:48:43 2008 +0100 13173 13174 NV40: Avoid a SIGFPE in nvGetClocks() when VCO2 is off. 13175 13176commit 5015e2cefcf2069ee0054c433c7ae1763d2f95eb 13177Author: Maarten Maathuis <madman2003@gmail.com> 13178Date: Thu Jan 3 12:37:10 2008 +0100 13179 13180 NV40: Actually add the attribute. 13181 13182commit 5b60344486c8ddeba28204dbea6f1e11704cf951 13183Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13184Date: Thu Jan 3 05:56:23 2008 +0100 13185 13186 Add a vsync attribute to nv40 textured video. It doesn't seem to work so well for me (6200), I suspect because my card is too slow anyway. Possible solutions include reducing the shader instruction # and forcing drawing from top to bottom. 13187 13188commit f7a356250a9a0cb214dbb1871696506c04fab946 13189Author: Maarten Maathuis <madman2003@gmail.com> 13190Date: Wed Jan 2 12:15:21 2008 +0100 13191 13192 randr12: Hopefully these were all the function declerations that need updating. 13193 13194 - Build didn't even show any errors, so that's why i missed them. 13195 13196commit aa608573918ed34968054fb5a93b11fc5c8aa1a8 13197Author: Maarten Maathuis <madman2003@gmail.com> 13198Date: Wed Jan 2 00:19:12 2008 +0100 13199 13200 Dump some CARD8 and CARD32 in favour of uintX_t. 13201 13202commit b44af66323b622411d5ffa4a78a210abefdb1e2f 13203Author: Maarten Maathuis <madman2003@gmail.com> 13204Date: Tue Jan 1 22:38:34 2008 +0100 13205 13206 randr12: Small fix for NV4x cards with strange output routes. 13207 13208commit 6b204d5ef3ff61236ef86eadcc7e137a722aef72 13209Author: Maarten Maathuis <madman2003@gmail.com> 13210Date: Tue Jan 1 21:51:31 2008 +0100 13211 13212 randr12: Improve output routing. 13213 13214commit 64546788e50ae3482698f9505869e06f727c0e50 13215Author: Maarten Maathuis <madman2003@gmail.com> 13216Date: Tue Jan 1 21:07:36 2008 +0100 13217 13218 randr12: Really hopefully fix output resource conflict detection now. 13219 13220commit b71a52ae9689026e7d96d2c2752eec0c9854b0c3 13221Author: Maarten Maathuis <madman2003@gmail.com> 13222Date: Tue Jan 1 20:38:24 2008 +0100 13223 13224 randr12: Hopefully fix output resource conflict detection. 13225 13226commit 9ac2765ff13f82746991c85649f45c13475e851d 13227Author: Maarten Maathuis <madman2003@gmail.com> 13228Date: Tue Jan 1 19:41:07 2008 +0100 13229 13230 Forgot the NOUVEAU_EXA_PIXMAPS case. 13231 13232commit 53565fc3e854abc0b5e7614da251024a60ddfd9e 13233Author: Maarten Maathuis <madman2003@gmail.com> 13234Date: Tue Jan 1 19:36:28 2008 +0100 13235 13236 Stricter alignment requirements for offscreenBase, to avoid framebuffer corruption. 13237 13238commit c9cedb7712719e3dee450245ebeb7db18cd40770 13239Author: Maarten Maathuis <madman2003@gmail.com> 13240Date: Tue Jan 1 17:36:20 2008 +0100 13241 13242 randr12: Time to let some routing insanity die. 13243 13244 - I hope nvidia is just crazy sometimes when setting CRTC1 on both output resources. 13245 - Or is it some override used on load detect? 13246 13247commit 9f1494ebf1ec1957f362366ab4abfc31c2227092 13248Author: Maarten Maathuis <madman2003@gmail.com> 13249Date: Tue Jan 1 17:28:41 2008 +0100 13250 13251 randr12: Always set bit 26 in FP_DEBUG_0 if already present. 13252 13253commit a83c71244b8dceb2cac968195777636bd5c5f639 13254Author: Maarten Maathuis <madman2003@gmail.com> 13255Date: Tue Jan 1 17:01:19 2008 +0100 13256 13257 randr12: Minor tweak to flatpanel regs. 13258 13259commit afe174cd57173c22011718d3290db5d939076ce6 13260Author: Maarten Maathuis <madman2003@gmail.com> 13261Date: Tue Jan 1 14:25:54 2008 +0100 13262 13263 Remove AM_MAINTAINER_MODE from configure.ac 13264 13265commit ef1a613e0f1a1fffb54a50fd14c10069ed9eac4b 13266Author: Maarten Maathuis <madman2003@gmail.com> 13267Date: Mon Dec 31 20:24:41 2007 +0100 13268 13269 randr12: Fix a bug in an earlier commit. 13270 13271 - This was local, but i wanted to keep some things seperate. 13272 13273commit 01313e3dca07615fa3b2a2b09f6d45489cc8d796 13274Author: Maarten Maathuis <madman2003@gmail.com> 13275Date: Mon Dec 31 20:15:03 2007 +0100 13276 13277 randr12: Add a quirk for 1280x800 panel on 7300go. 13278 13279commit 78bf63088d5805762460801c59f0f93b43ec96a7 13280Author: Maarten Maathuis <madman2003@gmail.com> 13281Date: Mon Dec 31 19:34:33 2007 +0100 13282 13283 randr12: Duplicate native modes, to avoid hitting an invalid pointer. 13284 13285commit 83aad1ad6e8a5e48ee91346b4c7037ddc8456a73 13286Author: Maarten Maathuis <madman2003@gmail.com> 13287Date: Mon Dec 31 18:57:49 2007 +0100 13288 13289 randr12: Set the adjusted mode in output code. 13290 13291commit 23d9d05a68cf2eac51b500d48d31bae3b484bbe8 13292Author: Maarten Maathuis <madman2003@gmail.com> 13293Date: Mon Dec 31 14:20:41 2007 +0100 13294 13295 randr12: Deal with output resources in a better way. 13296 13297commit a4d973214158efa90a1a23da879630d2b53ad313 13298Author: Maarten Maathuis <madman2003@gmail.com> 13299Date: Mon Dec 31 13:18:16 2007 +0100 13300 13301 randr12: Disable crt load detect again, until i know how to use it properly. 13302 13303commit 59346e15688186b4c00ee5348413ae8312ac9a30 13304Author: Maarten Maathuis <madman2003@gmail.com> 13305Date: Sun Dec 30 19:11:48 2007 +0100 13306 13307 Revert "randr12: Another quirk for the 7300GO cards." 13308 13309 This reverts commit 2f2921e6c33a0482f1f30e4d69820dc82690310a. 13310 It was unneeded after all. 13311 13312commit 2f2921e6c33a0482f1f30e4d69820dc82690310a 13313Author: Maarten Maathuis <madman2003@gmail.com> 13314Date: Sun Dec 30 17:07:13 2007 +0100 13315 13316 randr12: Another quirk for the 7300GO cards. 13317 13318commit 642baacdab215f6ad7173757b8d7e00f716d6dbe 13319Author: Maarten Maathuis <madman2003@gmail.com> 13320Date: Sun Dec 30 16:44:23 2007 +0100 13321 13322 randr12: Fix quad view on some 7300GO cards. 13323 13324commit df36ea6d9cd2a22b51a0386bbfe4f6760ed98d97 13325Author: Maarten Maathuis <madman2003@gmail.com> 13326Date: Sun Dec 30 15:01:47 2007 +0100 13327 13328 Add some headerfiles to Makefile.am 13329 13330commit 29851581b2420570efd4fca2d4f6a19113ea6947 13331Author: Maarten Maathuis <madman2003@gmail.com> 13332Date: Sun Dec 30 13:35:47 2007 +0100 13333 13334 randr12: Only load palette's when appropriate. 13335 13336commit c3359789d8f288b403aedbcdfa8795391fc13deb 13337Author: Maarten Maathuis <madman2003@gmail.com> 13338Date: Sun Dec 30 13:26:24 2007 +0100 13339 13340 NV40: Some fixes and safeties. 13341 13342commit a7c922b58af72e3a48b92056c2fcd71c22477c2f 13343Author: Maarten Maathuis <madman2003@gmail.com> 13344Date: Sun Dec 30 11:36:10 2007 +0100 13345 13346 NV40: Fix some comments and a damage reporting bug. 13347 13348commit b6cd9964f9c20c40eda4283a93e447601beddb96 13349Author: Maarten Maathuis <madman2003@gmail.com> 13350Date: Sun Dec 30 02:31:38 2007 +0100 13351 13352 NV40: Fix the texturing adapter when not rendering offscreen. 13353 13354 - Now clip restrictions are taken into consideration. 13355 - No streching when clipping the border of a screen anymore. 13356 13357commit 4efdd1b560228aae7f6f5d6ed549461f8fdf0d00 13358Author: Maarten Maathuis <madman2003@gmail.com> 13359Date: Sat Dec 29 22:34:32 2007 +0100 13360 13361 randr12: Minor cleanup. 13362 13363commit 5af6cd8dea2fa51b362201961191a17b0813fa30 13364Author: Maarten Maathuis <madman2003@gmail.com> 13365Date: Sat Dec 29 21:46:18 2007 +0100 13366 13367 randr12: Micro cleanup. 13368 13369commit 4f91dd1ae08d348b2977b8ede0908ddd2add1cb4 13370Author: Maarten Maathuis <madman2003@gmail.com> 13371Date: Sat Dec 29 20:15:25 2007 +0100 13372 13373 NVBIOS: Fix duallink detection. 13374 13375commit 559a640a542a89238afba02a78cf6399b8edc2fc 13376Author: Maarten Maathuis <madman2003@gmail.com> 13377Date: Sat Dec 29 19:34:12 2007 +0100 13378 13379 randr12: Do not remove bits in DITHER register. 13380 13381commit 4b980011742a6fa0bdeb312a7b367d6a56675fcb 13382Author: Maarten Maathuis <madman2003@gmail.com> 13383Date: Sat Dec 29 15:09:08 2007 +0100 13384 13385 NV40: Preliminary Xv Texture Adaptor. 13386 13387 - Only supports YV12. 13388 - No attributes. 13389 - Only the Y component gets bilinear filtering. 13390 - You're welcome to improve it ;-) 13391 13392commit a4c045aa14b471fcfe29cdbec0cd846b2c5be2a6 13393Author: Peter Winters <peter@whoei.org> 13394Date: Sat Dec 29 12:15:40 2007 +0100 13395 13396 Xv: nforce2 overlay can do yv12 13397 13398commit 1142b15c56a0b9dab8b929fc196a825815457374 13399Author: Maarten Maathuis <madman2003@gmail.com> 13400Date: Fri Dec 28 21:11:49 2007 +0100 13401 13402 randr12: LVDS screens use center mode. 13403 13404commit 8215e970445d99312c8fbbc31944466f70f3e186 13405Author: Andrew Randrianasulu <randrianasulu@yahoo.com> 13406Date: Fri Dec 28 20:59:17 2007 +0100 13407 13408 Fix IFC on nv4/5 by using the proper object. 13409 13410commit c6ae3fe9f077c38f616fd3ad07275dcf8cb65bbc 13411Author: Stuart Bennett <sb476@cam.ac.uk> 13412Date: Fri Dec 28 05:45:10 2007 +0000 13413 13414 Make sure the CRTC regs are unlocked when doing bios init 13415 13416 Also make the single stage PLL setter less exploitable by the whims of the hardware 13417 13418commit bb467ad4baa30fc46a05bbce11d6aa4e3dac89a9 13419Author: Stuart Bennett <sb476@cam.ac.uk> 13420Date: Fri Dec 28 08:23:17 2007 +0000 13421 13422 Fake a DCB entry for cards from the pre-DCB era 13423 13424 Also, drop DCB parsing to after the init parsing again; having an INIT_TMDS in 13425 the init scripts would be silly (the original reason for bumping DCB parsing up) 13426 13427commit cdfe4fef9bd7d0a69d9ba19a79779152baef5489 13428Author: Stuart Bennett <sb476@cam.ac.uk> 13429Date: Fri Dec 28 07:36:58 2007 +0000 13430 13431 Madness. Bios parsing for NV05 13432 13433commit d4e12684617d07dc859e774f3eff9b944bc4c89e 13434Author: Maarten Maathuis <madman2003@gmail.com> 13435Date: Thu Dec 27 20:01:14 2007 +0100 13436 13437 randr12: Minor change. 13438 13439commit ab9dc943dd5036545e3396868c0332e9b727f31f 13440Author: Maarten Maathuis <madman2003@gmail.com> 13441Date: Thu Dec 27 19:50:27 2007 +0100 13442 13443 randr12: Small change. 13444 13445commit 66d343ad594f1019eb8f4d23308eb97dd1bbd94d 13446Author: Maarten Maathuis <madman2003@gmail.com> 13447Date: Thu Dec 27 19:25:00 2007 +0100 13448 13449 randr12: minor change 13450 13451commit cf5072e0c1d9dbee4f22ef190082aa1db78dbb0d 13452Author: Maarten Maathuis <madman2003@gmail.com> 13453Date: Thu Dec 27 18:37:30 2007 +0100 13454 13455 randr12: Undo unnecesary change. 13456 13457commit a7c643601073de5a63f718ddcdc9eb9f4873f2bf 13458Author: Maarten Maathuis <madman2003@gmail.com> 13459Date: Thu Dec 27 17:12:17 2007 +0100 13460 13461 randr12: Some fixes for LVDS and an odd 7300GO. 13462 13463commit b17f8ca13604f6b085b474219843d740b31918e8 13464Author: Stuart Bennett <sb476@cam.ac.uk> 13465Date: Wed Dec 26 20:59:36 2007 +0000 13466 13467 Fix the setPLL optional code to actually compile 13468 13469commit 05b929ccd9c7cd50f60b84bf987fc5220ee83008 13470Author: Stuart Bennett <sb476@cam.ac.uk> 13471Date: Wed Dec 26 21:31:16 2007 +0000 13472 13473 Fix up getting modes for both TMDS and LVDS 13474 13475commit ba92eb062aaf8b53c7f5c1858eb876d3e2f9af3e 13476Author: Maarten Maathuis <madman2003@gmail.com> 13477Date: Wed Dec 26 21:21:15 2007 +0100 13478 13479 randr12: Remove this, since it's not essential and can cause problems. 13480 13481commit 150d3362c5e0a300c35f1cb0c7da0c98cdd6b4de 13482Author: Maarten Maathuis <madman2003@gmail.com> 13483Date: Wed Dec 26 20:28:43 2007 +0100 13484 13485 randr12: Some minor fixed for dvi and lvds. 13486 13487commit 076f86dd67d6e69bd7d2a68f372cbbbb35785a3c 13488Author: Maarten Maathuis <madman2003@gmail.com> 13489Date: Wed Dec 26 14:51:49 2007 +0100 13490 13491 randr12: Some assorted fixes for dual link outputs. 13492 13493commit 15489f15e8130ffa74bee7c52086857554a69a6b 13494Author: Stuart Bennett <sb476@cam.ac.uk> 13495Date: Tue Dec 25 23:50:10 2007 +0000 13496 13497 On some chips we shouldn't look for a 27MHz crystal 13498 13499commit 8fa59a6231e293a8b669517bf11d35dcc15f34ff 13500Author: Maarten Maathuis <madman2003@gmail.com> 13501Date: Tue Dec 25 19:43:47 2007 +0100 13502 13503 randr12: Some minor changes. 13504 13505commit 80bdd0e9f4bd664e217722a57a8db79d56968194 13506Author: Maarten Maathuis <madman2003@gmail.com> 13507Date: Tue Dec 25 11:58:09 2007 +0100 13508 13509 randr12: Restrict TMDS register backup to digital outputs. 13510 13511 - The NV11 locks up when accessing these and it has no digital outputs, so ;-) 13512 13513commit 5574e96ae3e4608b95b5dd5f2dd5676386bb4ffe 13514Author: Stuart Bennett <sb476@cam.ac.uk> 13515Date: Mon Dec 24 22:33:21 2007 +0000 13516 13517 Better (not complete) support for DCB1.1/1.2 13518 13519commit 2aa6a2347fa283dbd9b10258053602bd37880c26 13520Author: Stuart Bennett <sb476@cam.ac.uk> 13521Date: Mon Dec 24 21:00:31 2007 +0000 13522 13523 "type1" bios scripts 13524 13525commit e0c5f65c0091b0f0ac7715fbf399a1f6fea60dc6 13526Author: Stuart Bennett <sb476@cam.ac.uk> 13527Date: Mon Dec 24 18:13:47 2007 +0000 13528 13529 Rehabilitate BMP parsing 13530 13531commit 2789da6b34c9495a88d349b73cb838f4626fb152 13532Author: Stuart Bennett <sb476@cam.ac.uk> 13533Date: Mon Dec 24 22:51:51 2007 +0000 13534 13535 Fix BMP length for version 5.16 13536 13537commit 93448b40627d35fd89d8fd5629dae5f487082f43 13538Author: Stuart Bennett <sb476@cam.ac.uk> 13539Date: Mon Dec 24 15:23:41 2007 +0000 13540 13541 randr12: use new PLL code on < NV40 13542 13543commit 3d90e13c26e389f43253a5d2721ce93a628f156d 13544Author: Stuart Bennett <sb476@cam.ac.uk> 13545Date: Mon Dec 24 05:31:37 2007 +0000 13546 13547 setPLL routines for single and two stage plls 13548 13549 plus some parsing fixes 13550 13551commit eabe1e02504467c7425e62673a68f4dc7dd83aab 13552Author: Stuart Bennett <sb476@cam.ac.uk> 13553Date: Mon Dec 24 02:29:54 2007 +0000 13554 13555 Two stage nv31 PLL mnp calculator and bios limits parsing 13556 13557commit c8b50bc7dc146e01ceb67ee3633b5c8958345fcd 13558Author: Stuart Bennett <sb476@cam.ac.uk> 13559Date: Sun Dec 23 03:09:26 2007 +0000 13560 13561 Single stage PLL MNP calculator 13562 13563commit 935f809f4bc9dab37e80c59007141d7b9ad673a8 13564Author: Maarten Maathuis <madman2003@gmail.com> 13565Date: Sun Dec 23 22:05:10 2007 +0100 13566 13567 Reading into the -1 index of array is a bad idea, this should fix subchannel binding issues. 13568 13569commit f357ba26b7f560cdec03f70a2c3b79b65d70172b 13570Author: Maarten Maathuis <madman2003@gmail.com> 13571Date: Sun Dec 23 15:48:24 2007 +0100 13572 13573 randr12: Add modesetting debug option (showing most register writes). 13574 13575 - Contribution of ahuillet. 13576 13577commit 95387b9779173cc3e51a7fffc60975010253b391 13578Author: Maarten Maathuis <madman2003@gmail.com> 13579Date: Sun Dec 23 15:35:24 2007 +0100 13580 13581 NV40EXA: Suport as many of the repeat types as possible + random cleanup(randr12). 13582 13583commit 8e80f7504f872166a811b6ce20663aaf97fd7181 13584Author: Arthur Huillet <arthur.huillet@free.fr> 13585Date: Sun Dec 23 13:49:24 2007 +0100 13586 13587 Revert a manifestation of my stupidity. 13588 13589commit 86a3a5fd40005a4860d11f0046444ba232db0d1e 13590Author: Arthur Huillet <arthur.huillet@free.fr> 13591Date: Sun Dec 23 13:47:08 2007 +0100 13592 13593 Xv: added an attribute to change the CRTC the overlay is on - useful with dualhead 13594 13595commit 129f04612cdbad756dbe213f77d2f12482b62c47 13596Author: Arthur Huillet <arthur.huillet@free.fr> 13597Date: Sat Dec 22 23:32:36 2007 +0100 13598 13599 aunedsoau~ 13600 13601commit 26953280895698a94c1f886cf7c0d2f389167b1c 13602Author: Maarten Maathuis <madman2003@gmail.com> 13603Date: Sun Dec 23 11:46:17 2007 +0100 13604 13605 randr12: Extend dvi clock setting to nv3x also + cleanup. 13606 13607commit 063d1bd50b164e841e3a725b75ac243827aede50 13608Author: Maarten Maathuis <madman2003@gmail.com> 13609Date: Sun Dec 23 10:46:09 2007 +0100 13610 13611 randr12: Actually load the default palette on modeset. 13612 13613commit 810901abb50a54b8f1eb73029f5348805a53531d 13614Author: Maarten Maathuis <madman2003@gmail.com> 13615Date: Sun Dec 23 10:32:18 2007 +0100 13616 13617 randr12: Simplify code a bit by using the more sane code for NV4x also. 13618 13619commit eb8441824ea2a7dc9a1d7a86a4305fae48a26a0c 13620Author: Maarten Maathuis <madman2003@gmail.com> 13621Date: Sun Dec 23 01:02:18 2007 +0100 13622 13623 Minor cleanup. 13624 13625commit 9eef67abaf8beb9ed93eb5b6ecdf7255f5b06e4c 13626Author: Maarten Maathuis <madman2003@gmail.com> 13627Date: Sun Dec 23 00:18:13 2007 +0100 13628 13629 randr12: Always enable MPLL and NVPLL on pre-NV41 cards. 13630 13631commit fa82eb23904bc1a70209778d2aafcbef6f27cfa1 13632Author: Maarten Maathuis <madman2003@gmail.com> 13633Date: Sun Dec 23 00:07:01 2007 +0100 13634 13635 randr12: Put all NV2x (and lower) cards into restricted mode. 13636 13637commit 33d7313d7dca4501b7ac2e078a87f3a10ab1b501 13638Author: Maarten Maathuis <madman2003@gmail.com> 13639Date: Sat Dec 22 23:55:19 2007 +0100 13640 13641 randr12: Correct CRTC selection for pre-NV40 cards. 13642 13643commit d6243fe33223d2934c1a819c58bb58b9ebe15c25 13644Author: Maarten Maathuis <madman2003@gmail.com> 13645Date: Sat Dec 22 23:39:51 2007 +0100 13646 13647 randr12: Older cards do have switchable CRTC's, i was again wrong. 13648 13649commit a96553544ae76239e394ab34b33814a57252d31c 13650Author: Maarten Maathuis <madman2003@gmail.com> 13651Date: Sat Dec 22 23:23:32 2007 +0100 13652 13653 randr12: Minor cleanup to clock writing for pre-NV40 cards. 13654 13655commit 9b63f42bc7da9b45ecbbd32ef81cae55d2a57220 13656Author: Arthur Huillet <arthur.huillet@free.fr> 13657Date: Sat Dec 22 18:44:36 2007 +0100 13658 13659 NV10EXA: disabled A8+A8 hack on PPC machines. 13660 13661commit 308fec0111d182fb17536ff2746e079c1af32d5a 13662Author: Ben Skeggs <skeggsb@gmail.com> 13663Date: Sat Dec 22 23:18:57 2007 +1100 13664 13665 nv30: Don't touch 0x1a4 13666 13667commit 62916c7c8c6b467436e4628c7d08a4e0de1f21f3 13668Author: Maarten Maathuis <madman2003@gmail.com> 13669Date: Sat Dec 22 12:02:31 2007 +0100 13670 13671 randr12: Undo a previous mistake for NV1x/NV2x. 13672 13673commit 6f9eb17637e2c3b8d49a07332f06a0102d2fe016 13674Author: Stuart Bennett <sb476@cam.ac.uk> 13675Date: Fri Dec 21 20:18:57 2007 +0000 13676 13677 Beginnings of PLL limits for BMP bioses 13678 13679 And the correct way to use the debug_modes member (still disabled for now) 13680 13681commit 73bc1db51e9431c5d1861d8a753aa8dd9abe9882 13682Author: Stuart Bennett <sb476@cam.ac.uk> 13683Date: Sat Dec 22 02:57:40 2007 +0000 13684 13685 On demand PLL limit parsing for NV40 13686 13687 Also some nv_bios message formatting consistancy pedantry 13688 13689commit 57b5dbfac4ff65258e94a17717815156a54cc273 13690Author: Maarten Maathuis <madman2003@gmail.com> 13691Date: Sat Dec 22 01:29:38 2007 +0100 13692 13693 NV40EXA: Fix borders of images that recieved arbitrary rotation. 13694 13695 - It was getting padded up to the edge of the smallest square that could fit the rotated image. 13696 - Please try this on older cards as well. 13697 13698commit 39ef0262be49feaed2ba1c6caeab5134181ef0b9 13699Author: Maarten Maathuis <madman2003@gmail.com> 13700Date: Sat Dec 22 01:26:44 2007 +0100 13701 13702 randr12: Some minor changes. 13703 13704commit 371b6e52bef743f14003e3783ea3dbc624050594 13705Author: Maarten Maathuis <madman2003@gmail.com> 13706Date: Fri Dec 21 18:02:33 2007 +0100 13707 13708 randr12: Restrict crtc's on nv1x and nv2x. 13709 13710 - If anyone can show a mmio-trace showing how to switch them (on cards that have a dcb table claiming they can), then please do. 13711 13712commit c2ac36927827439cf92ff53bbf2414bfaf45a6c3 13713Author: Maarten Maathuis <madman2003@gmail.com> 13714Date: Fri Dec 21 00:05:37 2007 +0100 13715 13716 randr12: Detect switchable crtc's. 13717 13718commit 33a2cf86520f42d549d03c46134b818e90d51a41 13719Author: Peter Winters <peter@whoei.org> 13720Date: Thu Dec 20 23:47:11 2007 +0100 13721 13722 NV10 EXA: use the proper variable 13723 13724commit 71c3b8ff09adcadb10d800d3696762c3ef58be3d 13725Author: Stuart Bennett <sb476@cam.ac.uk> 13726Date: Wed Dec 19 23:44:23 2007 +0000 13727 13728 randr12: fix old and new style scaling for LVDS, and use an enum for the scaling modes 13729 13730commit 6bea51b905a461b4e703053082ab45d9e1074112 13731Author: Maarten Maathuis <madman2003@gmail.com> 13732Date: Thu Dec 20 00:07:29 2007 +0100 13733 13734 randr12: Fix secondary (analog) outputs with ffs(or) != 3 on some NV4x cards. 13735 13736commit e0e04eb561f4b127087befc4e3768d8012a82bfe 13737Author: Stuart Bennett <sb476@cam.ac.uk> 13738Date: Wed Dec 19 04:29:34 2007 +0000 13739 13740 randr12: don't use invalid crtc pointer for lvds dpms 13741 13742commit a68ac97979a3178ea210470bbb3d64f3f9325e07 13743Author: Stuart Bennett <sb476@cam.ac.uk> 13744Date: Wed Dec 19 04:00:14 2007 +0000 13745 13746 Turn LVDS panel on again, after resetting, when we're shutting down 13747 13748commit 1cfd659fc1a5f8dc2faba30155fca46bbe31f3a4 13749Author: Stuart Bennett <sb476@cam.ac.uk> 13750Date: Tue Dec 18 16:58:57 2007 +0000 13751 13752 minor link_head_and_output cleanup 13753 13754commit 73a5d09b3e9fa13d04d6696ca38b6402795acc3d 13755Author: Stuart Bennett <sb476@cam.ac.uk> 13756Date: Wed Dec 19 03:43:59 2007 +0000 13757 13758 randr12: CRTC member wasn't big enough 13759 13760 yay gcc. could fix console colour breakage 13761 13762commit 0a63198195f689b32388b99db61ff942e16fbc6d 13763Author: Maarten Maathuis <madman2003@gmail.com> 13764Date: Tue Dec 18 23:43:57 2007 +0100 13765 13766 NV10EXA: Fix rotation. 13767 13768commit f2a3807618cfeac01d7d28e9d76721ad61495f7f 13769Author: Maarten Maathuis <madman2003@gmail.com> 13770Date: Tue Dec 18 23:23:59 2007 +0100 13771 13772 randr12: Add new pll calculation for NV4x cards (from NVClock). 13773 13774commit ebf96c8b651d1a0dc5a19576cf57efcbb989d51d 13775Author: Maarten Maathuis <madman2003@gmail.com> 13776Date: Tue Dec 18 21:38:56 2007 +0100 13777 13778 randr12: Hopefully reset outputs better between mode changes. 13779 13780commit 5561f54f94e0b31394ecaf461e342470ca768281 13781Author: Maarten Maathuis <madman2003@gmail.com> 13782Date: Tue Dec 18 07:49:05 2007 +0100 13783 13784 Some endianess fixes for the previously committed code. 13785 13786commit 11104ce9c499f30fb5abe29e65ba1918c563f4cd 13787Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13788Date: Tue Dec 18 07:40:08 2007 +0100 13789 13790 Rename NV30TCL to NV34TCL in preparation of the merge. 13791 13792commit 3e6ea7af5b1613b9e0e4e29433910d998def4899 13793Author: Maarten Maathuis <madman2003@gmail.com> 13794Date: Mon Dec 17 23:13:12 2007 +0100 13795 13796 Add pll limits bios detection code for NV4x cards. 13797 13798commit e56512d283f401a75c6165a0a02e8a7a5905fc4c 13799Author: Maarten Maathuis <madman2003@gmail.com> 13800Date: Mon Dec 17 19:45:42 2007 +0100 13801 13802 NV30EXA: Fix rotation. 13803 13804commit 9ff42b7a83da06a3b9b7076ca888ea447eaa16f3 13805Author: Maarten Maathuis <madman2003@gmail.com> 13806Date: Mon Dec 17 17:50:11 2007 +0100 13807 13808 randr12: Fixes + cleanup. 13809 13810commit 83d99bc3e15d11d3476c54053f6bbe0ff9f094be 13811Author: Maarten Maathuis <madman2003@gmail.com> 13812Date: Mon Dec 17 00:40:24 2007 +0100 13813 13814 randr12: Some minor additions. 13815 13816commit 60c08fedec09dd036b4165881b3001874c4d349a 13817Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13818Date: Sun Dec 16 23:40:26 2007 +0100 13819 13820 nv30 exa : handle gart case. 13821 13822commit efb10849e136048c9c49cce752d4073402219c8c 13823Author: Maarten Maathuis <madman2003@gmail.com> 13824Date: Sun Dec 16 23:26:49 2007 +0100 13825 13826 Undo a bad change. 13827 13828commit dd8beae22883822ea3555122b0352d4e3cf2c266 13829Author: Maarten Maathuis <madman2003@gmail.com> 13830Date: Sun Dec 16 21:35:18 2007 +0100 13831 13832 A little more cleanup. 13833 13834commit 9ff169ba62dcb2eeefce8a020060de731b72cb6c 13835Author: Maarten Maathuis <madman2003@gmail.com> 13836Date: Sun Dec 16 21:32:32 2007 +0100 13837 13838 More cleanup. 13839 13840commit 2d03d4b999a0a37ff2f9fc87bd20959e789a152e 13841Author: Maarten Maathuis <madman2003@gmail.com> 13842Date: Sun Dec 16 21:19:13 2007 +0100 13843 13844 randr12: Select sensible maximum heights and widths for framebuffer. 13845 13846commit 0e47fa4ab35e529926f5fdccdb44f9d054e1886a 13847Author: Maarten Maathuis <madman2003@gmail.com> 13848Date: Sun Dec 16 21:17:04 2007 +0100 13849 13850 Some reindenting and minor cleanups. 13851 13852commit 2be4b73905dc5767e593bf4753607144fe67b7ab 13853Author: Maarten Maathuis <madman2003@gmail.com> 13854Date: Sun Dec 16 20:24:26 2007 +0100 13855 13856 Some cleanup. 13857 13858commit 6686adbea6638dd894eef697e044941352cc2674 13859Author: Maarten Maathuis <madman2003@gmail.com> 13860Date: Sun Dec 16 20:10:39 2007 +0100 13861 13862 randr12: Restrict digital outputs with ffs(or) == 1 to primary crtc + some cleanup. 13863 13864 - The blob does not reveal what the possible way is (so far), and guesswork didn't help either. 13865 13866commit 9c8da2f562ca571a56224d7fecfb9c3fb3a8d3d0 13867Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13868Date: Sun Dec 16 18:33:52 2007 +0100 13869 13870 And of course, that comment has to go. 13871 13872commit 02e9a01064930a7081569474be9544fa1f20a0f4 13873Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13874Date: Sun Dec 16 18:32:52 2007 +0100 13875 13876 Fix front buffer alignment issues (probably needed because of tiling). 13877 13878commit b134b8f1552066b6706521a9c85d9241d99b3ccc 13879Author: Maarten Maathuis <madman2003@gmail.com> 13880Date: Sun Dec 16 13:41:38 2007 +0100 13881 13882 randr12: Fix compile error. 13883 13884commit ec0c9cc9a69c00a960e98e796c00d35d996cf360 13885Author: Maarten Maathuis <madman2003@gmail.com> 13886Date: Sun Dec 16 12:55:29 2007 +0100 13887 13888 randr12: A minor change to OUTPUT register. 13889 13890commit 69782a57285bb53df73c7f45d29882ae990f6054 13891Author: Patrice Mandin <pmandin@caramail.com> 13892Date: Sun Dec 16 00:09:45 2007 +0100 13893 13894 nv30: revert viewport clip change, add myself, add unknown command 0x2b8 (viewport origin?) 13895 13896commit 8dd238f3ce2e7eda7151670ea50a75abdb5b6217 13897Author: Maarten Maathuis <madman2003@gmail.com> 13898Date: Sat Dec 15 23:49:58 2007 +0100 13899 13900 randr12: Some minor changes. 13901 13902commit 08a50d878571f7c9579b15703a08c5c2e52924f2 13903Author: Maarten Maathuis <madman2003@gmail.com> 13904Date: Sat Dec 15 19:54:11 2007 +0100 13905 13906 randr12: Some minor reordering of load/save functions + don't lock crtc when leaving X. 13907 13908commit 4209c06800b97e98261c10e0a625a68f7352ca6c 13909Author: Maarten Maathuis <madman2003@gmail.com> 13910Date: Sat Dec 15 14:48:04 2007 +0100 13911 13912 randr12: Also support accelerated rotation on older xservers (and default code). 13913 13914commit 933b40a2911486a78615984fb17e9ea6757fcfa8 13915Author: Ben Skeggs <skeggsb@gmail.com> 13916Date: Sat Dec 15 23:45:03 2007 +1100 13917 13918 nv40: just for stillunknown... 13919 13920 Fix composite transforms. This is getting to a point where it may be 13921 worth doing this in the vertex program perhaps. For now this works, 13922 it'll do. 13923 13924commit 7212400070264e27a53564a7f5fc95dd9c99f82e 13925Author: Ben Skeggs <skeggsb@gmail.com> 13926Date: Sat Dec 15 23:44:17 2007 +1100 13927 13928 Revert "NV40EXA: Fix composite rotation." 13929 13930 This reverts commit 02d4538b207cf318737ace8c3d8ded76a54e5886. 13931 13932commit 1a622257687a499ce74b3a608618d957784dccf0 13933Author: Maarten Maathuis <madman2003@gmail.com> 13934Date: Sat Dec 15 13:39:23 2007 +0100 13935 13936 randr12: Avoid a vram/memory leak in some situations. 13937 13938commit 02d4538b207cf318737ace8c3d8ded76a54e5886 13939Author: Maarten Maathuis <madman2003@gmail.com> 13940Date: Sat Dec 15 13:35:45 2007 +0100 13941 13942 NV40EXA: Fix composite rotation. 13943 13944 - Thanks to radeon (code) for inspiration and sample code. 13945 13946commit 77d47348dfe01ca3972a683d3c478f910301e910 13947Author: Maarten Maathuis <madman2003@gmail.com> 13948Date: Sat Dec 15 12:02:36 2007 +0100 13949 13950 randr12: Add some ifdefs to make compiling better on older xserver's. 13951 13952commit dbb7efc5b81145ad61d8e6502b918a1e909f3cfb 13953Author: Patrice Mandin <pmandin@caramail.com> 13954Date: Sat Dec 15 11:44:41 2007 +0100 13955 13956 nv30: need to set default depth range 13957 13958commit 6ab8436df0865aab7f12cd8527600353b4728df7 13959Author: Patrice Mandin <pmandin@caramail.com> 13960Date: Sat Dec 15 11:37:43 2007 +0100 13961 13962 nv30: only 4 texture units 13963 13964commit 370d97a4578528c26c3f1546a9522caf40aa2151 13965Author: Patrice Mandin <pmandin@caramail.com> 13966Date: Sat Dec 15 10:34:26 2007 +0100 13967 13968 nv30: fix viewport clipping setup 13969 13970commit 1190d046dfef97dea04d72c993f90a203d81d86c 13971Author: Maarten Maathuis <madman2003@gmail.com> 13972Date: Sat Dec 15 02:00:37 2007 +0100 13973 13974 Fix ugly bug, that creeped in. 13975 13976commit 46f321985ae57457edcedf80f82ba23e53fd9cd2 13977Author: Maarten Maathuis <madman2003@gmail.com> 13978Date: Sat Dec 15 01:44:59 2007 +0100 13979 13980 randr12: Preliminary support for rotation, please read notes. 13981 13982 - It works, but it's slow, very slow. 13983 - Each crtc now has it's own cursor map (fixing the bugs you never saw). 13984 - Dualhead with one rotated screen may show minor corruption near the edges, this will disappear if a fullscreen app opens. 13985 - Acceleration is possible, BUT: 13986 - You need a git xserver. 13987 - Enable NOUVEAU_EXA_PIXMAPS in nouveau_local.h (*maybe* this will become default later). 13988 - Most of the composite hooks have problems with rotation, so left and right won't work, inverted does work for me. 13989 - So please fix the composite hooks ;-) 13990 - Note: No slowdowns are apparent when using proper acceleration. 13991 13992commit 0f07ec3f681b87762fbe7328f47b628711bdbaae 13993Author: Stuart Bennett <sb476@cam.ac.uk> 13994Date: Sat Dec 15 00:01:04 2007 +0000 13995 13996 Better restoration of TMDS regs on LVDS 13997 13998commit 34be8d005fbfff373cc7fe52ca2fa09f5cd5ef00 13999Author: Maarten Maathuis <madman2003@gmail.com> 14000Date: Fri Dec 14 23:58:25 2007 +0100 14001 14002 randr12: It seems DVI on laptops wasn't as strange after all. 14003 14004commit d678932a1818c5c5f4a4f3097992626ce9620c0e 14005Author: Stuart Bennett <sb476@cam.ac.uk> 14006Date: Fri Dec 14 01:40:14 2007 +0000 14007 14008 INIT_COPY_NV_REG and INIT_ZM_REG_GROUP_ADDRESS_LATCHED opcodes 14009 14010 Thanks to RAOF for the trace with these 14011 14012 Also correct a doc oopsy, and a bunch of superfluous whitespace 14013 14014commit 5b9dc7ad6eb2f16c4ca8824c2a19c85bbe1f126b 14015Author: Stuart Bennett <sb476@cam.ac.uk> 14016Date: Thu Dec 13 02:30:06 2007 +0000 14017 14018 Invert 18/24 bit interface flag, so that the default value (0) does not imply dithering 14019 14020commit a878b48c7b5a7aafac9aaa877706f5c7570d3057 14021Author: Stuart Bennett <sb476@cam.ac.uk> 14022Date: Thu Dec 13 01:10:12 2007 +0000 14023 14024 Name bios opcodes 4f and 50 14025 14026 Extrapolating from previous names, but marked as non canon 14027 14028commit 59b46e695b1badbf00f2c03bc78ce58f6887f739 14029Author: Stuart Bennett <sb476@cam.ac.uk> 14030Date: Thu Dec 13 01:03:25 2007 +0000 14031 14032 Get VBIOS from pNv (cleanup) 14033 14034 And a minor doc correction 14035 14036commit c45930d0819668612547b4bf1a8d963bfe40e38b 14037Author: Stuart Bennett <sb476@cam.ac.uk> 14038Date: Thu Dec 13 00:15:21 2007 +0000 14039 14040 randr12: some minor cleanups, no actual changes 14041 14042commit 0e778b2d6970f761e5c0b5eb3054e91589cd2c46 14043Author: Stuart Bennett <sb476@cam.ac.uk> 14044Date: Wed Dec 12 15:54:53 2007 +0000 14045 14046 Setup NV40 LVDS 14047 14048commit 269d83cb46075971fd8dc5402589d4da3eb92f22 14049Author: Stuart Bennett <sb476@cam.ac.uk> 14050Date: Wed Dec 12 22:20:43 2007 +0000 14051 14052 INIT_CONDITION_TIME opcode 14053 14054commit 9b3072d195aae383a993526b3ab4350c500c4277 14055Author: Stuart Bennett <sb476@cam.ac.uk> 14056Date: Wed Dec 12 18:08:07 2007 +0000 14057 14058 Opcode 4F 14059 14060commit 8ee100ced7da347904e45ce590350d7b7c47ed36 14061Author: Stuart Bennett <sb476@cam.ac.uk> 14062Date: Mon Dec 10 22:50:40 2007 +0000 14063 14064 FP BIOS mode finding for nv40 14065 14066commit 9131985f5c359bdb077eb52649369a5c06831544 14067Author: Stuart Bennett <sb476@cam.ac.uk> 14068Date: Tue Dec 11 23:23:27 2007 +0000 14069 14070 CR57 doc addition 14071 14072commit d595eb86790432f6a75dec3388080ffc9ffff8d8 14073Author: Maarten Maathuis <madman2003@gmail.com> 14074Date: Wed Dec 12 22:12:33 2007 +0100 14075 14076 randr12: A good guess at the lower bits of SEL_CLK (i hope ;-)). 14077 14078commit c5bc9899c218abe801e024919c89896e8183dff2 14079Author: Maarten Maathuis <madman2003@gmail.com> 14080Date: Wed Dec 12 21:03:34 2007 +0100 14081 14082 randr12: Add some extra safeties (to mode checking). 14083 14084commit 43c05d306485eb5d8c8b9b39f9bd4a3f470f20a2 14085Author: Maarten Maathuis <madman2003@gmail.com> 14086Date: Tue Dec 11 21:43:02 2007 +0100 14087 14088 randr12: Enable dithering on lvds when needed. 14089 14090commit 8752f18d27a6095485e36f4fb20e9252f27a1e1b 14091Author: Maarten Maathuis <madman2003@gmail.com> 14092Date: Tue Dec 11 20:22:23 2007 +0100 14093 14094 randr12: SEL_CLK attempt 10, return to simplicity, which may actually work ;-) 14095 14096commit c1227d3a2b9194d50a4274a48fa0b3bcf2628e36 14097Author: Maarten Maathuis <madman2003@gmail.com> 14098Date: Tue Dec 11 17:52:39 2007 +0100 14099 14100 randr12: (mostly) Some fixes for NV40. 14101 14102 - The NV40 is a strange card, as it partially behaves like an NV3x. 14103 14104commit 34d9e971e17e763aee96b823bb34da54a281339c 14105Author: Maarten Maathuis <madman2003@gmail.com> 14106Date: Tue Dec 11 11:50:28 2007 +0100 14107 14108 randr12: Fix SEL_CLK assignment again (for non-mobile cards) + fix crosswiring. 14109 14110 - I made a good guess for mobile cards, but i need more mmio-traces. 14111 - I accidentally broke crosswiring for my card (and other's like it). 14112 14113commit bf28c3e7d9976f8695198a938397f001de62836b 14114Author: Maarten Maathuis <madman2003@gmail.com> 14115Date: Tue Dec 11 00:04:38 2007 +0100 14116 14117 randr12: Fix an earlier mistake, make a decent guess about dvi on laptops. 14118 14119 - I could use some more mmiotraces of LVDS+DVI on NV4x. 14120 14121commit 58531ebd4a72368b13d3c1564110ef85fb6d6644 14122Author: Maarten Maathuis <madman2003@gmail.com> 14123Date: Mon Dec 10 20:43:26 2007 +0100 14124 14125 randr12: Improve crosswiring for digital outputs + minor changes and cleanup. 14126 14127commit a388cc5fe21f8692e8ee1dbd71caea88ea2ca5df 14128Author: Maarten Maathuis <madman2003@gmail.com> 14129Date: Mon Dec 10 16:31:47 2007 +0100 14130 14131 randr12: Properly set SEL_CLK based on bus, not based on output. 14132 14133 - This hopefully fixes non-working dvi on some desktop cards and on mobile cards. 14134 14135commit f96a6c2d5d251af560de673ccd91b88b3f5cc535 14136Author: Maarten Maathuis <madman2003@gmail.com> 14137Date: Mon Dec 10 00:03:49 2007 +0100 14138 14139 randr12: Add config option for scaling mode. 14140 14141commit fc73ddad60c551289629be5f2f87b39e26f42674 14142Author: Maarten Maathuis <madman2003@gmail.com> 14143Date: Sun Dec 9 22:46:39 2007 +0100 14144 14145 randr12: Some cleanup. 14146 14147commit 2543e301402b04ae94f349e21a7760beb6f5bdc6 14148Author: Stuart Bennett <sb476@cam.ac.uk> 14149Date: Sun Dec 9 19:58:58 2007 +0000 14150 14151 Bios register write function special case and some INIT_RESET improvements 14152 14153 nv32_wr weirdness only seen on NV40+, but it shouldn't hurt for earlier cards 14154 14155commit 4408ce8d2f902a9ace550a045e6022df2936fbce 14156Author: Stuart Bennett <sb476@cam.ac.uk> 14157Date: Sun Dec 9 17:09:03 2007 +0000 14158 14159 Some renaming for bios indexed port io 14160 14161commit 9eb4294e3f5814f675b403078761bf002540868b 14162Author: Maarten Maathuis <madman2003@gmail.com> 14163Date: Sun Dec 9 18:36:26 2007 +0100 14164 14165 randr12: Revert dither value to that used by nv. 14166 14167commit cfbe4bdef7f4ba958462743dc28bf253b456c1a3 14168Author: Maarten Maathuis <madman2003@gmail.com> 14169Date: Sun Dec 9 18:34:10 2007 +0100 14170 14171 randr12: Set FP_CONTROL correctly for NV2x cards. 14172 14173commit d5dd3afc50e491689f765a5e6a72892efa1768a3 14174Author: Maarten Maathuis <madman2003@gmail.com> 14175Date: Sun Dec 9 18:10:29 2007 +0100 14176 14177 randr12: Improve output selection. 14178 14179 - Now detect if there is a dual link capable output at all. 14180 - NV2x cards can't switch crtc on analog outputs. 14181 14182commit fda83a3c489469d2bb4cbd20c205016b19dfdec5 14183Author: Stuart Bennett <sb476@cam.ac.uk> 14184Date: Sun Dec 9 15:51:02 2007 +0000 14185 14186 Additional LVDS bios script sanity check 14187 14188 Avoids current incorrect situation when LVDS attempted on NV40 14189 14190commit 9932e36d4cf2988d1f6f40d615cd247acc21b592 14191Author: Maarten Maathuis <madman2003@gmail.com> 14192Date: Sun Dec 9 16:29:14 2007 +0100 14193 14194 randr12: Fix minor (potentional) bug. 14195 14196commit 3f83d7308f3b0aca4943262b0ba2715a32b61d58 14197Author: Maarten Maathuis <madman2003@gmail.com> 14198Date: Sun Dec 9 12:47:55 2007 +0100 14199 14200 randr12: Add noscale mode and some misc fixes. 14201 14202commit d688008b38609814de9c5c36a2c8bc569455d14e 14203Author: Maarten Maathuis <madman2003@gmail.com> 14204Date: Sat Dec 8 18:34:04 2007 +0100 14205 14206 randr12: Fix typo, it's "our" not "or". 14207 14208commit 0f7c018af0c7f929c2bf8efb12c510d6e3170885 14209Author: Maarten Maathuis <madman2003@gmail.com> 14210Date: Sat Dec 8 18:25:41 2007 +0100 14211 14212 randr12: Assuming an output always has a crtc is a bad idea. 14213 14214 - Don't rely on current crtc to restore mode. 14215 14216commit 86f248cc2e52de652b1768e15a4ba62eefefd81c 14217Author: Maarten Maathuis <madman2003@gmail.com> 14218Date: Sat Dec 8 16:49:21 2007 +0100 14219 14220 randr12: Avoid that two outputs have the same clock selected. 14221 14222commit 6be67d6cf0f047ceba0aa62989dc44bb58b0db87 14223Author: Maarten Maathuis <madman2003@gmail.com> 14224Date: Sat Dec 8 15:50:39 2007 +0100 14225 14226 randr12: Fix bug in sel_clk assignment. 14227 14228commit ddfec2f1c749af227dd57dbde6751320ba72adb6 14229Author: Stuart Bennett <sb476@cam.ac.uk> 14230Date: Sat Dec 8 02:18:41 2007 +0000 14231 14232 Base error :) 14233 14234commit dff95ae101f701d737c8d2134181693f36178beb 14235Author: Stuart Bennett <sb476@cam.ac.uk> 14236Date: Fri Dec 7 16:56:26 2007 +0000 14237 14238 Fix failure to cope with varying table lengths 14239 14240commit 10731d2a8fe06fa8675c26d201615c2a019de737 14241Author: Stuart Bennett <sb476@cam.ac.uk> 14242Date: Fri Dec 7 02:54:36 2007 +0000 14243 14244 Add a new valid register range, which appears in some gf7 biosen. 14245 14246 NVClock has it down as appearing in gf8 as a new PBUS range, 14247 but the use on gf7 looks PBUS-like too 14248 14249commit b25049233613eff99d767a8ec0c97b5140088213 14250Author: Stuart Bennett <sb476@cam.ac.uk> 14251Date: Fri Dec 7 03:13:52 2007 +0000 14252 14253 Some more bios script opcodes 14254 14255 Thanks to swany for the trace for these 14256 14257commit 6da4923088e8ca1d2de464030205b41d893e65b3 14258Author: Stuart Bennett <sb476@cam.ac.uk> 14259Date: Fri Dec 7 02:17:37 2007 +0000 14260 14261 Some M table parsing, and defer I table execution 14262 14263commit 7e5e477b67279e00d1e56736f9c953972bda4dec 14264Author: Stuart Bennett <sb476@cam.ac.uk> 14265Date: Fri Dec 7 00:18:25 2007 +0000 14266 14267 Improve TMDS04 setting for LVDS 14268 14269commit dd757910f546a97bb42dbefdc7eae058980b1ffb 14270Author: Stuart Bennett <sb476@cam.ac.uk> 14271Date: Thu Dec 6 23:37:01 2007 +0000 14272 14273 TMDS regs setting for pre NV40 14274 14275commit 38f139d473eb3201daaac47e655516f65c7528a6 14276Author: Stuart Bennett <sb476@cam.ac.uk> 14277Date: Fri Dec 7 00:30:14 2007 +0000 14278 14279 BIOS version parsing 14280 14281commit 20b6be6c95a71a41456c4c9b5cb1a1e0238f2e70 14282Author: Stuart Bennett <sb476@cam.ac.uk> 14283Date: Thu Dec 6 17:01:49 2007 +0000 14284 14285 Refactor BIT specific details out of TMDS setting 14286 14287commit f665b4737f1fbbd5e4a6495b561e723f17bc6137 14288Author: Stuart Bennett <sb476@cam.ac.uk> 14289Date: Thu Dec 6 18:48:04 2007 +0000 14290 14291 The 'T' table is clearly a TMDS table, call it as such 14292 14293commit 3759cc9d602b0cd933a0ee7e6f64626822383e19 14294Author: Stuart Bennett <sb476@cam.ac.uk> 14295Date: Thu Dec 6 05:03:49 2007 +0000 14296 14297 The TMDS scripts being non-stubs does not seem to matter - they're still not executed 14298 14299 Message left as log clutter in case there's some future case of broken TMDS when the scripts might be useful 14300 14301commit d6e896dac1018fc3190a5a5283a405c4b031d1ba 14302Author: Stuart Bennett <sb476@cam.ac.uk> 14303Date: Thu Dec 6 04:14:56 2007 +0000 14304 14305 Test for LVDS_INIT script 14306 14307commit c50bc602861fdcdb238e1a4db1146b4870ce83ba 14308Author: Maarten Maathuis <madman2003@gmail.com> 14309Date: Thu Dec 6 21:48:13 2007 +0100 14310 14311 randr12: Small fix for dual link dvi. 14312 14313commit 457d4217624cc73df22ca7f7db0134c54ebac5e5 14314Author: Maarten Maathuis <madman2003@gmail.com> 14315Date: Thu Dec 6 19:54:08 2007 +0100 14316 14317 randr12: Improve compatibility with DCB 2.0 14318 14319commit 5046cb7b3d1af89b72327660932ae06c06d0869b 14320Author: Stuart Bennett <sb476@cam.ac.uk> 14321Date: Thu Dec 6 02:28:18 2007 +0000 14322 14323 randr12: oops, lost the restore case 14324 14325commit 54c7bdf0f3e53c23c0853eac8243407d280d0732 14326Author: Stuart Bennett <sb476@cam.ac.uk> 14327Date: Thu Dec 6 01:54:45 2007 +0000 14328 14329 randr12: a common function to fix TMDS04, and new use of LVDS_RESET 14330 14331 Plus some corrections/additions to call_lvds_script, and a minor CR5758 doc update 14332 14333commit a7811521ed5d227a18af23e2e761ea39fb7eb86f 14334Author: Maarten Maathuis <madman2003@gmail.com> 14335Date: Thu Dec 6 00:28:49 2007 +0100 14336 14337 randr12: Fix comment. 14338 14339commit 4771b4bd4b30f404fb087dd1fd6eac0e12fdd041 14340Author: Maarten Maathuis <madman2003@gmail.com> 14341Date: Thu Dec 6 00:25:48 2007 +0100 14342 14343 randr12: Some assorted fixes, which hopefully improve things for dual link dvi. 14344 14345commit 4d3a015631a0d95392daeec6fd8e99c65c83cb53 14346Author: Maarten Maathuis <madman2003@gmail.com> 14347Date: Wed Dec 5 20:41:27 2007 +0100 14348 14349 randr12: replace preferred_ramdac with preferred_output. 14350 14351commit d3036012db63f9a386d4c1fd8e624b86bcd6c48b 14352Author: Maarten Maathuis <madman2003@gmail.com> 14353Date: Wed Dec 5 20:27:57 2007 +0100 14354 14355 randr12: Clean up the unneeded ramdac variable. 14356 14357commit 37f3a06be4f50c34ee8b82617e5e6eca3a4d66fe 14358Author: Maarten Maathuis <madman2003@gmail.com> 14359Date: Wed Dec 5 19:03:52 2007 +0100 14360 14361 randr12: Pick right register set, to correctly "guess" the bios/VT clock. 14362 14363 - A wrong register set leads to improper detection of crosswiring, thus selecting the wrong clock. 14364 - I noticed a 0.675 MHz difference in the clock (which is vpll2), when instead i should have had vpll1. 14365 14366commit b843dbddbd496ab7d374018e6e05ac1a05ea00e2 14367Author: Maarten Maathuis <madman2003@gmail.com> 14368Date: Wed Dec 5 16:51:04 2007 +0100 14369 14370 randr12: Small fix. 14371 14372commit 4b049994f32058e380543cee81b1d0b76658ea9e 14373Author: Maarten Maathuis <madman2003@gmail.com> 14374Date: Wed Dec 5 16:47:07 2007 +0100 14375 14376 randr12: Final commit, restore TMDS regs before everything else. 14377 14378 - Use the bios to program the tmds registers. 14379 - Restore TMDS registers in nv_crtc_restore, to make sure it's early enough (see code note). 14380 - It works for me, let me know if it breaks stuff ;-) 14381 14382commit 6ff8c1cb2014c7984503a8481cf6ad4f9cccf79a 14383Author: Maarten Maathuis <madman2003@gmail.com> 14384Date: Wed Dec 5 07:57:30 2007 +0100 14385 14386 randr12: Intermediate bios based flat panel init commit, still a few minor issues. 14387 14388commit c14c7deb725c2509c804bae72faa584109f3021c 14389Author: Stuart Bennett <sb476@cam.ac.uk> 14390Date: Wed Dec 5 00:35:35 2007 +0000 14391 14392 Add LVDS script function, and use it for DPMS 14393 14394commit c587731d08bbfd58ff5c2725b7aed4e6477e9f7f 14395Author: Stuart Bennett <sb476@cam.ac.uk> 14396Date: Wed Dec 5 00:22:22 2007 +0000 14397 14398 Parse the LVDS Manufacturer table 14399 14400 Use dual link flag to set bit 31 of FP_CONTROL properly 14401 14402commit affcf6988f1af2c3ea8c47a2f1fdf608cbafcfce 14403Author: Stuart Bennett <sb476@cam.ac.uk> 14404Date: Tue Dec 4 20:31:06 2007 +0000 14405 14406 Modify DCB dual link flag, and DCB config parsing for LVDS 14407 14408 The DCB duallink flag indicates that this setup may be used for duallink; 14409 it obviously can't know whether a duallink display is plugged or not 14410 14411 Use LVDS DCB conf flags for mode detection / selection 14412 14413commit c822e32d95a7afa3d5ef076f97179a1843835f12 14414Author: Maarten Maathuis <madman2003@gmail.com> 14415Date: Tue Dec 4 09:06:10 2007 +0100 14416 14417 randr12: Add fullscreen gpu scaling (only as randr property for the moment). 14418 14419commit a1054c7bef3594f6876d611dde1cf3f0528fb8e1 14420Author: Stuart Bennett <sb476@cam.ac.uk> 14421Date: Tue Dec 4 01:31:24 2007 +0000 14422 14423 Better T table stuff. 14424 14425 Hopefully now usable by calling parse_t_table(...) at the appropriate place 14426 14427 Also collapse some messages, and add an array bound check 14428 14429commit edb9a59ac8d3b16cccd52bde24606c43ae7d36d0 14430Author: Stuart Bennett <sb476@cam.ac.uk> 14431Date: Tue Dec 4 01:40:37 2007 +0000 14432 14433 Allow BIOS execution at runtime, if wanted 14434 14435 And comment the opcodes I haven't double checked yet 14436 14437commit 82fdd3f76e20fc7dd10fcf00cf1c13520dc56364 14438Author: Stuart Bennett <sb476@cam.ac.uk> 14439Date: Tue Dec 4 01:31:24 2007 +0000 14440 14441 Make the bios a bit more accessible 14442 14443 And make a few things use the new structure 14444 14445commit d15bfdfb7e09dce85c3817036ced9efa6ac4522c 14446Author: Stuart Bennett <sb476@cam.ac.uk> 14447Date: Tue Dec 4 00:00:40 2007 +0000 14448 14449 randr12: set CR58 appropriately for 0 and 2 cases 14450 14451commit 02a4f498d903bda55ac38a6e19b1beca0d128e8a 14452Author: Stuart Bennett <sb476@cam.ac.uk> 14453Date: Mon Dec 3 23:35:01 2007 +0000 14454 14455 randr12: refactor dcb usage 14456 14457 heads is also a better name than head 14458 14459commit 1571f81210b48407c9d20264437406d79dfcc784 14460Author: Stuart Bennett <sb476@cam.ac.uk> 14461Date: Mon Dec 3 22:26:33 2007 +0000 14462 14463 randr12: some code economy 14464 14465 Only addition is adding call to output2->funcs->commit when stealing a ramdac, 14466 no logical changes otherwise AFAICT 14467 14468commit 7debf566c7a88258ac8ca925d7138187c1ed8755 14469Author: Stuart Bennett <sb476@cam.ac.uk> 14470Date: Tue Dec 4 00:06:05 2007 +0000 14471 14472 randr12: Improve CR57 and CR58 infrastructure and saving/restoration 14473 14474commit dab828c4793fd7e48e4d8e1d7f8d0a2f8198484c 14475Author: Maarten Maathuis <madman2003@gmail.com> 14476Date: Mon Dec 3 20:55:26 2007 +0100 14477 14478 randr12: A few minor comment changes. 14479 14480commit d959d880b6808adc153c752ea01f3a228879fe3c 14481Author: Maarten Maathuis <madman2003@gmail.com> 14482Date: Mon Dec 3 20:51:16 2007 +0100 14483 14484 randr12: Select CRTC 1 on pre-nv40 (stupid bug) + initial support choosing scaling method on tmds. 14485 14486 - The output property SCALING_MODE accepts "gpu" and "panel". 14487 - The first obeys aspect ratio, the second always goes fullscreen. 14488 - This is just a first attemp at exposing an output property. 14489 14490commit 1d2ea797704d55f63cfe8c00cc000a6b13f1093d 14491Author: Maarten Maathuis <madman2003@gmail.com> 14492Date: Sun Dec 2 22:10:56 2007 +0100 14493 14494 Show the id's of unknown bit structures in the bios. 14495 14496commit fc98b11eb70f1dd7dfb4e7c6eb8d888dfebdc890 14497Author: Maarten Maathuis <madman2003@gmail.com> 14498Date: Sun Dec 2 12:02:08 2007 +0100 14499 14500 randr12: dual-dvi cards need extra consideration. 14501 14502commit 2beece0c634c2c60996da1f1d15b24c5f231a6be 14503Author: Stuart Bennett <sb476@cam.ac.uk> 14504Date: Sun Dec 2 02:33:57 2007 +0000 14505 14506 Fix endian bug on BIT biosen 14507 14508commit d3563cccb43355927d4ba355bc31a957ea01587f 14509Author: Stuart Bennett <sb476@cam.ac.uk> 14510Date: Sun Dec 2 02:14:32 2007 +0000 14511 14512 Don't use PROM if the checksum is bad 14513 14514commit 4097af9bad85031fa1da9c3d21b084f587412604 14515Author: Stuart Bennett <sb476@cam.ac.uk> 14516Date: Sat Dec 1 09:55:31 2007 +0000 14517 14518 randr12: print "or" _pre_ ffs-ing 14519 14520commit a8faa53355f9ba3851f47e290c821bc1b9a03e85 14521Author: Stuart Bennett <sb476@cam.ac.uk> 14522Date: Sat Dec 1 09:53:05 2007 +0000 14523 14524 DCB parsed flag for duallink outputs 14525 14526 Light on proof, strong on suspicion with this one 14527 14528commit 63fc1ab4ce597a2f542c9bb7d3edae67551bda29 14529Author: Maarten Maathuis <madman2003@gmail.com> 14530Date: Sun Dec 2 02:08:20 2007 +0100 14531 14532 randr12: Always use vpll2_true on nv4x cards. 14533 14534commit 97a99c42fb24320177bdae884c4c710c5a25ce4f 14535Author: Maarten Maathuis <madman2003@gmail.com> 14536Date: Sun Dec 2 01:48:01 2007 +0100 14537 14538 randr12: A safer bet for TMDS register 0x2e. 14539 14540commit 3358f4eec53845cf90b9f9ef1f2a70c231bac588 14541Author: Maarten Maathuis <madman2003@gmail.com> 14542Date: Sun Dec 2 01:34:49 2007 +0100 14543 14544 randr12: Remove preferred_crtc, since it's probably incorrect. 14545 14546commit 5994655925173a4e8b1c0ac902f7dc6e1ffe64f1 14547Author: Maarten Maathuis <madman2003@gmail.com> 14548Date: Sun Dec 2 01:08:41 2007 +0100 14549 14550 randr12: Improve output register setting. 14551 14552commit df8d6848a004e724e92c3dd63fc608198c7bd940 14553Author: Maarten Maathuis <madman2003@gmail.com> 14554Date: Sat Dec 1 18:40:46 2007 +0100 14555 14556 randr12: Fix up some dvi related issues, thanks to MighMoS. 14557 14558commit 84cc907beffd9e8f91c4333a6db919ee2efa2740 14559Author: Maarten Maathuis <madman2003@gmail.com> 14560Date: Sat Dec 1 11:23:50 2007 +0100 14561 14562 randr12: Fix NV4x dvi clock selection, mostly affects G70 cards. 14563 14564commit c97ad9850da89b1898f125df1796bb1d00d124bb 14565Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14566Date: Sat Dec 1 10:33:53 2007 +0100 14567 14568 Make the debug variable global to all DMA calls. 14569 14570commit 19d75f5018fd442920378a5083dbe1316cc6f62b 14571Author: Stuart Bennett <sb476@cam.ac.uk> 14572Date: Sat Dec 1 06:29:09 2007 +0000 14573 14574 The BIT bios T table. 14575 14576 T might stand for TMDS. 14577 Parsing once on start may not be the correct answer, could be a runtime thing 14578 14579commit 42a02513a1db7ada586dcaa2eaa5b68e97d67892 14580Author: Stuart Bennett <sb476@cam.ac.uk> 14581Date: Sat Dec 1 06:37:17 2007 +0000 14582 14583 Bump DCB table init so that INIT_50 can use it 14584 14585commit ddc4b0946dfd567fc0ea136db0d8b695c28bc3a2 14586Author: Stuart Bennett <sb476@cam.ac.uk> 14587Date: Sat Dec 1 05:35:40 2007 +0000 14588 14589 "or" can be 0xc 14590 14591 Quite what this means, or why Nvidia couldn't give it a more descriptive 14592 variable name in the g80 driver is anyone's guess 14593 14594commit 384115a5abd756c5e3ee79ba50e15636d159f19c 14595Author: Stuart Bennett <sb476@cam.ac.uk> 14596Date: Sat Dec 1 05:17:47 2007 +0000 14597 14598 Use Nvidia's naming for CRTC_INDEX_COLOR 14599 14600commit 2344b5b5a5a0efa439ba64f92d5b08097178dd6c 14601Author: Stuart Bennett <sb476@cam.ac.uk> 14602Date: Sat Dec 1 05:16:20 2007 +0000 14603 14604 Bios script code 0x50 14605 14606commit 78c6ff292f4c2aa0e06bce095108d0716555104a 14607Author: Stuart Bennett <sb476@cam.ac.uk> 14608Date: Sat Dec 1 00:45:32 2007 +0000 14609 14610 Add dcb "location" field. 0 for on-chip, !0 for external 14611 14612commit 312fb3d65b8db6e3c2d123c0b192da82b7de4f71 14613Author: Maarten Maathuis <madman2003@gmail.com> 14614Date: Fri Nov 30 16:47:26 2007 +0100 14615 14616 randr12: Don't unset bit 8-15 in sel_clk. 14617 14618commit ea10d579fb6053e064a5cd14b47e1da55d4120ac 14619Author: Maarten Maathuis <madman2003@gmail.com> 14620Date: Fri Nov 30 16:43:33 2007 +0100 14621 14622 randr12: Big commit, read message. 14623 14624 - Outputs (on nv4x) should now select vpll2 instead of vpll1 when neccesary (this took a long time to figure out). 14625 - Register 0x00680594 is now set correctly to allow analog secondary outputs to work (for me at least). 14626 - I found the bit that triggers non-VGA modesetting in nv10reg, so in the future we could copy the blob in that area. 14627 - Misc fixes to a lot of things. 14628 14629commit a7a8993f4074e942ec4b3ef58ede0162a2d3c415 14630Author: Maarten Maathuis <madman2003@gmail.com> 14631Date: Mon Nov 26 22:11:03 2007 +0100 14632 14633 randr12: Make sure the vpll is properly set when we steal a ramdac from another output. 14634 14635commit c11d3f68720b698736d5a28a82d3e45b55379bc6 14636Author: Maarten Maathuis <madman2003@gmail.com> 14637Date: Mon Nov 26 19:40:59 2007 +0100 14638 14639 randr12: Fixed a minor cursor bug. 14640 14641commit 59d98374e082c40b57737de56b17173f5b54910e 14642Author: Maarten Maathuis <madman2003@gmail.com> 14643Date: Mon Nov 26 19:24:03 2007 +0100 14644 14645 randr12: Set the value of sel_clk correctly (hopefully) for NV4x. 14646 14647commit 8672d7a33fe369645786c21e130f51560a656d3c 14648Author: Maarten Maathuis <madman2003@gmail.com> 14649Date: Sun Nov 25 22:08:23 2007 +0100 14650 14651 randr12: cleanup + double register assignment (vga CRTC) removed. 14652 14653commit 11809882f24e40b1b8c77f4caca27ce2ebd3ccbf 14654Author: Maarten Maathuis <madman2003@gmail.com> 14655Date: Sun Nov 25 18:15:27 2007 +0100 14656 14657 randr12: Convert premultiplied alpha cursors to normal alpha cursors. 14658 14659commit ece41daabeb0cfd727daec14d9734dac08159c7a 14660Author: Maarten Maathuis <madman2003@gmail.com> 14661Date: Sun Nov 25 16:49:01 2007 +0100 14662 14663 randr12: Fix alpha cursor corruption. 14664 14665commit 5abbf55fb5c957c4be425e9ebd2660ca14d44e27 14666Author: Maarten Maathuis <madman2003@gmail.com> 14667Date: Sun Nov 25 14:15:30 2007 +0100 14668 14669 randr12: alpha cursors don't need background changes. 14670 14671commit 37c36a284508e63af152a9315aa19a729e5516cd 14672Author: Maarten Maathuis <madman2003@gmail.com> 14673Date: Sun Nov 25 13:06:10 2007 +0100 14674 14675 Reindent a few cursor functions. 14676 14677commit 1ad212271cc99b95ff52eb719d24ac58d392c0eb 14678Author: Maarten Maathuis <madman2003@gmail.com> 14679Date: Sun Nov 25 03:20:43 2007 +0100 14680 14681 randr12: Improve TMDS and LVDS registers (and enable for LVDS). 14682 14683commit 39d94139910c53f9092f28ea6d742133666ac18d 14684Author: Maarten Maathuis <madman2003@gmail.com> 14685Date: Sun Nov 25 01:31:39 2007 +0100 14686 14687 randr12: Optimize tmds_regs a little bit. 14688 14689commit c6dce92c47dacfc822315e570bff70a8e42f5dc2 14690Author: Stuart Bennett <sb476@cam.ac.uk> 14691Date: Sat Nov 24 21:51:14 2007 +0000 14692 14693 randr12: use bus field to determine dvi pairs 14694 14695commit 328197b4613f5e25eacfb67888701bb0e298c765 14696Author: Stuart Bennett <sb476@cam.ac.uk> 14697Date: Sat Nov 24 20:44:27 2007 +0000 14698 14699 Remove a load of unnecessary casts, and reorder functions by opcode 14700 14701 Plus a micro opt to checksum thing 14702 14703commit 8cee41bc6112a96f43f242b5178a9c968d2b2d9e 14704Author: Stuart Bennett <sb476@cam.ac.uk> 14705Date: Sat Nov 24 20:25:13 2007 +0000 14706 14707 A bunch more cleaned up bios opcodes 14708 14709 Thanks to stillunknown for the bios trace 14710 14711commit 5d6f214db4cd5f0cdcb6a4395ce2ce4acf322257 14712Author: Maarten Maathuis <madman2003@gmail.com> 14713Date: Sat Nov 24 16:22:04 2007 +0100 14714 14715 randr12: Be more considerate of outputs that can only work on ramdac 1. 14716 14717commit 6e1c37e26f630caa03da9061a5cec200708babbd 14718Author: Maarten Maathuis <madman2003@gmail.com> 14719Date: Sat Nov 24 15:47:04 2007 +0100 14720 14721 randr12: The result of another refinement of dvi crosswiring. 14722 14723commit ce57eb9b34095f2776ef36b09249a4b202824a86 14724Author: Maarten Maathuis <madman2003@gmail.com> 14725Date: Sat Nov 24 13:12:49 2007 +0100 14726 14727 randr12: Disable crt_load_detect for ramdac 1 and set some better valued for test_control. 14728 14729commit 525997f86c5fe0f79cf0fa584b4cb617b83a9386 14730Author: Maarten Maathuis <madman2003@gmail.com> 14731Date: Fri Nov 23 23:12:53 2007 +0100 14732 14733 randr12: add bit30 to vpll register for nv4x cards 14734 14735 - This seems the most common situation, any idea what the bits do? 14736 14737commit f249b3b33c025417d11a85a29848db2112450dce 14738Author: Patrice Mandin <pmandin@caramail.com> 14739Date: Fri Nov 23 22:25:47 2007 +0100 14740 14741 nv30: missing command 14742 14743commit b56ca2ef87fe15132dcbc43361344d8af446c8a7 14744Author: Patrice Mandin <pmandin@caramail.com> 14745Date: Fri Nov 23 22:25:06 2007 +0100 14746 14747 nv30: another reference to an object 14748 14749commit a8af1725ef7ae6c1cd19659d0607e2a702dc148a 14750Author: Patrice Mandin <pmandin@caramail.com> 14751Date: Fri Nov 23 22:24:19 2007 +0100 14752 14753 nv30: rename viewport clip 14754 14755commit 14e631691a2e8704ee016828e94c48de7eb96409 14756Author: Patrice Mandin <pmandin@caramail.com> 14757Date: Fri Nov 23 22:03:21 2007 +0100 14758 14759 nv30: was not using gart handle 14760 14761commit 9648fd259f9906f5db854e8c4b57fd2675f4d5c5 14762Author: Maarten Maathuis <madman2003@gmail.com> 14763Date: Fri Nov 23 21:08:46 2007 +0100 14764 14765 randr12: Reenable a properly working crt load detect. 14766 14767commit 3010847c1ccf14f0b5356aeb05f2c8c0c519ce91 14768Author: Maarten Maathuis <madman2003@gmail.com> 14769Date: Fri Nov 23 18:58:49 2007 +0100 14770 14771 randr12: Remove some unneeded stuff. 14772 14773commit 2b092ca5277405a166ea54de418a8114fb6a8cf6 14774Author: Maarten Maathuis <madman2003@gmail.com> 14775Date: Fri Nov 23 17:32:12 2007 +0100 14776 14777 randr12: fix comment typo 14778 14779commit 5ca53ef57ece7ae547cd5b11e83eb0d15fe69033 14780Author: Maarten Maathuis <madman2003@gmail.com> 14781Date: Fri Nov 23 16:40:02 2007 +0100 14782 14783 randr12: Allow arbitrary ramdac and crtc combinations. 14784 14785 - Support for the misterious ramdac 2 still has to be reverse engineered. 14786 14787commit e16fccde3f817e9eab3a09398a4821566967a86d 14788Author: Maarten Maathuis <madman2003@gmail.com> 14789Date: Fri Nov 23 13:25:38 2007 +0100 14790 14791 randr12: Move a lot of registers from output to crtc. 14792 14793commit cd8293954e1d004ef837d339ae87c4689fd45e1f 14794Author: Maarten Maathuis <madman2003@gmail.com> 14795Date: Fri Nov 23 10:32:08 2007 +0100 14796 14797 randr12: There was more logic to sel_clk than previously thought. 14798 14799commit 0b55ba9f9fbd60044bad880f260e0c70e6f577f0 14800Author: Maarten Maathuis <madman2003@gmail.com> 14801Date: Thu Nov 22 22:18:47 2007 +0100 14802 14803 randr12: revert to old vpll regs on nv4x cards, because the others can't be written 14804 14805 - If anyone knows the bit to allow those registers to be written, then please tell. 14806 - This also fixes db1 vclk ratio issues, hopefully. 14807 14808commit 18117df17ec2ce355344953d70caf33a0272697f 14809Author: Stuart Bennett <sb476@cam.ac.uk> 14810Date: Thu Nov 22 00:30:29 2007 +0000 14811 14812 Bios CRTC head chosing fixed 14813 14814 Also, a slightly tighter limit on values for or, as I don't currently think 14815 bit 4 being set makes any sense 14816 14817commit 425b7cd9dcddf1735d59e9ef60e81bf91db1c65c 14818Author: Stuart Bennett <sb476@cam.ac.uk> 14819Date: Wed Nov 21 20:02:17 2007 +0000 14820 14821 randr12: unbreak LVDS console restore by reverting tmds_regs change 14822 14823commit e3f77b1b4332f5c072be713b5ea6dd234c194bb0 14824Author: Stuart Bennett <sb476@cam.ac.uk> 14825Date: Tue Nov 20 19:02:17 2007 +0000 14826 14827 Complete init_index_addr_latched opcode 14828 14829commit 05f40b2dd3f8c14da2464b19b21aa66defec17e3 14830Author: Stuart Bennett <sb476@cam.ac.uk> 14831Date: Wed Nov 21 01:58:12 2007 +0000 14832 14833 More DCB entry output, and a default for DCB 1.4 14834 14835 The table seems to be the same for all DCB 1.4 biosen I've seen, and 14836 POST seems to make no effort to parse it. I wonder if it is in fact used at all 14837 14838commit d96176c2f07efde4224c35b7c03b8380a73e1831 14839Author: Maarten Maathuis <madman2003@gmail.com> 14840Date: Tue Nov 20 20:41:38 2007 +0100 14841 14842 randr12: better guess for ramdac register 670 (nv44 and up) 14843 14844commit 817b8f1a1af70402c18c45edccec5c746063d4e8 14845Author: Maarten Maathuis <madman2003@gmail.com> 14846Date: Tue Nov 20 19:55:15 2007 +0100 14847 14848 randr12: fix serious bug in vclk calculator for nv4x cards. 14849 14850commit 040e5479344b0f794e79e4ffc6c547c58835401a 14851Author: Maarten Maathuis <madman2003@gmail.com> 14852Date: Tue Nov 20 18:49:39 2007 +0100 14853 14854 randr12: Fix a small mistake that could cause blank screens for NV44 and up. 14855 14856commit 1cc05c9e08a7e4f0c27bb0e08d47265d31123bf9 14857Author: Maarten Maathuis <madman2003@gmail.com> 14858Date: Tue Nov 20 12:56:28 2007 +0100 14859 14860 randr12: I hope i really fixed db1 vclk ratio this time (for nv4x). 14861 14862commit 016f7e84c4ef62840e300d61e5e3b2ddfadd5e32 14863Author: Maarten Maathuis <madman2003@gmail.com> 14864Date: Tue Nov 20 12:44:25 2007 +0100 14865 14866 NV50: Make a small mistake. 14867 14868commit 2cbd24ad579d3e68eaef2f8500b22e101fecd936 14869Author: Maarten Maathuis <madman2003@gmail.com> 14870Date: Tue Nov 20 12:25:21 2007 +0100 14871 14872 NV50: Some deobfuscation. 14873 14874commit ccfc6910f8cd8eb8d4b628cc14ef7db417f576ea 14875Author: Maarten Maathuis <madman2003@gmail.com> 14876Date: Tue Nov 20 09:52:47 2007 +0100 14877 14878 randr12: Also enable DB1 vclk ratio if PLL_SELECT had it enabled. 14879 14880commit 5b3d86562afd35c14d2c8c07618b08bbc98ad775 14881Author: Maarten Maathuis <madman2003@gmail.com> 14882Date: Mon Nov 19 23:55:58 2007 +0100 14883 14884 randr12: Proper support for db1 vclk ratio, thanks to Thunderbird for some info. 14885 14886commit 22d8ba5ebf659f6f126a1380190339d08ee824c6 14887Author: Maarten Maathuis <madman2003@gmail.com> 14888Date: Mon Nov 19 09:23:37 2007 +0100 14889 14890 randr12: Add a gamma_set hook. 14891 14892commit cbd70303a949f387d42497cb4ea52186ed938b9c 14893Author: Maarten Maathuis <madman2003@gmail.com> 14894Date: Sun Nov 18 22:03:03 2007 +0100 14895 14896 randr12: A first attempt at some lvds programming, not hooked up. 14897 14898 - This is a start for someone with a laptop to test and refine. 14899 14900commit 58c3d6a886c5d5557def490ee8c3e75c9f8d2cd7 14901Author: Benjamin Herrenschmidt <benh@kernel.crashing.org> 14902Date: Sun Nov 18 02:50:33 2007 +0100 14903 14904 Enable IFC uploads. 14905 14906commit 619ae1f7a028f24293f9a4e4f7777cc51ef8d16d 14907Author: Maarten Maathuis <madman2003@gmail.com> 14908Date: Sun Nov 18 00:15:34 2007 +0100 14909 14910 randr12: Final commit, switch to nv40 native vclk regs. 14911 14912 - I've also seperated the save load pll functions, to improve clarity. 14913 14914commit 601adb4f431b638d4b711ba01aa2d4c3408a7bd3 14915Author: Maarten Maathuis <madman2003@gmail.com> 14916Date: Sat Nov 17 23:47:12 2007 +0100 14917 14918 randr12: Intermediate commit (using the native nv40 vpll regs). 14919 14920commit a29eca9dec176388b1c4666ad801ae75360a1219 14921Author: Maarten Maathuis <madman2003@gmail.com> 14922Date: Sat Nov 17 20:08:27 2007 +0100 14923 14924 randr12: Some comment fixes. 14925 14926commit 6f3d335f6e3b9866457730660538c5f073862dfe 14927Author: Maarten Maathuis <madman2003@gmail.com> 14928Date: Sat Nov 17 22:23:32 2007 +0100 14929 14930 randr12: Reinstate m-divider limitations. 14931 14932commit e2b7f57cbe7e1080736e6088d2997cbcf966fc3d 14933Author: Maarten Maathuis <madman2003@gmail.com> 14934Date: Sat Nov 17 18:36:24 2007 +0100 14935 14936 randr12: Some minor changes. 14937 14938commit 2c0c7612bd08938496abb47b34498065e668ec34 14939Author: Maarten Maathuis <madman2003@gmail.com> 14940Date: Sat Nov 17 15:57:20 2007 +0100 14941 14942 randr12: Change vpll handling, note that it still is a work in progress. 14943 14944commit caec3d1ab69c523b6c0a7e0019d1a9f115cf5da3 14945Author: Ben Skeggs <skeggsb@gmail.com> 14946Date: Sat Nov 17 20:59:25 2007 +1100 14947 14948 EXA 1.4 pixmap hooks (disabled) 14949 14950 Really, you don't want to turn this on yet... :) 14951 14952commit b8e7c64476948426d5801367bab5cdf15db5ce84 14953Author: Ben Skeggs <skeggsb@gmail.com> 14954Date: Sat Nov 17 17:17:34 2007 +1100 14955 14956 Add a user callback for when a channel hang is detected. 14957 14958commit 293b32d0f66e965b3a31d54859b91210b3e35b3d 14959Author: Ben Skeggs <skeggsb@gmail.com> 14960Date: Sat Nov 17 17:02:23 2007 +1100 14961 14962 Use handles from grobj, instead of hardcoded vals from nv_dma.h 14963 14964commit 84bc37723c2cabe7652050b4cbaf9f5218fdb071 14965Author: Ben Skeggs <skeggsb@gmail.com> 14966Date: Sat Nov 17 16:43:05 2007 +1100 14967 14968 Turn vram/fb handles into "real" grobjs. 14969 14970commit f3cdd5086f410711103c6b3453629d85ef4c2788 14971Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14972Date: Sat Nov 17 01:22:31 2007 +0100 14973 14974 Put back memory barrier and write posting. 14975 14976commit 762f732c7aaa8aa3dd7d54a8734cbcc54cd10494 14977Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14978Date: Fri Nov 16 23:38:49 2007 +0100 14979 14980 Add verbose debugging code to help with fixing push buffer issues. 14981 14982commit c8f7a9fcdcc356b4dc5030112b1532d2fa3eaf0f 14983Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14984Date: Fri Nov 16 23:37:10 2007 +0100 14985 14986 Oops. Correct either the header or the packet but not both. 14987 14988commit 5ce573875387490eb7feaa87a3354b888beb4410 14989Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14990Date: Fri Nov 16 23:32:07 2007 +0100 14991 14992 Unmatched OUT_RING(0). 14993 14994commit cc0c1af932a96cec6aabc72cbe9ca508fbc80a36 14995Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14996Date: Fri Nov 16 21:59:53 2007 +0100 14997 14998 fix typo. 14999 15000commit 4b7601c297fefc46adf3bc37a463575d3caafedb 15001Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15002Date: Fri Nov 16 21:56:14 2007 +0100 15003 15004 fix 32/64 bit ism. 15005 15006commit bee8bc5ce321245362847253b7ccc7530899e514 15007Author: Maarten Maathuis <madman2003@gmail.com> 15008Date: Fri Nov 16 21:29:20 2007 +0100 15009 15010 randr12: Minor change. 15011 15012commit 735fae4bb0b92f097665f675ba5127a9bb11d8fa 15013Author: Maarten Maathuis <madman2003@gmail.com> 15014Date: Fri Nov 16 19:19:23 2007 +0100 15015 15016 randr12: That wasn't supposed to end up there ;-) 15017 15018commit 2848c3e7a4d25e5ca311ea1a88458eb2a77976ed 15019Author: Maarten Maathuis <madman2003@gmail.com> 15020Date: Fri Nov 16 19:16:08 2007 +0100 15021 15022 randr12: Disable changing ramdac reg580, until i know why this causes issues. 15023 15024commit 75222fa199f1f5bc1abd66a4e80a446b5d597523 15025Author: Ben Skeggs <skeggsb@gmail.com> 15026Date: Sat Nov 17 15:31:49 2007 +1100 15027 15028 nouveau: fix valgrind complaint 15029 15030commit 1a98f1ae8298ca3b069b146a2866f96e934afb74 15031Author: Maarten Maathuis <madman2003@gmail.com> 15032Date: Fri Nov 16 17:00:59 2007 +0100 15033 15034 randr12: Restore old timings + misc changes. 15035 15036commit 1b0cd6602cf9d96f41242054efe2f96cc70eaa96 15037Author: Ben Skeggs <skeggsb@gmail.com> 15038Date: Sat Nov 17 09:08:03 2007 +1100 15039 15040 oops, forgot these... 15041 15042commit 9c46ec6833ccfc29e4a67b0ce4226d8b38b772ab 15043Author: Ben Skeggs <skeggsb@gmail.com> 15044Date: Sat Nov 17 07:23:41 2007 +1100 15045 15046 Initial hacky relocation stuff. 15047 15048 Entire DDX ported across to OUT_RELOCx/OUT_PIXMAPx, workable in it's current 15049 state for the current BO backend.. definitely not for TTM yet :) 15050 15051commit ddda33decb42ba2f5f9586e1d5de4533d1d88674 15052Author: Ben Skeggs <skeggsb@gmail.com> 15053Date: Sat Nov 17 06:11:01 2007 +1100 15054 15055 Initial buffer object work. 15056 15057 Implemented on top of the current MM interface, and currently used in the 15058 exact same way NVAllocate/FreeMemory was used. Can transition to something 15059 more ttm-friendly gradually. 15060 15061 The "old mm" bo backend is extremely primitive. Buffers can only be created 15062 in mappable memory, forcibly pinned, and never moved once they're created. 15063 Some of these things could be improved, but probably not much point. 15064 15065commit 9b9d995a517b48cd074030c567f9c78bee19b129 15066Author: Ben Skeggs <skeggsb@gmail.com> 15067Date: Sat Nov 17 03:36:04 2007 +1100 15068 15069 Report engine hangs again, instead of spinning forever. 15070 15071commit 2af4a28ae1df46686e264bcda417a896b7cfa59a 15072Author: Ben Skeggs <skeggsb@gmail.com> 15073Date: Fri Nov 16 09:18:33 2007 +1100 15074 15075 Hook up DMA funcs to channels/grobjs etc etc 15076 15077commit 6e3d05e8c60fd7bab371af86151e45eec0a65b3d 15078Author: Ben Skeggs <skeggsb@gmail.com> 15079Date: Fri Nov 16 07:08:23 2007 +1100 15080 15081 notifiers.. 15082 15083 Lacking timeouts at the moment so if X would've crashed before, it'll spin 15084 forever now. 15085 15086commit 020740d92b5d623bee65e598ac60020187011b04 15087Author: Ben Skeggs <skeggsb@gmail.com> 15088Date: Fri Nov 16 06:07:56 2007 +1100 15089 15090 And grobjs. 15091 15092commit 929e2b7d53435d097b07c23ed1d0caaa47924f8a 15093Author: Ben Skeggs <skeggsb@gmail.com> 15094Date: Fri Nov 16 05:10:58 2007 +1100 15095 15096 And channels.. 15097 15098commit 22909d96b8ea720169b34326b93c7b29eb3db013 15099Author: Ben Skeggs <skeggsb@gmail.com> 15100Date: Fri Nov 16 04:36:08 2007 +1100 15101 15102 Implement nouveau_device struct. 15103 15104commit b96e813773b0705bbac57f2d64adff3aad845622 15105Author: Stuart Bennett <sb476@cam.ac.uk> 15106Date: Fri Nov 16 03:26:56 2007 +0000 15107 15108 Begone, foul g5-bios-hack 15109 15110 also, fix the DCB termination test; I'm amazed nothing broke 15111 15112commit 7eee9585fa8e8c45f4ab4712a3b990664203d72b 15113Author: Maarten Maathuis <madman2003@gmail.com> 15114Date: Thu Nov 15 19:33:13 2007 +0100 15115 15116 randr12: Only NV4x have two seperate PVIO ranges. 15117 15118commit 276892b069fd045b20f44d7888a7971371d73ad3 15119Author: Maarten Maathuis <madman2003@gmail.com> 15120Date: Thu Nov 15 19:27:12 2007 +0100 15121 15122 randr12: Improved values for FP_CONTROL register. 15123 15124commit 4a16f14061c88ed49b05ef8779a2584f5053c3f1 15125Author: Maarten Maathuis <madman2003@gmail.com> 15126Date: Thu Nov 15 18:44:52 2007 +0100 15127 15128 randr12: Some minor register changes. 15129 15130commit b436a6809c62e0fe0696d2c6bad066c3afcf9166 15131Author: Arthur Huillet <arthur.huillet@free.fr> 15132Date: Thu Nov 15 15:01:47 2007 +0100 15133 15134 NV10 EXA: removed left out debug statement 15135 15136commit 98e223ebb01440810e01e902e904524c50b463cb 15137Author: Arthur Huillet <arthur.huillet@free.fr> 15138Date: Thu Nov 15 12:57:20 2007 +0100 15139 15140 NV1x EXA : refactored A8 + A8 code, enabled on NV2x, fix A8 txfmt for NV2x 15141 15142 more compact and more readable A8 + A8 code along with some codestyle fixes 15143 now enabling this acceleration on NV2x cards, with the A8 format value hack 15144 15145commit 3cdc4b274f371f1f524d140fddd79dad2987b06c 15146Author: Ben Skeggs <skeggsb@gmail.com> 15147Date: Fri Nov 16 03:28:45 2007 +1100 15148 15149 nouveau: fix a host of warnings 15150 15151commit 6eba6c7fab534efd15c8e96daeeb9a33972c2b6d 15152Author: Stuart Bennett <sb476@cam.ac.uk> 15153Date: Thu Nov 15 02:09:45 2007 +0000 15154 15155 Big endian bios fix 15156 15157commit 69a3a849e65a022609db3a5f33277b744463a6ae 15158Author: Patrice Mandin <pmandin@caramail.com> 15159Date: Wed Nov 14 23:03:06 2007 +0100 15160 15161 nv30exa: set link with image blit 15162 15163commit 2435836202efe7ea42a7bece71f125fb46aac3ba 15164Author: Stuart Bennett <sb476@cam.ac.uk> 15165Date: Wed Nov 14 19:02:28 2007 +0000 15166 15167 nv_bios indentation 15168 15169commit 7b0ca260f57e92e45d7f48f16642bfcd67b10eaf 15170Author: Stuart Bennett <sb476@cam.ac.uk> 15171Date: Wed Nov 14 18:47:40 2007 +0000 15172 15173 More code and logging beautification - wrap I/O better 15174 15175 Plus some actual fixes 15176 15177commit d00420a1286e368fbc20551cae5260bf65ed1b15 15178Author: Stuart Bennett <sb476@cam.ac.uk> 15179Date: Wed Nov 14 19:07:06 2007 +0000 15180 15181 IO flag conditions, beginnings of init_idx_addr_latched 15182 15183 plus usual whitespace and pointless renaming 15184 15185commit 4e8af31a89b7d732b52706f87e1dc66e29ab717e 15186Author: Stuart Bennett <sb476@cam.ac.uk> 15187Date: Wed Nov 14 03:01:27 2007 +0000 15188 15189 More opcodes, and some monstrous reindenting 15190 15191 all part of an evil plan to have the most lines in the Xorg log 15192 15193commit 89617cfcdfd1ee19b99888cfbcfec1ee0550d26c 15194Author: Stuart Bennett <sb476@cam.ac.uk> 15195Date: Wed Nov 14 00:36:02 2007 +0000 15196 15197 Updating some BIOS parser opcodes 15198 15199 plus various debug / whitespace fixes 15200 15201commit cc5db05bed630350613c7cbfa418d814ed5a5093 15202Author: Stuart Bennett <sb476@cam.ac.uk> 15203Date: Wed Nov 14 19:27:06 2007 +0000 15204 15205 randr12: More DCB abstraction to lessen parsing nastiness for old versions 15206 15207commit d46b61f88225d3e2b28a6c4a4ac4b8a1fe942a39 15208Author: Stuart Bennett <sb476@cam.ac.uk> 15209Date: Tue Nov 13 18:24:46 2007 +0000 15210 15211 Gratuitous code renaming, moving + warning fixes for bios 15212 15213commit c87e3570a198b5d69046387d111a2709a571d5e3 15214Author: Maarten Maathuis <madman2003@gmail.com> 15215Date: Wed Nov 14 22:30:11 2007 +0100 15216 15217 randr12: Reinstate the "magic factor" until a better solution comes along. 15218 15219commit 5b62e77ded9e64d439b70ce0b7dce27a7ae1df4f 15220Author: Arthur Huillet <arthur.huillet@free.fr> 15221Date: Wed Nov 14 20:54:24 2007 +0100 15222 15223 NV1x EXA : implemented A8 + A8 via a dirty hack 15224 15225 it works, but probably needs to be optimized 15226 15227commit 3db89822ba94a94eeb1ab891488d7f203a0dfff8 15228Author: Maarten Maathuis <madman2003@gmail.com> 15229Date: Wed Nov 14 19:48:53 2007 +0100 15230 15231 randr12: Disable ramdac register 0x900, until i know for certain what it does. 15232 15233commit 842b33e2dc82e70a7da992642de4503d4cb0a1fc 15234Author: Maarten Maathuis <madman2003@gmail.com> 15235Date: Wed Nov 14 16:02:56 2007 +0100 15236 15237 randr12: fix comment typo 15238 15239commit c7fc4b9981bb242830ddb830863fb26301429c74 15240Author: Maarten Maathuis <madman2003@gmail.com> 15241Date: Wed Nov 14 08:34:44 2007 +0100 15242 15243 randr12: Enable all pll on pre-nv40 and improve usage of ramdac_670 register. 15244 15245commit 992d079d64369a4a8445012b438ec980968c11d8 15246Author: Maarten Maathuis <madman2003@gmail.com> 15247Date: Tue Nov 13 21:46:23 2007 +0100 15248 15249 NV50: fix stupid type from commit d5dfb82f7f39304eb39dd4b1c34a2a2801d90a25 15250 15251commit 7ad7b6ad453b6401ef0bf5128f7ac9790df95bb2 15252Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15253Date: Tue Nov 13 21:36:13 2007 +0100 15254 15255 Don't use GART on PPC. Workaround DMA bugs there. 15256 15257commit b451a21f77678b1fb1d31f3df7e3b1aea6984876 15258Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15259Date: Tue Nov 13 20:58:51 2007 +0100 15260 15261 Remove ENABLE_NV30EXA, which is not needed any more. 15262 15263commit 9dc1e1e1fc049c7a535da8e1bc8ce79fd2d620b5 15264Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15265Date: Tue Nov 13 20:54:53 2007 +0100 15266 15267 Enable nv30 exa on PPC. 15268 15269commit 4fb7b608cbdf53084da63526c066eb7f772c6c14 15270Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15271Date: Tue Nov 13 20:53:58 2007 +0100 15272 15273 Fix nv30 exa for big endian 15274 15275commit 875960dacda54268fc1d318995c145b2db09ca5b 15276Author: Maarten Maathuis <madman2003@gmail.com> 15277Date: Tue Nov 13 19:43:41 2007 +0100 15278 15279 randr12: Set a few new registers + misc fixes. 15280 15281commit cf9aaa2b074eca67cf0119172c3d15328418416d 15282Author: Stuart Bennett <sb476@cam.ac.uk> 15283Date: Mon Nov 12 19:24:34 2007 +0000 15284 15285 Some type / warning fixes for nv_bios.c 15286 15287commit f00f6d1df06d2671255fd988f514a6f6ab0f8b18 15288Author: Stuart Bennett <sb476@cam.ac.uk> 15289Date: Sun Nov 11 17:50:55 2007 +0000 15290 15291 Misc bios parsing bits 15292 15293commit fdc7f4a353c4dda07fffd9800b477ae5bc43baac 15294Author: Patrice Mandin <pmandin@caramail.com> 15295Date: Mon Nov 12 23:54:22 2007 +0100 15296 15297 Remove disable switches, big cleanup, requires xorgs server 1.3 again 15298 15299commit e93a5d3abe6d637e00bd9c998e9735c9766eecfb 15300Author: Maarten Maathuis <madman2003@gmail.com> 15301Date: Mon Nov 12 21:05:00 2007 +0100 15302 15303 randr12: Improve vclk setting. 15304 15305 - It now considers crosswired TMDS situations. 15306 15307commit d32420c82b1e63bbc84768c92c336391af624952 15308Author: Maarten Maathuis <madman2003@gmail.com> 15309Date: Mon Nov 12 20:17:04 2007 +0100 15310 15311 randr12: Fix bad comment. 15312 15313commit 8a04babb88111ec8ccec9af56c3591d41afba9b3 15314Author: Maarten Maathuis <madman2003@gmail.com> 15315Date: Mon Nov 12 20:14:10 2007 +0100 15316 15317 randr12: Some minor changes. 15318 15319commit 821d4b83ed780d9a0a8d950a2595a0e15ef3f103 15320Author: Maarten Maathuis <madman2003@gmail.com> 15321Date: Mon Nov 12 16:21:14 2007 +0100 15322 15323 randr12: Set SEL_CLK appropriately based on wether a TMDS is crosswired. 15324 15325commit d017ce4879ca755fc6d56f232fe3162864f4b38e 15326Author: Maarten Maathuis <madman2003@gmail.com> 15327Date: Mon Nov 12 10:34:54 2007 +0100 15328 15329 A little code cleanup. 15330 15331commit 16fb5b92dba9a0380d2fdd1ece1b9b0691d79d3a 15332Author: Maarten Maathuis <madman2003@gmail.com> 15333Date: Mon Nov 12 00:17:52 2007 +0100 15334 15335 NV50: Port an LVDS detection fix from nv. 15336 15337commit b01a87f18d122d80fac6daf1dfb1c404d7f3a814 15338Author: Maarten Maathuis <madman2003@gmail.com> 15339Date: Mon Nov 12 00:03:19 2007 +0100 15340 15341 NV50: Port one of the nv patches. 15342 15343commit f22691661f8b72cedb8aa4fc96b41fcff4171e12 15344Author: Maarten Maathuis <madman2003@gmail.com> 15345Date: Sun Nov 11 21:53:10 2007 +0100 15346 15347 randr12: Some code cleanup. 15348 15349commit aceceb22775bb039cb0e207f39f7cbd93c2db194 15350Author: Maarten Maathuis <madman2003@gmail.com> 15351Date: Sun Nov 11 21:32:31 2007 +0100 15352 15353 NV50: Clean up nv50_output.c a bit. 15354 15355 - I did not make wrappers for the i2c stuff, since i do not know what that range does, besides i2c. 15356 15357commit a0835f7c64cf5f62626332ccba21cfe436584275 15358Author: Maarten Maathuis <madman2003@gmail.com> 15359Date: Sun Nov 11 21:17:40 2007 +0100 15360 15361 NV50: cleanup of nv50_sor.c 15362 15363commit f463a7f6213bede18917191546c8cd61cf4612e8 15364Author: Maarten Maathuis <madman2003@gmail.com> 15365Date: Sun Nov 11 20:51:01 2007 +0100 15366 15367 randr12: Make sure we don't set 2 "special" bits in sel_clk. 15368 15369commit 27cbf73bc572f435870decc2017cbf1c4f38264d 15370Author: Maarten Maathuis <madman2003@gmail.com> 15371Date: Sun Nov 11 19:32:26 2007 +0100 15372 15373 randr12: Overhaul vpll set code + misc fixes. 15374 15375 - Hopefully the problematic G70's work again. 15376 15377commit 78e88d1f4e2f058c487978c01e19a828271f3f0b 15378Author: Stuart Bennett <sb476@cam.ac.uk> 15379Date: Fri Nov 9 03:17:12 2007 +0000 15380 15381 vbios fptable v2 parsing (for BIT biosen). Not that I know how to index it. 15382 15383 Plus some fptable v1 fixes, bmp structure length checks, 15384 and support for a weird bios version that may be in some gf2go 15385 15386commit 15c771a6b3ecb9b36f9725c518141cf889aa953c 15387Author: Stuart Bennett <sb476@cam.ac.uk> 15388Date: Fri Nov 9 01:19:04 2007 +0000 15389 15390 G5 6600 DCB improvements, but I'm sure to be some bswaps short 15391 15392 This will all become so much nicer when I can do leNN_to_cpu()... 15393 15394commit 9408fcbbbbab80608c8923ab2b7757dfa76b9767 15395Author: Maarten Maathuis <madman2003@gmail.com> 15396Date: Sat Nov 10 17:02:38 2007 +0100 15397 15398 NV50: Last part of nv50_dac.c 15399 15400commit 85b5e6bfc17c347a9976155a755637f7c8d9304f 15401Author: Maarten Maathuis <madman2003@gmail.com> 15402Date: Sat Nov 10 16:59:49 2007 +0100 15403 15404 NV50: More cleanup (this time nv50_dac.c). 15405 15406commit 23d9f09a4600abf5426cb6d069dc5d9aa876a771 15407Author: Maarten Maathuis <madman2003@gmail.com> 15408Date: Sat Nov 10 16:32:51 2007 +0100 15409 15410 NV50: That's the initial cleanup for nv50_display.c 15411 15412commit 25cef08b183d6406ce065b2b3cd224dd1840525b 15413Author: Maarten Maathuis <madman2003@gmail.com> 15414Date: Sat Nov 10 16:24:32 2007 +0100 15415 15416 NV50: Should have run make first ;-) 15417 15418commit d5dfb82f7f39304eb39dd4b1c34a2a2801d90a25 15419Author: Maarten Maathuis <madman2003@gmail.com> 15420Date: Sat Nov 10 16:23:48 2007 +0100 15421 15422 NV50: Even more cleanup. 15423 15424commit 391c498e676752ac6bf03b668a1cb00094c1a049 15425Author: Maarten Maathuis <madman2003@gmail.com> 15426Date: Sat Nov 10 16:19:32 2007 +0100 15427 15428 NV50: More cleanup, small commits to make bisecting easier. 15429 15430commit 59788f9d4e6c264a6b666918989ad6b778026bd9 15431Author: Maarten Maathuis <madman2003@gmail.com> 15432Date: Sat Nov 10 16:05:42 2007 +0100 15433 15434 NV50: Some initial cleanup. 15435 15436commit 1a7d7ccb4c12f6a10aa5e8b41daee1aae52efa8a 15437Author: Maarten Maathuis <madman2003@gmail.com> 15438Date: Sat Nov 10 15:39:04 2007 +0100 15439 15440 NV50: Another wrapper. 15441 15442commit 3ca3170c8bbd758da81a1bc5b5a84cf3ca642c07 15443Author: Maarten Maathuis <madman2003@gmail.com> 15444Date: Sat Nov 10 15:29:13 2007 +0100 15445 15446 NV50: A new wrapper + a few functions renamed. 15447 15448 - I'm trying to clean up the code a bit, but lack of the hardware prevents me from testing it. 15449 15450commit 77dc99b2621523e20a956a8eaa01a100c992c458 15451Author: Maarten Maathuis <madman2003@gmail.com> 15452Date: Sat Nov 10 00:35:04 2007 +0100 15453 15454 randr12: This may break stuff for some g70 cards, if it does, then please scream. 15455 15456 - I hope i've got most situations covered. 15457 - If there are issues getting the second head to work on nv4x cards, then please tell. 15458 - nv4x is geforce 6 and 7 series for those who do not know. 15459 15460commit c169480b0bb177e8c5efb292d38c55554dcdfcdd 15461Author: Maarten Maathuis <madman2003@gmail.com> 15462Date: Fri Nov 9 20:41:48 2007 +0100 15463 15464 randr12: Disable load detect again, until we can identify it from a DVI monitor. 15465 15466commit 7237a7014b426acc4857d32967e0f10974877819 15467Author: Maarten Maathuis <madman2003@gmail.com> 15468Date: Fri Nov 9 20:40:46 2007 +0100 15469 15470 randr12: Improve detection of DVI-D/DVI-A pairs (for naming). 15471 15472commit a8125c458fa53544625da2071a69e3fd27d7c084 15473Author: Stuart Bennett <sb476@cam.ac.uk> 15474Date: Fri Nov 9 19:27:37 2007 +0000 15475 15476 randr12: Revert "randr12: lose ffs wrapper", it's wrong 15477 15478commit d83cb471cfcc18973eb4a5f319bc17a06e0a883f 15479Author: Stuart Bennett <sb476@cam.ac.uk> 15480Date: Fri Nov 9 19:02:00 2007 +0000 15481 15482 randr12: lose ffs wrapper 15483 15484commit dedf68e10f4b0cde6f9c49d60df737ed7b4148c0 15485Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15486Date: Wed Oct 31 02:36:41 2007 +0100 15487 15488 More nv30 exa cleaning up. 15489 15490commit d3679e8a5c0ce54ee3ef4de15be5a1fcd353df8e 15491Author: Maarten Maathuis <madman2003@gmail.com> 15492Date: Fri Nov 9 18:44:37 2007 +0100 15493 15494 randr12: Do not mess with ramdac register 580 until it's proven to be neccesary. 15495 15496 - I cannot seem to find out what the conditions are to change this register, except that it's related to VCLK ratio DB1. 15497 15498commit a49d51c638c2004641e58dc0061652553e9a6751 15499Author: Maarten Maathuis <madman2003@gmail.com> 15500Date: Fri Nov 9 18:31:02 2007 +0100 15501 15502 randr12: Fix vertical scaling. 15503 15504commit 2e6f5e18231a327cac7de4a927435585d1eadcee 15505Author: Patrice Mandin <pmandin@caramail.com> 15506Date: Fri Nov 9 18:13:43 2007 +0100 15507 15508 oops, trailing whitespace 15509 15510commit 596f4e6a78900f3cbb3beb4c99da7606dc630179 15511Author: Patrice Mandin <pmandin@caramail.com> 15512Date: Fri Nov 9 18:11:25 2007 +0100 15513 15514 Also disable nv40exa if nv30exa disabled 15515 15516commit d9f80b9d5f4ae1c00e79b9e903c2fc0c23b37a13 15517Author: Patrice Mandin <pmandin@caramail.com> 15518Date: Fri Nov 9 18:10:53 2007 +0100 15519 15520 Reading DFP tables need randr1.2 15521 15522commit 50aaccb5e0d3b9a978701c55ebe6545a6f7b1456 15523Author: Stuart Bennett <sb476@cam.ac.uk> 15524Date: Thu Nov 8 18:59:50 2007 +0000 15525 15526 randr12: invert fpScaler to regain original meaning (see man page) 15527 15528commit 3f6db3ac15b51a58353396fce2126a369b4cfd89 15529Author: Stuart Bennett <sb476@cam.ac.uk> 15530Date: Thu Nov 8 20:30:28 2007 +0000 15531 15532 randr12: Do scaling / native fixup in the fixup function 15533 15534 Nuke the LVDS specific fixup code 15535 Then use adjusted_mode accordingly 15536 15537commit 51a874a59d82678bbb790b708f9ba62985d99344 15538Author: Stuart Bennett <sb476@cam.ac.uk> 15539Date: Wed Nov 7 18:37:57 2007 +0000 15540 15541 randr12: rename DIGITAL and PANEL to TMDS and LVDS 15542 15543 Following on from earlier renaming, this is less confusing, at least to me. 15544 15545commit 61c92f10e1182403fc6fc8a666ed3d8b14795481 15546Author: Stuart Bennett <sb476@cam.ac.uk> 15547Date: Thu Nov 8 17:00:44 2007 +0000 15548 15549 randr12: blank screen before we're ready to show it 15550 15551commit da64328dd7be7f0e7ee1dd0dd774174fc126948b 15552Author: Maarten Maathuis <madman2003@gmail.com> 15553Date: Thu Nov 8 20:11:25 2007 +0100 15554 15555 randr12: Some outputs are only valid on secondary output. 15556 15557commit fe3d49ccb24ff20fba79ee97cceba64850d9387f 15558Author: Maarten Maathuis <madman2003@gmail.com> 15559Date: Thu Nov 8 19:20:41 2007 +0100 15560 15561 randr12: Improve output naming scheme. 15562 15563commit 42542b36d771142d38f72b3365da8b53e9d25c55 15564Author: Maarten Maathuis <madman2003@gmail.com> 15565Date: Thu Nov 8 19:13:03 2007 +0100 15566 15567 randr12: Add ramdac assignment code to the lvds dpms function. 15568 15569commit 2f1bf8138ba970ad18afe1ba9ee10228ea213926 15570Author: Maarten Maathuis <madman2003@gmail.com> 15571Date: Thu Nov 8 18:42:35 2007 +0100 15572 15573 randr12: Misc fixes. 15574 15575commit 8b733ab61e0b9eb375783e986de776eef5fd49ff 15576Author: Ben Skeggs <skeggsb@gmail.com> 15577Date: Fri Nov 9 03:29:21 2007 +1100 15578 15579 get rid of ALLOCATE_LOCAL etc. 15580 15581commit bfb78d2090ee5c189cf00e6af5107a756e864e98 15582Author: Maarten Maathuis <madman2003@gmail.com> 15583Date: Thu Nov 8 00:20:53 2007 +0100 15584 15585 randr12: It seems the situation was a bit easier to handle, luckily. 15586 15587 - I've tied ramdac and crtc number together. 15588 - Switching crtc's doesn't cause a problem anymore (even when crtc0 is not in use). 15589 15590commit d56e6e498ed9acc35bfa540881243acf03981571 15591Author: Maarten Maathuis <madman2003@gmail.com> 15592Date: Wed Nov 7 22:25:40 2007 +0100 15593 15594 randr12: Intermediate commit. 15595 15596commit f13659a8c8e855dc0b871173ccfdd0b70236be71 15597Author: Arthur Huillet <arthur.huillet@free.fr> 15598Date: Wed Nov 7 23:03:54 2007 +0100 15599 15600 NV10EXA: added support for R5G6B5 as source and destination (tested only with rendercheck) 15601 added A8 + A8 via ARGB + ARGB hack, disabled by default because it cannot work 15602 updated instrumentation to dump pixmap sizes and repeat flag 15603 15604commit 3d671bf3b06e64b49254db666980be3a3b3652cc 15605Author: Stuart Bennett <sb476@cam.ac.uk> 15606Date: Wed Nov 7 15:08:48 2007 +0000 15607 15608 randr12: remove some duplication and reduce mem leaks 15609 15610commit cdbec606e4ec398d6bef87d635499100559e3a19 15611Author: Stuart Bennett <sb476@cam.ac.uk> 15612Date: Wed Nov 7 14:54:18 2007 +0000 15613 15614 randr12: refactor ddc stuff for convenience 15615 15616commit ed8473b228579024a4fdc9c2a9ecf4cb71135378 15617Author: Stuart Bennett <sb476@cam.ac.uk> 15618Date: Wed Nov 7 14:33:50 2007 +0000 15619 15620 randr12: micro-optimization on use of "or" 15621 15622commit f6d0b446eda687bb55649599e1aedfa231feaaa9 15623Author: Stuart Bennett <sb476@cam.ac.uk> 15624Date: Tue Nov 6 21:20:10 2007 +0000 15625 15626 randr12: LVDS warning 15627 15628commit 62f8fed79f1617ffd0289123045fda0a3c0e92b2 15629Author: Stuart Bennett <sb476@cam.ac.uk> 15630Date: Tue Nov 6 01:29:33 2007 +0000 15631 15632 randr12: Use NV_RAMDAC_PLL_SELECT_PLL_SOURCE_ALL for LVDS 15633 15634 Using only VPLL seems to be broken for LVDS. Traces show consistent use of ALL. 15635 15636commit 0b958dc66a5533a7db61b7b2f456df876e9905ff 15637Author: Maarten Maathuis <madman2003@gmail.com> 15638Date: Wed Nov 7 09:33:40 2007 +0100 15639 15640 randr12: Also save flatpanel regs on analog monitors. 15641 15642commit c8ac3f0c7cfd6eca85f332e11e280f715e80283e 15643Author: Stuart Bennett <sb476@cam.ac.uk> 15644Date: Tue Nov 6 21:09:51 2007 +0000 15645 15646 Various minor fixes 15647 15648 Now that ramdac selection uses sensible numbers, it turns out writing to TMDS regs is a bad move on LVDS. 15649 Also, change FP_CONTROL handling a bit for LVDS (bit31 needs preserving) 15650 15651commit d7be5bdc27fee0758df33feb3a331c9c79dd94e0 15652Author: Stuart Bennett <sb476@cam.ac.uk> 15653Date: Tue Nov 6 19:53:08 2007 +0000 15654 15655 Start using OUTPUT_PANEL where appropriate 15656 15657commit f1160ac702a251708f2385b78c1657f95c2916ab 15658Author: Stuart Bennett <sb476@cam.ac.uk> 15659Date: Thu Nov 1 00:24:13 2007 +0000 15660 15661 Beautify DCB 1.2 weirdness, hopefully fixup G5 and use dcb_table more simply 15662 15663commit 38829fa5cdac1469a6a71a092a42885ea048a1ba 15664Author: Stuart Bennett <sb476@cam.ac.uk> 15665Date: Tue Nov 6 19:41:47 2007 +0000 15666 15667 Implement lvds_output_{get_modes, mode_valid, mode_fixup} 15668 15669commit 29c578bfe9415aa86910cf6d5cd44787b4fdf44d 15670Author: Stuart Bennett <sb476@cam.ac.uk> 15671Date: Fri Oct 26 03:01:17 2007 +0100 15672 15673 Reindentation, renaming, adding debug, and assume LVDS always connected 15674 15675commit 7aeae6cdc99ab633361f107752ef1bfa3e0492e0 15676Author: Stuart Bennett <sb476@cam.ac.uk> 15677Date: Wed Oct 31 17:29:16 2007 +0000 15678 15679 LVDS VBIOS FP mode finding 15680 15681commit cd806f92e29573ea968ab2fddb454eb1513e37dd 15682Author: Maarten Maathuis <madman2003@gmail.com> 15683Date: Wed Nov 7 00:16:33 2007 +0100 15684 15685 randr12: Fix ugly alligment. 15686 15687commit 88faf35179b9af8060c35a7a95e9a6baaae552be 15688Author: Maarten Maathuis <madman2003@gmail.com> 15689Date: Wed Nov 7 00:11:51 2007 +0100 15690 15691 randr12: Improve hotplugging of outputs. 15692 15693commit 4aa3acbd5410c8dda57a483cf7967258440888dc 15694Author: Peter Winters <peter@whoei.org> 15695Date: Tue Nov 6 23:40:07 2007 +0100 15696 15697 NV10 EXA: Implement a8 1x1 repeat 15698 15699commit 524e555c468fbab32b515ecd2c1e9cccf6c48443 15700Author: Peter Winters <peter@whoei.org> 15701Date: Tue Nov 6 23:29:03 2007 +0100 15702 15703 NV10 EXA: setup viewport like nv40 exa 15704 15705commit 2f2298f0ae3777c775b3ab81356adebf4f52ed77 15706Author: Maarten Maathuis <madman2003@gmail.com> 15707Date: Tue Nov 6 22:15:20 2007 +0100 15708 15709 randr12: Readd crt load detect + misc changes + restrictions (see full log) 15710 15711 - Crt load detect has been readded, but only for the primary output (the other gives false positives). 15712 - Misc changes to ramdac management. 15713 - Until i know how to trigger a full mode change, i cannot allow adding an output which requires ramdac0 during runtime. 15714 15715commit a6244c25a5c7efc633c74f506ca121e10a5642c0 15716Author: Maarten Maathuis <madman2003@gmail.com> 15717Date: Tue Nov 6 16:11:43 2007 +0100 15718 15719 randr12: Reasonably complete TMDS programming, see notes. 15720 15721 - Please file a bug and make a mmio-trace when it fails for you. 15722 - I can now hotplug TMDS, so that makes both types hotpluggable on nv4x. 15723 - I have no clue what happens on pre-nv40 hardware, so please try. 15724 15725commit 5f6912f083048f01a33582d45bc6b22f0ac27d4e 15726Author: Maarten Maathuis <madman2003@gmail.com> 15727Date: Tue Nov 6 10:56:22 2007 +0100 15728 15729 randr12: Associate VPLL's with ramdac instead of crtc. 15730 15731commit 8241710c94f6df0bf683bc3c93f7ea1ca14d118c 15732Author: Maarten Maathuis <madman2003@gmail.com> 15733Date: Tue Nov 6 10:34:56 2007 +0100 15734 15735 randr12: Put TEST_CONTROL into neutral position. 15736 15737commit 19533d8ba549965dedd9083330b217270efaa49b 15738Author: Maarten Maathuis <madman2003@gmail.com> 15739Date: Mon Nov 5 23:32:16 2007 +0100 15740 15741 NV50: Don't hit pre-NV50 codepath. 15742 15743commit 5ca10da0c7dd2fd689cc4369e37ed385a0c10d21 15744Author: Maarten Maathuis <madman2003@gmail.com> 15745Date: Mon Nov 5 21:28:22 2007 +0100 15746 15747 randr12: Remove incorrect (and hopefully redundant) output initialisation check. 15748 15749commit fcacad59d9233a66111d1c434e14cc4b2a08961e 15750Author: Maarten Maathuis <madman2003@gmail.com> 15751Date: Mon Nov 5 21:18:13 2007 +0100 15752 15753 randr12: Do not remove any bits from crtc register 580. 15754 15755commit e58c6735c73cc3a94a7a139e235b1dff9220e507 15756Author: Maarten Maathuis <madman2003@gmail.com> 15757Date: Mon Nov 5 20:30:41 2007 +0100 15758 15759 randr12: Only use VPLL as timing source. 15760 15761commit 1071aeef24b349bac08a2ac091733c23cad1cb44 15762Author: Maarten Maathuis <madman2003@gmail.com> 15763Date: Mon Nov 5 20:04:26 2007 +0100 15764 15765 randr12: Only enable crtc at the very last stage, should avoid mode setting "blinking". 15766 15767commit 1ac7798bdec75d9336afd1cfbe7fa177f5fe1465 15768Author: Maarten Maathuis <madman2003@gmail.com> 15769Date: Mon Nov 5 10:03:15 2007 +0100 15770 15771 randr12: Add a native mode for TMDS and make that preferred + some ddc related fixes. 15772 15773commit bfb75679e504b335be0de4384830cc8129f92c1b 15774Author: Ben Skeggs <skeggsb@gmail.com> 15775Date: Mon Nov 5 11:44:58 2007 +1100 15776 15777 Fix a thinko from commit 62294d9be8ec6f1159e3c2ad273649f937b7aa7e. 15778 15779commit bf8a2dfa7f83956d100316ed7450669795ea47d2 15780Author: Maarten Maathuis <madman2003@gmail.com> 15781Date: Sat Nov 3 22:03:18 2007 +0100 15782 15783 randr12; Forgot a small thing. 15784 15785commit 19b0971d0c1d03896bfaee2b833194ef1e4d7566 15786Author: Maarten Maathuis <madman2003@gmail.com> 15787Date: Sat Nov 3 21:54:48 2007 +0100 15788 15789 randr12: A legitimate DPMS call could reset the ramdac and effectively disable the mouse. 15790 15791commit a29839c718fd6bf3003081299017536dd9f8223e 15792Author: Maarten Maathuis <madman2003@gmail.com> 15793Date: Sat Nov 3 10:00:06 2007 +0100 15794 15795 randr12: Hopefully improve the native flatpanel mode finder. 15796 15797commit bd20ff5b8c9467ca913c00d3ec946e7e975ad3d4 15798Author: Maarten Maathuis <madman2003@gmail.com> 15799Date: Fri Nov 2 23:17:16 2007 +0100 15800 15801 randr12: We cannot reset ramdacs during detect, there may not be a modesetting after it. 15802 15803commit 7054de29c589a7be0a6b027f3067ae2c02e2fc45 15804Author: Maarten Maathuis <madman2003@gmail.com> 15805Date: Fri Nov 2 21:44:40 2007 +0100 15806 15807 randr12: Futher refine crtc timings, hoping to solve the "pink line" issue. 15808 15809commit 39ced4abb536993249e55a72eceeba26d577724c 15810Author: Maarten Maathuis <madman2003@gmail.com> 15811Date: Thu Nov 1 17:54:26 2007 +0100 15812 15813 randr12: Improved ramdac choosing, based on bios information (or value). 15814 15815commit 28ba9ed765d9956b2f07c6a405fca675a71012db 15816Author: Maarten Maathuis <madman2003@gmail.com> 15817Date: Thu Nov 1 17:01:53 2007 +0100 15818 15819 randr12: Remove redundant output setup + don't print full edid. 15820 15821commit 609f7b9c2962ccf04861d2164a0ff12c58e84010 15822Author: Maarten Maathuis <madman2003@gmail.com> 15823Date: Thu Nov 1 13:00:45 2007 +0100 15824 15825 randr12: Cursor fixes(probably only affects nv4x). 15826 15827commit 6945dfdc5e6b2540432805e845cb8540dc00d326 15828Author: Maarten Maathuis <madman2003@gmail.com> 15829Date: Thu Nov 1 11:10:24 2007 +0100 15830 15831 randr12: Improve analog monitor allignment + misc fixes. 15832 15833commit 5bd8ba52788b3b3b8f91ba59c29e154e38482481 15834Author: Ben Skeggs <skeggsb@gmail.com> 15835Date: Thu Nov 1 18:35:33 2007 +1100 15836 15837 nv40: what can I say? oops! 15838 15839commit f59e596bcd90ef824cd41e0c37952e574d6914bb 15840Author: Ben Skeggs <skeggsb@gmail.com> 15841Date: Thu Nov 1 18:17:20 2007 +1100 15842 15843 nv40: completely untested fix for composite on ppc 15844 15845 Thanks go to ps3rsx guys for finding the issue. 15846 15847commit 59c4fdb650ff2e6b6948d1bdd6bb22aa94195a32 15848Author: Maarten Maathuis <madman2003@gmail.com> 15849Date: Wed Oct 31 22:59:54 2007 +0100 15850 15851 randr12: Some misc cleanup to make malc0's patches work. 15852 15853commit f165d4f2ca90916b1334cdc18d62b82ea71d9f62 15854Author: Maarten Maathuis <madman2003@gmail.com> 15855Date: Wed Oct 31 21:30:36 2007 +0100 15856 15857 randr12: The "easy" TMDS registers, please report regressions. 15858 15859commit 860c4bdd38fd259ae51e32e4873a2aa8b1e6883e 15860Author: Maarten Maathuis <madman2003@gmail.com> 15861Date: Wed Oct 31 19:00:28 2007 +0100 15862 15863 randr12: Misc register fixes. 15864 15865commit d758e8f4c1a7d4effe1298a0a41d4e0b96496ab9 15866Author: Maarten Maathuis <madman2003@gmail.com> 15867Date: Wed Oct 31 13:22:29 2007 +0100 15868 15869 randr12: Some changes to VCLK ratio handling. 15870 15871commit 899559921b0e46db010fa1e771203c2edefb7ade 15872Author: Maarten Maathuis <madman2003@gmail.com> 15873Date: Wed Oct 31 09:18:59 2007 +0100 15874 15875 randr12: some blob copying 15876 15877commit b5ecadb73335d934a8cb1c106983d219c9d8d399 15878Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15879Date: Wed Oct 31 02:09:08 2007 +0100 15880 15881 Fix bugs in nv30 exa (kde text seems back) 15882 15883commit f7b553a87e7f67138e06e74877145a1f83e9d188 15884Author: Peter Winters <peter@whoei.org> 15885Date: Tue Oct 30 23:04:28 2007 +0100 15886 15887 NV10 EXA: implement repeat for 1x1 textures 15888 15889commit bf7b0231db1f7e45cee60d7d2e04b1b006aec2b0 15890Author: Peter Winters <peter@whoei.org> 15891Date: Sun Oct 28 23:52:22 2007 +0100 15892 15893 NV10 EXA: Fix viewport setup 15894 15895commit f8f9c8789b89a02886702c46c5feafec169ae78a 15896Author: Maarten Maathuis <madman2003@gmail.com> 15897Date: Tue Oct 30 21:00:54 2007 +0100 15898 15899 randr12: Flatpanel scaling is finally working, read full message. 15900 15901 - The option FPScale is now obeyed and will cause scaling to happen in the monitor. 15902 - The default is scaling is using the GPU. 15903 - When the aspect ratio is very different(>0.10 diff), it will obey aspect ratio and create bands around it. 15904 15905commit e73aa148d965abbf73392c6ffef3993dc26c31fd 15906Author: Maarten Maathuis <madman2003@gmail.com> 15907Date: Tue Oct 30 13:54:25 2007 +0100 15908 15909 randr12: Some copyright stuff. 15910 15911commit c1508e1448e3822e8b6bb2604c09a9d766a64a93 15912Author: Maarten Maathuis <madman2003@gmail.com> 15913Date: Tue Oct 30 13:44:44 2007 +0100 15914 15915 randr12: Disable some panel scaling stuff, because it is broken. 15916 15917commit 3bf8110b61ef854af803a45f0faf1eaffbbcfac9 15918Author: Maarten Maathuis <madman2003@gmail.com> 15919Date: Tue Oct 30 11:44:58 2007 +0100 15920 15921 randr12: Lots of misc fixes. 15922 15923 - This does not fix the issue with -hsync, +vsync modelines (or the other way around) yet. 15924 - There are two PVIO ranges, i'm surprised noone noticed this. 15925 - Some misc fixes. 15926 15927commit 894f9aacce3d685b811f8961275a9f225b964159 15928Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15929Date: Tue Oct 30 01:49:38 2007 +0100 15930 15931 Disable nv30 exa no big endian until we fix the endianness bugs related to the 3D engine. 15932 15933commit 482cbcb9efdfbdd4bbe998c09f7d29033aeca09b 15934Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15935Date: Tue Oct 30 01:37:45 2007 +0100 15936 15937 Use the new header with license. 15938 15939commit a9908dbb70df0d0abb586b9774efdc10adf4d74f 15940Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15941Date: Mon Oct 29 23:00:14 2007 +0100 15942 15943 More copyrights I remember... 15944 15945commit 67e142394edcb553a40c6c8b0ef091bd4dad2bdd 15946Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15947Date: Mon Oct 29 22:57:30 2007 +0100 15948 15949 Add some copyrights... not all files are covered yet, but I did the ones I recalled. 15950 15951commit f75e36a901fd47bbd9164242c408e9f8b0e03e2c 15952Author: Maarten Maathuis <madman2003@gmail.com> 15953Date: Mon Oct 29 18:37:34 2007 +0100 15954 15955 randr12: My suspicion was incorrect, i2c buses are swapped for all nv4x 15956 it seems. 15957 15958commit e741ac76ac45e8ea959792810670abdf2afbc6bd 15959Author: Maarten Maathuis <madman2003@gmail.com> 15960Date: Mon Oct 29 13:40:30 2007 +0100 15961 15962 randr12: Show NV_RAMDAC_FP_DEBUG_0 of both ramdac's when output is refused. 15963 15964commit c53754162087a7b66d40b7c3982cdc5b6d160ea1 15965Author: Maarten Maathuis <madman2003@gmail.com> 15966Date: Mon Oct 29 13:34:20 2007 +0100 15967 15968 randr12: Minor change, turning on bit 18 of NV_RAMDAC_SEL_CLK. 15969 15970commit fef872bd999b430a41bdfae8d408f8dfed0010a2 15971Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15972Date: Fri Oct 26 15:50:40 2007 +0200 15973 15974 nv30 exa : add A8 dst (requires new drm), add some dst formats, handle 1x1 repeat, enable by default. 15975 15976commit 1d7354cbb5875eb13ed88e6aaab69aff615f82b2 15977Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15978Date: Fri Oct 26 04:37:51 2007 +0200 15979 15980 Fix nv30 exa. 15981 15982commit 2cd3d47713cf3eb0d36124902a2c66b689acba51 15983Author: Arthur Huillet <arthur.huillet@free.fr> 15984Date: Thu Oct 25 16:55:18 2007 +0200 15985 15986 s/#define ABC ;/#define ABC do { ; } while(0);/ 15987 15988commit 228b91d3da445fc58bfe6b13e792bbdff3728301 15989Author: Arthur Huillet <arthur.huillet@free.fr> 15990Date: Thu Oct 25 16:40:34 2007 +0200 15991 15992 NV10 EXA: implemented masking via register combiners and added (disabled by default) statistics displaying 15993 15994 masking works for ARGB, XRGB (it's a nop), A8 - no component alpha for now, but it will come soon hopefully 15995 15996commit 7d77ab0692126cea9248b7ee61b001e138b4e47c 15997Author: Arthur Huillet <arthur.huillet@free.fr> 15998Date: Thu Oct 25 10:52:59 2007 +0200 15999 16000 NV10 EXA: fixed A8 as pointed out by p0g 16001 16002commit cdb54271837564bb4a5afd2dc4cf7e7169138975 16003Author: Arthur Huillet <arthur.huillet@free.fr> 16004Date: Thu Oct 25 10:38:42 2007 +0200 16005 16006 NV10 EXA: added support for A8 as source 16007 16008commit 220acbe07e84015e489257a9b9dae8e8f1be8268 16009Author: Peter Winters <peter@whoei.org> 16010Date: Thu Oct 25 10:03:39 2007 +0200 16011 16012 NV10 EXA: use proper XRGB format and use correct RC setup 16013 16014commit 6034387ea96816d34b627c306998342136ecb01b 16015Author: Peter Winters <peter@whoei.org> 16016Date: Thu Oct 25 09:59:01 2007 +0200 16017 16018 NV10 EXA: always use an even width for NPOT_SIZE 16019 16020commit f7f17b789e89aadafa2734cba0f4464c5f317a68 16021Author: Jeremy Kolb <jkolb@brandeis.edu> 16022Date: Wed Oct 24 19:34:49 2007 -0400 16023 16024 nv30: Fix some corruption. Give us some semblance of icons (still messed up though) 16025 16026commit bafa34a7bd7a9136a95c8ced25c5b80556c78c0c 16027Author: Maarten Maathuis <madman2003@gmail.com> 16028Date: Wed Oct 24 20:28:46 2007 +0200 16029 16030 Fix a few NV_IMAGE_BLIT offsets. 16031 16032commit 09f4b66d35543037c4f50910d0265751dded66c0 16033Author: Arthur Huillet <arthur.huillet@free.fr> 16034Date: Wed Oct 24 10:40:17 2007 +0200 16035 16036 NV10EXA : enabled by default for NV1x. Waiting for pq before doing the same for NV2x. 16037 16038commit 6c978164a212ddf4f60f82cdc72b11ebbc96efbb 16039Author: Arthur Huillet <arthur.huillet@free.fr> 16040Date: Wed Oct 24 09:37:34 2007 +0200 16041 16042 Xv: disabled YV12 overlay for NV20 chipsets that do not seem to have it 16043 16044commit 9f48bd410f8cf9aa700e03db807cef2e7cc07e34 16045Author: Maarten Maathuis <madman2003@gmail.com> 16046Date: Wed Oct 24 09:08:41 2007 +0200 16047 16048 randr12: The last step to make lower flatpanel resolutions working. 16049 16050 - Note: the previous randr12 commit also contained some fixes in this area. 16051 16052commit 2bf8bbd1764979d194ff2dbac4a6529cbcbdbc1d 16053Author: Maarten Maathuis <madman2003@gmail.com> 16054Date: Wed Oct 24 00:00:59 2007 +0200 16055 16056 randr12: Misc changes. 16057 16058commit 5841664c82126058e582f215af2323cc80a6150d 16059Author: Arthur Huillet <arthur.huillet@free.fr> 16060Date: Tue Oct 23 22:53:46 2007 +0200 16061 16062 x8r8g8b8 now seems to work (it passes rendercheck) with format 0x380 16063 16064commit 27a713057f0fd2d3c8a77f5eff86393059b60511 16065Author: Arthur Huillet <arthur.huillet@free.fr> 16066Date: Tue Oct 23 22:53:21 2007 +0200 16067 16068 Remove NV10 texture formats that are all wrong. 16069 16070commit 78a0d5a42f96816889f1c9294f11c637dfcba486 16071Author: Arthur Huillet <arthur.huillet@free.fr> 16072Date: Tue Oct 23 19:12:19 2007 +0200 16073 16074 NV10 EXA: A8R8G8B8 without mask works with rendercheck now 16075 16076commit 7543e65cecab510f6bea8b6efc5cdf3cc9d261ae 16077Author: Maarten Maathuis <madman2003@gmail.com> 16078Date: Tue Oct 23 18:41:38 2007 +0200 16079 16080 randr12: actually add scaling factor's 16081 16082 - This was forgotten when i first added this from the haiku driver. 16083 16084commit a11faa794c5dd24cd74d949006c8e86c6c3f0310 16085Author: Maarten Maathuis <madman2003@gmail.com> 16086Date: Tue Oct 23 16:22:56 2007 +0200 16087 16088 randr12: Add a few debug statements that should explain why an output is refused. 16089 16090commit 2d842c39bf210b4b8294a447ec9ac194ec3e2e47 16091Author: Maarten Maathuis <madman2003@gmail.com> 16092Date: Tue Oct 23 16:19:10 2007 +0200 16093 16094 randr12: Check if output is needed before creating it. 16095 16096 - This hopefully fixes a problem some NV30 people have. 16097 16098commit 5c884a188296c9a026f110f272dff5d88d58c0b6 16099Author: Maarten Maathuis <madman2003@gmail.com> 16100Date: Tue Oct 23 15:47:49 2007 +0200 16101 16102 Revert a G70 workaround, this may BREAK your setup. 16103 16104 - Please report if you have issues, but be prepared to help out to find a real fix. 16105 16106commit 0fb93b45378c9d0fbee9bb96bd60d7a995c667b9 16107Author: Arthur Huillet <arthur.huillet@free.fr> 16108Date: Mon Oct 22 19:02:17 2007 +0200 16109 16110 added (disabled) NV10 EXA hooks 16111 16112commit 78af60e798f5b91cc128cd2f84ddae7d0a1523cd 16113Author: Arthur Huillet <arthur.huillet@free.fr> 16114Date: Mon Oct 22 19:00:20 2007 +0200 16115 16116 added NV10 EXA functions to proto header 16117 16118commit cf053adacabaee887ecedaa9967b07b3185095b5 16119Author: Peter Winters <peter@whoei.org> 16120Date: Mon Oct 22 17:04:23 2007 +0200 16121 16122 Fix some blending stuff for NV10 EXA 16123 16124commit b0605fbeef0765e39554a15ea9f871c19258f72c 16125Author: Peter Winters <peter@whoei.org> 16126Date: Mon Oct 22 17:01:26 2007 +0200 16127 16128 Add basic RC setup for NV10 EXA 16129 16130commit 8dea36f6533c5fc35dcb3c24e2fe0c1d009b6693 16131Author: Peter Winters <peter@whoei.org> 16132Date: Mon Oct 22 16:50:47 2007 +0200 16133 16134 Fix NV10 EXA transform 16135 16136commit b9f97583979d7dbbf0058de9f807a97812362c71 16137Author: Peter Winters <peter@whoei.org> 16138Date: Mon Oct 22 16:48:53 2007 +0200 16139 16140 Fix NV10 EXA list of supported formats 16141 16142commit 3dc9778902d9412c469d79e3d437838a6c9da7a5 16143Author: Peter Winters <peter@whoei.org> 16144Date: Mon Oct 22 16:44:08 2007 +0200 16145 16146 Various NV10 EXA fixes 16147 16148commit 391e2dd1216f598538524fdc52a14bfdd4451567 16149Author: Ben Skeggs <skeggsb@gmail.com> 16150Date: Mon Oct 22 22:48:13 2007 +1100 16151 16152 Fix bad s/ 16153 16154commit 162edc70769b24b39f432cb79f5959eff363c564 16155Author: Pekka Paalanen <pq@iki.fi> 16156Date: Sun Oct 21 19:55:41 2007 +0300 16157 16158 Revert "EXA: now caching BLIT_OPERATION and RECT_OPERATION..." 16159 16160 This reverts commit 6d8caf5e0dd915809152c52c2c56a39d76e2ed8c. 16161 16162 Conflicts: 16163 16164 src/nv_exa.c 16165 16166 The above mentioned commit broke EXA copy and solid operations on nv20 16167 after display mode change. Triggered by running freedroid in fullscreen. 16168 (Not freedroidRPG) 16169 16170commit cc04b651348768dc214f59211ba396343aaa6a17 16171Author: Maarten Maathuis <madman2003@gmail.com> 16172Date: Sat Oct 20 20:30:02 2007 +0200 16173 16174 Add back comment. 16175 16176commit 6fd262027c74d5008e484bb5f09edbf5f657470b 16177Author: Maarten Maathuis <madman2003@gmail.com> 16178Date: Sat Oct 20 00:26:02 2007 +0200 16179 16180 randr12: Fix critical bug and minor change. 16181 16182 - The previous code could allow the TMDS[0x4] register of both heads to be set to 0x88. 16183 - This caused problems and freaked out my monitor and scared me as well :-( 16184 - Until further notice, the usage of this swap bit is restricted to very specific situations. 16185 16186commit 377f69172b4935372538d7bbf26852bf8a1fe1c4 16187Author: Maarten Maathuis <madman2003@gmail.com> 16188Date: Fri Oct 19 20:57:58 2007 +0200 16189 16190 randr12: Some changes to crtc regs. 16191 16192commit 85dac1041b38127d41832a6a322d01f87d70f28f 16193Author: Maarten Maathuis <madman2003@gmail.com> 16194Date: Fri Oct 19 08:06:33 2007 +0200 16195 16196 randr12: Some changes to output detection. 16197 16198 - I'm aware that we still can't fully program modes. 16199 16200commit 8320f4f61ca72ee0101c1d552ea3ef28e573d21d 16201Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16202Date: Thu Oct 18 01:56:17 2007 +0200 16203 16204 Remove xaa includes. 16205 16206commit 86855f03945d3bad90da0b28311bece484cbfce7 16207Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16208Date: Thu Oct 18 01:55:06 2007 +0200 16209 16210 Handle -minline-all-stringops properly 16211 16212commit 53ee9726eeda8cf844d32a9563c82b7549ba6c03 16213Author: Ben Skeggs <skeggsb@gmail.com> 16214Date: Wed Oct 17 23:28:50 2007 +1100 16215 16216 re-align nv40exa after ring macro changes 16217 16218commit a5c4786aaeadce6103fcc9b3a6f4e6f25a66730f 16219Author: Ben Skeggs <skeggsb@gmail.com> 16220Date: Wed Oct 17 23:22:05 2007 +1100 16221 16222 Switch to *_RING instead of NVDma* 16223 16224commit 0d1835d67e38ca12347a7965ac43fbfc29063b87 16225Author: Ben Skeggs <skeggsb@gmail.com> 16226Date: Wed Oct 17 16:29:01 2007 +1100 16227 16228 Switch to header generated from XML + other cleanups. 16229 16230 - Renamed object header to nouveau_class.h, so it's not confused with mmio 16231 - Removed usage of method defines in nv_dma.h 16232 - Removed 2D engine EXA composite hook, it was broken, useless and soon to 16233 be obsoleted by card-specific versions. 16234 - Use names in a few places that magic values were previously used. 16235 16236commit b36fbf174849b04928efda2909c461b6c1688cdc 16237Author: Dave Airlie <airlied@optimus.(none)> 16238Date: Tue Oct 16 09:28:58 2007 +1000 16239 16240 nouveau: missing include 16241 16242commit 8425d93f7f932281a1b9b420e676acba2a2b5ecd 16243Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16244Date: Sun Oct 14 17:10:59 2007 +0200 16245 16246 more changes to nv30 exa... displays the pictures at their correct postition and size but doesn't obey the blending parameters (i.e. no blending takes place). 16247 16248commit 212a4cd8884ff9276f64bdd0a0115782d146e36a 16249Author: Maarten Maathuis <madman2003@gmail.com> 16250Date: Sat Oct 13 23:02:27 2007 +0200 16251 16252 randr12: Some fallback defaults for dual-dvi cards, please submit dumps when you can. 16253 16254commit 6d8caf5e0dd915809152c52c2c56a39d76e2ed8c 16255Author: Arthur Huillet <arthur.huillet@free.fr> 16256Date: Sat Oct 13 22:28:39 2007 +0200 16257 16258 EXA: now caching BLIT_OPERATION and RECT_OPERATION (0x2FC) to limit the number of IRQs on NV04 16259 16260commit ceaf8df424651e0f20d63f817864f3e8657f2c21 16261Author: Maarten Maathuis <madman2003@gmail.com> 16262Date: Sat Oct 13 21:45:50 2007 +0200 16263 16264 randr12: Revert a small unnecesary change. 16265 16266commit 7171acbe7f174dcbe8c28c7f1fcb7481f2fafd90 16267Author: Maarten Maathuis <madman2003@gmail.com> 16268Date: Sat Oct 13 21:33:07 2007 +0200 16269 16270 randr12: Hopefully fix panel size detection and allow negative hsync/vsync polarities. 16271 16272commit be08f09ad1ba6aeebf4491727052d246d5568fd2 16273Author: Maarten Maathuis <madman2003@gmail.com> 16274Date: Sat Oct 13 17:26:32 2007 +0200 16275 16276 randr12: Some debug stuff. 16277 16278commit 418e6117a25e51d5b0dbcd87c17f78f9b04fa588 16279Author: Maarten Maathuis <madman2003@gmail.com> 16280Date: Sat Oct 13 12:52:10 2007 +0200 16281 16282 randr12: Remove a double reg and misc changes. 16283 16284commit e30e21ed0ee8b1bd112780badc933dc4552a2e81 16285Author: Maarten Maathuis <madman2003@gmail.com> 16286Date: Fri Oct 12 19:49:32 2007 +0200 16287 16288 randr12: Some misc changes. 16289 16290commit 9425f7a3ea2d80f4df79239e1ca8000bd729c772 16291Author: Jeremy Kolb <jkolb@brandeis.edu> 16292Date: Thu Oct 11 20:32:47 2007 -0400 16293 16294 Remove division in NV30EXATransformCoord. We want coords between 0 and texture width, height. 16295 16296commit 879e653867552f6bb595160670c8325bcb5a0d3b 16297Author: Maarten Maathuis <madman2003@gmail.com> 16298Date: Wed Oct 10 21:40:13 2007 +0200 16299 16300 randr12: Misc fix. 16301 16302commit 99dd9da140a5750b7c4d6030a0e8e1f7fca44033 16303Author: Maarten Maathuis <madman2003@gmail.com> 16304Date: Wed Oct 10 20:08:28 2007 +0200 16305 16306 randr12: Fix switch mode function, so fullscreen apps don't screw up your screen by definition ;-) 16307 16308commit 0c80565e2cb7fa5ff359f57cc3d7016a78a43ac2 16309Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16310Date: Wed Oct 10 14:43:34 2007 +0200 16311 16312 Oops. 16313 16314commit 761ef4bd32f42fb77a3e48985fd6dda81aa081f5 16315Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16316Date: Wed Oct 10 14:42:46 2007 +0200 16317 16318 Try to do something for our desastrous UTS/DFS performance. My PCI card is really hurting. 16319 16320commit 254f9b075034c86e5936954b52f499d573880039 16321Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16322Date: Wed Oct 10 02:34:06 2007 +0200 16323 16324 Still more work on nv30 exa... now starts but nothing works. 16325 16326commit 79dc3ad2c89eef74596a4c8e5714c2c661f56fee 16327Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16328Date: Wed Oct 10 00:48:46 2007 +0200 16329 16330 Don't swap the registers from user space. This is very wrong, and the drm will handle that soon. 16331 16332commit 2c08930f0b2bf06282976d6a357daf7f45405cdc 16333Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16334Date: Wed Oct 10 00:48:06 2007 +0200 16335 16336 Revert back to the other shaders. The terminator instruction doesn't seem to help, and breaks the A8 hack. 16337 16338commit 90d2457125b059916f9b9dd5ddb7cec73a554c55 16339Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16340Date: Tue Oct 9 04:38:29 2007 +0200 16341 16342 Cleanup some nv30 exa issues, add debbuging info to the composite hook. 16343 16344commit e184fc802c7f9103bbc8ee8c036cfe5a9ddd9513 16345Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16346Date: Tue Oct 9 03:28:39 2007 +0200 16347 16348 Some fixes to nv30_exa. Now goes through a couple of composite() calls without crashing. 16349 16350commit 708f28dc8175375713cd9ae4d07b2cfcea3b106c 16351Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16352Date: Tue Oct 9 03:28:11 2007 +0200 16353 16354 Use terminators on the nv30/40 shaders. 16355 16356commit 43d5f747103721b3e0ccf4fe73494729ed34986c 16357Author: Maarten Maathuis <madman2003@gmail.com> 16358Date: Mon Oct 8 19:53:56 2007 +0200 16359 16360 randr12: Small changes makes finding regressions easy ;-) 16361 16362commit 62294d9be8ec6f1159e3c2ad273649f937b7aa7e 16363Author: Maarten Maathuis <madman2003@gmail.com> 16364Date: Sat Oct 6 19:04:51 2007 +0200 16365 16366 EXA: Starting from version 2.4 we can't use devPrivate.ptr anymore. 16367 16368commit 721de8da8fccd6f7b6e5a3044ce82616cdb689e8 16369Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16370Date: Fri Oct 5 23:50:18 2007 +0200 16371 16372 some more work on nv30 exa... 16373 16374commit 80bcbf493b6b2ad927c7a3826cc6e5fa46bca76e 16375Author: Maarten Maathuis <madman2003@gmail.com> 16376Date: Fri Oct 5 22:29:07 2007 +0200 16377 16378 randr12: Misc changes. 16379 16380commit 63ad301baab5803329ba0f192f12c917b435594e 16381Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16382Date: Fri Oct 5 17:20:05 2007 +0200 16383 16384 mandatory oops commit. 16385 16386commit 3773e0e5045a6c347bf26eff71e6bdd4c592cebc 16387Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16388Date: Fri Oct 5 17:18:40 2007 +0200 16389 16390 Split nv30 exa and nv40 exa. 16391 16392commit 37900537c0f8b8dfa3dc80300d6809f1f4ac9423 16393Author: Jeremy Kolb <jkolb@brandeis.edu> 16394Date: Thu Oct 4 23:15:38 2007 -0400 16395 16396 NV30 texture changes. Commented out table that appears to work for nv35 at least. 16397 16398commit 44eb015e88caba82c8d84fee4ea71768c9a6b2a3 16399Author: Jeremy Kolb <jkolb@brandeis.edu> 16400Date: Thu Oct 4 20:37:35 2007 -0400 16401 16402 Fix NV30 arch check. 16403 16404commit 5a76e5a751cd66021565ab92b2fc3c61204c7d73 16405Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16406Date: Thu Oct 4 23:46:43 2007 +0200 16407 16408 fix nv30_exa for nv40. 16409 16410commit d7b767fc951287a1c87965db3c236e05cc94d8f6 16411Author: Maarten Maathuis <madman2003@gmail.com> 16412Date: Thu Oct 4 21:49:33 2007 +0200 16413 16414 NV50: Fix a minor mistake. 16415 16416commit 926e887a4b374768648fe772b1b3d7730096e45f 16417Author: Maarten Maathuis <madman2003@gmail.com> 16418Date: Wed Oct 3 22:57:56 2007 +0200 16419 16420 randr12: Some reindenting. 16421 16422commit 7ee3f670077641e14a0ff024443805564d5be599 16423Author: Patrice Mandin <pmandin@caramail.com> 16424Date: Thu Oct 4 19:54:40 2007 +0200 16425 16426 nv10exa: init link between tcl and image blit for >=nv11 16427 16428commit 6510e75ada6fb921e417588d98afdc58b2c14972 16429Author: Jeremy Kolb <jkolb@brandeis.edu> 16430Date: Wed Oct 3 23:34:23 2007 -0400 16431 16432 nv30_exa: send down pitch correctly 16433 16434commit b7fc7b63eec4a5e23879120284c882e19e095471 16435Author: Jeremy Kolb <jkolb@brandeis.edu> 16436Date: Wed Oct 3 20:54:28 2007 -0400 16437 16438 Fill in some regs. 16439 16440commit 46facb7c29d2737f1cc414655de8e09ee0aea22f 16441Author: Maarten Maathuis <madman2003@gmail.com> 16442Date: Wed Oct 3 22:16:13 2007 +0200 16443 16444 randr12: Actually borrow some timing stuff from Haiku correctly ;-) + new crtc reg 16445 16446commit 9d6b3216ed519e89386480d04070b1c1e4702921 16447Author: Matthieu Castet <castet.matthieu@free.fr> 16448Date: Wed Oct 3 21:21:41 2007 +0200 16449 16450 abort on Init table command not found when parsing bios 16451 16452commit b6351c0efa3629a448557fc7e597ba14fbf057fb 16453Author: Maarten Maathuis <madman2003@gmail.com> 16454Date: Wed Oct 3 19:54:40 2007 +0200 16455 16456 NV50: Fix small mistake. 16457 16458commit f00ea962e549934965100dc6d2806709129995e8 16459Author: Maarten Maathuis <madman2003@gmail.com> 16460Date: Wed Oct 3 19:03:38 2007 +0200 16461 16462 randr12 + NV50: Misc changes. 16463 16464 - Switched everything back to head variable instead of pcio. 16465 - Removed ugly C() macro for NV50. 16466 - Probably some other stuff too. 16467 - Please test NV5x users ;-) 16468 16469commit 5d7f06c2a205004b78692b4dfad477ade3947fd5 16470Author: Maarten Maathuis <madman2003@gmail.com> 16471Date: Tue Oct 2 19:31:10 2007 +0200 16472 16473 NV50: Some infrastructure and minor changes. 16474 16475commit 7680648c9ddb81e2a1c6295431d7074366fb7b9a 16476Author: Maarten Maathuis <madman2003@gmail.com> 16477Date: Tue Oct 2 16:55:07 2007 +0200 16478 16479 NV50: The beginning of moving some code around. 16480 16481 - Please contact me if something breaks, i don't have an NV5x card. 16482 16483commit b812ecaef75216cc76557e6a3a080efa870d189f 16484Author: Maarten Maathuis <madman2003@gmail.com> 16485Date: Tue Oct 2 10:35:37 2007 +0200 16486 16487 NV30EXA: Minor code cleanup. 16488 16489commit 5b974b3bed86d53ccf6915c46aeb310a2bba3519 16490Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16491Date: Mon Oct 1 17:19:41 2007 +0200 16492 16493 Remove those useless casts. 16494 16495commit 734785c05357455a7ae7181fd7326f02e0bd0478 16496Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16497Date: Mon Oct 1 02:01:30 2007 +0200 16498 16499 Some work on nv10 exa. 16500 16501commit 0cfcbcc9d64bfd47b765f4f2ff41d7ad467990bd 16502Author: Matthieu Castet <castet.matthieu@free.fr> 16503Date: Sun Sep 30 22:41:15 2007 +0200 16504 16505 enable bios PINS parsing on post nv10 cards 16506 16507commit 9ac6d0e9d46abdf867fd06f7ca24b718a340bb74 16508Author: Pekka Paalanen <pq@iki.fi> 16509Date: Sun Sep 30 23:09:33 2007 +0300 16510 16511 nv20 inits nv10tcl. 16512 16513commit c3439aebe000a3c6dd716bd4739ce01321bee26b 16514Author: Maarten Maathuis <madman2003@gmail.com> 16515Date: Sun Sep 30 21:43:41 2007 +0200 16516 16517 Fix detection of NV04 and NV05 when using pci-rework. 16518 16519commit 9e070c09f68b0e3e41109360c455b3e2cc1dbb9c 16520Author: Maarten Maathuis <madman2003@gmail.com> 16521Date: Sun Sep 30 19:37:53 2007 +0200 16522 16523 randr12: Switch to proper cursor api + minor changes + small nv50 fix 16524 16525 - Remove the ugly cursor hack. 16526 - A function name on nv50 was still g80, this caused an implicit decleration. 16527 16528commit c7de03556a51009ce69b073d7ecfd01919d24c5f 16529Author: Maarten Maathuis <madman2003@gmail.com> 16530Date: Sun Sep 30 12:40:50 2007 +0200 16531 16532 NV30EXA: Fix rendering issues. 16533 16534 - Full non-composite tests using rendercheck. 16535 - The full test suite of composite has been run (it takes ~15 hours). 16536 - A partial cacomposite has been run (a8, a8r8g8b8, x8r8g8b8). 16537 - All the rendering tests work fine, as does the cairo-knockout demo. 16538 - Thanks to doener for reporting this issue. 16539 16540commit 0574dc5a8bd09216e41656c943c92a437bcf020b 16541Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16542Date: Sat Sep 29 20:20:47 2007 +0200 16543 16544 A little more work on nv10 exa. 16545 16546commit aae155f149af522e1a83168ed4ec5b7b5a40bb73 16547Author: Maarten Maathuis <madman2003@gmail.com> 16548Date: Sat Sep 29 17:28:10 2007 +0200 16549 16550 randr12: Some more CRTC regs. 16551 16552commit 8b03086ee36ca9c3e77f9df9eb4a1805072d2103 16553Author: Maarten Maathuis <madman2003@gmail.com> 16554Date: Sat Sep 29 14:33:38 2007 +0200 16555 16556 randr12: make crtc owner beheaviour consistent with blob + minor changes 16557 16558commit c572315a974746224dba1213e956a1b6189f175d 16559Author: Maarten Maathuis <madman2003@gmail.com> 16560Date: Fri Sep 28 19:58:39 2007 +0200 16561 16562 randr12: Minor changes and more debugging output. 16563 16564commit db36a1df4ba3dddf3669f491bfe6461e4fd490b6 16565Author: Maarten Maathuis <madman2003@gmail.com> 16566Date: Fri Sep 28 18:52:47 2007 +0200 16567 16568 randr12: Some more debugging output and some other minor changes. 16569 16570commit 2d21405c9c0bff36f47e28a5e4086dacae557d17 16571Author: Maarten Maathuis <madman2003@gmail.com> 16572Date: Fri Sep 28 13:02:51 2007 +0200 16573 16574 randr12: Preperation to allow differentation between crtc and pcio in the future. 16575 16576commit f235cf896c1da098ff635d5a882561f16f5fb4f7 16577Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16578Date: Thu Sep 27 18:21:25 2007 +0200 16579 16580 Import nv10 exa code. Does not work yet. 16581 16582commit 74a243d8e188432854c15849ad1ab6e893e48f0a 16583Author: Maarten Maathuis <madman2003@gmail.com> 16584Date: Wed Sep 26 09:04:43 2007 +0200 16585 16586 randr12: Some registers were not constants, so changed it back with a note about the values i had seen. 16587 16588commit a3c71495097f8d745110aad06c9f8e2f6f03baad 16589Author: Maarten Maathuis <madman2003@gmail.com> 16590Date: Tue Sep 25 22:05:36 2007 +0200 16591 16592 randr12: Getting closer, doing a decent attempt at detecting the proper ramdac. 16593 16594 - crtc detection may need to be added 16595 - When i boot up with both analog and dvi attached, my dvi is misprogrammed, maybe some sharing is happening somewhere? 16596 16597commit 4a57ebb9c2098ce5d568a2da6e0640cdcc18d3f0 16598Author: Maarten Maathuis <madman2003@gmail.com> 16599Date: Tue Sep 25 21:06:03 2007 +0200 16600 16601 randr12: detection changes, more to come later 16602 16603 - Detection of crtc's (or a way to program them effectively) still has to be done/fixed. 16604 - It now detects if tmds controls is on another ramdac, for a non-dual dvi setup. 16605 - Disabled TMDS stuff for the moment, since it's incorrect somehow. 16606 - Dumps for single dvi, dual dvi, etc are appreciated. 16607 16608commit 41df1ff6ce348dc6a38e34ce63887c66b0300c09 16609Author: Maarten Maathuis <madman2003@gmail.com> 16610Date: Tue Sep 25 16:22:38 2007 +0200 16611 16612 randr12: Some reindenting. 16613 16614commit 334a9b065c4973876b894eadf05ce86ca439e08f 16615Author: Maarten Maathuis <madman2003@gmail.com> 16616Date: Tue Sep 25 16:17:03 2007 +0200 16617 16618 randr12: simplification of the swapped i2c buses "workaround" for nv4x and some code reindenting 16619 16620commit c40559dacd6fe20f35710111330dee37fb2b9a58 16621Author: Maarten Maathuis <madman2003@gmail.com> 16622Date: Sun Sep 23 01:16:55 2007 +0200 16623 16624 randr12: A frail attempt at some TMDS programming, i have not figured out yet what switches DVI from one RAMDAC to the other. 16625 16626commit 50bc4dbff6df80f5d80f731fe42b06768c429dc0 16627Author: Maarten Maathuis <madman2003@gmail.com> 16628Date: Sun Sep 23 00:57:18 2007 +0200 16629 16630 randr12: Reindenting and minor changes. 16631 16632commit 1a3303a5b6f261470c1c56f84f9b89af950a0b35 16633Author: Maarten Maathuis <madman2003@gmail.com> 16634Date: Sat Sep 22 22:21:37 2007 +0200 16635 16636 randr12: Assign ramdac's in more sane way, otherwise two outputs may end up on the same ramdac. 16637 16638commit 9b62853dfe1664f3624f6be8aa86f6ca15ca8392 16639Author: Maarten Maathuis <madman2003@gmail.com> 16640Date: Sat Sep 22 20:37:32 2007 +0200 16641 16642 randr12: Add some TMDS register infrastructure, so i can try some stuff in the future. 16643 16644commit a445cbcd71ee51d7680a6eb13cd037e06d59b0ba 16645Author: Maarten Maathuis <madman2003@gmail.com> 16646Date: Sat Sep 22 15:55:01 2007 +0200 16647 16648 randr12: hardcoding a base value for debug_0 register. 16649 16650commit f89a3217a18261424e212b355628ce5f5b8b9142 16651Author: Maarten Maathuis <madman2003@gmail.com> 16652Date: Fri Sep 21 23:16:40 2007 +0200 16653 16654 randr12: Some minor changes. 16655 16656commit 5ea59f8f01dbbd4211aee1a0e46a6529cddc016c 16657Author: Maarten Maathuis <madman2003@gmail.com> 16658Date: Fri Sep 21 20:37:50 2007 +0200 16659 16660 randr12: hardcode more stuff + actually use a few previous regs 16661 16662 - I'm going to try and do full modesetting, before tackling the problems that dual monitor setups face (i tried, it wasn't pretty). 16663 16664commit 0f66c725cb8806041faddf94cceb88009f7e9f06 16665Author: Dave Airlie <airlied@redhat.com> 16666Date: Thu Sep 20 08:29:43 2007 +1000 16667 16668 make distcheck pass 16669 16670commit bf3cceeb9c72c16a1cf601c8bd0dedd8c676e3cd 16671Author: Maarten Maathuis <madman2003@gmail.com> 16672Date: Mon Sep 17 18:58:31 2007 +0200 16673 16674 randr12: Add some CRTC regs which the blob sets. 16675 16676commit e3346c17c1ead9619206a5921994b5de7ed72739 16677Author: Maarten Maathuis <madman2003@gmail.com> 16678Date: Mon Sep 17 18:22:53 2007 +0200 16679 16680 randr12: Change the way CRTC register 59 is set. 16681 16682 - Small change, i suspect the original author had a dfp on the second crtc. 16683 - Information taken from a mmio trace of a nv28. 16684 16685commit 6c3aee9d68abdb9303cf03d9024f4f0deb5f1e3e 16686Author: Ben Skeggs <skeggsb@gmail.com> 16687Date: Mon Sep 17 00:01:22 2007 +1000 16688 16689 Make use of exaGetPixmapOffset(). 16690 16691commit 4d9e5d451a516aac64c4b95a4478f252c0c9eafb 16692Author: Ben Skeggs <skeggsb@gmail.com> 16693Date: Sun Sep 16 23:54:14 2007 +1000 16694 16695 Fix randr1.2 with driver-provided modes (ie. LVDS native mode) 16696 16697 Fixes #12368 16698 16699commit 5e58e74435da2071aab9f21386ac6dabdf3f8e7d 16700Author: Ben Skeggs <skeggsb@gmail.com> 16701Date: Sun Sep 16 19:44:42 2007 +1000 16702 16703 NV30EXA: Support PICT_a8 dest surfaces 16704 16705 Quick hack for now, shader handling will get a rework one day and clean all 16706 this up. 16707 16708commit d6d3ddfafaece2d153942ec37e3a8c3127c7c3fa 16709Author: Ben Skeggs <skeggsb@gmail.com> 16710Date: Sun Sep 16 19:01:21 2007 +1000 16711 16712 Bring G8x modesetting into sync with xf86-video-nv. 16713 16714commit 53e35a1d42070fd683eb6d0f169ac3ce482a45b0 16715Author: Ben Skeggs <skeggsb@gmail.com> 16716Date: Sun Sep 16 17:27:22 2007 +1000 16717 16718 Move G80 VBIOS download into nv_bios.c. 16719 16720commit 02d5443d650e628256ebed1f331ad32b0f642a38 16721Author: Arthur Huillet <arthur.huillet@free.fr> 16722Date: Fri Sep 14 21:13:26 2007 +0200 16723 16724 Xv: NV04 overlay now has one "colorkey" attribute 16725 16726 It is technically possible to add other attributes, by copypasting vidix code from mplayer, but it requires a bit of work especially on testing, so I am going 16727 to do it only if someone actually needs it. 16728 16729commit 0fa042e5123066ca2d9f36ff05cf64d0f68289a8 16730Author: Arthur Huillet <arthur.huillet@free.fr> 16731Date: Fri Sep 14 14:17:32 2007 +0200 16732 16733 Xv: NV04 overlay now almost functionnal 16734 16735commit a7ff07f4ab63c5a574e549326f022f84c2b9bab4 16736Author: Arthur Huillet <arthur.huillet@free.fr> 16737Date: Fri Sep 14 12:27:45 2007 +0200 16738 16739 Xv: quick imple of NV04 overlay 16740 16741commit 77076a391647f6111f38b10192d78ea7560ca9e8 16742Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16743Date: Wed Sep 12 13:10:37 2007 +0200 16744 16745 Try to fix nv4/tnt1 16746 16747commit e03fabf7e14599c1619673430ec3d81db90ffd1e 16748Author: Maarten Maathuis <madman2003@gmail.com> 16749Date: Tue Sep 11 20:15:11 2007 +0200 16750 16751 Restore PRAMDAC1 and PCRTC1 offsets, in proper format (0x2000/4) and move them to their proper place. 16752 16753commit 564043d9c1c9b5023f1b69a79d80742338256b83 16754Author: Maarten Maathuis <madman2003@gmail.com> 16755Date: Mon Sep 10 21:14:24 2007 +0200 16756 16757 Fix the memory adresses of the secondary crtc and ramdac + minor change. 16758 16759commit 5672842381a0e8f605cd482563c5d9ea02118647 16760Author: Patrice Mandin <pmandin@caramail.com> 16761Date: Mon Sep 10 18:29:10 2007 +0200 16762 16763 make randr 1.2 disableable for xorg server < 1.3 16764 16765commit 2778d3a9041ec62462585f623f84b1ed05b4ebad 16766Author: Patrice Mandin <pmandin@caramail.com> 16767Date: Mon Sep 10 18:28:03 2007 +0200 16768 16769 make randr 1.2 disableable for xorg server < 1.3 16770 16771commit 9bb76f73f0e648fda79a9c84d6e78469752a4eac 16772Author: Maarten Maathuis <madman2003@gmail.com> 16773Date: Mon Sep 10 07:57:01 2007 +0200 16774 16775 randr12: Apply the same pll restrictions to a two stage design. 16776 16777commit b46bbab81cc9f2093406fa8b53f9ffaf6f7fd0fc 16778Author: Maarten Maathuis <madman2003@gmail.com> 16779Date: Mon Sep 10 07:25:25 2007 +0200 16780 16781 randr12: Some more pll timer restrictions from Haiku. 16782 16783commit 77b424415d31428e113688ec27a405966d5080e6 16784Author: Maarten Maathuis <madman2003@gmail.com> 16785Date: Sun Sep 9 23:11:18 2007 +0200 16786 16787 randr12: Some new pll clock restrictions. 16788 16789commit a1bbfe17cc863497644b58a9206ae3876a654543 16790Author: Maarten Maathuis <madman2003@gmail.com> 16791Date: Sun Sep 9 22:50:19 2007 +0200 16792 16793 Some reindenting. 16794 16795commit dedb80d1237ebacf7531938d627328a20453d5d0 16796Author: Maarten Maathuis <madman2003@gmail.com> 16797Date: Sun Sep 9 22:12:38 2007 +0200 16798 16799 randr12: Modify dcb table for nv40 to make it look more like older hardware. Remove i2c bus reverse. 16800 16801commit 7aa96706ef428f1390d8e938d0bf26b8c046a67d 16802Author: Maarten Maathuis <madman2003@gmail.com> 16803Date: Sun Sep 9 20:40:20 2007 +0200 16804 16805 Removed a check for > 1 active crtc's, which seems really odd, no regressions occured for me. 16806 16807 - I cannot plug in both the vga and dvi connector of my monitor, so i cannot verify that. 16808 - The seperate monitor, on crtc0 and crtc1 work as they did (the afp being slightly shifted). 16809 - Also did a little reindenting. 16810 16811commit 228cb177242be053595b959dedfdfbfa77b1c54f 16812Author: Maarten Maathuis <madman2003@gmail.com> 16813Date: Sun Sep 9 18:49:08 2007 +0200 16814 16815 randr12: Fix a nasty regression from 6ba7e83f8cf2da84dd796ee59cb24c15bc36b746. 16816 16817 - For non-flatpanels the dac was never initialized. 16818 16819commit 0a56cb53d7e2a58ef044c9090f48fd46a2b251d9 16820Author: Maarten Maathuis <madman2003@gmail.com> 16821Date: Sun Sep 9 00:39:41 2007 +0200 16822 16823 randr12: Some missing init. 16824 16825commit 80bfb59a1f1c3968f8e116de611975df4acf5618 16826Author: Maarten Maathuis <madman2003@gmail.com> 16827Date: Sat Sep 8 23:58:39 2007 +0200 16828 16829 Some much needed indenting and readability improvements. 16830 16831commit 20aaacdd69c427f6c75b80f5f206b3187262f3a1 16832Author: Maarten Maathuis <madman2003@gmail.com> 16833Date: Sat Sep 8 21:00:45 2007 +0200 16834 16835 Hopefully fix bridged chip detection, such as the 7800GS AGP. 16836 16837commit b99549b5cb4f4cba2d60292994b2db483f8d4a8c 16838Author: Maarten Maathuis <madman2003@gmail.com> 16839Date: Sat Sep 8 14:25:39 2007 +0200 16840 16841 Remove list that is incorrect and no longer needed. 16842 16843commit b104314a11d3cf3bbb23095ff5805c1d5d8d9775 16844Author: Maarten Maathuis <madman2003@gmail.com> 16845Date: Sat Sep 8 14:24:54 2007 +0200 16846 16847 Fix previous commit, change the way Digital Flat Panels are programmed. 16848 16849 - This is mostly taken from the Haiku driver. 16850 - It works for me, please report any issues you have. 16851 - Added scaling, for running 4:3 resolutions on widescreen for example (untested). 16852 16853commit a867d6912456a5e15a965050bf784687e60634ee 16854Author: Maarten Maathuis <madman2003@gmail.com> 16855Date: Sat Sep 8 00:46:20 2007 +0200 16856 16857 Hopefully this will improve flatpanel beheaviour. 16858 16859 - I looked at Haiku and copied as much as i could. 16860 - I removed the htiming and vtiming hack. 16861 - Let's hope this works. 16862 16863commit 6ba7e83f8cf2da84dd796ee59cb24c15bc36b746 16864Author: Maarten Maathuis <madman2003@gmail.com> 16865Date: Fri Sep 7 23:11:51 2007 +0200 16866 16867 Some more indenting and such. 16868 16869commit d8d835dfb61f437b3eaede0a6ec188835f6eb5ff 16870Author: Maarten Maathuis <madman2003@gmail.com> 16871Date: Fri Sep 7 22:58:56 2007 +0200 16872 16873 Removing a hack in the hopes of finding a better way and some minor changes. 16874 16875commit dd7e568bd101ed34dcdd7d3b6d8169740499d593 16876Author: Maarten Maathuis <madman2003@gmail.com> 16877Date: Fri Sep 7 22:27:18 2007 +0200 16878 16879 Indenting and minor code style changes. 16880 16881commit 8ed256e94dae884b723c172320b15b0d6ae00a1b 16882Author: Maarten Maathuis <madman2003@gmail.com> 16883Date: Fri Sep 7 14:37:40 2007 +0200 16884 16885 randr12: Fix Xv blitter, please see full changelog for other implications. 16886 16887 - Removed the CRTCNumber variable, instead just store if crtc0 and crtc1 are active. 16888 - This coule break old style setups (picking the wrong monitor for example). 16889 - CRTCNumber option temporarily removed, because the piece of code surrounding it is ugly and needs a rework. 16890 16891commit eb595b2e06ec33d5fe2af43bc7ad107f551d99c8 16892Author: Maarten Maathuis <madman2003@gmail.com> 16893Date: Thu Sep 6 23:26:04 2007 +0200 16894 16895 randr-1.2: Only the NV4x have these busses swapped, revert for other architectures. 16896 16897 - If this is also true for NV3x, then please contact me. 16898 16899commit dd146a074fff575e18a41fd386e2a2ce5a1ec847 16900Author: Maarten Maathuis <madman2003@gmail.com> 16901Date: Thu Sep 6 22:55:16 2007 +0200 16902 16903 Update to latest pciaccess api, this now requires libpciaccess 0.10.0. 16904 16905commit 2f37d249605d6f0b80c290683ca35a9431b1078c 16906Author: Maarten Maathuis <madman2003@gmail.com> 16907Date: Thu Sep 6 22:00:30 2007 +0200 16908 16909 NV03 is dead. 16910 16911commit 2b2c99f2581e14d3f1726bc503951b1fe7760c95 16912Author: Maarten Maathuis <madman2003@gmail.com> 16913Date: Thu Sep 6 21:43:55 2007 +0200 16914 16915 randr12: A prettier hack for DFP, that uses several known htiming and vtiming modes. 16916 16917 - I'm fairly sure these modes are tied to resolution. 16918 - You are welcome to supply additional modes. 16919 - A final solution would be even better ;-) 16920 16921commit ab7d37d61a01afea218321d336664896eaec5651 16922Author: Arthur Huillet <arthur.huillet@free.fr> 16923Date: Thu Sep 6 15:09:59 2007 +0200 16924 16925 Xv: work around some overlay bandwidth problems - may break things though 16926 16927 extended nv workaround from bug 4686 in nv_dac.c to NV1x and NV2x cards, as it fixed problems on someone's NV17. 16928 16929commit f46bc9ad5558e9ecf6b174e24658e812811e94ce 16930Author: Maarten Maathuis <madman2003@gmail.com> 16931Date: Wed Sep 5 23:15:57 2007 +0200 16932 16933 Workaround for flatpanels. 16934 16935 - Remove the hardcoded values. 16936 - This should probably work for monitors whose mode is already set. 16937 16938commit 1825031465fc614a2a972ea7a8b44ac32aed8ea3 16939Author: Maarten Maathuis <madman2003@gmail.com> 16940Date: Wed Sep 5 21:23:25 2007 +0200 16941 16942 Fix minor issue. 16943 16944commit c0eefaba3f3706eb62e172bc57ac2795bd16bd56 16945Author: Maarten Maathuis <madman2003@gmail.com> 16946Date: Wed Sep 5 21:22:05 2007 +0200 16947 16948 Fix DPMS, patch by Bernhard Kaindl <bk@suse.de>. 16949 16950commit d4dda6bb972003394dd3326f8042fa5b759fc063 16951Author: Maarten Maathuis <madman2003@gmail.com> 16952Date: Wed Sep 5 21:18:51 2007 +0200 16953 16954 Reverse DDC1 and DDC2. 16955 16956 - I need them reversed. 16957 - I also found this: http://www.mail-archive.com/git-commits-head@vger.kernel.org/msg12009.html 16958 - If you need them otherwise, then please consult and hopefully we can solve it. 16959 16960commit da89d5a4e0263b8a89c549496d10ab43c7f1f230 16961Author: Maarten Maathuis <madman2003@gmail.com> 16962Date: Wed Sep 5 21:16:11 2007 +0200 16963 16964 randr-1.2 clients have their DDC's initialized elsewhere. 16965 16966commit 2b209d9b8907fad3bbaaf7297ff3c340f086bd24 16967Author: Maarten Maathuis <madman2003@gmail.com> 16968Date: Wed Sep 5 21:12:18 2007 +0200 16969 16970 LockUnlock CRTC's when going back to X (EnterVT), patch by Bernhard Kaindl <bk@suse.de>. 16971 16972commit ba7aa5a1525bb3fbc2ae7fbfce3e42a2e945626e 16973Author: Maarten Maathuis <madman2003@gmail.com> 16974Date: Wed Sep 5 18:34:27 2007 +0200 16975 16976 Xv: improved behavior with NoAccel by disabling blitter and overlay 16977 16978commit 42fd07b25d9abece034e972d1413b31fe78eba4c 16979Author: Ben Skeggs <skeggsb@gmail.com> 16980Date: Wed Sep 5 11:58:19 2007 +1000 16981 16982 Avoid segv. 16983 16984commit e74d58cdef0a0ee561e54f3d7d8afdfac030e04a 16985Author: Ben Skeggs <skeggsb@gmail.com> 16986Date: Wed Sep 5 11:53:48 2007 +1000 16987 16988 Add back DCB table parsing from randr-1.2 branch. 16989 16990commit 8a12758a6b7e4313e0269585b6f64eaffe54c74c 16991Author: Ben Skeggs <skeggsb@gmail.com> 16992Date: Wed Sep 5 11:51:35 2007 +1000 16993 16994 Add LVDS panels when found in DCB. 16995 16996commit b01fbbfa2b6be793dbd7695624699ed703ff4424 16997Author: Ben Skeggs <skeggsb@gmail.com> 16998Date: Wed Sep 5 11:34:14 2007 +1000 16999 17000 Nuke "comparison is always false..." warning. 17001 17002commit c53f495ec2994f013406d9738764ab124ed32061 17003Author: Ben Skeggs <skeggsb@gmail.com> 17004Date: Wed Sep 5 10:59:33 2007 +1000 17005 17006 Fix pciid detect on non-8800 cards (they identify as NV8x, not NV5x) 17007 17008 Actually, use 0x88000 to get pciid on all chipsets since NV40. Evidence 17009 suggests that NV4x has both the 0x88xxx regs and 0x18xx regs. 17010 17011commit 17d1a65296ae4fc524a31cd2fe4b9fe9484c0452 17012Author: Ben Skeggs <skeggsb@gmail.com> 17013Date: Wed Sep 5 10:53:32 2007 +1000 17014 17015 Neither overlay or blit adaptor work on G8x. 17016 17017commit 9ce1115cf26a7cf3212fdf446b83907f5795913a 17018Author: Ben Skeggs <skeggsb@gmail.com> 17019Date: Wed Sep 5 10:51:02 2007 +1000 17020 17021 Nuke riva_* files + bits of NV03 that got reincarnated. 17022 17023commit 51e3855104ff7b68559d37e774cde306424399d8 17024Author: Ben Skeggs <skeggsb@gmail.com> 17025Date: Wed Sep 5 10:46:54 2007 +1000 17026 17027 Nuke XAA. 17028 17029commit a0cb03d32b0da3ad2b4e03515926a3d616f487bc 17030Author: Maarten Maathuis <madman2003@gmail.com> 17031Date: Tue Sep 4 23:04:59 2007 +0200 17032 17033 There was some redundant arch checking code left, must have been missed after the randr merge. 17034 17035commit 13aeb83d7e5fcb3f051f95faa48a2ef636d67260 17036Author: Maarten Maathuis <madman2003@gmail.com> 17037Date: Tue Sep 4 22:54:28 2007 +0200 17038 17039 I unknowingly broke CRT's i think. 17040 17041commit a57fe870e49b2e7a3a6caf17fea8c8c878b1024c 17042Author: Maarten Maathuis <madman2003@gmail.com> 17043Date: Tue Sep 4 22:17:52 2007 +0200 17044 17045 Fix several problems. 17046 17047 - Implement a temporary NVSetMode(), suggestion and code by: Bernhard Kaindl <bk@suse.de>. 17048 Note: I've left his comment intact, just a minor change. 17049 - Fix last commit, i forgot to store the last mode. 17050 - Move some header stuff around, which i created without knowing the true purpose of nv_proto.h ;-) 17051 17052commit be468069b752a3a3c595f62eda40e90719496c90 17053Author: Maarten Maathuis <madman2003@gmail.com> 17054Date: Tue Sep 4 20:45:25 2007 +0200 17055 17056 Fix DVI/Digital alligment with some (magic?) values discovered by Matthew Garrett <mjg59@srcf.ucam.org>. 17057 17058commit 9b54aac1641c35ca3edb2d208d8a9a9c55737894 17059Author: Maarten Maathuis <madman2003@gmail.com> 17060Date: Tue Sep 4 20:20:02 2007 +0200 17061 17062 Add suggestion/patch by Bernhard Kaindl <bk@suse.de> and fix NVRestore(). 17063 17064 - When a monitor comes out of DPMS sleep the old state is restored. 17065 - NVRestore() was not ported from randr-1.2 branch, meaning that going from X to console resulted in a unacceptable mode. 17066 17067commit 186e3b551da6e37e0860d06e9265c3c58b763e27 17068Author: Maarten Maathuis <madman2003@gmail.com> 17069Date: Tue Sep 4 18:39:44 2007 +0200 17070 17071 Add pci-rework compatibility and remove the pci-id list. 17072 17073 - Detection is now done by probing registers. 17074 - Nforce/Nforce2 have special "hacks", they have been converted, but are untested. 17075 - NV5x detection should work, but has seen no testing. 17076 17077commit 6f860d6d7637f4eba49636d2bab11ac62da279cf 17078Author: Ben Skeggs <skeggsb@gmail.com> 17079Date: Tue Sep 4 11:38:39 2007 +1000 17080 17081 Badness. 17082 17083commit 54ca35e7379fdb375c0d7be2f8c3ad1513be2a59 17084Author: Ben Skeggs <skeggsb@gmail.com> 17085Date: Mon Sep 3 22:06:27 2007 +1000 17086 17087 Hook up G8x accel code. 17088 17089commit 8c6fd43f63e450acbfd8de563580db715e72f90b 17090Author: Ben Skeggs <skeggsb@gmail.com> 17091Date: Mon Sep 3 22:06:09 2007 +1000 17092 17093 Fix G8x hwcursor 17094 17095commit f6d0e2dde750436090f50f442e3e0f1aa226a7f3 17096Author: Ben Skeggs <skeggsb@gmail.com> 17097Date: Mon Sep 3 21:35:06 2007 +1000 17098 17099 Fix up M2MF code for G8x. 17100 17101commit fe8788da8cd5aca90bbe85e1c975b79ff02682ba 17102Author: Ben Skeggs <skeggsb@gmail.com> 17103Date: Mon Sep 3 21:30:16 2007 +1000 17104 17105 Init grobjs we need on G8x. 17106 17107commit f450a4d0ab9c199db0a99a5e78642a0d66ca2915 17108Author: Ben Skeggs <skeggsb@gmail.com> 17109Date: Mon Sep 3 21:14:59 2007 +1000 17110 17111 Allocate some VRAM for G8x palette. 17112 17113commit dfcfc9a8dac7f1fdf7b31ebdd2bca4c5f33313e0 17114Author: Ben Skeggs <skeggsb@gmail.com> 17115Date: Mon Sep 3 21:06:15 2007 +1000 17116 17117 Don't pound PMC_ENABLE on startup, this is DRM's job. 17118 17119 Fixes resetting parts of G8x that shouldn't be. 17120 17121commit c8a32bab34ffe74a4a323de3885fae87bd916218 17122Author: Ben Skeggs <skeggsb@gmail.com> 17123Date: Mon Sep 3 21:05:08 2007 +1000 17124 17125 Detect unknown G8x chips in NVProbe() + Force randr12 on G8x 17126 17127commit 087fd31d6a5d6a835fc318549a12faa916cf5ed0 17128Author: Dave Airlie <airlied@linux.ie> 17129Date: Mon Sep 3 16:46:34 2007 +1000 17130 17131 fix distcheck after randr-1.2 brought in 17132 17133commit 423f95c02c5b018d6fc78f501ea8b546d73f33fb 17134Author: Dave Airlie <airlied@linux.ie> 17135Date: Mon Sep 3 16:42:32 2007 +1000 17136 17137 merge in the nv50 code from the randr 1.2 branch 17138 17139commit 39e8b6c7c0a159f7a06d786abc0f9c5c30ae6793 17140Author: Dave Airlie <airlied@linux.ie> 17141Date: Mon Sep 3 16:22:47 2007 +1000 17142 17143 randr12: bring over cursor code 17144 17145commit ffd87b9bf2712311e197063a7c4b65b7c06a5ebb 17146Author: Dave Airlie <airlied@linux.ie> 17147Date: Mon Sep 3 16:16:43 2007 +1000 17148 17149 randr12: try and bring over most of the randr12 code into master 17150 17151 This currently shouldn't break master, and randr-1.2 more than likely doesn't actually work 17152 17153commit 708cb3f9d9b66030dd0bfc4beaa657fcdfded784 17154Author: Arthur Huillet <arthur.huillet@free.fr> 17155Date: Fri Aug 31 21:42:51 2007 +0200 17156 17157 Xv: now "powercycling" the overlay using PMC_ENABLE in order to workaround some lock up problems 17158 17159commit 3a5095db9fd33d2feeb4bcfcb8453848998ce04b 17160Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17161Date: Fri Aug 31 01:36:11 2007 +0200 17162 17163 Cut remains of NV03 support. 17164 17165commit 54a922dffaa1a4a7c29c2cf8d73449e6fe9058ed 17166Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17167Date: Fri Aug 31 01:35:52 2007 +0200 17168 17169 Good ol' nv04 doesn't seem to support dithering type for SIFM. 17170 17171commit b680a9652508e0d0e660fd924937870cd4ad3530 17172Author: Arthur Huillet <arthur.huillet@free.fr> 17173Date: Thu Aug 30 23:19:13 2007 +0200 17174 17175 Xv: nv NV30 arbitration patch for DFPs - fixes (some?) bw problems 17176 17177commit f29c9d3fc95f160ded64b911266a479ad0a2fc1a 17178Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17179Date: Wed Aug 29 00:56:05 2007 +0200 17180 17181 Silence more warnings. 17182 17183commit 663bf3cbc881631e54e7d63932f59e1b4289979f 17184Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17185Date: Wed Aug 29 00:20:19 2007 +0200 17186 17187 Silence a warning. 17188 17189commit 5937ace8e2376f0b38249e38d1f97a88f4aca99f 17190Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17191Date: Tue Aug 28 11:18:54 2007 +0200 17192 17193 Some small fixes. 17194 17195commit 30d2b3f0dd4a9b6be5d3ad7a38993e5b84baf90a 17196Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17197Date: Thu Aug 23 22:54:53 2007 +0200 17198 17199 Oops I forgot to enable the nv35 object on nv35... 17200 17201commit 761d25eb9afd4be34f00ff7eff44dac0c2f9d9a2 17202Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17203Date: Thu Aug 23 22:39:34 2007 +0200 17204 17205 Don't enable that non-working nv30 EXA just yet. 17206 17207commit 7e7dec68969db5dfc15a96f6dbe78edbcd1ab5ab 17208Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17209Date: Thu Aug 23 22:33:58 2007 +0200 17210 17211 Add nv30 exa code, doesn't work yet. 17212 17213commit e1789ac879d474015c87c36847f0e2777486d6ad 17214Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17215Date: Wed Aug 22 22:38:08 2007 +0200 17216 17217 Update to the latest nouveau_reg.h file. 17218 17219commit 4fc38aeb54da1cba9d5e231a5151e6429af0ea7e 17220Author: Matthieu Castet <castet.matthieu@free.fr> 17221Date: Tue Aug 21 20:03:15 2007 +0200 17222 17223 init SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION to COLOR_CONVERSION_TYPE_DITHER. 17224 riva and blob init it. 17225 17226commit c63b5a3740dfe3ff5c6b77412e3666a79137c120 17227Author: Arthur Huillet <arthur.huillet@free.fr> 17228Date: Tue Aug 21 14:55:07 2007 +0200 17229 17230 Fixed blending in NVComposite by actually creating ContextBeta1 and 4 objects 17231 17232commit 4454b3d0104c14890b9b5ead33823ffd0362315c 17233Author: Arthur Huillet <arthur.huillet@free.fr> 17234Date: Mon Aug 20 23:50:43 2007 +0200 17235 17236 Workaround for NVComposite bug #11949 17237 17238 Accepting only PictOpSrc now, PictOpOver causing crashes. 17239 17240commit 450cf465bd850d70ba00711e7d85e1e8eaeff502 17241Author: Arthur Huillet <arthur.huillet@free.fr> 17242Date: Mon Aug 20 13:18:15 2007 +0200 17243 17244 Xv: fixed wrong fix of big endian NV12 copy, as explained by Daniel Chassot 17245 17246 No sleepless coding ever again. <- big lie 17247 17248commit b8780f3d9a7e1bd596f19cbb4867908dd6be53db 17249Author: Arthur Huillet <arthur.huillet@free.fr> 17250Date: Mon Aug 20 00:46:00 2007 +0200 17251 17252 Xv: patch from Daniel Chassot to do 32bit memory writes in NVCopyNV12ColorPlanes, with minor reworking of mine 17253 17254commit 690b4b7adc02e7170451bd5bc6616bc03823d2e5 17255Author: Arthur Huillet <arthur.huillet@free.fr> 17256Date: Sun Aug 19 21:04:00 2007 +0200 17257 17258 Xv: this time a correct matching ? :) 17259 17260commit 6b6505bc54fc29fc22d2be995f34b24ddb9dbaa0 17261Author: Arthur Huillet <arthur.huillet@free.fr> 17262Date: Sun Aug 19 20:18:49 2007 +0200 17263 17264 Xv: stupid build error. blah. 17265 17266commit 28b66c26f85f7730ba9a54db3f778bfd5b24915d 17267Author: Arthur Huillet <arthur.huillet@free.fr> 17268Date: Sun Aug 19 20:14:38 2007 +0200 17269 17270 Xv: now catching all chips < NV17 17271 17272commit 94ae23e2a1ebe9fe3f4bf2039ad3b2e5f0e3e55e 17273Author: Arthur Huillet <arthur.huillet@free.fr> 17274Date: Sun Aug 19 19:50:57 2007 +0200 17275 17276 Xv: disabled YV12 overlay on < NV17 17277 17278commit 1f83dbfa6ef774276e0da3dc4f74cbabe55f76fa 17279Author: Arthur Huillet <arthur.huillet@free.fr> 17280Date: Fri Aug 17 00:45:47 2007 +0200 17281 17282 Xv: now only uploading the part of source image that is used to workaround bandwidth problems 17283 17284commit ffa62dc9f573448c8a832324973513f7ba985b33 17285Author: Arthur Huillet <arthur.huillet@free.fr> 17286Date: Wed Aug 15 02:27:15 2007 +0200 17287 17288 Cleaner DMA and CPU copy upload of color plane for overlay. Fixes a few bugs and is necessary for the bandwidth problem workaround. 17289 17290commit 72c62c48faf2acffae1bc311051537f46972ae58 17291Author: Patrice Mandin <pmandin@caramail.com> 17292Date: Tue Aug 14 22:26:02 2007 +0200 17293 17294 Can not setup dfp modes with xorg-server-1.1 also 17295 17296commit 54eadd624282ae6d0493a3cb54afda7600c7e12b 17297Author: Patrice Mandin <pmandin@caramail.com> 17298Date: Tue Aug 14 22:12:37 2007 +0200 17299 17300 Make NV30 EXA disablable 17301 17302commit da6522dbfcff10081ce2ad866ba4afdd18b413d7 17303Author: Arthur Huillet <arthur.huillet@free.fr> 17304Date: Tue Aug 14 15:01:58 2007 +0200 17305 17306 Implemented CPU copy fallback for native YV12 overlay as well. 17307 17308commit e417307bfc8610f010728d82bb80fced7d0d7aa7 17309Author: Arthur Huillet <arthur.huillet@free.fr> 17310Date: Tue Aug 14 14:47:44 2007 +0200 17311 17312 Native YV12 overlay support, cleaner Xv code 17313 17314 Added support for a native YV12 overlay for NV10+ cards. 17315 Cleaned up Xv code. 17316 CPU copy fallback does not do native YV12 yet. 17317 Bandwidth problem with YV12. 17318 17319commit b3e4da61e8c846d8d3f01b015cb7155da4e266e9 17320Author: Carlos Martín Nieto <carlos@cmartin.tk> 17321Date: Sat Aug 11 12:27:56 2007 +0200 17322 17323 Don't dereference the uninitialised pNv->FB pointer. 17324 17325 Opps, mea culpa. I accidentally commited a debug statement that 17326 dereferences an uninitialised pointer. 17327 17328commit a7d29fd932fe14ca5b82cda64341704164fb7e09 17329Author: Carlos Martín Nieto <carlos@cmartin.tk> 17330Date: Fri Aug 10 20:01:27 2007 +0200 17331 17332 Move DRI's FB to the higher half of VRAM 17333 17334 If we don't, DRM's push buffer takes the map away from us. 17335 17336 This is just a workaround until that useless DRI mapping goes away. 17337 17338commit f9e7849e8736d1477e867a3a1262f0f82baefbcb 17339Author: Arthur Huillet <arthur.huillet@free.fr> 17340Date: Fri Aug 10 20:59:12 2007 +0200 17341 17342 of course, we don't need Xv debug messages upstream 17343 17344commit ee098308c6aca7615bc6ee597e9ca531520f4119 17345Author: Arthur Huillet <arthur.huillet@free.fr> 17346Date: Fri Aug 10 19:28:22 2007 +0200 17347 17348 "smart" overlay with composite, and a tentative fix of flickering when dropping frames 17349 17350 added "smart overlay" when composite is enabled. not extensively tested 17351 now not changing the buffer when skipping frames - not sure it even has an impact. 17352 17353commit 9cc11cbc9ce10b99f72d7c08584bf61d179cdbda 17354Author: Ben Skeggs <skeggsb@gmail.com> 17355Date: Thu Aug 9 01:46:46 2007 +1000 17356 17357 Fix blit adaptor + NVWaitVBlank() (ie. replace old magic 0x400710 hack) 17358 17359commit 22e965038bbc64c7b5118fc9a03ecf5f467d1665 17360Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17361Date: Wed Aug 8 12:45:59 2007 +0200 17362 17363 And of course, we don't really need these ErrorFs. Not any more than last time. 17364 17365commit 1c5a3e271ca628c61fce0bcef24d0bda15d06d7e 17366Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17367Date: Wed Aug 8 12:38:14 2007 +0200 17368 17369 Oh, and of course we need a new object. 17370 17371commit a9b44880924ee814f0bd4b0015ab152f2d0b9051 17372Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17373Date: Wed Aug 8 12:37:31 2007 +0200 17374 17375 Use IMAGE_FROM_CPU for smaller UTS. This is async and helps a lot with glyphs especially. 17376 17377commit 9cb4c95a4fbf38fcb8249e765ff71b2e24912244 17378Author: Ben Skeggs <skeggsb@gmail.com> 17379Date: Wed Aug 8 11:48:48 2007 +1000 17380 17381 Add forgotten prototype 17382 17383commit 089ff874e0a798c1b2693b5ab01cfa04c939f758 17384Author: Ben Skeggs <skeggsb@gmail.com> 17385Date: Wed Aug 8 10:32:08 2007 +1000 17386 17387 Timeouts got lost somewhere along the way.. 17388 17389commit 15a680a6d715f87910b07133e1b98e2d4be9a108 17390Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17391Date: Tue Aug 7 23:42:09 2007 +0200 17392 17393 Fix some overlooked hardcoded subchannels... 17394 17395commit 3f0a52c44697787d84d4f2cf61872e13d630f62a 17396Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17397Date: Mon Aug 6 23:30:04 2007 +0200 17398 17399 Fix explicit usage of subchannels, and remove subchannel defines altogether. 17400 17401commit 17b65f1c2be3e609d387066d72dd8f5f7e2a6d92 17402Author: Matthieu Castet <castet.matthieu@free.fr> 17403Date: Mon Aug 6 19:55:52 2007 +0200 17404 17405 make XAA work on nv17 17406 17407commit bf5684ba05e50fe48cce1e634caf03725fa907e6 17408Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17409Date: Mon Aug 6 18:27:19 2007 +0200 17410 17411 oops remove the debugging ErrorFs. 17412 17413commit 2eab8453d73b4e7fd6c2d772d595ca5e8fa8c975 17414Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17415Date: Mon Aug 6 18:13:13 2007 +0200 17416 17417 Fix UTS/DFS when gart is smaller than transfer size. 17418 17419commit 71076f7947ec71b7a0f363c23f5a51ef09cdd9c0 17420Author: Ben Skeggs <skeggsb@gmail.com> 17421Date: Tue Aug 7 02:09:30 2007 +1000 17422 17423 NVDmaSetObjectFromSubchannel doesn't exist anymore! 17424 17425commit 4a6c2bd2bedcf9f67c3e498b1411ad58cd66199c 17426Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17427Date: Mon Aug 6 17:29:41 2007 +0200 17428 17429 Add subchannel handling code 17430 17431commit c7b16f6fff96ffcff8049feed2a0a9ef6de4209f 17432Author: Ben Skeggs <skeggsb@gmail.com> 17433Date: Mon Aug 6 21:45:50 2007 +1000 17434 17435 Adapt to drm 0.0.10 17436 17437commit 59d073c9b01a8f61675b8d74f5c55f134ddfb8bf 17438Author: Arthur Huillet <arthur.huillet@free.fr> 17439Date: Mon Aug 6 01:37:17 2007 +0200 17440 17441 Xv: waiting for last transfers to finish before freeing notifiers 17442 17443commit 047aa7e0a6ecce59c9be8d36c51f082c0ddaafe8 17444Author: Ben Skeggs <skeggsb@gmail.com> 17445Date: Mon Aug 6 00:13:35 2007 +1000 17446 17447 Clamp NV_MEMORY_TO_MEMORY_FORMAT_LINE_COUNT to 2047 lines. 17448 17449 At least NV40 can't handle values larger than this. Patch fixes hang 17450 when visiting opengl.org. 17451 17452commit 68070ff7309c8b1cf149490dcf537892b0bf44bc 17453Author: Arthur Huillet <arthur.huillet@free.fr> 17454Date: Mon Jul 30 03:27:55 2007 +0200 17455 17456 Xv now manages a pool of 6 notifiers for its double buffering. Also improved the memory allocation logic. 17457 17458commit bceef7210e44dc643a5f7a5b5683d5c434a07565 17459Author: Arthur Huillet <arthur.huillet@free.fr> 17460Date: Sun Jul 29 01:54:42 2007 +0200 17461 17462 Xv: fixed bugs when displayed only part of the source image (tvtime with overscan) 17463 Xv: fixed bug with overlay behaving badly when window is partly out of screen 17464 Xv: clean up NVPutImage code 17465 17466commit a434cc6dd38ffa658bacf5547ec0384ec5351e9c 17467Author: Dave Airlie <airlied@ppcg5.localdomain> 17468Date: Sat Jul 28 16:34:49 2007 +1000 17469 17470 exa: disable compositing on big endian machines 17471 17472 This at least allows me to see what I'm typing for now :-) 17473 17474commit 175c2b7f7b9e45924e1de7f7ea1130fda76d02fd 17475Author: Arthur Huillet <arthur.huillet@free.fr> 17476Date: Fri Jul 27 19:50:48 2007 +0200 17477 17478 no overlay with composite 17479 17480commit 200c82634971b32bcc308b5e07c113048cf37aa4 17481Author: Arthur Huillet <arthur.huillet@free.fr> 17482Date: Fri Jul 27 16:28:48 2007 +0200 17483 17484 Xv: gotos are evil 17485 17486commit 8544c0ce64780be1bb5f66550d9d6f1e3c87865c 17487Author: Arthur Huillet <arthur.huillet@free.fr> 17488Date: Fri Jul 27 15:11:31 2007 +0200 17489 17490 Removed comments in preparation for upstream push 17491 17492commit 2c60f6e9fc5260eba5b7ddaf67085781f35bfc58 17493Author: Arthur Huillet <arthur.huillet@free.fr> 17494Date: Thu Jul 26 23:00:02 2007 +0200 17495 17496 re-added CPU copy code as a second fallback option (first being to use X GARTScratch) 17497 17498commit c4dfad770d380dacddd3be025e96f867047327cc 17499Author: Arthur Huillet <arthur.huillet@free.fr> 17500Date: Thu Jul 26 16:08:40 2007 +0200 17501 17502 Completely removed notifier wait, when using double buffered stuff. 17503 I may have to re-add a wait in the future, but I'm not sure yet how to use two notifiers at a time. 17504 17505commit 8ba6a9c7494ebd53a3fe775d4d9b402e918a6598 17506Author: Arthur Huillet <arthur.huillet@free.fr> 17507Date: Thu Jul 26 15:21:08 2007 +0200 17508 17509 Preliminary implementation of "host-side double buffering" to improve performance of Xv 17510 17511commit 4f4721f1b8a76a0bf9938e3c614ba7166d5f3dab 17512Author: Arthur Huillet <arthur.huillet@free.fr> 17513Date: Wed Jul 25 22:23:37 2007 +0200 17514 17515 removed pointless sleep in notifier wait 17516 17517commit 290e71edfbc6297c63989d5c21a67717b4ca5f76 17518Author: Arthur Huillet <arthur.huillet@free.fr> 17519Date: Fri Jul 20 17:46:18 2007 +0200 17520 17521 cleaner Xv code - fallback on CPU copy yet to be implemented 17522 17523commit e760235a0596895b726220366c50d4e7c244006e 17524Author: Arthur Huillet <arthur.huillet@free.fr> 17525Date: Fri Jul 20 01:33:49 2007 +0200 17526 17527 Now using GART as the source for the blitter - preliminary implementation, gotta clean it up 17528 17529commit a97181f95a1f5da6180b8a72f3ca307079b92079 17530Author: Arthur Huillet <arthur.huillet@free.fr> 17531Date: Fri Jul 20 01:22:11 2007 +0200 17532 17533 now yielding in the wait for notifier for Xv only 17534 17535commit 81cc744eb31343a509f9ca0d37993d462f162d80 17536Author: Arthur Huillet <arthur.huillet@free.fr> 17537Date: Sun Jul 15 01:00:19 2007 +0200 17538 17539 VERY EXPERIMENTAL now EXA waits for sync before its operations - this removed the text corruption and didn't affect performance here, please report. 17540 17541commit 74ed14e1d27903f0647fe650da666cacb1e2e940 17542Author: Arthur Huillet <arthur.huillet@free.fr> 17543Date: Sun Jul 15 00:35:46 2007 +0200 17544 17545 VERY EXPERIMENTAL moved the notifier wait at the beginning of NvPutImage 17546 17547commit 590e385cb5e4f26532ec5ee380f2aaae1cd69894 17548Author: Arthur Huillet <arthur.huillet@free.fr> 17549Date: Thu Jul 12 03:19:21 2007 +0200 17550 17551 new structure for PutImage, and DMA transfers 17552 17553commit d4abe1fb011d414fda1871f052dda5b860f0820b 17554Author: Ben Skeggs <skeggsb@gmail.com> 17555Date: Tue Jul 17 13:09:34 2007 +1000 17556 17557 Emit NOTIFY+NOP sequence after M2MF. 17558 17559commit 36396aeaeabfd00c7014fa52c17261c3da8b6a82 17560Author: Ben Skeggs <skeggsb@gmail.com> 17561Date: Fri Jul 13 15:28:56 2007 +1000 17562 17563 Play "nuke the typedef" 17564 17565commit 99e0fbc1a34f535abf41c6f4566901c326dfa4b5 17566Author: Ben Skeggs <skeggsb@gmail.com> 17567Date: Thu Jul 12 10:47:53 2007 +1000 17568 17569 Match drm 0.0.9 interface changes. 17570 17571commit e88b20b392c6972088d88f52b2da83b82b821be5 17572Author: Arthur Huillet <arthur.huillet@free.fr> 17573Date: Wed Jul 11 02:42:24 2007 +0200 17574 17575 added support for PCI GART when no AGP is available - requires DRM interface version 8 17576 17577commit dff1cce299df636813e8f85109f4556f520620c0 17578Author: Ben Skeggs <skeggsb@gmail.com> 17579Date: Sun Jul 1 18:22:37 2007 +1000 17580 17581 Always provide UTS, fallback to memcpy if no GART. 17582 17583commit 2e0e7e3856573fbbcb5fe5c96cadcde4d33db68f 17584Author: Ben Skeggs <skeggsb@gmail.com> 17585Date: Sun Jul 1 18:19:44 2007 +1000 17586 17587 Always provide DFS, use memcpy fallback if no GART. 17588 17589commit ba0d3fbba7c1a83ddc509414772199862a4a1d03 17590Author: Ben Skeggs <skeggsb@gmail.com> 17591Date: Sat Jun 30 15:27:07 2007 +1000 17592 17593 Remove some unused cruft 17594 17595commit 3e2677040937fda1cd6e6ea26c238049bd9f99ba 17596Author: Ben Skeggs <skeggsb@gmail.com> 17597Date: Sat Jun 30 04:26:48 2007 +1000 17598 17599 No need to call exaMarkSync() in UTS/DFS. 17600 17601commit e81c9a29e6d1c6573892df8601f0361c2b09c659 17602Author: Ben Skeggs <skeggsb@gmail.com> 17603Date: Thu Jun 28 15:16:35 2007 +1000 17604 17605 Bail if GlxSetVisualConfigs isn't found. 17606 17607commit fce3edda42d10a9c3249c6eae4218a51a981493f 17608Author: Ben Skeggs <skeggsb@gmail.com> 17609Date: Mon Jun 25 12:45:31 2007 +1000 17610 17611 Bump required xorg-server version to 1.3 17612 17613commit 8f1c9af02651404f8b4800b150a86bb47062fd68 17614Author: Ben Skeggs <skeggsb@gmail.com> 17615Date: Mon Jun 25 12:44:12 2007 +1000 17616 17617 Check PRAMIN for BIOS image if not found in PROM. 17618 17619commit 824331e3fce36098e8dec31746204f7c13038abb 17620Author: Ben Skeggs <skeggsb@gmail.com> 17621Date: Sun Jun 24 17:48:33 2007 +1000 17622 17623 Implement NV40 EXA composite hooks with 3D engine. 17624 17625 Named NV30EXA, but won't work on NV30 just yet. This should change at some 17626 point in the future. 17627 17628 Will likely break non-voodoo'd NV4X cards (if the latest drm changes didn't 17629 already break them). Use EXANoComposite xorg.conf option to disable the hook 17630 if that's the case. 17631 17632commit 2e2e95fc3b650ca633294bf4c11c9ba28f45b743 17633Author: Ben Skeggs <skeggsb@gmail.com> 17634Date: Sun Jun 24 17:34:10 2007 +1000 17635 17636 Slightly saner UploadToScreen implementation 17637 17638commit 35806975047aa8c0dbc059709bb823f475ee7368 17639Author: Ben Skeggs <skeggsb@gmail.com> 17640Date: Sun Jun 24 17:27:42 2007 +1000 17641 17642 Wait on notifier instead of PGRAPH_STATUS 17643 17644 When multiple channels are in use, PGRAPH_STATUS may report busy even if the 17645 ddx's channel is idle. 17646 17647commit c39089b3d686eecef11db2b5a2d606ba1ca2dc0c 17648Author: Ben Skeggs <skeggsb@gmail.com> 17649Date: Sun Jun 24 17:21:27 2007 +1000 17650 17651 Match drm 0.0.7 interface changes 17652 17653commit 45dccb99a541a0e1e7be7b4e5aab12c3d8d9f30d 17654Author: Ben Skeggs <skeggsb@gmail.com> 17655Date: Sun Jun 24 16:47:36 2007 +1000 17656 17657 Hide the allocator's use of physical addresses 17658 17659commit d41cf4febd555cca1c65df7aa981be64a6ae4219 17660Author: Ben Skeggs <skeggsb@gmail.com> 17661Date: Sun Jun 24 16:46:40 2007 +1000 17662 17663 Pass pScrn instead of pNv in a few places 17664 17665commit d59fbb4725602c409beee4ab96dca1eab5d73b2a 17666Author: Ben Skeggs <skeggsb@gmail.com> 17667Date: Mon Jun 11 20:36:28 2007 +1000 17668 17669 don't nuke user-specified CFLAGS 17670 17671commit 7af7d95eb8826fa3fb9914a8c6ad4b6f4867095e 17672Author: Henry Zhao <henryz@localhost.localdomain> 17673Date: Mon Apr 23 01:38:09 2007 +0200 17674 17675 Import from nv : Need to inject a mode corresponding panel width/height for validation 17676 17677commit 896fe62233f62d5e1f874ed0eba3a200fa5ef14b 17678Author: Richard Hughes <richard@hughsie.com> 17679Date: Sun Apr 15 23:01:52 2007 +0200 17680 17681 Fix make dist. 17682 17683commit e0e90f427581929fd01c96f1958a1292982dee83 17684Author: Ben Skeggs <skeggsb@gmail.com> 17685Date: Mon Mar 26 01:04:15 2007 +1000 17686 17687 nouveau: rip out card init, everything except modesetting. 17688 17689commit 23fdec37c580c3b5de263dfd48bd80fa9f21bc19 17690Author: Ben Skeggs <skeggsb@gmail.com> 17691Date: Wed Mar 21 17:55:38 2007 +1100 17692 17693 nouveau: bump for drm interface changes (v0.0.5) 17694 17695commit 1fddcfe6680148ed2edd8017217734a1f812298c 17696Author: Matthieu Castet <castet.matthieu@free.fr> 17697Date: Sun Mar 18 11:30:54 2007 +0100 17698 17699 Fix "Fix NoAccel mode" commit : NVAccelCommonInit return a bool 17700 17701commit 113c6837a6515d533bfa15daf49f6cd2c4c95ac4 17702Author: Matthieu Castet <castet.matthieu@free.fr> 17703Date: Sun Mar 18 11:28:04 2007 +0100 17704 17705 Fix NoAccel mode 17706 17707commit d1b75251a3f225890f1e25b11038389d71b67611 17708Author: Ben Skeggs <skeggsb@gmail.com> 17709Date: Wed Mar 7 21:41:22 2007 +1100 17710 17711 Rip out nv30_exa.c, we have other means to play with the 3D engine now. 17712 17713commit adb2df9a9c88bc9646b65a235aa36416c3064c9f 17714Author: Ben Skeggs <skeggsb@gmail.com> 17715Date: Wed Mar 7 16:46:27 2007 +1100 17716 17717 Xv: Make the blit adaptor play nice with EXA 17718 17719 Previously the blit adaptor assumed that all drawing (ie. XAA) would occur to 17720 the screen pixmap, so it didn't bother touching surface offsets. Now, with 17721 EXA this isn't true and the card complained about exceeding the colour buffer 17722 limits when attempting to play video. 17723 17724 This patch kills 2 birds with one stone; instead of pointing the GPU back at 17725 the screen pixmap when playing video, we point it at the destination drawable. 17726 So, Xv will also hopefully play nicely with redirected windows now. 17727 17728commit f28abbedfc7deeb90317dd24c7ec5dfe1ae94fdf 17729Author: Ben Skeggs <skeggsb@gmail.com> 17730Date: Wed Mar 7 13:58:48 2007 +1100 17731 17732 Only use Y32 for Solid(). 17733 17734 It's the only place the workaround is needed at this point, and in some places 17735 we need to use the "proper" ARGB format (Xv for instance). 17736 17737commit 6441253d34d118befe8950781ba012fc58bb5158 17738Author: Ben Skeggs <skeggsb@gmail.com> 17739Date: Wed Mar 7 04:33:44 2007 +1100 17740 17741 Fail configure if xorg-server isn't at least version 1.1 17742 17743 The minimum requirement has been 1.1 for a while now, but would only fail 17744 at compile time when compiling nv_exa.c. This patch makes configure fail, 17745 and removes the remaining conditional support for older servers. 17746 17747 Hopefully the configure.ac is ok, I suck at autofoo. 17748 17749commit e568c2d8e82b1bcf25e495f4a82331803d954234 17750Author: Ben Skeggs <skeggsb@gmail.com> 17751Date: Wed Mar 7 04:22:24 2007 +1100 17752 17753 reindent and move nv_video.c around a bit 17754 17755commit a0a5586836eb87a8c21abb06f9b8afd64eec714a 17756Author: Ben Skeggs <skeggsb@gmail.com> 17757Date: Tue Mar 6 05:42:29 2007 +1100 17758 17759 Use Y32 format instead of A8R8G8B8 for 32-bpp pixmaps 17760 17761 fixes 32-bpp EXA solid-fills, previously alpha was forced to 0xff. 17762 17763commit 2e9976c034b6c310b7ad0fc858250c5e54781a9e 17764Author: Ben Skeggs <skeggsb@gmail.com> 17765Date: Mon Mar 5 14:45:04 2007 +1100 17766 17767 move NVAccel* funcs into nv_accel_common.c 17768 17769commit add6463b848fab274cb5cc190a78aeafc1389203 17770Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17771Date: Sun Mar 4 22:40:48 2007 +0100 17772 17773 Joint patch from Ben Skeggs and me that fixes some (all ?) composite issues. 17774 17775commit 83868bd0a36520da49e40e2b8404e4652de39824 17776Author: Ben Skeggs <darktama@iinet.net.au> 17777Date: Thu Mar 1 08:39:23 2007 +1100 17778 17779 nouveau: avoid attempting an AGP-only alloc 17780 17781 will fail on non-AGP cards, and leave nasty messages in Xorg.log... 17782 17783commit da1dd87acb7061b4772c271dc3c9071a3b160e8a 17784Author: Ben Skeggs <skeggsb@gmail.com> 17785Date: Wed Feb 28 15:30:52 2007 +1100 17786 17787 match drm v4 interface changes 17788 17789 context (gr/dma) object handling: 17790 - remove use of flags/dmaobj when creating objects 17791 - move object creation/setup into nv_accel_common.c 17792 - NV04: make PGRAPH complain a bit more if we program the hardware 17793 incorrectly. 17794 - NV04/NV10: enable PGRAPH_DEBUG_3_CTX_METHODS 17795 This bit seems to enable the use of SET_* methods. 17796 - NV04/NV10/NV40: enable PGRAPH_DEBUG_3_IGNORE_PATCHVALID 17797 Objects no longer get PATCH_CONFIG_VALID set in their context. 17798 Not sure how to get this set other than to intercept the 17799 PATCH_EXCEPTION error and enable the flag. I opted for the 17800 same method NVIDIA use, which makes PGRAPH ignore it. 17801 misc: 17802 - use NV04_SCALED_IMAGE_FROM_MEMORY on all NV_ARCH_04 cards 17803 - fix offScreenBase calculation (EXA) 17804 - move mem alloc/free helpers into nv_mem.c 17805 17806commit 7e5f90b264fdb3081250ff16748164998b6461a6 17807Author: Adam Jackson <ajax@benzedrine.nwnk.net> 17808Date: Tue Feb 27 14:46:20 2007 -0500 17809 17810 Typo fix. 17811 17812commit c85da5d8b346e17e68da68e57d62c3f77029b680 17813Author: Damien Thebault <damien.thebault@laposte.net> 17814Date: Wed Feb 14 00:35:50 2007 +0100 17815 17816 Don't output the chipset list to the log file, silence some warnings. 17817 17818commit f650cb126e042b44126df6a298e996726356ec5b 17819Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17820Date: Wed Feb 14 00:29:52 2007 +0100 17821 17822 Fix the workaround (or workaround the fix). 17823 17824commit ac2784d38634bc6d8aec3a94d609b60cd49b21b6 17825Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17826Date: Wed Jan 24 20:39:40 2007 +0100 17827 17828 Make NV_DMA_DEBUG print the fifo position. 17829 17830commit d54d441df4294bf4fed26635a738f4111087e06d 17831Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17832Date: Wed Jan 24 19:13:05 2007 +0100 17833 17834 Increase the fifo dump size. 17835 17836commit b21dbb170aa49c83ef450c2ab8c34614277e7fbc 17837Author: B. Rathmann <koala_br@users.sourceforge.net> 17838Date: Wed Jan 24 13:46:16 2007 +0100 17839 17840 Fix the G70 issues. 17841 17842commit e683979666a4c07590b7bade2f62cca33c19a3b2 17843Author: Ben Skeggs <darktama@iinet.net.au> 17844Date: Fri Jan 19 15:40:22 2007 +1100 17845 17846 bump drm patchlevel 17847 17848commit feff7cb67ae61987146a21dad535702f3db2264c 17849Author: Jeremy Kolb <jkolb@brandeis.edu> 17850Date: Thu Jan 18 21:28:51 2007 -0500 17851 17852 Fill in some more nv30 magic values. Not sure what they do yet but they don't hurt anything. 17853 17854 Apply names to other registers. 17855 17856commit 31462c30bb79e8245edee0cf57c46b889d2f259b 17857Author: Jeremy Kolb <jkolb@brandeis.edu> 17858Date: Wed Jan 17 08:34:56 2007 -0500 17859 17860 Fix PGRAPH_DEBUG* regs to match what's done on the nv35. Specifically change DEBUG_3 | 0x00de0000 for data/format/dma checking. This is consistent with other cards and dumps so it should be correct. 17861 17862commit 4583312ba72047e6bc65bfc576a0bcf90e04b2de 17863Author: David Jeannot <djeannot24@gmail.com> 17864Date: Tue Jan 16 00:03:56 2007 +0100 17865 17866 Indent nv_bios.c properly. 17867 17868commit 6246fba5a54dc7af9a8b16c5a14131180831562d 17869Author: Patrice Mandin <patrice@manoir.racoon.city> 17870Date: Fri Jan 12 20:25:16 2007 +0100 17871 17872 Add missing include for malloc/free 17873 17874commit 37937980ec7b21c40539daee029886c4f4a0f0cd 17875Author: Jeremy Kolb <jkolb@brandeis.edu> 17876Date: Fri Jan 12 00:26:20 2007 -0500 17877 17878 NV30: Set DEBUG3 reg bit 1. Turns on automatic hw context switching. 17879 17880commit d5617e91ff13f9e19d9e5d421fd081f59dec685c 17881Author: jkolb@brandeis.edu <jkolb@brandeis.edu> 17882Date: Thu Nov 2 20:23:36 2006 -0500 17883 17884 Just a superficial cleaning up. Nothing exciting. 17885 17886commit 1f6239de8d7618de6aee402eaf1d8552524a996e 17887Author: Ben Skeggs <darktama@iinet.net.au> 17888Date: Tue Jan 2 15:08:36 2007 +1100 17889 17890 NV4x changes to work with latest drm. 17891 17892commit f9ba29a07581ede8c409b0eb8b549db3b446f490 17893Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17894Date: Wed Dec 27 21:52:15 2006 +0100 17895 17896 Output the driver date to the logs on startup. 17897 17898commit 2f1d14fe1c03c32ad60776e0d0c2ae41a42ea4be 17899Author: Ben Skeggs <darktama@iinet.net.au> 17900Date: Tue Dec 12 00:13:05 2006 +1100 17901 17902 Remove final remaining PRAMIN access (NV04-specific), the drm handles it now 17903 17904commit de7255d5420c64a2707f5e78a4157d93618e6c17 17905Author: Ben Skeggs <darktama@iinet.net.au> 17906Date: Fri Dec 8 18:09:26 2006 +1100 17907 17908 Provide some visuals with a stencil buffer, and actually call NVDRIInitVisualConfigs. 17909 17910commit e64dcc59b607ae5ad7049c35fed6d6a300cd5f6e 17911Merge: 0f7957d 656dfcd 17912Author: Matthieu Castet <mat@mat-pc.(none)> 17913Date: Wed Dec 6 22:09:23 2006 +0100 17914 17915 Merge branch 'master' of git+ssh://matc@git.freedesktop.org/git/nouveau/xf86-video-nouveau/ 17916 17917commit 0f7957da9ce856ef0accc922ab368ac10171b5e6 17918Author: Matthieu Castet <mat@mat-pc.(none)> 17919Date: Wed Dec 6 22:07:26 2006 +0100 17920 17921 More pgraph regs 17922 17923commit 656dfcd635551245b2f58835c5ea87474d3eb60d 17924Merge: ed307d5 224578b 17925Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17926Date: Sun Dec 3 10:20:04 2006 +0100 17927 17928 Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/nouveau/xf86-video-nouveau 17929 17930commit ed307d559be72e06f64566574beb36200ebe47e2 17931Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17932Date: Sun Dec 3 10:14:04 2006 +0100 17933 17934 Introduce lock step versioning with the drm. 17935 Fix the MEM_ALLOC issue. 17936 17937commit 224578b74645fe3624669dc3521fe6deb1cc4aae 17938Author: Matthieu Castet <mat@mat-pc.(none)> 17939Date: Tue Nov 28 19:12:55 2006 +0100 17940 17941 Don't alloc fifo if it is not needed. 17942 17943commit 146eb74cb7d1da1da55247a04e7a969d98601e42 17944Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17945Date: Mon Nov 27 00:03:11 2006 +0100 17946 17947 Mandatory oops commit. 17948 17949commit bdfa6776128f4bc7e2f3caa57296571acb9bd661 17950Author: Andrew Mitchell <ajmitch@ubuntu.com> 17951Date: Sun Nov 26 23:59:06 2006 +0100 17952 17953 Remove XF86DRI defines from the driver. It's already mandatory anyway. 17954 17955commit 7ebc8c4327d0b50f60c4cd4423414d4cfbb8b7d8 17956Author: airlied <airlied@optimus.localdomain> 17957Date: Fri Nov 17 16:23:38 2006 +1100 17958 17959 add VGA CRTC registers from haiku 17960 17961commit 7150a4357dff0a2e4468190e2fd228ed07d367f9 17962Author: Dave Airlie <airlied@linux.ie> 17963Date: Fri Nov 17 12:55:37 2006 +1100 17964 17965 remove nvvga.h unused 17966 17967commit 64a1c5bb90fd13ce1c191873a4f4afc2a9ede09b 17968Author: Dave Airlie <airlied@linux.ie> 17969Date: Fri Nov 17 12:51:11 2006 +1100 17970 17971 find and version DRM earlier in startup sequence so it is loaded firstup 17972 17973commit 659b5de8200d9022e7616f03b20a306fff2af0fe 17974Author: Matthieu Castet <castet.matthieu@free.fr> 17975Date: Fri Nov 17 00:59:58 2006 +0100 17976 17977 Cleanup of PVIDEO. 17978 17979commit 370b83eb3347d14003f2878737d25de7dacaeec1 17980Author: Matthieu Castet <castet.matthieu@free.fr> 17981Date: Wed Nov 15 22:10:27 2006 +0100 17982 17983 Use objects from nouveau_reg.h. 17984 17985commit 2ffeb45a953a2ff52abe6f78dacfb9c53f873dbb 17986Author: Ben Skeggs <darktama@iinet.net.au> 17987Date: Wed Nov 15 01:22:18 2006 +1100 17988 17989 Set SURFACE_FORMAT in NVExaPrepareCopy. Fixes one of the many issues with xorg-server-1.2 17990 17991commit 85bda095107558846fe6fb803b6df412213b27f4 17992Author: Ben Skeggs <darktama@iinet.net.au> 17993Date: Wed Nov 15 00:47:04 2006 +1100 17994 17995 nv_exa.c tab goodness 17996 17997commit 8b733a25c30fb9e499d678c26b777d072d1ac187 17998Author: Ben Skeggs <darktama@iinet.net.au> 17999Date: Tue Nov 14 08:31:21 2006 +1100 18000 18001 Fix type. 0x84 is DEBUG_1 18002 18003commit 030eb38dd1fe767807aab0447ed4fab4ec8c368a 18004Author: Ben Skeggs <darktama@iinet.net.au> 18005Date: Tue Nov 14 03:09:05 2006 +1100 18006 18007 Fill in front_offset/front_pitch 18008 18009commit 589bb37ff37bb7d4775f5dca0301c5d97ea73b06 18010Author: Ben Skeggs <darktama@iinet.net.au> 18011Date: Sun Nov 12 16:04:32 2006 +1100 18012 18013 Add NVDRIFinishScreenInit. 18014 18015commit d0c09a1bd0e1c26cc591a3d8738b94b1efe576ec 18016Author: Dave Airlie <airlied@linux.ie> 18017Date: Sun Nov 12 14:08:45 2006 +1100 18018 18019 add some names to registers 18020 18021commit 84928fd946b4f02d8a943226481304417475c4f9 18022Author: Ben Skeggs <darktama@iinet.net.au> 18023Date: Sun Nov 12 07:43:24 2006 +1100 18024 18025 Import nouveau_dri.h from the 3D driver as nv_dri.h, and setup DRIInfo->devPrivate. 18026 18027commit cdb9e3acf0aa5cdf6e5aa33fb499ea8e93f7f1f2 18028Author: Ben Skeggs <darktama@iinet.net.au> 18029Date: Sun Nov 12 07:33:53 2006 +1100 18030 18031 Temporary workaround for DRI drmMap problem, not sure of what we actually need to do here yet. 18032 18033commit d3babbfbed898921e1a167df08eef92d381d6aa0 18034Author: Ben Skeggs <darktama@iinet.net.au> 18035Date: Sun Nov 12 07:28:31 2006 +1100 18036 18037 nv_dri.c still had some space-indented functions, not anymore :) 18038 18039commit bad4e6c674ac4fdc0aebbbc6d36fc2854ee8f885 18040Merge: 1b14821 c096565 18041Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18042Date: Mon Nov 6 03:14:07 2006 +0100 18043 18044 Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/nouveau/xf86-video-nouveau 18045 18046commit 1b14821ecd67a62a34a902e62c0b229bb9ed97ca 18047Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18048Date: Mon Nov 6 03:13:50 2006 +0100 18049 18050 Added a DRI visual configs functions. It should work but I can't test it... 18051 18052commit c096565a0f6e6c12255e57eaefb878904ce04971 18053Author: Ben Skeggs <darktama@iinet.net.au> 18054Date: Mon Nov 6 11:54:19 2006 +1100 18055 18056 Fix TEX0_IN_TEX1 fragprog.. I must've been asleep when I did that.. 18057 18058commit 47f32cfe6e2f513f86b7a8f02a8872c134e2327d 18059Author: Dave Airlie <airlied@ppcg5.localdomain> 18060Date: Mon Nov 6 11:45:53 2006 +1100 18061 18062 use pagesize to work out the sarea size 18063 18064commit e6c4d40e247939f677e285db15a78ccc33b92b41 18065Author: Dave Airlie <airlied@ppcg5.localdomain> 18066Date: Mon Nov 6 08:39:49 2006 +1100 18067 18068 don't fail dri module load if loaded already 18069 18070commit 4cc4a1f7ef559f1ce56706f16ee24a3b6879d28d 18071Merge: b95f8aa b4e4307 18072Author: Dave Airlie <airlied@linux.ie> 18073Date: Sun Nov 5 18:00:29 2006 +1100 18074 18075 Merge ssh://10.1.1.200/home/airlied/git/xf86-video-nouveau 18076 18077commit b4e4307af982b50aff191983d209cb855a377f80 18078Author: Dave Airlie <airlied@ppcg5.localdomain> 18079Date: Sun Nov 5 17:59:17 2006 +1100 18080 18081 fix G5 endianness issue with panel size regs 18082 18083commit b95f8aac9e6dcbf4d10a5e26bde6a0f3595608cb 18084Merge: ba71154 e6b1f68 18085Author: Dave Airlie <airlied@linux.ie> 18086Date: Sun Nov 5 17:53:53 2006 +1100 18087 18088 Merge branch 'master' of ssh://git.freedesktop.org/git/nouveau/xf86-video-nouveau 18089 18090commit ba711545a0fd091c05b514f30c1e904370026499 18091Author: Dave Airlie <airlied@ppcg5.localdomain> 18092Date: Sun Nov 5 17:51:10 2006 +1100 18093 18094 set the PPC use BE MMIO 18095 18096commit e6b1f687e3bf127d8dba1871d67eff9d83ac284e 18097Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18098Date: Sat Nov 4 16:57:30 2006 +0100 18099 18100 Remove the context object flags handling from the DDX since it's now in the DRM. 18101 18102commit ead77e0ec1d0c62829fa973db3d62937b44781e5 18103Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18104Date: Sat Nov 4 04:47:57 2006 +0100 18105 18106 Add the NV44A 3D object class. 18107 18108commit 87463666ab23e047f355cfcd7016aa9c7cd8ad76 18109Author: Ben Skeggs <darktama@iinet.net.au> 18110Date: Fri Nov 3 04:00:09 2006 +1100 18111 18112 Use "do { blah; } while(0)" instead of just braces. (suggestion from megari on irc) 18113 18114commit 68682238b36292409ce7f41ed90bd3be860e77f3 18115Author: Ben Skeggs <darktama@iinet.net.au> 18116Date: Thu Nov 2 16:07:26 2006 +1100 18117 18118 Install NV30_TCL EXA hooks if NV_ENABLE_3D is defined. 18119 18120 Ok.. Firstly I don't recommend using this code, it is not ready for general 18121 usage. We probably only want to keep the Composite hook, but the others are 18122 useful to test things with. 18123 18124 1. You will most likely (read: definitely) need to start X with the binary 18125 driver before starting X with nouveau/NV30_TCL.. If you don't PGRAPH will 18126 yell at you and X will crash. 18127 2. Copy() is bad when the src and dest are the same, so scrolling and moving 18128 windows around will fall back to software rendering.. 18129 3. Composite() is slightly better than the one in nv_exa.c, but it's buggy in 18130 a few cases and not complete yet. Particularly, transforms are missing. 18131 4. There are some correctness problems that I haven't bothered to fix yet, so 18132 you'll probably see bits of windows left behind when moving them around.. 18133 5. Don't be surprised if it's horribly broken :) 18134 18135commit c371d90935d6baf2f1dd0073741637d14b506f59 18136Author: Ben Skeggs <darktama@iinet.net.au> 18137Date: Thu Nov 2 15:57:47 2006 +1100 18138 18139 Put braces around NVDmaSetObjectOnSubchannel... 18140 18141commit b45aea22a8da69ad4a2493f7f33fa65186a83ba3 18142Author: Ben Skeggs <darktama@iinet.net.au> 18143Date: Thu Nov 2 14:52:24 2006 +1100 18144 18145 Merge >=NV30-specific EXA code.. hard-disabled pending testing on my C51, and a proper commit message.. 18146 18147commit e79b0befe92110c1cd2e0e1ae69fced1cd5acba3 18148Author: Ben Skeggs <darktama@iinet.net.au> 18149Date: Thu Nov 2 01:29:34 2006 +1100 18150 18151 Reformat NVExaInit 18152 18153commit 6a77e5bf2e58b19df67c029ad7bffd92f8cf652f 18154Author: Ben Skeggs <darktama@iinet.net.au> 18155Date: Thu Nov 2 01:18:14 2006 +1100 18156 18157 First part of preparation for NV30_TCL EXA code merge. 18158 18159commit 1d6e911ab5391277b403ef6f7b095203cfd19a53 18160Author: Ben Skeggs <darktama@iinet.net.au> 18161Date: Thu Nov 2 00:38:53 2006 +1100 18162 18163 Reindent nv_dma.c with tabs.. 18164 18165commit 06748f74f639242fd690a3dda7e685ae4fa1f95e 18166Author: Ben Skeggs <darktama@iinet.net.au> 18167Date: Wed Oct 11 11:06:16 2006 +1100 18168 18169 s/init/alloc/ 18170 18171commit a2d55603db8c01cc4b9f3404c282b1e4963a152c 18172Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18173Date: Wed Oct 11 00:39:36 2006 +0200 18174 18175 Remove the PFIFO_REINIT hack, and enable the irq by default. This commit requires the matching drm commit, and will probably break stuff. 18176 18177commit 78537b3342bbf1c16dc78f8f06cb3f989ce8f03f 18178Author: Ben Skeggs <darktama@iinet.net.au> 18179Date: Thu Sep 14 12:56:28 2006 +1000 18180 18181 It usually helps to wait on a notifier, and not on a NVAllocRec.. Oops. 18182 18183commit 01dde28611238cf2d81b087b371cc67296d1b581 18184Author: Ben Skeggs <darktama@iinet.net.au> 18185Date: Thu Sep 14 12:17:32 2006 +1000 18186 18187 Allocate notifiers with NVAllocateMemory. 18188 Fix some warnings. 18189 Return success/fail for DMA and Context object creation. 18190 18191commit 3d5c560f509646853cc863e35ed2412db39cd8a3 18192Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18193Date: Tue Sep 5 07:39:10 2006 +0200 18194 18195 Port some of the least intrusive nv03 code to the nouveau driver. 18196 18197commit 6fb7a63bf5d4f046583f9d14862c16ec5979a318 18198Author: Ben Skeggs <darktama@iinet.net.au> 18199Date: Sun Sep 3 06:41:52 2006 +1000 18200 18201 Config options for cmdbuf location/size. 18202 18203 Will default to putting the cmdbuf in AGP (except for PowerPC) if an AGP card 18204 is detected. Won't currently be detected because something is wrong DRM-size. 18205 18206 If you have an AGP card you can manually specify 'FBLocation "AGP"' in 18207 xorg.conf to make it work. 18208 18209 Needs an updated DRM to have any effect. 18210 18211commit e49d561d2328eeac7691661e28955a882bba2192 18212Author: Ben Skeggs <darktama@iinet.net.au> 18213Date: Sun Sep 3 01:51:23 2006 +1000 18214 18215 Copy+Paste a workaround for a NV40 hardware bug from NVShowHideCursor() into 18216 LoadStateExt(). This should fix the problem of the HW-cursor still being 18217 enabled when VT-switching back to a framebuffer console. 18218 18219commit 69ace0c4388cb1a66ea74f627fe02fe89e7d35c0 18220Author: Ben Skeggs <darktama@iinet.net.au> 18221Date: Sat Sep 2 22:17:55 2006 +1000 18222 18223 Kill off one of the M2MF objects, and use the engine's SET_OBJECT_{IN_OUT} to 18224 swap between AGP->VRAM and VRAM->AGP. 18225 18226commit 72cf79b9e5dc0d97e933f540d063161129bbebf7 18227Author: Ben Skeggs <darktama@iinet.net.au> 18228Date: Sat Sep 2 21:59:26 2006 +1000 18229 18230 Don't create objects that aren't needed. This frees up a couple of subchannels 18231 for EXA, use one of them for MEMORY_TO_MEMORY_FORMAT. 18232 18233commit 6a06d9022f3c0bc845f02091d83faf95f69f81bd 18234Author: Ben Skeggs <darktama@iinet.net.au> 18235Date: Sat Sep 2 18:15:15 2006 +1000 18236 18237 Move code out of nv_xaa.c that doesn't belong there. 18238 18239commit 46ac77d524dd183c6b50a7a0e77990514ff28840 18240Author: Ben Skeggs <darktama@iinet.net.au> 18241Date: Sat Sep 2 17:57:38 2006 +1000 18242 18243 Add back some setup that went missing during PFB reg cleanup. 18244 Should fix corruption on NV40. 18245 18246commit 03b86f08667a10c44420d60787fe9e17b5d20ab8 18247Author: Ben Skeggs <darktama@iinet.net.au> 18248Date: Thu Aug 31 15:53:25 2006 +1000 18249 18250 Rename module from nv_drv.so to nouveau_drv.so to allow both nv and nouveau 18251 to coexist. Also disabled building of riva128.so, as we plan on merging it 18252 with the rest of the nv code. 18253 18254commit 17c871a44987af04d1688798e2e7802a5f5ba522 18255Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18256Date: Wed Aug 30 06:24:23 2006 +1000 18257 18258 clean up FB register names 18259 18260commit 7d3c12424fd79daf831b7c28780586e8bd9c3574 18261Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18262Date: Wed Aug 30 04:23:43 2006 +1000 18263 18264 add some names for the RAMDAC registers 18265 18266commit 0e70296ce9f7a921c4b971919d12c262202d8d48 18267Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18268Date: Wed Aug 30 02:18:02 2006 +1000 18269 18270 add some names for some of the CRTC registers - some names not very meaningful 18271 yet 18272 18273commit 9a5e2c5be96eaced3aadd153fb2f9b1928173af7 18274Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18275Date: Wed Aug 30 01:48:07 2006 +1000 18276 18277 remove select head registers PCIO and PDIO 18278 18279commit dec0691db79b1ded2942c1cbfa97434fa8693f9b 18280Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18281Date: Wed Aug 30 01:13:05 2006 +1000 18282 18283 remove unused pointers after macroisation 18284 18285commit 9444b692607895572c8199a60d6968fbc374d51e 18286Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18287Date: Wed Aug 30 01:02:45 2006 +1000 18288 18289 missed 2x PGRAPHs in XAA 18290 18291commit f73cb8ef4f4fbb588bfe9ca767286153b2565a37 18292Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18293Date: Wed Aug 30 00:59:39 2006 +1000 18294 18295 remove PCRTC via macros 18296 18297commit 6d5b1765e10856a7dfa75c27ad96f547dc26b23a 18298Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18299Date: Wed Aug 30 00:48:23 2006 +1000 18300 18301 remove PEXTDEV and PTIMER using macros 18302 18303commit 6140bdfe6959cd0f6ce8e06d34b6e838d8cef046 18304Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18305Date: Wed Aug 30 00:43:07 2006 +1000 18306 18307 remove PMC using macros 18308 18309commit 28d9befa6308462a6bc1809b894ebe389873fd6a 18310Author: Ben Skeggs <darktama@iinet.net.au> 18311Date: Wed Aug 30 01:26:58 2006 +1000 18312 18313 Make EXA the default 18314 18315commit fa9209f77df3d835ebad43dc82988c000398f650 18316Merge: ab2b550 2f7caf6 18317Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18318Date: Tue Aug 29 13:42:49 2006 +0200 18319 18320 Merge branch 'master' of ssh://marcheu@git.freedesktop.org/git/nouveau/xf86-video-nouveau 18321 18322commit ab2b5509e82a646ac187b020c91234e33f81065d 18323Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18324Date: Tue Aug 29 13:42:34 2006 +0200 18325 18326 Make use of NV5_SCALED_IMAGE_FROM_MEMORY on NV05. 18327 18328commit 9911eb726f99166968165710a9e2f540388cd42a 18329Author: Stephane Marchesin marchesin@icps.u-strasbg.fr <steph@tubular-brain.localdomain> 18330Date: Tue Aug 29 03:18:27 2006 +0200 18331 18332 Enable the composite hooks. 18333 18334 After changing NV_SCALED_IMAGE_FROM_MEMORY for NV10_SCALED_IMAGE_FROM_MEMORY it seems the composite hook works. 18335 Also, add a more complete list of desktop pci ids. 18336 18337commit 2f7caf6eb5eb6a3991720fc413bd20723473212f 18338Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18339Date: Tue Aug 29 08:13:59 2006 +1000 18340 18341 remove PGRAPH direct accesses 18342 18343commit 51f0b67d9064fffc6b357d2923188a030e85eace 18344Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18345Date: Tue Aug 29 07:51:49 2006 +1000 18346 18347 remove PFB usage with macros 18348 18349commit b50736d1583b960ab70f3e113294db8c2da69e31 18350Author: Ben Skeggs <darktama@iinet.net.au> 18351Date: Mon Aug 28 17:07:06 2006 +1000 18352 18353 Use NVAllocateMemory for AGP scratch buffer. 18354 18355commit a5ddd8fcf4278c35d71605794d0d5711e7c0ebb7 18356Author: Dave Airlie <airlied@linux.ie> 18357Date: Mon Aug 28 16:41:20 2006 +1000 18358 18359 remove legacy crap from nvreg.h add cursor reg defines 18360 18361commit f035bc63c34bce49e1c2619f14ab98b4b1922beb 18362Author: Dave Airlie <airlied@linux.ie> 18363Date: Mon Aug 28 16:23:32 2006 +1000 18364 18365 missed some vga routines 18366 18367commit 0b45a9f725442d5bd784ee67b7473929993f6082 18368Author: Dave Airlie <airlied@linux.ie> 18369Date: Mon Aug 28 16:19:56 2006 +1000 18370 18371 add RAMDAC register read/write 18372 18373commit 24267d7e39383930c589bc80e2bbd4e5cf66ec2a 18374Merge: 349496c c0154e6 18375Author: Ben Skeggs <darktama@iinet.net.au> 18376Date: Mon Aug 28 14:46:51 2006 +1000 18377 18378 Merge branch 'master' of git+ssh://git.freedesktop.org/git/nouveau/xf86-video-nouveau 18379 18380commit 349496c97fafed04806c01bd9d4386b0fcaa9fd2 18381Author: Ben Skeggs <darktama@iinet.net.au> 18382Date: Mon Aug 28 14:45:42 2006 +1000 18383 18384 More cleanups from DRM memory alloc changes. 18385 18386commit c0154e615c091c7bb483fcfd07e216b21618d0f2 18387Author: Dave Airlie <airlied@linux.ie> 18388Date: Mon Aug 28 14:07:05 2006 +1000 18389 18390 use nvReadVGA and nvWriteVGA in more places 18391 18392commit e0f1479773c1a00ec69edbece98e5e2b66c0c2c9 18393Author: Ben Skeggs <darktama@iinet.net.au> 18394Date: Sun Aug 27 22:45:36 2006 +1000 18395 18396 Fix ShadowFB for FB alloc changes, should fix RandR rotation also. 18397 18398commit 0de4d0b8b79e2238f2c4b374b5012a25ae985502 18399Author: Ben Skeggs <darktama@iinet.net.au> 18400Date: Sun Aug 27 22:27:17 2006 +1000 18401 18402 Slash UseFBDev and DGA support. 18403 18404commit e49d08ff482755e9f95c4c3b3cf065e6f0d2bc23 18405Author: Dave Airlie <airlied@linux.ie> 18406Date: Sun Aug 27 10:04:50 2006 +1000 18407 18408 add some read/write NV VGA register wrappers 18409 18410commit c64c55b3133221462980b934a308daf2cc0e473d 18411Author: Dave Airlie <airlied@linux.ie> 18412Date: Sun Aug 27 09:56:36 2006 +1000 18413 18414 remove all U0* types in favour of more standard CARD* types 18415 18416commit 9c294b962379a955d2e8e2cb2c54f845fd4c5740 18417Author: Ben Skeggs <darktama@iinet.net.au> 18418Date: Sat Aug 26 00:43:21 2006 +1000 18419 18420 Wow I suck tonight.. another oops. 18421 18422commit b8411ae92b6833c9336f82ed86dc8755ca8b9dcc 18423Author: Ben Skeggs <darktama@iinet.net.au> 18424Date: Sat Aug 26 00:39:36 2006 +1000 18425 18426 Whoa, how did that happen... 18427 18428commit d458cdac152a49eec9acdfe5081f6d426e712bf2 18429Author: Ben Skeggs <darktama@iinet.net.au> 18430Date: Sat Aug 26 00:33:47 2006 +1000 18431 18432 Initial work in porting the DDX to use the DRM for memory allocations. 18433 This is enough to make it work, but there's still a *lot* of cleanups 18434 to do. 18435 18436commit 83ae039b8f8ea08ae9436201014c7e1ba25a4839 18437Author: Dave Airlie <airlied@linux.ie> 18438Date: Fri Aug 25 19:33:08 2006 +1000 18439 18440 fixup compile for git 18441 18442commit ea2bc33d32bf9abeb23b3fe8cb6c9d28ddccef01 18443Author: Dave Airlie <airlied@linux.ie> 18444Date: Fri Aug 25 19:17:51 2006 +1000 18445 18446 updated git tree from changes that got lost on way from CVS 18447 18448commit 07b81112ba4678085a148e5ffaadd4684f74d64d 18449Author: marcheu <marcheu> 18450Date: Thu Aug 24 21:00:42 2006 +0000 18451 18452 Make NVInitAGP fail if there is no AGP area. Maybe that function shouldn't be called for PCI(-e) cards in the first place. 18453 18454commit 109b5abed6c0c701a1fb84ec63ff8f5914eee8e3 18455Author: marcheu <marcheu> 18456Date: Wed Aug 23 21:32:47 2006 +0000 18457 18458 If you stare at nv_hw.c long enough, things start to make sense. I swear ! 18459 18460commit 80ba1cfec290dbb82c4a1042255a21b626512e84 18461Author: marcheu <marcheu> 18462Date: Wed Aug 23 17:11:22 2006 +0000 18463 18464 Comment out NVDmaKickoff() in NVResetGraphics(). NVResetGraphics is called twice on startup, and flushed to the card in between. Since NVResetGraphics resets the fifo pointer, this sometimes ends up in a situation where the CPU writes at the same place of the fifo (at the beggining) the GPU is currently reading from. Obviously this is bad. 18465 18466 Also, add code to dump fifo in case of crashes. 18467 18468commit 9b19daa55c7770a3e66b2374da0212c75ed21260 18469Author: marcheu <marcheu> 18470Date: Tue Aug 22 01:16:18 2006 +0000 18471 18472 Remove debug message. 18473 18474commit b44b54e4c369c612a692eabb8662b3db97758a83 18475Author: marcheu <marcheu> 18476Date: Mon Aug 21 13:19:06 2006 +0000 18477 18478 Fill more fields in the DRIInfo struct. 18479 18480commit aaf13d0e7cc5c76ee81b4234dc2c55bbedac1faa 18481Author: darktama_ <darktama_> 18482Date: Sun Aug 20 15:11:06 2006 +0000 18483 18484 Oops, this shouldn't be here still... 18485 18486commit 00fd86dea8d2eaa561cc89a35046d15bcf92bb82 18487Author: darktama_ <darktama_> 18488Date: Sun Aug 20 14:40:43 2006 +0000 18489 18490 - Allocate notifiers with the DRM 18491 18492 - Rename agpMemory and friends to agpScratch and friends 18493 18494commit d5c68d3f83f84ca67ee9df269b778bbed50851a0 18495Author: darktama_ <darktama_> 18496Date: Sun Aug 20 12:51:49 2006 +0000 18497 18498 Alloc AGP through the DRM 18499 18500commit 6d0924c272954f44b2a9b6b11be8c209dd67de8e 18501Author: marcheu <marcheu> 18502Date: Sat Aug 19 16:04:56 2006 +0000 18503 18504 Begginings of PINS parsing code I had laying around... 18505 18506commit 59e2d852d6f10ba26a394ff7ea5d3e7b30f2be71 18507Author: darktama_ <darktama_> 18508Date: Mon Jul 31 07:32:57 2006 +0000 18509 18510 Need.To.Pay.More.Attention... 18511 18512commit 9a314361fd004afe7129ae2d41f58ddd7fe6f56a 18513Author: darktama_ <darktama_> 18514Date: Mon Jul 31 03:24:17 2006 +0000 18515 18516 Updates for DRM changes, and a few cleanups 18517 18518commit 11fbb14876e7873a863de16b01fb5778e841b4bd 18519Author: erikwaling <erikwaling> 18520Date: Thu Jul 13 04:13:07 2006 +0000 18521 18522 Added more opcodes and some TODOs. 18523 18524commit dd54fea7562b8c9a6d26b645a03c9644c08090cc 18525Author: erikwaling <erikwaling> 18526Date: Thu Jul 13 03:09:11 2006 +0000 18527 18528 Changed INIT_MACRO to haiku-like implementation. 18529 18530commit b7e68083f3bf6b0943b58cfed0b82de61eeaac33 18531Author: marcheu <marcheu> 18532Date: Mon Jul 10 00:36:31 2006 +0000 18533 18534 Add a check that bios writes fall within known areas. Use these areas to setup mappings as well. Add some debug support to the bios code. 18535 18536commit fe2a1360d72385ad0f61f381a296820d02a60e79 18537Author: marcheu <marcheu> 18538Date: Mon Jul 10 00:30:54 2006 +0000 18539 18540 Use -Wall by default 18541 18542commit ca38f1d9d61393915515e1042204b35aeac863ba 18543Author: darktama_ <darktama_> 18544Date: Sat Jul 8 13:53:00 2006 +0000 18545 18546 Remove FIFO and object handling out of the DDX. This commit makes the DDX dependant on the DRM to operate at all.. 18547 18548commit b9b880b83896defe06ce61c9aef2f5ae4eb4f37e 18549Author: lumag <lumag> 18550Date: Mon Jun 12 20:21:11 2006 +0000 18551 18552 Fix exa acceleration by filling versioning fields. 18553 18554commit 0bbc0bcfe33c2625ea6175c3b052d231cc3b7c8f 18555Author: darktama_ <darktama_> 18556Date: Sat Jun 10 18:34:14 2006 +0000 18557 18558 Quick hack to make sure CRTC 0x44 contains it's original value when VT switching back to the console (also on server shutdown). 18559 18560 Should fix the problem of one display having scrolling issues, and losing 18561 it's text-mode cursor. 18562 18563commit 18e65f4e0604c744ea905319348c688141e14bbf 18564Author: marcheu <marcheu> 18565Date: Thu Jun 8 01:10:01 2006 +0000 18566 18567 Remove xf86ReadPciBIOS, use the bios from the reg aperture instead (that will probably work on more archs anyway) 18568 18569commit 2f5fcd131dbea5cb9873cc8a4aad44ae1bcf1340 18570Author: darktama_ <darktama_> 18571Date: Fri Jun 2 21:54:48 2006 +0000 18572 18573 Remove some XFree86LOADER conditionals 18574 18575commit 7889cc0241450aaa8e9dafc65f9f7976df3cd99b 18576Author: darktama_ <darktama_> 18577Date: Sat Apr 22 02:26:53 2006 +0000 18578 18579 Need to include nv_include.h before checking that XF86DRI is definied. XF86DRI lives in xorg-server.h - included from config.h 18580 18581commit 3083263eb40f57e4c529473c5e9f935109a1719f 18582Author: marcheu <marcheu> 18583Date: Fri Apr 21 22:15:59 2006 +0000 18584 18585 Don't include config.h in all files but in the *_include.h files. That's what they're here for after all. 18586 18587commit 864e2c6936a37005112a3c6f3f7db5a16100b96c 18588Author: darktama_ <darktama_> 18589Date: Fri Apr 21 02:46:31 2006 +0000 18590 18591 Include config.h in all source files 18592 18593commit 74ff8fc182c6f728a1b5e8a0415c25b8b7a4af94 18594Author: marcheu <marcheu> 18595Date: Thu Apr 20 18:54:12 2006 +0000 18596 18597 Added a fixme about laptop chips 18598 18599commit ad38154a7e075207d8f462ffb90489efe9cf01f1 18600Author: erikwaling <erikwaling> 18601Date: Thu Apr 20 18:50:11 2006 +0000 18602 18603 Ported nv_exa.c to work with EXA >=2.0.0 18604 18605commit 7c25d338e0c79a288fa192d9a2d4ac6eb59996c1 18606Author: Dave Airlie <airlied@linux.ie> 18607Date: Fri Aug 25 18:51:03 2006 +1000 18608 18609 initial import of nouveau code 18610 18611commit 98372d0f94a9d658a7257d2199ef37a2449b9961 18612Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18613Date: Fri Aug 11 16:02:28 2006 -0400 18614 18615 Replace panel message + MODE_BAD with MODE_PANEL. 18616 18617commit 43ec66396f805aba87017d193d97a03372c29909 18618Author: Aaron Plattner <aplattner@nvidia.com> 18619Date: Fri Jun 30 12:54:44 2006 -0700 18620 18621 Bump version to 1.2.0 for release. 18622 18623commit 6265b77dc8878e36abd76b73e209a2d76d70ba22 18624Author: Mark Vojkovich <markv@xfree86.org> 18625Date: Thu Jun 29 18:41:44 2006 -0700 18626 18627 New chip support and new PCI IDs. 18628 18629commit 5114639dff73c22845451acffed94f1da284a7df 18630Author: Aaron Plattner <aplattner@nvidia.com> 18631Date: Mon Jun 19 09:32:11 2006 -0700 18632 18633 Generate the ChangeLog from git history for dist. 18634 18635commit 04d344dfcbb9928cf33943a880de333557e14be9 18636Author: Aaron Plattner <aplattner@nvidia.com> 18637Date: Fri Jun 16 18:03:21 2006 -0700 18638 18639 Delete the ChangeLog. The git history is just as good. 18640 18641commit eda3bac20dce2d5584ac07cc6b28a08ec55aa798 18642Author: Aaron Plattner <aplattner@nvidia.com> 18643Date: Wed May 24 15:05:22 2006 -0700 18644 18645 Derive the module version numbers from the package version. This idea was 18646 lifted from Michel Dänzer's similar code in xf86-video-ati. 18647 18648 Also, make the riva and nv driver versions match. 18649 18650commit 1a40c4a79b79034d191496726a27af8b0805dba6 18651Author: Aaron Plattner <aplattner@nvidia.com> 18652Date: Thu Apr 27 18:10:37 2006 -0700 18653 18654 Add the libcwrapper back, conditionalized on the server version. 18655 18656commit 425e30d58b7b62fff01fbb58585ee69b2df6fec1 18657Author: Aaron Plattner <aplattner@nvidia.com> 18658Date: Thu Apr 27 10:32:10 2006 -0700 18659 18660 Determine whether PutImage hooks take a DrawablePtr by server version. Remove 18661 dependency on xorg-server >= 1.0.99.901. 18662 18663commit c34a93265cb42168376ebdf0746b3ccded9f126c 18664Author: Aaron Plattner <aplattner@nvidia.com> 18665Date: Tue Apr 25 14:38:43 2006 -0700 18666 18667 Bump to 1.1.2 for new product names. 18668 18669commit f70247ade9eac8fa6115889662abb8e678a182dc 18670Author: Aaron Plattner <aplattner@nvidia.com> 18671Date: Tue Apr 25 14:29:44 2006 -0700 18672 18673 Add names for Quadro FX 5500, 3500, 1500, 560, 550, and 350. 18674 18675commit ca4c8af624e87e5c6a2927092a9c230ae0e60c0e 18676Author: Aaron Plattner <aplattner@nvidia.com> 18677Date: Wed Apr 12 02:04:52 2006 -0700 18678 18679 Add .gitignores. 18680 18681commit fb3faeb6073cef5a6a1b094f3d3bf020ceba9db6 18682Author: Adam Jackson <ajax@nwnk.net> 18683Date: Sat Apr 8 01:38:33 2006 +0000 18684 18685 Bump to 1.1.1 for Xv changes. 18686 18687commit f793182898c4d844e9861a60a945f53ab7071adc 18688Author: Aaron Plattner <aplattner@nvidia.com> 18689Date: Fri Apr 7 23:11:06 2006 +0000 18690 18691 Add a DrawablePtr argument to the XV functions to pave the way for 18692 redirected video. 18693 18694commit cb6b4073df7404822e2b553519c3a101f2ab0524 18695Author: Adam Jackson <ajax@nwnk.net> 18696Date: Fri Apr 7 19:40:34 2006 +0000 18697 18698 Unlibcwrap. Bump server version requirement. Bump to 1.1.0. 18699 18700commit 3f140052f891a4dc674b82e438c9595e59b4676b 18701Author: Aaron Plattner <aplattner@nvidia.com> 18702Date: Mon Mar 27 21:40:24 2006 +0000 18703 18704 Bump version to 1.0.2.0 for release. 18705 18706commit 84c007b426d321786f9aec1d9fda14b5baa35561 18707Author: Aaron Plattner <aplattner@nvidia.com> 18708Date: Fri Mar 10 02:29:03 2006 +0000 18709 18710 Coverity nos. 868 and 869: Free the result of xf86GetEntityInfo. 18711 18712commit 61e237eec7193701ce1236e67ebdfe7465b5db8a 18713Author: Aaron Plattner <aplattner@nvidia.com> 18714Date: Tue Jan 24 16:45:29 2006 +0000 18715 18716 Fix typo in PCI ID (reported by Stefan Dirsch). Patch from Mark Vojkovich 18717 to XFree86 CVS on 2006-01-23. 18718 18719commit 5064f8a903923ca4b819bdf345f8f4c9254bdf3b 18720Author: Aaron Plattner <aplattner@nvidia.com> 18721Date: Mon Jan 23 00:04:41 2006 +0000 18722 18723 New chip support from Mark Vojkovich's 2006-01-20 and 2006-01-21 XFree86 18724 CVS updates. 18725 18726commit e8fd45625f2e09830136bde6bc70d51f25892450 18727Author: Aaron Plattner <aplattner@nvidia.com> 18728Date: Mon Jan 2 01:54:19 2006 +0000 18729 18730 Preliminary RandR rotation support. Bug #4708 18731 <https://bugs.freedesktop.org/show_bug.cgi?id=4708> 18732 18733commit 5ec53e759c5233a26a6c80901b9f31b51153f756 18734Author: Kevin E Martin <kem@redhat.com> 18735Date: Wed Dec 21 02:30:01 2005 +0000 18736 18737 Update package version for X11R7 release. 18738 18739commit b0c8ca8c03c8ad1648b4597f7825bac7531100a7 18740Author: Adam Jackson <ajax@nwnk.net> 18741Date: Mon Dec 19 16:25:54 2005 +0000 18742 18743 Stub COPYING files 18744 18745commit 4fd25919c2a217d355419efdfbf0fe148af6c146 18746Author: Kevin E Martin <kem@redhat.com> 18747Date: Thu Dec 15 00:24:18 2005 +0000 18748 18749 Update package version number for final X11R7 release candidate. 18750 18751commit e4194bab2a790af10581ea2842717623db8998a2 18752Author: Kevin E Martin <kem@redhat.com> 18753Date: Tue Dec 6 22:48:36 2005 +0000 18754 18755 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 18756 18757commit baf60566b505fdf4387ec25789584b3f6ad72ce8 18758Author: Kevin E Martin <kem@redhat.com> 18759Date: Sat Dec 3 05:49:34 2005 +0000 18760 18761 Update package version number for X11R7 RC3 release. 18762 18763commit 4df200ea93b0a072f29057eeaf7a09e5a3a1dfe2 18764Author: Kevin E Martin <kem@redhat.com> 18765Date: Fri Dec 2 02:16:09 2005 +0000 18766 18767 Remove extraneous AC_MSG_RESULT. 18768 18769commit d4d5d7325fab1ea81f71d1ffc1fbbcc2d2253a65 18770Author: Adam Jackson <ajax@nwnk.net> 18771Date: Tue Nov 29 23:30:00 2005 +0000 18772 18773 Only build dlloader modules by default. 18774 18775commit d76f3f776bdab920d050542da45ec2871d4b84e6 18776Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18777Date: Mon Nov 28 22:04:10 2005 +0000 18778 18779 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 18780 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 18781 18782commit d4e306b585f737b4c1287c520470425b0c11dc32 18783Author: Kevin E Martin <kem@redhat.com> 18784Date: Wed Nov 9 21:15:19 2005 +0000 18785 18786 Update package version number for X11R7 RC2 release. 18787 18788commit dde6dd1c7f95f9dccabfd919ad4ced795fe3fbd1 18789Author: Kevin E Martin <kem@redhat.com> 18790Date: Tue Nov 1 15:08:53 2005 +0000 18791 18792 Update pkgcheck depedencies to work with separate build roots. 18793 18794commit 92b1bfcc8fd0f34e636a1e9955d5236334f78cd3 18795Author: Kevin E Martin <kem@redhat.com> 18796Date: Wed Oct 19 02:48:03 2005 +0000 18797 18798 Update package version number for RC1 release. 18799 18800commit eda1cbc29cb0b2193a5bfb0eb620c740d9aef7c6 18801Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18802Date: Tue Oct 18 00:01:53 2005 +0000 18803 18804 Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro 18805 substitutions to work better with BSD make 18806 18807commit 6c58a05e405cbc87fbe0497123d9b82d2480bdd3 18808Author: Adam Jackson <ajax@nwnk.net> 18809Date: Mon Oct 17 22:57:34 2005 +0000 18810 18811 More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead 18812 of indirectly 18813 18814commit fc20886c28c465578e6bd3ef2d9fe62bd993382b 18815Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18816Date: Mon Oct 17 00:09:04 2005 +0000 18817 18818 Use sed & cpp to substitute variables in driver man pages 18819 18820commit 1e3c84f332b7b9a4b320b370b8b2ecafbbdd8f8a 18821Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18822Date: Tue Oct 4 21:36:51 2005 +0000 18823 18824 Link nvidida readme file into nvidia driver, Exclude duplicated neomagic 18825 readme 18826 18827commit d8be62ab175a013f78d4944036da284ffad34d96 18828Author: Aaron Plattner <aplattner@nvidia.com> 18829Date: Thu Sep 29 21:47:29 2005 +0000 18830 18831 Add entries for GeForce Go 7800. (Change went into XFree86 on 2005-09-28). 18832 Don't hang if j is zero. This should never happen, but it's better to be 18833 safe than sorry. 18834 18835commit e39eb8b8c1a79d04f90a195351c4eec3dba0d612 18836Author: Aaron Plattner <aplattner@nvidia.com> 18837Date: Wed Sep 28 17:18:02 2005 +0000 18838 18839 Bug #3333 <https://bugs.freedesktop.org/show_bug.cgi?id=3333> Patch #3417 18840 <https://bugs.freedesktop.org/attachment.cgi?id=3417> 18841 Fix a hang during screen-to-screen blits on certain GeForce 6xxx and Quadro 18842 FX 540 graphics cards. 18843 18844commit dc5acc2e477edb85f468f8d46862ca138426cfd9 18845Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18846Date: Fri Sep 23 16:25:28 2005 +0000 18847 18848 Bug #4558 <https://bugs.freedesktop.org/show_bug.cgi?id=4558> Patch #3551 18849 <https://bugs.freedesktop.org/attachment.cgi?id=3381> 18850 22-Sep-2005 nv driver update from Mark Vojkovich: Fix possible cause of 18851 some acceleration instability on some GeForce6xxx parts. 18852 18853commit b0ea43a51d2a6983559eecdb7dbb73c5e585697c 18854Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18855Date: Sat Sep 17 01:37:18 2005 +0000 18856 18857 Bugzilla #4480 <https://bugs.freedesktop.org/show_bug.cgi?id=4480> Patch 18858 #3305 <https://bugs.freedesktop.org/attachment.cgi?id=3305> 18859 13-Sep-2005 nv driver update from Mark Vojkovich: 18860 - Adds PCI ids for GeForce 6800 XT cards 18861 - Adds names for existing PCI ids for some GeForce 6xxx & 7xxx cards 18862 - Fix a potential problem with pixmap cache corruption on GeForce 6xxx and 18863 7xxx parts. (Mark Vojkovich, NVIDIA) 18864 18865commit cdf20033e2cfc9e8634876dd42613f7719340a5a 18866Author: Eric Anholt <anholt@freebsd.org> 18867Date: Fri Sep 16 01:36:45 2005 +0000 18868 18869 Put the riva_* files in the riva128.so subdriver, like monolithic. 18870 18871commit 9b1b3184cd586f6f8bf65ebd6f3c1afb1ae64d64 18872Author: Daniel Stone <daniel@fooishbar.org> 18873Date: Thu Aug 18 09:03:47 2005 +0000 18874 18875 Update autogen.sh to one that does objdir != srcdir. 18876 18877commit 75a0deb6e9d1a5bc698ea67b338c56bc99c1b2c0 18878Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18879Date: Fri Aug 5 03:52:28 2005 +0000 18880 18881 Bug #3987 <https://bugs.freedesktop.org/show_bug.cgi?id=3987> Patch #3264 18882 <https://bugs.freedesktop.org/attachment.cgi?id=3264> Workaround for 18883 512 Meg video cards (can only map 256 Meg of it). (Mark Vojkovich) 18884 18885commit fb4033bd2662c199d7e4f0e3df7c4a0fb9870984 18886Author: Kevin E Martin <kem@redhat.com> 18887Date: Fri Jul 29 21:22:44 2005 +0000 18888 18889 Various changes preparing packages for RC0: 18890 - Verify and update package version numbers as needed 18891 - Implement versioning scheme 18892 - Change bug address to point to bugzilla bug entry form 18893 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 18894 reenable it) 18895 - Fix makedepend to use pkgconfig and pass distcheck 18896 - Update build script to build macros first 18897 - Update modular Xorg version 18898 18899commit 6ea22f19210448605b9a18bf500c33168a77e77c 18900Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18901Date: Tue Jul 26 18:40:29 2005 +0000 18902 18903 Build system for nv 18904 18905commit 74772a7dc49e34229497441fbbf2631bfb259b39 18906Author: Adam Jackson <ajax@nwnk.net> 18907Date: Mon Jul 11 02:29:58 2005 +0000 18908 18909 Prep for modular builds by adding guarded #include "config.h" everywhere. 18910 18911commit 80ac36ec4fbbd9a4aae1bde01fe6ebc1088fa8cb 18912Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18913Date: Sat Jul 9 16:51:58 2005 +0000 18914 18915 Bug #3740 <https://bugs.freedesktop.org/show_bug.cgi?id=3740> Patch #3058 18916 <https://bugs.freedesktop.org/attachment.cgi?id=3058> 18917 08-Jul-2005 nv driver updates from Mark Vojkovich: 18918 Change some console restore code for NV11. Hopefully, we can more reliably 18919 restore the console for desktop systems using DVI. This may correct a 18920 recent regression on NV11. 18921 Also, new PCI IDs. 18922 Add new nVidia PCI ids to match nv_driver.c changes. 18923 18924commit 6b75bc13462f1cfb735fe1de359ed9e45b5f4415 18925Author: Daniel Stone <daniel@fooishbar.org> 18926Date: Fri Jul 1 22:43:12 2005 +0000 18927 18928 Change all misc.h and os.h references to <X11/foo.h>. 18929 18930commit 270f5269a08da8ed0186e8a2223b673e0433a771 18931Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18932Date: Wed Jun 29 15:56:23 2005 +0000 18933 18934 Bugzilla #3657 <https://bugs.freedesktop.org/show_bug.cgi?id=3657> Patch 18935 #2992 <https://bugs.freedesktop.org/attachment.cgi?id=2992> 18936 Experimental DPMS support for GeForce4 and later laptops. (Mark 18937 Vojkovich) 18938 18939commit bf73c0716e9e4be0540d2ee7340bd5833831a434 18940Author: Adam Jackson <ajax@nwnk.net> 18941Date: Sun Jun 26 04:38:12 2005 +0000 18942 18943 Bug #3628: Fix video driver submodule visibility. 18944 18945commit 175766a44ceb0a5d4226e9088d8e3e6d73815b4f 18946Author: Adam Jackson <ajax@nwnk.net> 18947Date: Sat Jun 25 21:16:55 2005 +0000 18948 18949 Bug #3626: _X_EXPORT tags for video and input drivers. 18950 18951commit 8759399a3744f0eb1e0cdc83ed23aaaafb9be444 18952Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18953Date: Thu Apr 21 22:25:47 2005 +0000 18954 18955 programs/Xserver/hw/xfree86/drivers/nv/nv_driver.c 18956 programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c 18957 //bugs.freedesktop.org/show_bug.cgi?id=3095> Patch #2501 18958 <https://bugs.freedesktop.org/attachment.cgi?id=2501> nv DPMS panel 18959 fixes (Mark Vojkovich) 18960 18961commit 2db214d7cf5336fbea36d83bc9b089f70a494614 18962Author: Daniel Stone <daniel@fooishbar.org> 18963Date: Wed Apr 20 12:25:29 2005 +0000 18964 18965 Fix includes right throughout the Xserver tree: 18966 change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; 18967 change "foo.h", "extensions/foo.h" and "X11/foo.h" to 18968 <X11/extensions/foo.h> for extension headers, e.g. Xv.h; 18969 change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files. 18970 18971commit 3fe983d254f1ffe3c285548013be677ed4a67137 18972Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18973Date: Mon Feb 14 03:37:20 2005 +0000 18974 18975 Bugzilla #2533 (https://bugs.freedesktop.org/show_bug.cgi?id=2533) Feb. 3, 18976 2005 "nv" driver update from Mark Vojkovich (Mainly driver updates for 18977 nVidia cards with ((pNv->Chipset & 0xfff0) == 0x0090) ) 18978 18979commit 8c95fdc889b56a76497f5194bafd06edfc962387 18980Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18981Date: Wed Jan 26 01:36:04 2005 +0000 18982 18983 Jan. 2005 nv chipset update from Mark Vojkovich Bug #2380 18984 <https://bugs.freedesktop.org/show_bug.cgi?id=2380> Patch #1752 18985 <https://bugs.freedesktop.org/attachment.cgi?id=1752> 18986 18987commit 67c89797f62ea53b37927c64e0403e7e7c42de56 18988Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 18989Date: Fri Dec 10 03:56:42 2004 +0000 18990 18991 Bugzilla #1985 <https://bugs.freedesktop.org/show_bug.cgi?id=1985> sync to 18992 12/08/04 version of Nvidia driver from Mark Vojkovich, including these 18993 fixes since last sync: Fix some DAC/Graphics memory contention issues 18994 on newer NVIDIA chips (specifically, NV40). More PCI IDs. Also, I've 18995 had trouble getting some panels to work automagically so I expose an 18996 FPTweak option to let the user adjust a troublesome register. 18997 18998commit 7c34d051168eba499beb20c40fd95703375f4c7b 18999Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19000Date: Wed Nov 10 02:53:44 2004 +0000 19001 19002 (Bugzilla #1777) Import Mark Vojkovich's changes to NV driver since last 19003 sync with XFree86, including: Support for new NVIDIA chips. Egbert has 19004 a laptop that needs some DPMS ordering reversed. New chip support and 19005 workaround for Toshiba M30 laptop issue. PCI-Xpress chip support. DPMS 19006 support for DVI. Cursor changes for NV11 so that alpha blended cursors 19007 will work in conjunction with dithering (laptop panels). It previously 19008 did not. HW support for alpha blended stretch blits on NV5 and higher, 19009 though nothing is using them at this point. Add support for VBlank 19010 syncing the Xv Blit adaptor on hardware that supports it (NV11 and 19011 higher). Make console restoration a little more robust. We were making 19012 an assumption that failed on a newer laptop. Workaround for some NV31 19013 DVI artifacts. 19014 Also add nVidia license statement to nv man page to comply with requirement 19015 that it appear in "user documentation" 19016 19017commit fcd6d7b57edb4e396189a0a2683bcf08974f3b59 19018Author: Egbert Eich <eich@suse.de> 19019Date: Tue Oct 12 19:13:44 2004 +0000 19020 19021 Set fbdev mode as the default mode on PPC (Olaf Hering). 19022 Added support for IBM space saver keyboard (Stefan Dirsch). Added support 19023 for Cherry CyMotion Master XPress (Marcus Schaefer). 19024 Change order of SetDisplayDevice(), HWRestore(), UnbindGART() and 19025 RestoreBIOSMemSize() to be exactly opposite to the Save procedure in 19026 EnterVT() (Matthias Hopf, Alan Hourihane). 19027 Fix text mode restauration by removing the assumption that the register 19028 which determines which head is programmed is set. to the active head by 19029 the BIOS (Mark Vojkovich). 19030 When I wrote the resource code 5 years ago I made some assumptions which 19031 turned out to be false: I've assumed that the bus number of the PCI 19032 hostbridge would be the PCI bus the bridge links to. This is not 19033 correct. Fixing this assumption is not easy. However I hope that the 19034 attached patch will make the system work regardless as it 'ignores' 19035 host bridges from which the target bus is not known. This should not 19036 matter at all as we really don't care about host bridges (unless we 19037 have bridge specific code which retrieves information about the 19038 bridge). 19039 Fixed server crash on reset when a structure allocated in PreInit() was 19040 freed on CloseScreen(). 19041 Fixed ring buffer lock ups that happened because the structure that 19042 contained ringbuffer data was not zeroed after allocation. 19043 Fixed numerous warnings due to signed unsigned comparisons. 19044 programs/Xserver/hw/xfree86/drivers/nv/nv_driver.c: 19045 (NVBacklightEnable): Changed the order in which the sequencer registers 19046 and the backlight control registers are written. The sequencer control 19047 register need to be written first otherwise DPMS screen blanking 19048 produces vertical bars on a mobile device. lib/Xau/Imakefile: Build 19049 libXau static library PIC so it can be linked into toolkits that would 19050 like to wrap its functionality. 19051 19052commit 65e13fc61141b36a74c7a0e696d274574641ba20 19053Author: Adam Jackson <ajax@nwnk.net> 19054Date: Fri Sep 17 03:04:52 2004 +0000 19055 19056 Bug #1192: Remove cfb support from drivers where its use is an option. 19057 Delete xf24_32bpp, as s3virge was the last user. Fix up some comments 19058 to refer to fb rather than cfb. 19059 19060commit bbafc6d2fcb21671de3cfb4ff973409405162e7a 19061Author: Adam Jackson <ajax@nwnk.net> 19062Date: Mon Aug 16 09:13:14 2004 +0000 19063 19064 Bug #1087: Make sure all the *Weak symbols are documented in the import 19065 list, so the loader knows not to complain about unresolved symbols when 19066 an optional module isn't loaded. This typically manifests as warnings 19067 about fbdevHW symbols when the user isn't using the framebuffer 19068 console. 19069 19070commit 8b6de7d388b7ae5169b2e38ad1a40981bc406cfc 19071Author: Adam Jackson <ajax@nwnk.net> 19072Date: Sat Jul 31 01:21:19 2004 +0000 19073 19074 Change several LoaderSymbol calls introduced by the bug #400 patch to 19075 *Weak() resolver functions. 19076 19077commit f745157f15befebe01552b103c573ccb94b8f388 19078Author: Adam Jackson <ajax@nwnk.net> 19079Date: Fri Jul 30 20:30:53 2004 +0000 19080 19081 Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all 19082 framebuffer formats except cfb and the overlay modes should work, and 19083 r128 and radeon need to be loaded from the ati driver (both issues to 19084 be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga 19085 drivers. elfloader users shouldn't be affected. 19086 19087commit b9a6776bc04eb19343882bddb371b705677cfc14 19088Author: Eric Anholt <anholt@freebsd.org> 19089Date: Wed Jun 16 09:23:29 2004 +0000 19090 19091 DRI XFree86-4_3_99_12-merge import 19092 19093commit cbf040deb0ab24425468ed60b3f3edd322ec210f 19094Author: Eric Anholt <anholt@freebsd.org> 19095Date: Wed Jun 16 09:23:29 2004 +0000 19096 19097 Initial revision 19098 19099commit 99a7f7ccce4e012bde57021cafcb132c3d599b96 19100Author: Egbert Eich <eich@suse.de> 19101Date: Fri Apr 23 19:42:10 2004 +0000 19102 19103 Merging XORG-CURRENT into trunk 19104 19105commit 708bb2eb0db3808e3edf94a5f22b3e3f5bb6488d 19106Author: Egbert Eich <eich@suse.de> 19107Date: Sun Mar 14 08:33:30 2004 +0000 19108 19109 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 19110 19111commit fe564263d97e370817fc862e5c8ead09bfb70b58 19112Author: Egbert Eich <eich@suse.de> 19113Date: Wed Mar 3 12:12:23 2004 +0000 19114 19115 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 19116 19117commit 1a0be799ce4c479e39f8af86fcca3d192e83f455 19118Author: Egbert Eich <eich@suse.de> 19119Date: Thu Feb 26 13:35:54 2004 +0000 19120 19121 readding XFree86's cvs IDs 19122 19123commit ee5c9ef51cea88a630ecc652512603c42b39a533 19124Author: Egbert Eich <eich@suse.de> 19125Date: Thu Feb 26 09:23:23 2004 +0000 19126 19127 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 19128 19129commit d176fa338d2d83bcf8d7ec68ff1aec205a258fec 19130Author: Kaleb Keithley <kaleb@freedesktop.org> 19131Date: Mon Feb 23 20:35:04 2004 +0000 19132 19133 Import most of XFree86 4.4RC3. This import excludes files which have the 19134 new license. If we want to, later we can import 4.4RC3 again and pick 19135 up the files that have the new license, but for now the vendor branch 19136 is "pure." 19137 19138commit ea7a90e680a2e9259e471dd6677bcca12aeea79e 19139Author: Egbert Eich <eich@suse.de> 19140Date: Thu Jan 29 08:08:36 2004 +0000 19141 19142 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 19143 19144commit a6c83bd98c34aacdf7a6b82ea83d6ae775479502 19145Author: Kaleb Keithley <kaleb@freedesktop.org> 19146Date: Fri Dec 19 20:55:14 2003 +0000 19147 19148 XFree86 4.3.99.902 (RC 2) 19149 19150commit 935c2adf58a10e6d3caa75823b4e7a0689555c49 19151Author: Kaleb Keithley <kaleb@freedesktop.org> 19152Date: Tue Nov 25 19:28:38 2003 +0000 19153 19154 XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 19155 19156commit d84248580d5b05bb47a2ccdce7badfc884efa6da 19157Author: Kaleb Keithley <kaleb@freedesktop.org> 19158Date: Tue Nov 25 19:28:38 2003 +0000 19159 19160 Initial revision 19161 19162commit dd1a62caaaac6acc35584a2c8c525962d8574c95 19163Author: Kaleb Keithley <kaleb@freedesktop.org> 19164Date: Fri Nov 14 16:48:55 2003 +0000 19165 19166 XFree86 4.3.0.1 19167 19168commit 2f223903fba2bdee1623f3442d7580c809b428cc 19169Author: Kaleb Keithley <kaleb@freedesktop.org> 19170Date: Fri Nov 14 16:48:55 2003 +0000 19171 19172 Initial revision 19173 19174commit 542d57ea12b5461891a13a339e01ca9e1add124d 19175Author: Kaleb Keithley <kaleb@freedesktop.org> 19176Date: Fri Nov 14 15:54:48 2003 +0000 19177 19178 R6.6 is the Xorg base-line 19179