1commit 8bf766606f1502fa481f1103ff704cc9dd13c337 2Author: Matt Turner <mattst88@gmail.com> 3Date: Thu Nov 7 13:15:35 2024 -0500 4 5 xf86-video-nouveau 1.0.18 6 7 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/13> 8 9commit a261e93f09d2f2c3b429de2b1cecce1ec015b962 10Author: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 11Date: Tue Jun 22 10:53:37 2021 +0200 12 13 nouveau: Implement nouveau_pick_best_crtc using rr_crtc_covering_box 14 15 Both functions have the same implementation. 16 17 Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 18 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/2> 19 20commit aa3962ee7b25818b35371cc8e78dd6591b941990 21Author: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 22Date: Tue Jun 22 09:54:54 2021 +0200 23 24 nouveau: use modesetting randr_crtc_covering_drawable implementation 25 26 ... for nouveau_present_crtc. 27 28 Instead of returning NULL crtc or disable primarty crtc as fallback 29 randr_crtc_covering_drawable can find and return crtc that belongs to 30 secondary outputs. This prevents usage of 1Hz fake_crtc when lid is 31 closed and only secondary output is enabled. 32 33 Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 34 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/2> 35 36commit 80360ea8cfebf5ad718f27f82b14761a140c10a1 37Author: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 38Date: Tue Jun 22 09:43:26 2021 +0200 39 40 nouveau: Use randr_crtc_covering_drawable used in modesetting 41 42 Use implementation from modesetting driver that is fixing issue: 43 https://gitlab.freedesktop.org/xorg/xserver/-/issues/1028 44 45 Instead of returning NULL crtc or disable primarty crtc as fallback 46 randr_crtc_covering_drawable can find and return crtc that belongs to 47 secondary outputs. This prevents usage of 1Hz fake_crtc when lid is 48 closed and only secondary output is enabled. 49 50 Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 51 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/2> 52 53commit 0d1c1a0828c31b50620301a03c5df56f0cbfd29c 54Author: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 55Date: Tue Jun 22 10:20:02 2021 +0200 56 57 nouveau: Remove consider_disabled from nouveau_pick_best_crtc 58 59 ... as it is never used. 60 61 Also this is not required anymore as xserver patch fixed that in 62 xorg-server in 5c5c1b779 ("present: Add Present extension"). 63 - in case of lack of crtc xserver is using fake_crtc with render 1Hz 64 frequency 65 66 Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 67 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/2> 68 69commit 7d09948c13c606bfc317f7e1e2616563af9dfe70 70Author: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 71Date: Tue Jun 22 09:21:56 2021 +0200 72 73 nouveau: fixup driver for new X server ABI 74 75 Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 76 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/2> 77 78commit f2508a881cc4a6500e9ef27c656df631e0d56be3 79Author: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 80Date: Tue Jun 22 09:34:30 2021 +0200 81 82 nouveau: Rename functions that has origin from modesetting 83 84 ... to have the same name and implementation. 85 86 I have renamed drmmode_crtc_on, nouveau_box_intersect, nouveau_box_area 87 to be named the same as in modesetting driver. It will be easier to make 88 that code common in the future when required. 89 90 Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com> 91 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/2> 92 93commit 98c96445beb6661b681a217316e52ff6fdca8a74 94Author: Enrico Weigelt, metux IT consult <info@metux.net> 95Date: Tue Oct 1 17:36:01 2024 +0200 96 97 use dixDestroyPixmap() instead of direct driver call 98 99 Direct calls to ScreenRec->DestroyPixmap() blocks cleaning up the wrapping 100 jungle, so use the proper dix function instead. 101 102 See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1754 103 104 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 105 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/11> 106 107commit 14eec1945fa16144178ea94bdf68c756fb1028aa 108Author: Enrico Weigelt, metux IT consult <info@metux.net> 109Date: Wed May 8 16:18:19 2024 +0200 110 111 use XNFcallocarray() instead of xnfcalloc macro 112 113 xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve 114 any practical purpose, so it can go away once all drivers stopped using it. 115 116 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 117 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/7> 118 119commit 4e4ab90a48e0a2a7325b4f5d08feb611745e9d3b 120Author: Enrico Weigelt, metux IT consult <info@metux.net> 121Date: Wed May 8 12:58:02 2024 +0200 122 123 use XNFalloc() instead of xnfalloc 124 125 xnfalloc is just an alias for XNFalloc() that doesn't seem to serve 126 any practical purpose, so it can go away once all drivers stopped using it. 127 128 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 129 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/7> 130 131commit 0cb36acb07b57263e8e446ebf2d7505686337eff 132Author: Enrico Weigelt, metux IT consult <info@metux.net> 133Date: Wed May 22 22:57:49 2024 +0200 134 135 drop compat with ancient ABI_VIDEODRV_VERSION < 20 136 137 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 138 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/8> 139 140commit 25ae4a6129e03e3661744c8eb4200b30309e0ca2 141Author: Enrico Weigelt, metux IT consult <info@metux.net> 142Date: Wed May 22 22:56:34 2024 +0200 143 144 drop obsolete check for HAS_DIXREGISTERPRIVATEKEY 145 146 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 147 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/8> 148 149commit d7db32eecc302668b11b9dd2d84f79d270ae5eea 150Author: Enrico Weigelt, metux IT consult <info@metux.net> 151Date: Tue May 14 14:31:33 2024 +0200 152 153 drop compat for ancient server versions 154 155 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 156 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/8> 157 158commit 7d29f5c439770cc8bc26f8c3ecff5e803d3e5d71 159Author: Enrico Weigelt, metux IT consult <info@metux.net> 160Date: Tue May 14 14:30:35 2024 +0200 161 162 drop check for xorg_list_init() 163 164 Since we're relying on at least xserver version 1.8 and it's present 165 there, no need for extra checks and workarounds. 166 167 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 168 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/8> 169 170commit 4063c70c1a99be46a29951fd3a958617d0003364 171Author: Enrico Weigelt, metux IT consult <info@metux.net> 172Date: Tue May 14 14:26:58 2024 +0200 173 174 bump minimal xorg version to 1.18 175 176 1.18 was released a decade ago, so it seems reasonable stop supporting 177 older ones. 178 179 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 180 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/8> 181 182commit 32188de9c66291778dea4d6c701540e874d9027a 183Author: Sérgio M. Basto <sergio@serjux.com> 184Date: Thu Oct 10 00:53:55 2024 +0100 185 186 Fix implicit declaration of wfbScreenInit 187 188 ``` 189 nv_driver.c:1443:9: warning: implicit declaration of function ‘wfbScreenInit’; did you mean ‘fbScreenInit’? [-Wimplicit-function-declaration] 190 ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX, 191 ^~~~~~~~~~~~~ 192 fbScreenInit 193 ``` 194 195 Fixes: 794a277 ("nv50: use libwfb for pixmap access when driver pixmaps enabled") 196 Signed-off-by: Sérgio M. Basto <sergio@serjux.com> 197 Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/12> 198 199commit 827f1e2d2b336ea7d65cf1c8117dd9c34e876e7d 200Author: Alan Coopersmith <alan.coopersmith@oracle.com> 201Date: Thu Oct 5 17:10:21 2023 -0700 202 203 gitlab CI: ensure libtool is installed in build container 204 205 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 206 207commit 9f733098b3c9f65bf5896f248cdf4c3b69ace4e5 208Author: Alan Coopersmith <alan.coopersmith@oracle.com> 209Date: Thu Jul 28 17:30:21 2022 -0700 210 211 gitlab CI: stop requiring Signed-off-by in commits 212 213 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 214 215commit 29cc528a1f270f8aac49c2f0dedcb03590613cb3 216Author: Alan Coopersmith <alan.coopersmith@oracle.com> 217Date: Sat Jan 22 13:38:53 2022 -0800 218 219 gitlab CI: add a basic build test 220 221 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 222 223commit fbd3133bef9de5ba8c2e1d12835a7ac17bd67a72 224Author: Alan Coopersmith <alan.coopersmith@sun.com> 225Date: Fri Jan 15 15:14:35 2010 -0800 226 227 Update Sun license notices to current X.Org standard form 228 229 As noted in 230 https://lists.freedesktop.org/archives/xorg-devel/2009-November/003670.html 231 Sun relicensed all its contributions to X.Org to use the standard X.Org 232 form of the MIT license, to reduce the number of MIT license variants in 233 X.Org projects. 234 235 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 236 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 237 238commit cdd503430bc5456724b3102a376bd26ede48862f 239Author: Alan Coopersmith <alan.coopersmith@oracle.com> 240Date: Sat Jan 22 13:34:51 2022 -0800 241 242 Build xz tarballs instead of bzip2 243 244 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 245 246commit 3ee7cbca8f9144a3bb5be7f71ce70558f548d268 247Author: Ilia Mirkin <imirkin@alum.mit.edu> 248Date: Mon Apr 26 19:38:57 2021 -0400 249 250 remove sarea.h usage 251 252 This header hasn't been used in ages, and is apparently no longer 253 shipped in some places. Just stop relying on it entirely. 254 255 Reported-by: Lyude Paul <lyude@redhat.com> 256 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 257 258commit e80e73ced69b15662103d0fd6837db4ce6c6eb5b 259Author: Dave Airlie <airlied@redhat.com> 260Date: Mon Jul 13 09:20:15 2020 +1000 261 262 nouveau: fixup driver for new X server ABI 263 264commit c39897466573aabd6a3b4e63e8e5fb42ac5971f8 265Author: Ilia Mirkin <imirkin@alum.mit.edu> 266Date: Sat Jan 23 12:24:42 2021 -0500 267 268 Bump version to 1.0.17 269 270 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 271 272commit 7212a2782f3e638acf49de4716656b2ae27c2156 273Author: Ilia Mirkin <imirkin@alum.mit.edu> 274Date: Sat Aug 15 23:18:22 2020 -0400 275 276 present: fix handling of drmWaitVBlank failures 277 278 When drmWaitVBlank fails, make sure to remove the event from the queue. 279 280 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 281 282commit 5031100549fb053527a1f11d771e930dec065ced 283Author: Ilia Mirkin <imirkin@alum.mit.edu> 284Date: Sat Aug 15 23:20:53 2020 -0400 285 286 drmmode: make event handler leave a note that there are stuck events 287 288 We don't really expect to have too many events in the queue. If there 289 are, then the algorithm we use isn't appropriate. Add a warning when the 290 queue gets very long, as it's an indication of something having gone 291 wrong. 292 293 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 294 295commit f833cd0827a73b716cc3af5905015fcb2c7d958d 296Author: Ilia Mirkin <imirkin@alum.mit.edu> 297Date: Sat Jul 18 18:44:58 2020 -0400 298 299 present: don't enable if there's no acceleration 300 301 All the present logic relies on EXA being used to wrap everything. 302 Unclear if present could even be used without the other things EXA 303 enables, but better be safe. 304 305 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 306 307commit 971624406a8ecd85bad8c2e2d1fd26f5d14bae92 308Author: Ilia Mirkin <imirkin@alum.mit.edu> 309Date: Sat Jul 18 18:40:35 2020 -0400 310 311 drmmode: fix screen resize without acceleration 312 313 This got broken with commit 86024cee back in 2014! 314 drmmode_pixmap/nouveau_pixmap expect there to be EXA wrapping around the 315 pixmap now, which is not there without accel. 316 317 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 318 319commit 5444cabcf0ab5cea614270f1ad1df1e1fccb3c2b 320Author: Ilia Mirkin <imirkin@alum.mit.edu> 321Date: Sat Oct 26 18:36:27 2019 -0400 322 323 make error when failing to allocate surface more descriptive 324 325 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 326 327commit ef89b3c5ca9b2569ca61a9452d13a93edc832810 328Author: Ilia Mirkin <imirkin@alum.mit.edu> 329Date: Sat Oct 12 20:13:25 2019 -0400 330 331 dri2,present: move in pixmap before getting addresses 332 333 First of all, we were not forcing the pixmap to be moved in before 334 attempting to present it. Secondly, in certain configurations, we avoid 335 ever backing pixmaps with vram (in GPUs with 32MB of VRAM or less). 336 337 This fixes the observed cases where we ended up assuming that a bo was 338 backing a pixmap without doing the explicit move-in. 339 340 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 341 342commit 856572319fadeeadf58d782ab6f3f2d230822d67 343Author: Ilia Mirkin <imirkin@alum.mit.edu> 344Date: Sat Oct 12 16:00:15 2019 -0400 345 346 nv4/exa: tiling is unsupported pre-nv10, reduce alignment requirements 347 348 Commit 8c8f15c9d3 added increased pitch alignment requirements to handle 349 nv10-nv40 tiling (which must have a small number * PoT pitch). While 350 NV4/NV5 do have tiling, this was never supported in nouveau. 351 352 This change enables 1920x1200 resolutions since the maximum surface 353 pitch has to be strictly less than 8192. The current logic will align 354 1920*4 up to 8192 unnecessarily. 355 356 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 357 Cc: Marcin Kościelnicki <koriakin@0x04.net> 358 Cc: Francisco Jerez <currojerez@riseup.net> 359 360commit a5f04582cecb1a649bb46b8af9f2889247788d00 361Author: Carlo Caione <carlo@endlessm.com> 362Date: Fri Sep 1 12:47:23 2017 +0200 363 364 Don't advertise any PRIME offloading capabilities without acceleration 365 366 Acceleration is required even for display offloading. Trying to enable 367 display offloading without acceleration resulted in a crash. 368 369 https://bugs.freedesktop.org/show_bug.cgi?id=101220 370 371 Signed-off-by: Carlo Caione <carlo@endlessm.com> 372 373commit ec2b45d1bf4c31c5420b48c213bf9ee1656adf9d 374Author: Ilia Mirkin <imirkin@alum.mit.edu> 375Date: Mon Jan 28 23:25:58 2019 -0500 376 377 Bump version to 1.0.16 378 379 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 380 381commit 2376d1ebf2d9a96bc2ebf21d53a9f9841ce5c15b 382Author: Ilia Mirkin <imirkin@alum.mit.edu> 383Date: Sat Jan 26 23:00:19 2019 -0500 384 385 update known chipsets list 386 387 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 388 Reviewed-by: Rhys Kidd <rhyskidd@gmail.com> 389 390commit ca13913aaf7e3995c3b49d3d80aad7e6cb33291a 391Author: Ilia Mirkin <imirkin@alum.mit.edu> 392Date: Wed Jan 23 00:29:51 2019 -0500 393 394 Revert "wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER" 395 396 This reverts commit d7ba24fb6e4fce43adc3c73369c5d1035ae080a9. 397 398 When built and run against Xorg 1.20.3, part way through init, I got an 399 error about wfbPictureInit not existing despite not having wfb_enabled 400 set. 401 402 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 403 404commit fb2d4d27837ebf3ae2fdcf091495f52d2ad8c822 405Author: Ilia Mirkin <imirkin@alum.mit.edu> 406Date: Wed Jan 23 00:28:05 2019 -0500 407 408 present: rotated crtc's work fine 409 410 The "pick best" logic takes rotation into account. However flipping a 411 rotated CRTC can't work, so we disable that. 412 413 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 414 415commit 92db605f0f5ac14957e38e59782ef3ed4808de05 416Author: Rhys Kidd <rhyskidd@gmail.com> 417Date: Mon Jan 21 22:59:54 2019 -0500 418 419 Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr 420 421 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 422 423commit 8a90309401963aa43f89f91e204ec9cac5ade704 424Author: Rhys Kidd <rhyskidd@gmail.com> 425Date: Mon Jan 21 00:52:23 2019 -0500 426 427 config: Suggest upstream to find macros in case they are missing 428 429 Added upstream suggestion to error message in case xorg macros or 430 xserver macros are missing. No actual package manager references in 431 suggestion since these are 'user' and/or 'distribution' preferences. 432 433 (Cherry picked from xf86-video-intel 90538ecfff9c324d61419f451d41d26ab026f232) 434 435 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 436 437commit fcddd2c8e6e4a738bf28028e6d4ad5be34c8b2ae 438Author: Rhys Kidd <rhyskidd@gmail.com> 439Date: Mon Jan 21 00:52:22 2019 -0500 440 441 config: Complete bug report URL for Xorg DDX nouveau driver 442 443 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 444 445commit a566c883b3663b685e467788b8b5de6d99ef9ae2 446Author: Rhys Kidd <rhyskidd@gmail.com> 447Date: Mon Jan 21 00:52:21 2019 -0500 448 449 config: Set automake options consistently in one location 450 451 Avoid use of two manners of setting automake configuration options, 452 and consolidate them into AM_INIT_AUTOMAKE macro. 453 454 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 455 456commit 56e67e09925b0b5544884b279b9cc5552964fd25 457Author: Rhys Kidd <rhyskidd@gmail.com> 458Date: Mon Jan 21 00:52:20 2019 -0500 459 460 config: remove unused sdkdir=$(pkg-config...) statement 461 462 The sdkdir variable is not used, so remove the statement. 463 464 (Copied from xf86-video-ati 36bd69affc996c92c40b7360a7fbaa1a3a46abfd) 465 466 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 467 468commit db51fcf52067e4412c96bb4c84d97ceac6c857a6 469Author: Rhys Kidd <rhyskidd@gmail.com> 470Date: Mon Jan 21 00:52:19 2019 -0500 471 472 config: Remove unrequired AC_SUBST for LIBDRM_NOUVEAU and LIBUDEV 473 474 These macros are called by the PKG_CHECK_MODULES macro, for all 475 versions of pkg-config >= 0.24.0 (released May 23, 2010). 476 477 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 478 479commit f5250b1d46b6442550140b149341e06f7f27ae8d 480Author: Rhys Kidd <rhyskidd@gmail.com> 481Date: Mon Jan 21 00:52:18 2019 -0500 482 483 config: Add comments for main statements 484 485 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 486 487commit ed653f76b17ba4b252fe405e7bd39b36142dae05 488Author: Rhys Kidd <rhyskidd@gmail.com> 489Date: Mon Jan 21 00:52:17 2019 -0500 490 491 config: Use LT_INIT option instead of AC_DISABLE_STATIC 492 493 Since libtool 2.2 (released March 2008) the preferred initiation of 494 libtool is with the LT_INIT() macro, instead of AC_PROG_LIBTOOL. 495 496 As we are using LT_INIT anyway we might as well pass the disable-static 497 option directly to it instead of using the AC_DISABLE_STATIC macro. 498 499 See: 500 - https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html 501 - https://www.x.org/wiki/NewModuleGuidelines/ 502 503 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 504 505commit fe3fc188f17f000afae4c307ad5e54f1596fc6ff 506Author: Rhys Kidd <rhyskidd@gmail.com> 507Date: Mon Jan 21 00:52:16 2019 -0500 508 509 config: Utilize util-macros 1.8 for additional man page support 510 511 Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 512 The value of MAN_SUBST is the same for all X.Org packages. 513 514 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 515 516commit caaac38112fa9066089099655866e0e9f5e3a647 517Author: Rhys Kidd <rhyskidd@gmail.com> 518Date: Mon Jan 21 00:52:15 2019 -0500 519 520 config: remove unrequired AC_HEADER_STDC 521 522 Autoconf says: 523 "This macro is obsolescent, as current systems have conforming 524 header files. New programs need not use this macro". 525 526 Was previously required to ensure the system has C header files conforming 527 to ANSI C89 (ISO C90). Specifically, this macro checks for stdlib.h, 528 stdarg.h, string.h, and float.h. 529 530 This autoconf option was used to provide conditional fallback support 531 via defined STDC_HEADERS. 532 533 xf86-video-nouveau does not do so, so this macro is obsolete and unused, 534 so let's drop it. 535 536 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 537 538commit 4cf6d02ecbd5d2201d66324ba33f9fcbed67092f 539Author: Rhys Kidd <rhyskidd@gmail.com> 540Date: Mon Jan 21 00:52:14 2019 -0500 541 542 config: Use XORG_DEFAULT_OPTIONS which replaces six XORG_* macros 543 544 This macro expands into several macros and provide several build functions [0]. 545 Refer to the module generated aclocal.m4 file as this is subject to change. 546 547 At present, this includes: 548 - XORG_CWARNFLAGS: platform adjusted compiler warning flags 549 - XORG_STRICT_OPTION: additional warning flags 550 - XORG_RELEASE_VERSION: defines variables for major, minor and patch level 551 - XORG_CHANGELOG: contains a makefile rule which creates the ChangeLog file from Git 552 - XORG_INSTALL: contains a makefile rule which provides the INSTALL file in the module root directory 553 - XORG_MANPAGE_SECTIONS: platform adjusted man page section number 554 555 The above macros invoke the following Autoconf macros: 556 - AC_PROG_INSTALL 557 - AC_PROG_CC_C99 558 - AC_PROG_SED 559 - AC_CANONICAL_HOST 560 561 [0] https://www.x.org/wiki/NewModuleGuidelines/ 562 563 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 564 565commit 945f95775a21cbcc721b579f7dc220f1474d1d25 566Author: Rhys Kidd <rhyskidd@gmail.com> 567Date: Mon Jan 21 00:52:13 2019 -0500 568 569 config: libtoolize: put macros in AC_CONFIG_MACRO_DIR, 'm4' 570 571 As suggested by one tool called by autoreconf. Necessitates change to: 572 - configure.ac: Call AC_CONFIG_MACRO_DIR() 573 - Makefile.am: Set ACLOCAL_AMFLAGS = -I m4 574 - Create placeholder m4 folders 575 - Update gitignore files 576 577 >From the autoconf documentation: 578 579 "Starting from version 2.58, autoconf provide the macro AC_CONFIG_MACRO_DIR 580 to declare where additional macro files are to be put and found. The 581 argument passed to this macro is commonly m4." 582 https://autotools.io/autoconf/macros.html 583 584 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 585 586commit 9b60c3bc74c69d607d44c864f60f5fda0b11cd48 587Author: Rhys Kidd <rhyskidd@gmail.com> 588Date: Mon Jan 21 00:52:12 2019 -0500 589 590 gitignore: Update to mirror modern X.org drivers 591 592 Avoids git showing autoconf/automake generated files (e.g. tarballs) that 593 are local build artifacts and should not be committed. 594 595 Cherry picked from xf86-video-intel as at: 596 https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/blob/7c9dbc980b760e0053d83ca2d7cb147613285680/.gitignore 597 598 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 599 600commit 1761769d43ab3ab31b5e5d92e6014fdea21830bd 601Author: Rhys Kidd <rhyskidd@gmail.com> 602Date: Mon Jan 21 00:52:11 2019 -0500 603 604 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 605 606 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 607 AC_PROG_C_C99. This sets gcc with -std=gnu99. 608 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 609 610 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 611 612commit e27c0bb6c70b1a68ddf2aeeb0e4346e0a41b8d9c 613Author: Rhys Kidd <rhyskidd@gmail.com> 614Date: Mon Jan 21 00:52:10 2019 -0500 615 616 config: Rely upon list.h as at least xorg-server 1.8 required 617 618 Fixes: edd1608 ("xorg_list: define the xorg_list* symbols") 619 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 620 621commit 6700548071763daf30ab74dbcfb6543ea0db101d 622Author: Rhys Kidd <rhyskidd@gmail.com> 623Date: Mon Jan 21 00:52:09 2019 -0500 624 625 config: Only check for presence of libdrm package once 626 627 After a version-conditioned check for libdrm was added, no longer necessary 628 to check a second time, especially without a version number check. 629 630 Fixes: 779b8d4 ("Link against libdrm") 631 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 632 633commit 9b2b008eb76c6f4c31d5f71ca01a06254a03f7c9 634Author: Rhys Kidd <rhyskidd@gmail.com> 635Date: Mon Jan 21 00:52:08 2019 -0500 636 637 config, nv: Use xorg-macros PACKAGE_VERSION_{MAJOR, MINOR, PATCHLEVEL} 638 639 Use xorg-macros provided PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} rather 640 than rolling our own in xf86-video-nouveau. 641 642 Macro has been available since xorg-macros 1.1.5 (we rely on >= 1.8) 643 provided that XORG_DEFAULT_OPTIONS is called. 644 645 Fixes: b82aacd ("configure: require xorg-macros 1.8") 646 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 647 648commit b098bdae321182d2f18d791e7f1c665dec21f571 649Author: Rhys Kidd <rhyskidd@gmail.com> 650Date: Mon Jan 21 00:52:07 2019 -0500 651 652 config: Fix typo in comment 653 654 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 655 656commit 764b42babd38b545ccb3b43cd81c989bddf71c77 657Author: Rhys Kidd <rhyskidd@gmail.com> 658Date: Sun Jan 20 22:21:34 2019 -0500 659 660 xv/nv30, nv40: Mark local NV30GetSurfaceFormat and NV40GetSurfaceFormat as static 661 662 Avoids warnings with gcc 8.2: 663 664 nv30_xv_tex.c:138:1: warning: no previous prototype for ‘NV30GetSurfaceFormat’ [-Wmissing-prototypes] 665 NV30GetSurfaceFormat(PixmapPtr ppix, int *fmt_ret) 666 ^~~~~~~~~~~~~~~~~~~~ 667 668 nv40_xv_tex.c:138:1: warning: no previous prototype for ‘NV40GetSurfaceFormat’ [-Wmissing-prototypes] 669 NV40GetSurfaceFormat(PixmapPtr ppix, int *fmt_ret) 670 ^~~~~~~~~~~~~~~~~~~~ 671 672 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 673 674commit 0fa6ba423593cb5c8e43b8f6569f90f9fcc2b36c 675Author: Rhys Kidd <rhyskidd@gmail.com> 676Date: Sun Jan 20 22:21:33 2019 -0500 677 678 xv: Mark local NVSetupTexturedVideo function as static 679 680 Avoids warning with gcc 8.2: 681 682 nouveau_xv.c:2136:1: warning: no previous prototype for ‘NVSetupTexturedVideo’ [-Wmissing-prototypes] 683 NVSetupTexturedVideo (ScreenPtr pScreen, XF86VideoAdaptorPtr *textureAdaptor) 684 ^~~~~~~~~~~~~~~~~~~~ 685 686 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 687 688commit 2905ea76571faed91e7d17b5dc6e44758e71ff0b 689Author: Rhys Kidd <rhyskidd@gmail.com> 690Date: Sun Jan 20 22:21:32 2019 -0500 691 692 dri2: Mark local create/destroy buffer and copy region functions as static 693 694 Avoids warnings with gcc 8.2: 695 696 nouveau_dri2.c:38:1: warning: no previous prototype for ‘nouveau_dri2_create_buffer2’ [-Wmissing-prototypes] 697 nouveau_dri2_create_buffer2(ScreenPtr pScreen, DrawablePtr pDraw, unsigned int attachment, 698 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 699 nouveau_dri2.c:109:1: warning: no previous prototype for ‘nouveau_dri2_create_buffer’ [-Wmissing-prototypes] 700 nouveau_dri2_create_buffer(DrawablePtr pDraw, unsigned int attachment, 701 ^~~~~~~~~~~~~~~~~~~~~~~~~~ 702 nouveau_dri2.c:117:1: warning: no previous prototype for ‘nouveau_dri2_destroy_buffer2’ [-Wmissing-prototypes] 703 nouveau_dri2_destroy_buffer2(ScreenPtr pScreen, DrawablePtr pDraw, DRI2BufferPtr buf) 704 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 705 nouveau_dri2.c:131:1: warning: no previous prototype for ‘nouveau_dri2_destroy_buffer’ [-Wmissing-prototypes] 706 nouveau_dri2_destroy_buffer(DrawablePtr pDraw, DRI2BufferPtr buf) 707 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 708 nouveau_dri2.c:137:1: warning: no previous prototype for ‘nouveau_dri2_copy_region2’ [-Wmissing-prototypes] 709 nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr pDraw, RegionPtr pRegion, 710 ^~~~~~~~~~~~~~~~~~~~~~~~~ 711 nouveau_dri2.c:215:1: warning: no previous prototype for ‘nouveau_dri2_copy_region’ [-Wmissing-prototypes] 712 nouveau_dri2_copy_region(DrawablePtr pDraw, RegionPtr pRegion, 713 ^~~~~~~~~~~~~~~~~~~~~~~~ 714 715 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 716 717commit eb93278fadaab508ba8c2db65d2d3af2bd421efa 718Author: Rhys Kidd <rhyskidd@gmail.com> 719Date: Sun Jan 20 22:21:31 2019 -0500 720 721 wfb: Remove declaration for undefined function nouveau_wfb_init() 722 723 Fixes: 794a277 ("nv50: use libwfb for pixmap access when driver pixmaps enabled") 724 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 725 726commit 5233f3c84a436e01dabac531c2615e0e9af5f4ac 727Author: Rhys Kidd <rhyskidd@gmail.com> 728Date: Sun Jan 20 21:31:19 2019 -0500 729 730 xv: Avoid shadowed declaration of 'int ret' in NVPutImage 731 732 Warning reported by gcc 8.2: 733 734 nouveau_xv.c: In function ‘NVPutImage’: 735 nouveau_xv.c:1369:7: warning: declaration of ‘ret’ shadows a previous local [-Wshadow] 736 int ret = BadImplementation; 737 ^~~ 738 nouveau_xv.c:1073:6: note: shadowed declaration is here 739 int ret, i; 740 ^~~ 741 742 Fixes: a50bba6 ("xv: misc cleanups") 743 Cc: Ben Skeggs <bskeggs@redhat.com> 744 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 745 746commit 22dd49f60be54c5649a9e80c87c9bfc99e2974b8 747Author: Rhys Kidd <rhyskidd@gmail.com> 748Date: Sun Jan 20 21:31:18 2019 -0500 749 750 xv: Avoid shadowed declaration of 'int i' in NVPutImage 751 752 int i is accessed outside immediate scope so leave declaration at 753 the highest common scope level: 754 755 1073: int ret, i; 756 ... 757 // Highest common scope 758 ... 759 1193: if (newTTSize <= destination_buffer->size) { 760 ... 761 // Used in this scope 762 ... 763 1248: } else { 764 ... 765 // Used in this scope 766 ... 767 1316: } 768 // Not used in this scope 769 770 Warning reported by gcc 8.2: 771 772 nouveau_xv.c: In function ‘NVPutImage’: 773 nouveau_xv.c:1195:7: warning: declaration of ‘i’ shadows a previous local [-Wshadow] 774 int i = 0; 775 ^ 776 nouveau_xv.c:1073:11: note: shadowed declaration is here 777 int ret, i; 778 ^ 779 780 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 781 782commit d7ba24fb6e4fce43adc3c73369c5d1035ae080a9 783Author: Rhys Kidd <rhyskidd@gmail.com> 784Date: Sun Jan 20 19:20:08 2019 -0500 785 786 wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER 787 788 Fixes warning with xserver 1.20 and gcc 8.2: 789 790 nv_driver.c:1443:9: warning: implicit declaration of function ‘wfbScreenInit’; did you mean ‘fbScreenInit’? [-Wimplicit-function-declaration] 791 ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX, 792 ^~~~~~~~~~~~~ 793 fbScreenInit 794 795 (See xserver 706e6d9cd074da606016ed4ecff51e9c2a822087) 796 797 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 798 799commit dbba3246c989a88f8ba5b0c906af58779bef0cdd 800Author: Rhys Kidd <rhyskidd@gmail.com> 801Date: Sun Jan 20 14:50:35 2019 -0500 802 803 xv: Silence build warning regarding const qualifier 804 805 Silences warning with gcc 8.2: 806 807 nouveau_xv.c: In function ‘NVInitVideo’: 808 nouveau_xv.c:2247:68: warning: passing argument 2 of ‘vlCreateAdaptorXvMC’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 809 adaptorsXvMC[0] = vlCreateAdaptorXvMC(pScreen, textureAdaptor[0]->name); 810 ~~~~~~~~~~~~~~~~~^~~~~~ 811 In file included from nouveau_xv.c:42: 812 vl_hwmc.h:6:63: note: expected ‘char *’ but argument is of type ‘const char *’ 813 XF86MCAdaptorPtr vlCreateAdaptorXvMC(ScreenPtr pScreen, char *xv_adaptor_name); 814 ~~~~~~^~~~~~~~~~~~~~~ 815 816 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 817 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> 818 819commit cc284803fd75e0e340a5481342e0d0f7a5d7fa15 820Author: Rhys Kidd <rhyskidd@gmail.com> 821Date: Sat Jan 19 15:45:36 2019 -0500 822 823 Check for xf86CursorResetCursor() 824 825 If it's available, xorg-server calls it on each mode configuration change. It 826 does what xf86_reload_cursors does (and more), so we don't need to call 827 the latter anymore. 828 829 Avoids gcc 8.2 warning: 830 831 drmmode_display.c: In function ‘drmmode_set_mode_major’: 832 drmmode_display.c:525:2: warning: ‘xf86_reload_cursors’ is deprecated [-Wdeprecated-declarations] 833 xf86_reload_cursors(crtc->scrn->pScreen); 834 ^~~~~~~~~~~~~~~~~~~ 835 In file included from nv_type.h:10, 836 from nv_include.h:69, 837 from drmmode_display.c:36: 838 /usr/include/xorg/xf86Crtc.h:1068:37: note: declared here 839 static _X_INLINE _X_DEPRECATED void xf86_reload_cursors(ScreenPtr screen) {} 840 ^~~~~~~~~~~~~~~~~~~ 841 842 (Ported from radeon commit d670c5c9851b4eff21c845d26c7d7e4eb5ee0fa9) 843 844 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> 845 846commit a4283f7fee5b0376f62ba305a2a47ee3dc5a822f 847Author: Ilia Mirkin <imirkin@alum.mit.edu> 848Date: Fri Nov 10 23:28:08 2017 -0500 849 850 drmmode: update logic for dynamic connectors, paths, and tiles 851 852 This largely copies the code from modesetting with minor adjustments. 853 854 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 855 856commit 8dd1118369460e03ab4963987901dc9e13a2d53d 857Author: Mario Kleiner <mario.kleiner.de@gmail.com> 858Date: Tue Jun 12 17:58:06 2018 +0200 859 860 Fix colormap handling at screen depth 30. (v2) 861 862 The various clut handling functions like a setup 863 consistent with the x-screen color depth. Otherwise 864 we observe improper sampling in the gamma tables 865 at depth 30. 866 867 Tested at depths 16, 24 and 30 and tested at depths 868 24 and 30 that xgamma and gamma table animations work, 869 and with measurement equipment to make sure identity 870 gamma ramps actually are identity mappings at the output. 871 872 v2: Also deal with X-Server 1.19 and earlier, which as of 873 v1.19.6 lack a fix to color palette handling and can 874 not deal with depths/bpc > 24/8 bpc. On < 1.20 we skip 875 xf86HandleColormaps() setup at > 8 bpc. This disables 876 color palette handling on such servers at > 8 bpc, but 877 still keeps RandR gamma table handling intact. 878 879 Tested on 1.19.6 and 1.20.0 to do the right thing. 880 881 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 882 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 883 884commit c9ce4b8e86525b6e0ecc814b2c5ebb242fb1f107 885Author: Ilia Mirkin <imirkin@alum.mit.edu> 886Date: Sun Dec 9 13:40:55 2018 -0500 887 888 drmmode: provide better error when failing to set gamma 889 890 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 891 892commit ac8f7b949e50d96f281b09f7fe96c92ea4d178ec 893Author: Ilia Mirkin <imirkin@alum.mit.edu> 894Date: Fri Feb 9 23:00:27 2018 -0500 895 896 dri3: don't check permissions on render node 897 898 The permission check fails if udev sets the render node to 0666 but 899 leaves the card at 0660, as is done in at least udev-236. 900 901 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 902 903commit 6e2b4bed7b226dce262c7e14f72a29b003791be8 904Author: Ilia Mirkin <imirkin@alum.mit.edu> 905Date: Sun Feb 4 13:50:29 2018 -0500 906 907 nv50/xv: add support for depth 30 xv output 908 909 Ostensibly it should probably be looking at the pixmap format. However 910 it's always the window pixmap, so we can assume it's what we expect. 911 912 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 913 914commit ea83b9bd8c88dad67e6494031f1f65eed823b6f1 915Author: Ilia Mirkin <imirkin@alum.mit.edu> 916Date: Sun Dec 31 02:22:27 2017 -0500 917 918 dri3: remove bogus condition for creating pixmap 919 920 Not clear what the depth % 8 was trying to protect against, but it was 921 breaking 30bpp visuals with DRI3. Add it in to ensure that bitsPerPixel 922 % 8 is 0, since there is plenty of bpp/8 math in the driver. 923 924 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 925 926commit 048baf53872f2f93628f2c8637ec832fb4006057 927Author: Ilia Mirkin <imirkin@alum.mit.edu> 928Date: Sun Dec 10 23:40:51 2017 -0500 929 930 man: remove reference to glamor under DRI option 931 932 GLAMOR backend was removed a while ago, but the help text stayed on. 933 934 Reported-by: Jason Zaman <jason@perfinion.com> 935 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 936 937commit 69aecdd305defdd014bc92b82acc6000988511cf 938Author: Adam Jackson <ajax@redhat.com> 939Date: Tue Jun 13 09:23:42 2017 -0400 940 941 modesetting: Validate the atom for enum properties 942 943 The client could have said anything here, and if what they said doesn't 944 actually name an atom NameForAtom() will return NULL, and strcmp() will 945 be unhappy about that. 946 947 [copied from xserver d4995a3936ae283b9080fdaa0905daa669ebacfc] 948 949 Signed-off-by: Adam Jackson <ajax@redhat.com> 950 951commit a7c190e0c230ed2d5e047ed6aba12d71a4866950 952Author: Lyude <lyude@redhat.com> 953Date: Fri Apr 21 14:41:17 2017 -0400 954 955 Bump version to 1.0.15 956 957 Signed-off-by: Lyude <lyude@redhat.com> 958 959commit 3047e99a641d2b8720371aae292750206f5e91fc 960Author: Ben Skeggs <bskeggs@redhat.com> 961Date: Thu Apr 20 15:57:33 2017 +1000 962 963 fix null pointer deref when building against >=libdrm 2.4.78 964 965 A new pointer got added to drmEventContext. 966 967 As a result of us both: 968 - Setting drmEventContext.version to "latest" AND 969 - Not zeroing the struct 970 971 We end up thwarting libdrm's compatibility checks, resulting in 972 libdrm choosing to call through an invalid pointer. 973 974 Fix this by zeroing the struct. 975 976 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 977 978commit e9418e434311336e905b70553a5ed740838d90ad 979Author: Mariusz Bialonczyk <manio@skyboo.net> 980Date: Wed Mar 29 22:07:50 2017 +0200 981 982 Do not register hotplug without RandR 983 984 When using Xinerama, RandR is automatically disabled, and calling RR 985 routines will trigger an assert() because the RR keys/resources are 986 not set, leading to an Xserver abort. 987 988 Hotplug makes little sense without RandR, so no need to install a 989 udev monitor if RandR is not available. 990 991 Ported from xf86-video-intel commit 992 1a489142c8e6a4828348cc9afbd0f430d3b1e2d8, original work by: 993 Chris Wilson <chris@chris-wilson.co.uk> 994 995 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98383 996 Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net> 997 Acked-by: Ilia Mirkin <imirkin@alum.mit.edu> 998 999commit e472b47d15634a864c8c981ed588d882aceaf26b 1000Author: Ilia Mirkin <imirkin@alum.mit.edu> 1001Date: Tue Mar 21 21:25:33 2017 -0400 1002 1003 Add Pascal family support, identical to Maxwell 1004 1005 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1006 Tested-by: Lyude <lyude@redhat.com> 1007 1008commit b71de83b7fae0abeb311251e6144294d319062cf 1009Author: Lyude <lyude@redhat.com> 1010Date: Tue Mar 7 18:44:43 2017 -0500 1011 1012 Bump version to 1.0.14 1013 1014 Signed-off-by: Lyude <lyude@redhat.com> 1015 1016commit 924083938c8f209d8f6ff472caf8692a644f7e78 1017Author: Lyude <lyude@redhat.com> 1018Date: Fri Mar 3 18:27:42 2017 -0500 1019 1020 Consider CRTCs disabled when DPMS is off 1021 1022 It turns out there's a difference in X between a CRTC being "disabled" 1023 and simply having it's DPMS turned off. This is problematic though, 1024 because if DPMS is turned off you can't really use the CRTC as a normal 1025 CRTC anyway since page flipping and vblanks will be non-functional. As a 1026 result, we've been considering DPMS-on CRTCs as enabled and attempt to 1027 perform pageflips, vblank waits, etc. on them which inevitably fails. and 1028 usually breaks the display the first time any of the CRTCs have their 1029 DPMS turned on. 1030 1031 This was a problem that didn't really show itself until kernel 4.10 when 1032 atomic modesetting was added which caused nouveau to stop trying to 1033 fulfill pageflips and vblank waits on disabled CRTCs. I'm not sure how 1034 pageflipping disabled CRTCs ever worked in the first place, but since 1035 not doing so is the proper behavior anyway I haven't investigated any 1036 further. 1037 1038 So, copy the ms_crtc_on() function from the modesetting driver and add 1039 it here as drmmode_crtc_on(), then use that in all of the places where 1040 we should be checking for both DPMS off and disabled CRTCs. 1041 1042 This fixes issues with the X ceasing to function (usually) after the 1043 first time a CRTC has it's DPMS turned on. Reproduction recipe: 1044 1045 - Load up gnome-shell on a machine 1046 - Wait for the display to timeout from inactivity and turn itself off 1047 - Shake the cursor or press something on the keyboard. Chances are the 1048 monitor will come back on, but the display remains black until the 1049 next time the X server is restarted. 1050 1051 Signed-off-by: Lyude <lyude@redhat.com> 1052 Reviewed-by: Adam Jackson <ajax@redhat.com> 1053 1054commit 1516d35b06c9cda399bef01d992805d6e63dcbae 1055Author: Ilia Mirkin <imirkin@alum.mit.edu> 1056Date: Sun Oct 16 15:10:10 2016 -0400 1057 1058 recognize and accelerate GM20x 1059 1060 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1061 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1062 1063commit b00b73c3aa0da1d4cee5c9f580ca65a7bd344e0f 1064Author: Ilia Mirkin <imirkin@alum.mit.edu> 1065Date: Mon Oct 17 23:23:41 2016 -0400 1066 1067 copy: add maxwell/pascal copy engine classes 1068 1069 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1070 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1071 1072commit 5a3ada3b0ff3d89441faf35d331bb8b6cf5e51c0 1073Author: Ilia Mirkin <imirkin@alum.mit.edu> 1074Date: Sun Oct 16 15:03:35 2016 -0400 1075 1076 nvc0: refactor TIC uploads to allow different specifics per generation 1077 1078 This flips GM10x to using the updated format, which is what I tested 1079 with. However GM20x and GP10x also use this TIC format. 1080 1081 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1082 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1083 1084commit 514441f32c5b948ce87668234ab9f01e8ec28dac 1085Author: Ilia Mirkin <imirkin@alum.mit.edu> 1086Date: Sun Oct 16 12:42:18 2016 -0400 1087 1088 nvc0: rename BEGIN_IMC0 to IMMED_NVC0 1089 1090 For consistency with mesa. It wasn't used anywhere previously. 1091 1092 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1093 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1094 1095commit 4459c04a6bc208924fac8082920f6786538bc5cd 1096Author: Ilia Mirkin <imirkin@alum.mit.edu> 1097Date: Sun Oct 16 12:38:38 2016 -0400 1098 1099 nvc0: make use of the new hwdefs for TEX_CB_INDEX 1100 1101 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1102 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1103 1104commit ea6fd12ea059c6af832bd2180b26d75e00d4ea71 1105Author: Ilia Mirkin <imirkin@alum.mit.edu> 1106Date: Sun Oct 16 12:38:02 2016 -0400 1107 1108 hwdefs: update nvc0_3d, add gm107_texture for new TIC format 1109 1110 These are copied directly from the mesa repository. 1111 1112 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1113 Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1114 1115commit a24ded627e42d453546c553d609edc073f59cd57 1116Author: Ilia Mirkin <imirkin@alum.mit.edu> 1117Date: Thu Sep 25 20:15:51 2014 -0400 1118 1119 exa: add GM10x acceleration support 1120 1121 rendercheck -f a8r8g8b8 passes as much as on a GK208, and xv appears to 1122 work. Very lightly tested. 1123 1124 Instead of sticking coordinates into pushbufs, the vertex shader is 1125 modified to read them from a constbuf, indexed by vertex id. This 1126 approach could be used for all nvc0 generations, but I didn't want to 1127 rock the boat. 1128 1129 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1130 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1131 1132commit e6479845ec0db20dc733c621b7967b751840a552 1133Author: Ilia Mirkin <imirkin@alum.mit.edu> 1134Date: Tue Sep 20 00:31:06 2016 -0400 1135 1136 Bump version to 1.0.13 1137 1138 - Fixes for reverse prime offload 1139 - ABI 23 support for Xorg 1.19 1140 1141 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu 1142 1143commit 6473b68762b0dca2dfccfdfc74100398b7459296 1144Author: Keith Packard <keithp@keithp.com> 1145Date: Tue Jul 19 08:29:40 2016 -0700 1146 1147 Use NotifyFd for drm and udev fds 1148 1149 NotifyFd is available after API 22, and must be used after API 23. 1150 1151 Signed-off-by: Keith Packard <keithp@keithp.com> 1152 1153commit a964931e8dc4e06c27749edb4993a656dc261d75 1154Author: Adam Jackson <ajax@redhat.com> 1155Date: Tue Jul 19 10:03:56 2016 -0400 1156 1157 Adapt Block/WakeupHandler signature for ABI 23 1158 1159 Signed-off-by: Adam Jackson <ajax@redhat.com> 1160 1161commit 12f77348e7a9579b167b41228dec9e6f97b74de8 1162Author: Hans de Goede <hdegoede@redhat.com> 1163Date: Fri Jun 3 14:46:10 2016 +0200 1164 1165 Properly cleanup fb for reverse-prime-offload 1166 1167 drmmode_set_scanout_pixmap(pix) adds drmmod->fb_id through a call 1168 to drmmode_xf86crtc_resize(), but on a subsequent 1169 drmmode_set_scanout_pixmap(NULL) it would not remove the fb. 1170 1171 This keeps the crtc marked as busy, which causes the dgpu to not 1172 being able to runtime suspend, after an output attached to the dgpu 1173 has been used once. Which causes burning through an additional 10W 1174 of power and the laptop to run quite hot. 1175 1176 This commit adds the missing remove fb call, allowing the dgpu to runtime 1177 suspend after an external monitor has been plugged into the laptop. 1178 1179 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 1180 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1181 1182commit 1da8a937be19e41c51a3d516bd98cee988bca44b 1183Author: Ben Skeggs <bskeggs@redhat.com> 1184Date: Thu Jun 2 11:23:53 2016 +1000 1185 1186 exa/nv50-: fix some potential incomplete pushes 1187 1188 I don't think these should actually be able to happen, given that we 1189 already reject the unknown formats in the Check() functions. But, 1190 just in case... 1191 1192 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1193 1194commit bb57f9af9d179af0962456dca369953521ea8c2c 1195Author: Ben Skeggs <bskeggs@redhat.com> 1196Date: Thu Jun 2 10:17:58 2016 +1000 1197 1198 fix use of out-of-scope data 1199 1200 Reported by Coverity. 1201 1202 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1203 1204commit b824d36c28124955eda4aced5e637aa75eea4d6c 1205Author: Ilia Mirkin <imirkin@alum.mit.edu> 1206Date: Wed Jan 13 11:55:06 2016 -0500 1207 1208 HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs 1209 1210 A port of commit ff9a6b6f from xf86-video-ati. 1211 1212 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93670 1213 Reported-by: Thomas D. <thfrdue@gmx.de> 1214 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1215 1216commit b18bc036bf9997ea65f5cbd824fd057931e604fe 1217Author: Ben Skeggs <bskeggs@redhat.com> 1218Date: Tue Dec 8 15:52:25 2015 +1000 1219 1220 Bump version to 1.0.12 1221 1222 Various random fixes have been pending for a long while now... 1223 1224 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1225 1226commit 6e6d8ac1c7b4ee047a7b40b95dea1e65a7c3211a 1227Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1228Date: Sun Jun 28 02:33:49 2015 +0200 1229 1230 Take shift in crtc positions for ZaphodHeads configs into account. 1231 1232 In multi-x-screen ZaphodHeads configurations, there isn't a 1233 one-to-one mapping of kernel provided drmmode crtc index 1234 to the index of the corresponding xf86Crtc inside the 1235 xf86CrtcConfig crtc array anymore, ie. for kernel provided 1236 drmmode->mode_res->crtcs[i], the i'th crtc won't correspond 1237 to the xf86Crtc in the i'th slot of the x-screens xf86CrtcConfig 1238 anymore, once ZaphodHeads has only selected a subset of all crtcs 1239 of a graphics card for a given x-screen, instead of all crtcs. 1240 1241 This breaks the mapping of bit positions in the bit masks returned 1242 in kencoder->possible_crtcs and kencoder->possible_clones. A 1 bit 1243 in position i of those masks allows use of the kernels i'th crtc for 1244 the given kencoder. The X-Servers dix code checks those bit masks 1245 for valid xf86Output -> xf86Crtc assignments, assuming that the i'th 1246 slot xf86CrtcConfigPtr config->crtc[i] corresponds to bit i in the 1247 xf86Output->possibe_crtcs bitmask, and bails if the bitmask doesn't 1248 allow the specified assignment of crtc to output. If ZaphodHeads 1249 breaks the assumption of bit i <-> crtc slot i this ends in failure. 1250 1251 Take this shift of crtc index positions wrt. encoder bitmask bit 1252 positions into account by bit-shifting positions accordingly when 1253 assigning encoder->possible_crtcs to output->possible_crtcs, so 1254 the proper indices match up again for validation by the dix. 1255 1256 This problem wasn't apparent last year when testing the ZaphodHeads 1257 support on some Kepler cards, as apparently the encoder->possible_crtcs 1258 bitmasks returned for those cards by the kernel just had all 4 1259 lsb bits set for all tested encoders/output, so each of the cards 4 1260 crtcs could go with each output and things worked by chance. 1261 1262 The current code breaks, e.g., on 2010 MacBookPro with nv50, where 1263 one crtc is hardwired to the internal lvds panel, and one crtc 1264 is hardwired to the external DP connector, resulting in a failure 1265 where dual-display on single-x-screen works fine, but assigning 1266 each output to a separate x-screen via ZaphodHeads fails due to 1267 the mismatched encoder->possible_crtcs bitmasks. 1268 1269 This patch fixes the problem. 1270 1271 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1272 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1273 1274commit 1ff13a922535924681b91452235b017e43a4c6f6 1275Author: Ilia Mirkin <imirkin@alum.mit.edu> 1276Date: Sun Sep 13 15:29:15 2015 -0400 1277 1278 fix build after glamor removal 1279 1280 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1281 1282commit 3bb943b33bbe8e593afc00d13fe867dd7a708c3c 1283Author: Ilia Mirkin <imirkin@alum.mit.edu> 1284Date: Thu Aug 21 20:36:41 2014 -0400 1285 1286 xv: use correct max width/height settings 1287 1288 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70931 1289 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1290 1291commit 3e2e0faa2ee1cce9c1bb5c7ad80d0592460f3edc 1292Author: Ilia Mirkin <imirkin@alum.mit.edu> 1293Date: Sat Jul 11 17:16:27 2015 -0400 1294 1295 remove maxwell GM10x support for now 1296 1297 There is no EXA acceleration, and now no GLAMOR either. 1298 User is better off with modesetting until EXA makes an appearance. 1299 1300 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1301 1302commit 1f8b2b348526d94e9bde4a285f331a4934c11078 1303Author: Ilia Mirkin <imirkin@alum.mit.edu> 1304Date: Sat Jul 11 17:08:52 2015 -0400 1305 1306 glamor: remove 1307 1308 If you want glamor, just use modesetting instead. It's hooked up 1309 incorrectly in nouveau, and there doesn't seem to be any point in fixing 1310 it when the modesetting driver does it all properly. 1311 1312 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1313 1314commit 6296145654b78518f3299bb5887f224f0d3810fd 1315Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1316Date: Wed Jul 29 14:39:02 2015 +0200 1317 1318 Add Option "DRI" to allow selection of maximum DRI level. (v2) 1319 1320 Allow user to select the maximum level of DRI implementation 1321 to use, DRI2 or DRI3. 1322 1323 exa accel supports both DRI2 and, if the kernel supports 1324 rendernodes, also DRI3. However, DRI3 still seems to have 1325 some bugs on current implementations, and additionally it 1326 doesn't work well at all for X-Servers older than 1.16.3 1327 due to X-Server bugs. Therefore we default to DRI2 on exa, 1328 but allow the user to enable DRI3 with this new option. 1329 1330 nouveau's glamor accel backend currently doesn't work under 1331 DRI2 at all, so we continue to use DRI3 whenever it is 1332 supported and ignore this new option for now. 1333 1334 Also add a bit more output about status of Present and 1335 DRI3 to aid debugging. 1336 1337 Note: This was originally meant to be a boolean parameter, 1338 to just select between DRI3 on and off, but changed 1339 here to a DRI level to make it consistent with the 1340 same option in the released Intel-ddx. 1341 1342 v2: Use fixed up Bool return type of nouveau_present_init(). 1343 1344 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1345 Cc: Ilia Mirkin <imirkin@alum.mit.edu> 1346 Cc: Emil Velikov <emil.l.velikov@gmail.com> 1347 Cc: Martin Peres <martin.peres@free.fr> 1348 Cc: Ben Skeggs <bskeggs@redhat.com> 1349 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> 1350 1351commit 0deb1fcc6d1099db698ff8c512a4884708a458ec 1352Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1353Date: Wed Jul 29 14:39:01 2015 +0200 1354 1355 present: Fixup return type of nouveau_present_init() 1356 1357 Make it a Bool consistently, as declared in header. 1358 1359 Reported-by: Ilia Mirkin <imirkin@alum.mit.edu> 1360 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1361 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> 1362 1363commit 5212dbd7e5eba35fdd6578b30f5b0c8c8543081b 1364Author: Ilia Mirkin <imirkin@alum.mit.edu> 1365Date: Tue Jul 14 19:23:01 2015 -0400 1366 1367 Avoid build fail without COMPOSITE 1368 1369 Reviewed-by: Dave Airlie <airlied@redhat.com> 1370 1371commit fdc528306e4018b314f2efcb2be4e37672bddd75 1372Author: Vadim Rutkovsky <vrutkovs@redhat.com> 1373Date: Thu Jul 9 23:23:37 2015 +0200 1374 1375 Adapt to new dirty tracking api 1376 1377 Mirrors commit b6d871bf2 (radeon: adopt for new X server dirty tracking 1378 APIs.) in xf86-video-ati. 1379 1380 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91284 1381 1382commit dfd827cefb940f46b18dc77c129f0a603c7c95fa 1383Author: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1384Date: Wed May 20 17:08:58 2015 +0200 1385 1386 fix a wrong use of a logical operator in drmmode_output_dpms() 1387 1388 This is probably a typo error which has been introduced in 2009... 1389 This fixes the following warning detected by Clang : 1390 1391 drmmode_display.c:907:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 1392 if (props && (props->flags && DRM_MODE_PROP_ENUM)) { 1393 1394 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> 1395 Reviewed-by: Dave Airlie <airlied@redhat.com> 1396 1397commit 27234dbe00caf6dfd4efb24fc7bbc026fa0134fc 1398Author: Ilia Mirkin <imirkin@alum.mit.edu> 1399Date: Wed May 27 20:26:42 2015 -0400 1400 1401 nv50/exa: add comments showing the code that makes up the programs 1402 1403 As decoded by envydis. Perhaps these should move into separate files 1404 similar to nvc0, but this seems like a simple intermediate solution. 1405 1406 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1407 1408commit 08ef36dc6766080f173ae2b7e660b3182cab9f2d 1409Author: Ilia Mirkin <imirkin@alum.mit.edu> 1410Date: Wed May 20 18:36:17 2015 -0400 1411 1412 older hardware prefers copy to clear, so use that 1413 1414 Doing a solid copy of 0, or a clear, has the same effect. This is a 1415 partial revert of commit 5439a9905eab8c. Pre-nv50 hardware succeeds with 1416 copies more often. 1417 1418 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1419 1420commit 278ad73475bd137eac8a49ec7a22406bfc2867e7 1421Author: Ilia Mirkin <imirkin@alum.mit.edu> 1422Date: Tue May 19 16:26:16 2015 -0400 1423 1424 nv04-nv40: don't attempt to do 32-bit shifts 1425 1426 A 32-bit shift is a no-op, which will also make the new planemask get 1427 or'd with ~0, thus negating the usefulness of the subsequent 1428 planemask != ~0 check. Only do this if it's a less-than-32-bit per pixel 1429 format, in which case it will have the desired effect of setting the 1430 high bits. 1431 1432 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1433 Reviewed-by: Martin Peres <martin.peres@free.fr> 1434 1435commit 7583471e1fe181dc7c26b7d0a0d16f70eb10dd21 1436Author: Ilia Mirkin <imirkin@alum.mit.edu> 1437Date: Tue May 19 16:11:17 2015 -0400 1438 1439 Check before trying a solid fill 1440 1441 Pre-nv50 has all sorts of funny requirements for non-copy alu 1442 operations, and will bail out of solid fills left and right. Account for 1443 that case and fall back to the memset. 1444 1445 Reported-by: Andrew Randrianasulu <randrianasulu@gmail.com> 1446 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1447 Reviewed-by: Martin Peres <martin.peres@free.fr> 1448 1449commit 212fc5354ed60ba282d5eabf468c0e2dd0d0afe6 1450Author: Ilia Mirkin <imirkin@alum.mit.edu> 1451Date: Mon Mar 23 20:05:23 2015 -0400 1452 1453 nv50: explicitly disable ZETA buffer 1454 1455 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1456 1457commit 734b8404c0a1fa9ce8ee62a0d4cc5baae7c8fcdf 1458Author: Ilia Mirkin <imirkin@alum.mit.edu> 1459Date: Sat Mar 21 11:46:35 2015 -0400 1460 1461 use defined method names where available 1462 1463 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1464 1465commit 5439a9905eab8c8d0f86e9963df6c893633bdbfd 1466Author: Maarten Lankhorst <dev@mblankhorst.nl> 1467Date: Mon Mar 23 19:41:38 2015 +0100 1468 1469 Actually do a clear instead of doing a bogus copy. 1470 1471 Oops! 1472 1473commit f0fdc156039eaa79fb1ad82fcc6437f2432306c6 1474Author: Maarten Lankhorst <dev@mblankhorst.nl> 1475Date: Sat Mar 21 22:30:10 2015 +0100 1476 1477 Try using EXA ops harder in drmmode_fbcon_copy fallback 1478 1479 The memcpy in the fallback path fails with SIGBUS on GK20A because 1480 this memory is not coherent, try to use a solid fill instead. 1481 1482commit 7319b54291d59e1cd3cbe4f39ea8cc6dc8bf45bc 1483Author: Maarten Lankhorst <dev@mblankhorst.nl> 1484Date: Fri Mar 20 23:24:50 2015 +0100 1485 1486 Simplify nouveau_allocate_surface's pitch calculation. 1487 1488 Judging from previous commits all linear buffers should have a 256 byte alignment. 1489 1490commit 91e51a7571e6e8cb9338fc168f817f56438b1901 1491Author: Maarten Lankhorst <dev@mblankhorst.nl> 1492Date: Fri Mar 20 23:17:13 2015 +0100 1493 1494 Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. 1495 1496commit d29d8baad4d845ec9d3d1d1bc8d1c1e1f6f6f086 1497Author: Maarten Lankhorst <dev@mblankhorst.nl> 1498Date: Sat Mar 14 18:00:00 2015 +0100 1499 1500 Use the correct class and shader ops for GK20A. 1501 1502 Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl> 1503 1504commit 6829d4c672fc05f4d3d993ac1bfde21d4b6c1200 1505Author: Maarten Lankhorst <dev@mblankhorst.nl> 1506Date: Sat Mar 14 11:58:12 2015 +0100 1507 1508 Make the ddx load with platform devices 1509 1510 Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl> 1511 1512commit 3fb97d78202213c1221a1d3ad8a5cebda78fdf44 1513Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1514Date: Thu Oct 23 09:29:14 2014 +0200 1515 1516 fix null pointer deref 1517 1518commit 90ba0bb6a371a5beebdf6d363bcd73659b7c9f1f 1519Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1520Date: Thu Oct 23 08:25:01 2014 +0200 1521 1522 check memory allocation in nouveau_glamor_set_shared_pixmap_backing 1523 1524 As reported by Roy Spliet. 1525 1526commit 4dfa13c77a1f6cee1affea05b5f3a0b26827d366 1527Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1528Date: Thu Oct 23 08:21:55 2014 +0200 1529 1530 rework initialization to prevent some crashes 1531 1532commit 485902e61b18aff864226db62ba10399aab40128 1533Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1534Date: Wed Oct 22 15:52:22 2014 +0200 1535 1536 fix !DRI3 case 1537 1538commit 79d438ec4d23280a242d36c2d81f2f43f6e90ada 1539Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1540Date: Wed Oct 22 15:42:55 2014 +0200 1541 1542 fix crash in nouveau_glamor_set_shared_pixmap_backing 1543 1544commit 217f6577afe44b10f7f8e066eaf55419fb0f5ee1 1545Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1546Date: Wed Oct 22 13:16:33 2014 +0200 1547 1548 move down call to nouveau_present_init until after fb init. 1549 1550commit 241e7289f25a342a457952b9b0e539c2f0b81d99 1551Author: Maarten Lankhorst <maarten.lankhorst@ubuntu.com> 1552Date: Wed Oct 22 11:04:16 2014 +0200 1553 1554 enable dri3 support without glamor 1555 1556commit 762b22f5a2b9deed1c6b18d7098f8fddf2f4b759 1557Author: Ilia Mirkin <imirkin@alum.mit.edu> 1558Date: Tue Sep 23 21:44:12 2014 -0400 1559 1560 kepler: remove unnecessary texbars, add live-only tex for nvf0 1561 1562 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1563 1564commit ce9d6e165cd810f06d158e3cfbb4b9f14b060ded 1565Author: Ilia Mirkin <imirkin@alum.mit.edu> 1566Date: Tue Sep 23 21:37:46 2014 -0400 1567 1568 allow path to envyas binary to be specified 1569 1570 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1571 1572commit 02c1aee91ae22b58e777716ffd38397f9df0a087 1573Author: Ilia Mirkin <imirkin@alum.mit.edu> 1574Date: Thu Sep 4 15:27:53 2014 -0400 1575 1576 copy: don't bother trying to create copy on pre-nva3 1577 1578 Only the NVA3/5/8/F tesla chips have a copy engine. Don't bother trying 1579 to create one on earlier tesla chips (and thus printing an error on 1580 failure). 1581 1582 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1583 1584commit 3cd4c8494c296c7583dfa7f0823a272c9e932e03 1585Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1586Date: Thu Aug 28 03:57:48 2014 +0200 1587 1588 Bump version to 1.0.11 for release. 1589 1590 Highlights: 1591 1592 - Support for server managed fd's. 1593 - Glamor support. 1594 - Maxwell support. 1595 - DRI3 and initial Present support. 1596 - vsync'ed kms pageflip performance fixes when running on Linux 3.13+ 1597 - Multi-display vsync, vblank, swap scheduling, timestamping fixes. 1598 - Multi x-screen support fixes. 1599 - ZaphodHead support on for multiple outputs per x-screen. 1600 - EXA nv-10 fixes. 1601 - Enable sync of swaps to vblank by default (Option GLXVblank "on"). 1602 - Disable pseudo-triplebuffering by default (Option SwapLimit "1"). 1603 1604 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1605 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1606 1607commit 6d49f3f7aaaec872b6f9841f744a0bf09cc98492 1608Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1609Date: Thu Aug 28 03:49:55 2014 +0200 1610 1611 dri2: Set default SwapLimit to 1 for double-buffering. 1612 1613 This used to be 2 for pseudo-triplebuffering on XOrg 1.12+. 1614 1615 However, it caused problems like unthrottled swapping 1616 at up to twice the video refresh rate for redirected 1617 windows under desktop composition, which can't be easily 1618 fixed under dri2. 1619 1620 Default to double-buffering. Users can override this, but 1621 dri3 provides better solutions for this. 1622 1623 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1624 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1625 1626commit 10729a442be3cf018c5806c95ec4218977917ef3 1627Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1628Date: Mon Aug 18 09:53:27 2014 +0200 1629 1630 xv/dri2/dri3: Switch to optimized crtc selection for drawables. 1631 1632 Make crtc selection consistent with ati and intel ddx. 1633 1634 Pick the crtc to use for vblank events, swap scheduling and 1635 kms-pageflip completion events as the one with maximum pixel area 1636 intersection between its viewport and the drawable. If multiple 1637 crtc's viewports display the same amount of area of a drawable, 1638 select the crtc whose output is the designated "primary output" 1639 for the x-screen. The latter allows, e.g., in a clone display 1640 setup, to select the important output on which tearing should be 1641 minimized. The former makes sure to minimize or avoid tearing on 1642 the display which shows the largest part of the drawable. 1643 1644 This method is transplanted from the ati ddx. 1645 1646 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1647 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1648 1649commit be96a5a62df5e1f286690311a6bc4df4f2a99e57 1650Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1651Date: Sun Aug 17 02:30:36 2014 +0200 1652 1653 Add file "compile" to .gitignore 1654 1655 Some auto-generated file by new make systems to deal with some 1656 old compilers. 1657 1658 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1659 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1660 1661commit 16c885ce9c7bebcfa1252a5d500956dd5f551043 1662Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1663Date: Tue Aug 12 11:08:24 2014 +0200 1664 1665 Fix event handling on multi-x-screen configs. 1666 1667 Only register the wakeup handler and event socket 1668 once per card fd and server generation, as the fd 1669 and device file is shared between all x-screens for 1670 a given card during a given server generation. 1671 1672 Without this fix, vblank and kms-pageflip completion 1673 event processing don't work properly, as the server 1674 doesn't kick the wakeup handler for gpu events, and 1675 therefore the desktop will freeze, unless the user 1676 manually kicks the wakeup handler by moving the mouse 1677 or hitting the keyboard. 1678 1679 Add proper reference counting and checks to make it so. 1680 This fix is derived from a similar and proven fix in 1681 the ati ddx for the same problem. 1682 1683 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1684 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1685 1686commit 7eab6806927ea8938b9bd143d1702e87fde2f2cc 1687Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1688Date: Wed Aug 13 06:48:10 2014 +0200 1689 1690 Make new ZaphodHeads work across server regenerations. 1691 1692 Reset the mask of already assigned crtc's at start 1693 of each new server generation. 1694 1695 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1696 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1697 1698commit 6ad053788e804f3a8bd36ee3653ec95e7df62623 1699Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1700Date: Wed Aug 6 07:37:32 2014 +0200 1701 1702 dri2 and xv: Fix NVxxSyncToVBlank() for multi-x-screen's. 1703 1704 Use helper function drmmode_head() to choose proper hw-crtc 1705 to sync to. Fixes xv blits, and dri2 Copy-Swaps. 1706 1707 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1708 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1709 1710commit 17de663a71bcad6f69414eb6bc6bf9b76a6bf5f4 1711Author: Ben Skeggs <bskeggs@redhat.com> 1712Date: Mon Aug 11 09:48:42 2014 +1000 1713 1714 fix glamor header check 1715 1716 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1717 1718commit 64ca88570b71289a019a2d130b1a30dc474ef52d 1719Author: Ben Skeggs <bskeggs@redhat.com> 1720Date: Mon Aug 11 08:59:30 2014 +1000 1721 1722 present: use drmmode_head() where it's appropriate 1723 1724 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1725 1726commit 6e71bdf5a9da15c60694fa8543243e37a32c5faf 1727Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1728Date: Mon Jun 23 11:25:41 2014 +0200 1729 1730 Allow/Fix use of multiple ZaphodHead outputs per x-screen. 1731 1732 Defining multiple ZaphodHead outputs per x-screen in a 1733 multiple x-screen's per gpu configuration caused all 1734 outputs except one per x-screen to go dark, because 1735 there was a fixed mapping x-screen number -> crtc number, 1736 limiting the number of crtc's per x-screen to one. 1737 1738 On a ZaphodHead's setup, be more clever and assign 1739 as many crtc's to a given x-screen as there are 1740 ZaphodHeads defined for that screen, assuming 1741 there are enough unused crtc's available. 1742 1743 Tested on a triple display setup with different combos 1744 of one, two or three ZaphodHeads per one, two or three 1745 x-screens. 1746 1747 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1748 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1749 1750commit fcf91a275e96f14e49a93dc3f8dd6798cf7d98f3 1751Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1752Date: Mon Jun 23 11:13:57 2014 +0200 1753 1754 dri2: Fix drmWaitVblank on multi-x-screen configs. 1755 1756 Old mapping of xf86Crtc -> display head index was 1757 too simple and only worked on a single x-screen config. 1758 1759 Introduce a new helper function drmmode_hw_head_index() 1760 which returns proper mapping also for multi x-screens per 1761 gpu and ZaphodHeads setups and other non-standard multi- 1762 display configurations. 1763 1764 Tested on triple-head setup with various ZaphodHead and 1765 server layout combos. 1766 1767 This helper will be also needed for dri3/present code. 1768 1769 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1770 1771commit 29572e44c24613be9dec0c98ff2731e46ce6203b 1772Author: Ilia Mirkin <imirkin@alum.mit.edu> 1773Date: Sun Aug 10 02:25:15 2014 -0400 1774 1775 exa/nv10: src ops should use the SF macro 1776 1777 Doesn't actually end up mattering. 1778 1779 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1780 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1781 1782commit 35e17905e1c54558059f6b72b8594a3377f1a57c 1783Author: Ilia Mirkin <imirkin@alum.mit.edu> 1784Date: Sun Aug 10 02:25:14 2014 -0400 1785 1786 exa/nv10: fix blend function setup to check the correct mask 1787 1788 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1789 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1790 1791commit dfac18c67a17782a0263daf8cb4ee487374abd2c 1792Author: Ilia Mirkin <imirkin@alum.mit.edu> 1793Date: Sun Aug 10 02:25:13 2014 -0400 1794 1795 exa/nv10: use color 0 when the pict format has no RGB component 1796 1797 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1798 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1799 1800commit ff7010e06b6da0fe27143b47b8a4ffd2f12894b7 1801Author: Ilia Mirkin <imirkin@alum.mit.edu> 1802Date: Sun Aug 10 02:25:12 2014 -0400 1803 1804 exa/nv10: use same clip settings as mesa driver 1805 1806 The higher 0x800 was getting overwritten by the 0x7ff anyways, so it 1807 wasn't doing any good. The mesa driver just uses 0x800 for the low 1808 portion and doesn't set the 8 bit in the higher portion, so do the same 1809 thing here. 1810 1811 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 1812 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1813 1814commit edd1608c397ebcf487b84948031f7807178e5e4d 1815Author: Emil Velikov <emil.l.velikov@gmail.com> 1816Date: Tue Jul 1 22:31:47 2014 +0100 1817 1818 xorg_list: define the xorg_list* symbols 1819 1820 ...when building against pre 1.12 x. 1821 The build will fail as earlier versions of X were missing the xorg_ 1822 prefix of the symbols - struct and util functions. 1823 1824 Reported-by: Pali Rohár <pali.rohar@gmail.com> 1825 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 1826 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1827 1828commit f6c1c755d8230494c8115e2c7899a85663f5c176 1829Author: Ben Skeggs <bskeggs@redhat.com> 1830Date: Tue Jul 1 12:56:49 2014 +1000 1831 1832 fix a harmless typo 1833 1834 fdo#80738 1835 1836 Reported-by: Paulo Sérgio Travaglia <pstglia@gmail.com> 1837 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1838 1839commit 096fb1ebc10b14ba1b747832efe378369bcf44e6 1840Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1841Date: Mon May 26 05:39:50 2014 +0200 1842 1843 dri2: Add support for handling more than 2 crtc's 1844 1845 Need to use the DRM_VBLANK_HIGH_CRTC bits to allow 1846 selecting crtc's with id > 1 on latest gpu's with 1847 up to four display engines. 1848 1849 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1850 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1851 1852commit 4771ff5c668047a2dc56e4c6131175eed837e757 1853Author: Marcin Slusarz <marcin.slusarz@gmail.com> 1854Date: Sun Jun 22 01:32:42 2014 +0200 1855 1856 present: build only when glamor is enabled 1857 1858 nouveau_present_flip_exec references glamor_fd_from_pixmap, 1859 which do not exist when glamor is disabled 1860 1861 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 1862 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1863 1864commit 41c1c4ee867753422d6486f13bf20b45905a5dd5 1865Author: Marcin Slusarz <marcin.slusarz@gmail.com> 1866Date: Sun Jun 22 01:31:46 2014 +0200 1867 1868 glamor: fix build without glamor.h 1869 1870 xorg-server can be built without glamor, which leads to: 1871 1872 CC nouveau_xv.lo 1873 In file included from nouveau_xv.c:41:0: 1874 nouveau_glamor.h:12:20: fatal error: glamor.h: No such file or directory 1875 compilation terminated. 1876 1877 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 1878 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1879 1880commit f0fa8313714c2a5b16e784b257b5ff79da3a443b 1881Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1882Date: Thu Jun 19 17:11:34 2014 +0200 1883 1884 dri2: Enable sync of bufferswaps to Vblank by default. 1885 1886 Make this consistent with other drivers default behaviour. 1887 1888 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1889 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1890 1891commit 02d7e647ce3a4a5d48c4ee94c94bebcac2d4827d 1892Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1893Date: Sat Jun 21 01:26:16 2014 +0200 1894 1895 dri2: Fix kms pageflip completion timestamping. 1896 1897 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1898 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1899 1900commit 4d92001ebe6bec8c5eaab8156421e62a7e4dedc8 1901Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1902Date: Fri Mar 14 18:27:53 2014 +0100 1903 1904 Add kernel async_flip cap detection. Part II of double-sync fix. 1905 1906 Query if kernel supports the async_flip cap, thereby needs the 1907 new sync behavior. Linux 3.13+ nouveau-kms have this cap and 1908 need this fix. 1909 1910 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1911 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1912 1913commit 54dfbb2fed393b65d846e6ed9672acb47e0f19de 1914Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1915Date: Fri Mar 14 18:23:04 2014 +0100 1916 1917 dri2: Fix double-sync of pageflips on Linux 3.13+ - Part I 1918 1919 Linux 3.13 and later sync kms pageflips to vblank in the kms 1920 driver, so we must not emit a sync to vblank pushbuf in the ddx 1921 on such kernels, or maximum framerate will be cut into half! 1922 1923 A sync-to-vblank-pushbuf is emitted for copyswaps as in the past, 1924 also for older kernels which don't support async_pageflip's and 1925 don't sync by themselves. 1926 1927 This adds the implementation, but not the detection logic for 1928 async_pageflip support in the kernel. 1929 1930 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1931 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1932 1933commit 303402e00d55b5296311738184cd61f4aadab74d 1934Author: Mario Kleiner <mario.kleiner.de@gmail.com> 1935Date: Sat Jun 21 00:09:39 2014 +0200 1936 1937 Fix nouveau_copy_init() 1938 1939 Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> 1940 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1941 1942commit 65a70c4edd1f0df808a3a4dea6e8c9846cc7c920 1943Author: Ben Skeggs <bskeggs@redhat.com> 1944Date: Fri Jun 20 16:57:18 2014 +1000 1945 1946 another build fix... 1947 1948commit 882ebb4000803f6025e1bb3213a31b19f6d1a2c6 1949Author: Ben Skeggs <bskeggs@redhat.com> 1950Date: Mon Nov 18 14:42:02 2013 +1000 1951 1952 present: initial support 1953 1954 Until glamor grows its own implementation. 1955 1956 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1957 1958commit 0d94f32fce2759c4b0f4d22b99f3ced09c2aa5a0 1959Author: Ben Skeggs <bskeggs@redhat.com> 1960Date: Fri Jun 20 09:47:39 2014 +1000 1961 1962 kms: implement a more generic event mechanism 1963 1964 Present wants to use this too. 1965 1966 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1967 1968commit 97feb3b2104287eb385ffba8329f304e2808d808 1969Author: Ben Skeggs <bskeggs@redhat.com> 1970Date: Fri Jun 20 09:29:08 2014 +1000 1971 1972 dri2: move page flip handling out of drmmode 1973 1974 Nothing to see here... This is to (hopefully) avoid busting DRI2 while 1975 implementing Present support. 1976 1977 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1978 1979commit 60b876eab3708f1c277027addb5514974452644c 1980Author: Ben Skeggs <bskeggs@redhat.com> 1981Date: Fri Jun 20 09:20:37 2014 +1000 1982 1983 dri2: move away from directly touching drmmode on page flips 1984 1985 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1986 1987commit 36dda1341008dd87a6b5459f0616776097d11d9f 1988Author: Ben Skeggs <bskeggs@redhat.com> 1989Date: Fri Jun 20 09:04:30 2014 +1000 1990 1991 dri2: shuffle some functions around 1992 1993 Nothing to see here... 1994 1995 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 1996 1997commit 8bdec8ebd68ba5eaa696d8a666e18774bff3b2ad 1998Author: Ben Skeggs <bskeggs@redhat.com> 1999Date: Fri Jun 20 12:37:33 2014 +1000 2000 2001 glamor: fix randr resize 2002 2003 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2004 2005commit 3c45b590a31157abca140096b141aa83fecb671f 2006Author: Ben Skeggs <bskeggs@redhat.com> 2007Date: Fri Jun 20 08:28:30 2014 +1000 2008 2009 sync: fix build against DRI3-less server 2010 2011 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2012 2013commit 88ae58d786b0c41148e692dbfe8e2646e7533d9e 2014Author: Ilia Mirkin <imirkin@alum.mit.edu> 2015Date: Thu Jun 19 02:37:45 2014 -0400 2016 2017 update man page with new chips, AccelMethod option 2018 2019 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2020 2021commit 5cb36ba57493bf7edf560bf370c87eff79f1d1a6 2022Author: Ben Skeggs <bskeggs@redhat.com> 2023Date: Thu Jun 19 14:54:20 2014 +1000 2024 2025 default to glamor on maxwell 2026 2027 We have no RENDER/Xv acceleration in EXA for Maxwell. 2028 2029 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2030 2031commit 81148bb1dbc7007c021c59411d56cb31cfc74ef2 2032Author: Ben Skeggs <bskeggs@redhat.com> 2033Date: Thu Jun 19 14:54:20 2014 +1000 2034 2035 glamor: provide dri3 support when enabled 2036 2037 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2038 2039commit 86024ceef015ffe31a204cc5bc6c326a19363ff1 2040Author: Ben Skeggs <bskeggs@redhat.com> 2041Date: Thu Jun 19 14:54:20 2014 +1000 2042 2043 glamor: initial support (no dri) 2044 2045 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2046 2047commit fd0ce8839f307693d86c7602dd926ce79e6b777d 2048Author: Ben Skeggs <bskeggs@redhat.com> 2049Date: Thu Jun 19 14:54:20 2014 +1000 2050 2051 add support for maxwell, minus Xv/renderaccel 2052 2053 More extensive acceleration will be via glamor, at least to begin with. It 2054 seems to make sense to jump on the bandwagon now, and deal with any issues 2055 that arise before it it becomes the standard for XWayland. 2056 2057 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2058 2059commit 8ad0465e15bfc502abc259e886d6dcb448e0141a 2060Author: Ben Skeggs <bskeggs@redhat.com> 2061Date: Thu Jun 19 14:54:20 2014 +1000 2062 2063 50/c0/e0 -> tesla/fermi/kepler 2064 2065 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2066 2067commit 4b138ab18f58c6d459e21dc319615f536c8e69c8 2068Author: Ben Skeggs <bskeggs@redhat.com> 2069Date: Thu Jun 19 14:54:20 2014 +1000 2070 2071 merge nv_dma.c into nv_accel_common.c 2072 2073 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2074 2075commit 5c44e6b86195c22e092db5dae06e70208e8b66a0 2076Author: Ben Skeggs <bskeggs@redhat.com> 2077Date: Thu Jun 19 14:54:20 2014 +1000 2078 2079 pull copy engine handling into one place, a place that isn't also exa 2080 2081 As a side-effect, we now allow Kepler to use async copies too. 2082 2083 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2084 2085commit c375bacbdaeabd0288855c13b4717d0694be9e56 2086Author: Ben Skeggs <bskeggs@redhat.com> 2087Date: Thu Jun 19 14:54:20 2014 +1000 2088 2089 exa: move module load into nouveau_exa_init 2090 2091 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2092 2093commit b24cae0bf5db6ece21439d4c6ff3668aed4c78d6 2094Author: Ben Skeggs <bskeggs@redhat.com> 2095Date: Thu Jun 19 14:54:20 2014 +1000 2096 2097 dri2: move "is supported" checks out of nv_driver.c 2098 2099 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2100 2101commit 07c26a0670dd2558acf8e1159f2f68989a7f753d 2102Author: Ben Skeggs <bskeggs@redhat.com> 2103Date: Thu Jun 19 14:54:20 2014 +1000 2104 2105 replace NoAccel with AccelMethod in preparation for glamor support 2106 2107 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2108 2109commit e7cf48d9529160f7add2fef72d2e42be9370594a 2110Author: Ben Skeggs <bskeggs@redhat.com> 2111Date: Thu Jun 19 14:54:20 2014 +1000 2112 2113 silence a warning 2114 2115 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2116 2117commit 4a18dd74c0cc6e75937eb78347e8ea6c81d1373a 2118Author: Dave Airlie <airlied@redhat.com> 2119Date: Mon May 26 17:30:24 2014 +1000 2120 2121 autogen: add support for gnome autobuilder 2122 2123 Signed-off-by: Dave Airlie <airlied@redhat.com> 2124 2125commit 8604a741baa5360164a882bd9f3c8474840744db 2126Author: Hans de Goede <hdegoede@redhat.com> 2127Date: Fri Apr 11 14:20:43 2014 +0200 2128 2129 Fix building on older servers without xf86platformBus.h 2130 2131 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 2132 2133commit 0c13843e300d1a9db2bfed18dc1b5df38c5adfdf 2134Author: Hans de Goede <hdegoede@redhat.com> 2135Date: Mon Mar 17 17:37:31 2014 +0100 2136 2137 Add support for server managed fds 2138 2139 v2 (Martin Peres): 2140 - Do not define "NVEntPtr pNVEnt" if not needed to avoid some warnings 2141 2142 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 2143 Signed-off-by: Martin Peres <martin.peres@free.fr> 2144 2145commit 47f08aa6d713da4e6ae9c35ce691e790ffaed09d 2146Author: Hans de Goede <hdegoede@redhat.com> 2147Date: Mon Mar 17 17:37:30 2014 +0100 2148 2149 Add a NVOpenNouveauDevice helper function 2150 2151 This is a preparation patch for adding support for server managed fds 2152 2153 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 2154 Signed-off-by: Martin Peres <martin.peres@free.fr> 2155 2156commit 480f0998ffed6d9a5c6656dba75182f00fd88a1b 2157Author: Ben Skeggs <bskeggs@redhat.com> 2158Date: Thu Nov 7 14:56:48 2013 +1000 2159 2160 bump to 1.0.10 for release 2161 2162 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2163 2164commit 59395c738ebdc21087109075ada67ea8d7783141 2165Author: Ben Skeggs <bskeggs@redhat.com> 2166Date: Thu Nov 7 14:56:06 2013 +1000 2167 2168 recognise GK208 as a Kepler board 2169 2170 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2171 2172commit 03642323a954d0adb11662a98e92dfa20bee9728 2173Author: Dave Airlie <airlied@gmail.com> 2174Date: Wed Jul 31 11:19:50 2013 +1000 2175 2176 nouveau: fix build against older servers. 2177 2178 Older servers had no GPU support. 2179 2180 Signed-off-by: Dave Airlie <airlied@redhat.com> 2181 2182commit 27323ce68d58fcb82a648ab14abbc99acdc36f44 2183Author: Dave Airlie <airlied@gmail.com> 2184Date: Wed Jul 31 11:01:15 2013 +1000 2185 2186 nouveau: add gpu identifier to connector names for secondary gpus 2187 2188 this avoids clashes with identifiers from other GPUs. 2189 2190 Signed-off-by: Dave Airlie <airlied@redhat.com> 2191 2192commit 1df177f35a05db505577cdc929e63fde906a704b 2193Author: Dave Airlie <airlied@gmail.com> 2194Date: Wed Jul 31 10:51:03 2013 +1000 2195 2196 nouveau: fix build on ppc by wrapping immintrin include. 2197 2198 Signed-off-by: Dave Airlie <airlied@redhat.com> 2199 2200commit 300c5a32d79cf507b5fede96710335bcd316eccb 2201Author: Dave Airlie <airlied@redhat.com> 2202Date: Tue Jul 30 15:28:06 2013 +1000 2203 2204 bump to 1.0.9 for release 2205 2206 Signed-off-by: Dave Airlie <airlied@redhat.com> 2207 2208commit be44e7804862b4c276ed4d4717b1212920f428e6 2209Author: Dave Airlie <airlied@gmail.com> 2210Date: Tue Jul 30 15:26:46 2013 +1000 2211 2212 nouveau: fix crash when xinerama is enabled. 2213 2214 Signed-off-by: Dave Airlie <airlied@redhat.com> 2215 2216commit 588252556d1c84bf6793bc22edd48e6650a0f1b9 2217Author: Dave Airlie <airlied@gmail.com> 2218Date: Tue Jul 30 15:14:22 2013 +1000 2219 2220 fix make distcheck. 2221 2222 add all the nvf0 stuff. 2223 2224 Signed-off-by: Dave Airlie <airlied@redhat.com> 2225 2226commit 29aecda1b5bdb95700894083874492a6d5dfc08a 2227Author: Dave Airlie <airlied@gmail.com> 2228Date: Tue Jul 30 14:10:51 2013 +1000 2229 2230 drmmode: add support for multi-screen reverse optimus 2231 2232 Initial reverse optimus didn't consider multiple screens, so 2233 this overhauls the code to use the new X server interface, 2234 and allows for multiple outputs on the nvidia to be used with 2235 the intel doing the rendering. 2236 2237 Signed-off-by: Dave Airlie <airlied@redhat.com> 2238 2239commit d7ae886260b480da0ea4cad22eb6f7b7d12f07b0 2240Author: Ilia Mirkin <imirkin@alum.mit.edu> 2241Date: Mon Jul 29 21:03:54 2013 -0400 2242 2243 nouveau: use uppercase for chipset name 2244 2245 Right now the log will output e.g. NVaa instead of NVAA, which is how we 2246 usually talk about it. 2247 2248 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 2249 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2250 2251commit 4492cf90c2a7fe27badf6f3f0f296755a65e1e83 2252Author: Ilia Mirkin <imirkin@alum.mit.edu> 2253Date: Mon Jul 29 02:40:39 2013 -0400 2254 2255 xv: speed up YV12 -> NV12 conversion using SSE2 if available 2256 2257 memcpy() goes from taking 45% to 66% of total function time, which 2258 translates to a 30% decrease in NVPutImage runtime. 2259 2260 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 2261 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2262 2263commit 08c667b06d28756d0d32f82bd736b0bdf2b4448e 2264Author: Ilia Mirkin <imirkin@alum.mit.edu> 2265Date: Mon Jul 29 02:40:38 2013 -0400 2266 2267 xv: fix last pixel for big-endian machines in YV12 -> NV12 conversion 2268 2269 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 2270 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2271 2272commit 8c1c5d4f212958559132506d51dcfeeb17f60371 2273Author: Ben Skeggs <bskeggs@redhat.com> 2274Date: Wed May 15 21:34:13 2013 +1000 2275 2276 nvf0: implement EXA and XVideo acceleration 2277 2278 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2279 2280commit 779b8d44b5ff84b87b52600a2f010ac19cd396ad 2281Author: Sven Joachim <svenjoac@gmx.de> 2282Date: Thu Jun 13 20:41:53 2013 +0200 2283 2284 Link against libdrm 2285 2286 The DDX uses symbols from libdrm but currently does not link against 2287 it, but rather relies on indirect linkage from libdrm_nouveau. This 2288 could lead to insufficient dependencies in distribution packages, seen 2289 in http://bugs.debian.org/633786. 2290 2291 Signed-off-by: Sven Joachim <svenjoac@gmx.de> 2292 2293commit e96ae2b129df2a50d1d3839084df4fb1868d914d 2294Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2295Date: Wed Jun 12 11:05:23 2013 +0200 2296 2297 fixup the dri2 check 2298 2299 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2300 2301commit 7f20a6af25ae28452ec9c971bfa2227857e6ee93 2302Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2303Date: Wed Jun 12 10:46:39 2013 +0200 2304 2305 bump to 1.0.8 2306 2307commit 1fda669c0e5a25eac7f9f1e9a743120cae50ff51 2308Author: Emil Velikov <emil.l.velikov@gmail.com> 2309Date: Sat Feb 16 20:48:47 2013 +0000 2310 2311 configure: printout the configuration info 2312 2313 Let the bikeshedding begin 2314 2315 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2316 2317commit 45dbcaac301efce04d0bb492337f4febf8129ed9 2318Author: Emil Velikov <emil.l.velikov@gmail.com> 2319Date: Sat Feb 16 20:48:45 2013 +0000 2320 2321 nouveau: mandate dri2 build 2322 2323 Building nouveau without dri2 is just silly 2324 2325 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2326 2327commit ea8d225fe100ecabb72e3cc0a92372f16afb10b3 2328Author: Emil Velikov <emil.l.velikov@gmail.com> 2329Date: Sat Feb 16 20:48:44 2013 +0000 2330 2331 dri1: purge the final references 2332 2333 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2334 2335commit b5d1a9bd269c9d2758fee37492cdcccc976fcc3b 2336Author: Emil Velikov <emil.l.velikov@gmail.com> 2337Date: Sat Feb 16 20:48:43 2013 +0000 2338 2339 nouveau: Do not load dri {sub,}module 2340 2341 Nouveau does not use dri1, thus loading XFree86-DRI is not needed 2342 On the other hand, we do use dri2 2343 2344 As a side effect, purge the 'set-but-unused' variable pLibDRMVersion 2345 2346 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2347 2348commit 7c3f6cd8d6b14aea561fb877f6006d339d156f35 2349Author: Emil Velikov <emil.l.velikov@gmail.com> 2350Date: Sat Feb 16 20:48:42 2013 +0000 2351 2352 nouveau: stop using dri1 function DRICreatePCIBusID 2353 2354 Step 1 to completely rip out dri1 out of nouveau 2355 2356 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2357 2358commit 3b1a45325d5fd46f0e7fad17168742b4c9a2465a 2359Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2360Date: Wed Jun 12 10:30:32 2013 +0200 2361 2362 update makefiles for make distcheck 2363 2364commit b82aacd3e72b52240181569c8b0abb55c1f716d5 2365Author: Emil Velikov <emil.l.velikov@gmail.com> 2366Date: Sat Feb 16 12:48:46 2013 -0800 2367 2368 configure: require xorg-macros 1.8 2369 2370 Explicitly check for xorg-macros 1.8, as a subtle hint 2371 to update your build deps if building your own ddx 2372 2373 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2374 2375commit 4f667b40f41e311fbe302237efe173bcc24fb8bb 2376Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2377Date: Mon Jun 10 14:29:59 2013 +0200 2378 2379 fix a xfree from previous patch 2380 2381 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2382 2383commit 2e34d11541e1f987c7ca0556592cb16f4d232299 2384Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2385Date: Mon Jun 10 13:06:35 2013 +0200 2386 2387 nouveau: enable support for normal optimus configuration 2388 2389 nvd7 has no display engine, only enable sink output capability 2390 if there is a crtc. 2391 2392 drmmode doesn't work without crtc's, so prevent crashes by skipping 2393 the drmmode code in that case. 2394 2395 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2396 2397commit bf72ae1f6574c540f0afc2d7845d41df43507a8f 2398Author: Ben Skeggs <bskeggs@redhat.com> 2399Date: Wed May 15 22:05:01 2013 +1000 2400 2401 nve0: envyas isn't overly clever.. avoid short-form instructions 2402 2403 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2404 2405commit 41cc2f24c43d2656ac722f594aaebad93e37dfec 2406Author: Ben Skeggs <bskeggs@redhat.com> 2407Date: Wed May 15 21:13:11 2013 +1000 2408 2409 nvc0-nve0: decompile shaders into their source, add basic build system 2410 2411 Far, far easier to maintain this way... 2412 2413 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2414 2415commit 1edb5d7ae450a32fe6607d536653cf733444e7e2 2416Author: Ben Skeggs <bskeggs@redhat.com> 2417Date: Wed May 15 20:47:44 2013 +1000 2418 2419 nvc0-nve0: split shader code from their headers 2420 2421 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2422 2423commit c18439f759bec267a3b67d375dcbfeb8a6fd7b6a 2424Author: Dave Airlie <airlied@redhat.com> 2425Date: Mon May 13 13:55:51 2013 +1000 2426 2427 nouveau: clean up nv entity index declarations. 2428 2429 Signed-off-by: Dave Airlie <airlied@redhat.com> 2430 2431commit d3b52efe959f255784f5ead16d7276ca0fb4cdb1 2432Author: Dave Airlie <airlied@redhat.com> 2433Date: Mon May 13 13:35:12 2013 +1000 2434 2435 nouveau: attempt to fix zaphod since dri1 code removal 2436 2437 j_v on #nouveau bisected b1a630b48210d6a3c44994fce1b73273000ace5c has 2438 breaking zaphod, on review it was trying to open the drm fd a second time 2439 which was unnecessary. 2440 2441 Avoid the problem by storing the nv fd in an entity and have share it between 2442 the two scrn info recs. 2443 2444 Signed-off-by: Dave Airlie <airlied@redhat.com> 2445 2446commit 50426ac83f9f077791e4df8c04fc0ecefc06e8ab 2447Author: Marek Vasut <marex@denx.de> 2448Date: Fri May 3 15:48:55 2013 +0200 2449 2450 nouveau: Allow 3D accelerators with output ports 2451 2452 This patch let's cards with PCI class 0x30200 (3D controller) be 2453 operated by the nouveau driver as well. The nv Quadro NVS 450 is 2454 one such card, where the first GPU has PCI class 0x30000 and the 2455 other GPU has PCI class 0x30200. By ignoring the 1 << 9 bit in 2456 the PCI class mask, displays attached to the other GPU can also 2457 be used now. 2458 2459 Signed-off-by: Marek Vasut <marex@denx.de> 2460 Cc: Dave Airlie <airlied@redhat.com> 2461 Cc: Ben Skeggs <skeggsb@gmail.com> 2462 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2463 2464commit 2fa3397e348161a3394e2b456f065921272a056a 2465Author: Ilia Mirkin <imirkin@alum.mit.edu> 2466Date: Fri May 3 09:59:39 2013 -0400 2467 2468 nouveau_xv: Avoid reading off the end of the source image on NV50+ 2469 2470 The 'w' argument to NVCopyNV12ColorPlanes is used to index into the 2471 source image. line_len is rounded up to 8 on NV50+, so if the source 2472 image (+ left offset) is not rounded to 8, NVCopyNV12ColorPlanes could 2473 read past the end of the array and crash X. This change can cause the 2474 last few horizontal pixels of dst to not be initialized, but they 2475 should be truncated by the renderer anyways. 2476 2477 See https://bugs.freedesktop.org/show_bug.cgi?id=63263 2478 2479 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> 2480 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2481 2482commit 81f9ab38f0a5de7217227dd17a4d0e50dffd0d28 2483Author: Ben Skeggs <bskeggs@redhat.com> 2484Date: Thu May 2 11:38:07 2013 +1000 2485 2486 nvf0: recognise as supported chipset 2487 2488 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2489 2490commit 653c95d60af0f7c19a1d2f3b76dd17bb169d9c9b 2491Author: Ben Skeggs <bskeggs@redhat.com> 2492Date: Mon Apr 29 10:07:59 2013 +1000 2493 2494 nve0: explicitly ask kernel for copy2 object 2495 2496 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2497 2498commit 6771424d79e541d2fa7253a582db3dc9108fd97d 2499Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2500Date: Wed Mar 27 09:50:03 2013 +0100 2501 2502 bump to 1.0.7 2503 2504 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2505 2506commit 84998320162a74a0861b7be1fcc230e50f08424a 2507Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2508Date: Mon Mar 25 13:55:37 2013 +0100 2509 2510 Clean up some errors on closing. 2511 2512 If forced close happens, all ioctl's will fail. Some of the handlers 2513 also need to be unregistered before the module is unloaded entirely. 2514 2515commit a80785f79268ed3701fc69cbd9194ad12822c82c 2516Author: Dave Airlie <airlied@redhat.com> 2517Date: Mon Feb 11 09:56:25 2013 +1000 2518 2519 nouveau: fix build against old servers (part 2) 2520 2521 Should fix next bit of 2522 https://bugs.freedesktop.org/show_bug.cgi?id=60369 2523 2524 Signed-off-by: Dave Airlie <airlied@redhat.com> 2525 2526commit 05dc9b57896689a3dbd9e6aeb16d57c49515b02e 2527Author: Marcin Slusarz <marcin.slusarz@gmail.com> 2528Date: Sun Feb 3 21:12:46 2013 +0100 2529 2530 nv30/exa: fix shaders on big-endian machines 2531 2532 Direct port of commit d1bc38b6673c54af61196056c489383fba8dced8 2533 "nv40/exa: fix shaders on big-endian machines" to nv30. 2534 2535 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=60050 2536 2537 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2538 2539commit 61a277488f7195914cbdda10355db0d758fc801c 2540Author: Dave Airlie <airlied@redhat.com> 2541Date: Thu Feb 7 10:47:20 2013 +1000 2542 2543 nouveau: fix build on older X servers 2544 2545 should fix https://bugs.freedesktop.org/show_bug.cgi?id=60369 2546 2547 Reported-by: fabio.ped@libero.it 2548 Signed-off-by: Dave Airlie <airlied@redhat.com> 2549 2550commit e8f222fd10e21f39488d3d8c697e4948cd787cd0 2551Author: Dave Airlie <airlied@redhat.com> 2552Date: Wed Feb 6 16:21:50 2013 +1000 2553 2554 nouveau: make prime regression fix more robust. 2555 2556 This makes this fix more robust and less crashy. 2557 2558 Signed-off-by: Dave Airlie <airlied@redhat.com> 2559 2560commit d762631c9306b6580b34db1e7eb57bbcac901390 2561Author: Dave Airlie <airlied@redhat.com> 2562Date: Wed Feb 6 15:52:33 2013 +1000 2563 2564 nouveau: align shared buffers to 256 2565 2566 We were getting 0xa5 error code on 2D transfers from tiled VRAM to untiled 2567 GART when using USB offload devices, this fixes this by upping the alignment 2568 on the 2D engine for shared buffers. 2569 2570 Signed-off-by: Dave Airlie <airlied@redhat.com> 2571 2572commit c6980b2add5752a7c285a846b2c9353c9d18afd4 2573Author: Dave Airlie <airlied@redhat.com> 2574Date: Wed Feb 6 15:24:09 2013 +1000 2575 2576 nouveau: fix regression in PRIME since 58284cf32778d54cde139423450bc33360784503 2577 2578 Signed-off-by: Dave Airlie <airlied@redhat.com> 2579 2580commit 59fb3f0252e9b769c5877cfe83d8dbc51cdff232 2581Author: Dave Airlie <airlied@redhat.com> 2582Date: Wed Feb 6 14:58:08 2013 +1000 2583 2584 nouveau: create shared pixmaps in GART 2585 2586 this creates the shared pixmaps in GART, and makes sure they are untiled. 2587 2588 Signed-off-by: Dave Airlie <airlied@redhat.com> 2589 2590commit 1fdd7db94b55c65ea62cc9eaefff620b20e9e4ea 2591Author: Dave Airlie <airlied@redhat.com> 2592Date: Mon Jan 7 15:28:53 2013 +1000 2593 2594 nouveau: add reverse prime support 2595 2596 This allows the nvidia card to scanout Intel cards rendering. 2597 2598 Signed-off-by: Dave Airlie <airlied@redhat.com> 2599 2600commit 58284cf32778d54cde139423450bc33360784503 2601Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 2602Date: Tue Jan 29 16:38:21 2013 +1000 2603 2604 dri2: fix missing frame throttle on copy_region buffer swaps 2605 2606 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2607 2608commit 912d418fdfd2e99eef1e5c631c76dda1d82cf451 2609Author: Marcin Slusarz <marcin.slusarz@gmail.com> 2610Date: Mon Jan 21 00:15:38 2013 +0100 2611 2612 nouveau: put cursor BO in GART 2613 2614 Keeping it in VRAM wastes CPU time, because cursor_set ioctl reads 2615 handed BO back to RAM, just to write it to actual cursor BO. 2616 2617 Here (nv92/core i7), this patch decreases overall cpu usage of 2618 drmmode_load_cursor_argb from 4.6ms to ~90us and lets nv50_crtc_cursor_set 2619 disappear from perf traces. 2620 2621 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2622 2623commit 8f934fad5d4934936b3265f272ca81e73c60d7dc 2624Author: Dave Airlie <airlied@redhat.com> 2625Date: Mon Jan 7 14:13:10 2013 +1000 2626 2627 bump to 1.0.6 2628 2629 Signed-off-by: Dave Airlie <airlied@redhat.com> 2630 2631commit 00834273e22f7234a3755269100ea3f10b521e35 2632Author: Dave Airlie <airlied@redhat.com> 2633Date: Mon Jan 7 14:04:40 2013 +1000 2634 2635 nouveau: fix dirty redisplay damage handling 2636 2637 This processes the damage in the correct order. 2638 2639 Signed-off-by: Dave Airlie <airlied@redhat.com> 2640 2641commit 389b8a8dd91a48dee524eac96e60813c507f1a82 2642Author: Ben Skeggs <bskeggs@redhat.com> 2643Date: Mon Jan 7 14:05:06 2013 +1000 2644 2645 bump to 1.0.5 2646 2647 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2648 2649commit efe9c57af6ff4c12936e49ac3e188c54b8b2d5bd 2650Author: Ben Skeggs <bskeggs@redhat.com> 2651Date: Mon Jan 7 11:35:56 2013 +1000 2652 2653 nvc0-/exa: fix typo which caused breakage in rendercheck tmcoords test 2654 2655 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2656 2657commit 5cd86445272818ec2f598f4685a5d7f24e403d07 2658Author: Marcin Slusarz <marcin.slusarz@gmail.com> 2659Date: Sun Nov 25 22:59:49 2012 +0100 2660 2661 add some missing newlines in error messages 2662 2663 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2664 2665commit 3b33a0b426b8915f302247dcd40c64fb1a6dcdd2 2666Author: Emil Velikov <emil.l.velikov@gmail.com> 2667Date: Sun Nov 4 18:06:18 2012 +0000 2668 2669 kms: Let the server know if we got more than 1 EDID block 2670 2671 Verbatim copy from xf86-video-radeon commit 809cacb 2672 2673 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32341 2674 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2675 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2676 2677commit 018ab2d4634f3c8923038337ce9600973e2f0002 2678Author: Ben Skeggs <bskeggs@redhat.com> 2679Date: Fri Nov 9 12:16:00 2012 +1000 2680 2681 bump version to 1.0.4 2682 2683 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2684 2685commit 0d32d964dbba3864af0946aa8894cef858eb1319 2686Author: Dave Airlie <airlied@redhat.com> 2687Date: Wed Nov 7 14:49:03 2012 +1000 2688 2689 nouveau: drop unused nv private members. 2690 2691 these are no longer needed. 2692 2693 Signed-off-by: Dave Airlie <airlied@redhat.com> 2694 2695commit b1a630b48210d6a3c44994fce1b73273000ace5c 2696Author: Dave Airlie <airlied@redhat.com> 2697Date: Wed Nov 7 14:45:14 2012 +1000 2698 2699 nouveau: drop DRI1 device open interface. 2700 2701 this is a DRI1 left over, the driver is meant to open the device itself now. 2702 2703 this old interface did crazy stuff like drmAddMap. 2704 2705 Reviewed-by: Ben Skeggs <bskeggs@redhat.com> 2706 Signed-off-by: Dave Airlie <airlied@redhat.com> 2707 2708commit 27a1a0616304e9b9f0ae842899b7d614f1026578 2709Author: Emil Velikov <emil.l.velikov@gmail.com> 2710Date: Fri Nov 2 03:57:42 2012 +0000 2711 2712 nouveau: NVPlatformProbe, handle shareable entities 2713 2714 During NVPciProbe, xf86ConfigPciEntity() implicitly calls checks and sets 2715 the entity as shared 2716 Here we are only allocating the screen, thus need to explicitly call the 2717 functions 2718 2719 ZaphodHead and Xinerama should finally work 2720 2721 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56347 2722 2723 Reported-By: Vladimir Chebotarev <exc@rbcmail.ru> 2724 Reported-By: Damian Nowak <nowaker@geozone.pl> 2725 Tested-By: Damian Nowak <nowaker@geozone.pl> 2726 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2727 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2728 2729commit e34cfbd5bd23f7f15372af52d8a39a5715ce7310 2730Author: Emil Velikov <emil.l.velikov@gmail.com> 2731Date: Fri Nov 2 03:57:41 2012 +0000 2732 2733 nouveau: Factor out common code to NVHasKMS() 2734 2735 As the name suggests checks if it has kernel mode setting, 2736 prints out the interface version and checkes if the chipset 2737 is supported 2738 2739 Function is used in NVPciProbe and NVPlatformProbe 2740 2741 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2742 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2743 2744commit 78f24dc3798d635fca2e20856a09012c28bbbb8b 2745Author: Emil Velikov <emil.l.velikov@gmail.com> 2746Date: Fri Nov 2 03:57:40 2012 +0000 2747 2748 nouveau: introduce NVInitScrn() 2749 2750 Common/helper function for NV{Pci,Platform}Probe() 2751 2752 This introduces some the following functions to the 2753 NVPlatformProbe codepath 2754 * xf86SetEntitySharable() 2755 * xf86SetEntityInstanceForScreen() 2756 2757 Necessary for dualhead, xinerama and/or zaphodhead 2758 2759 v2: Rename nouveau_init_scrn() to NVInitScrn() 2760 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2761 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2762 2763commit 47457fbd5006070ea9a06238a5a69ca8167dac77 2764Author: Emil Velikov <emil.l.velikov@gmail.com> 2765Date: Fri Nov 2 03:57:39 2012 +0000 2766 2767 nouveau: Remove unneeded xf86GetEntityInfo() 2768 2769 Retrieving the whole entity information is not needed as we only 2770 use the index - stored already in entity_num 2771 2772 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2773 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2774 2775commit 20995bb5920021668b8b607f886201c643ee0e9a 2776Author: Dave Airlie <airlied@redhat.com> 2777Date: Fri Nov 2 09:04:43 2012 +1000 2778 2779 nouveau: fix regression in virtualbox drawing hopefully. 2780 2781 Signed-off-by: Dave Airlie <airlied@redhat.com> 2782 2783commit 8c3e1623b0be15f8cc590d893bfd19be87bd079a 2784Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2785Date: Wed Oct 24 11:19:04 2012 +0200 2786 2787 bump version to 1.0.3 2788 2789commit 6644a3a724a11150eba0c0082c8d4fe167b1755e 2790Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2791Date: Tue Oct 23 20:17:29 2012 +0200 2792 2793 exa: remove exaMarkSync from download/upload screen 2794 2795 They're noops on nouveau since sync markers are unused and 2796 download/upload are always synchronous anyway from exa's POV. 2797 2798 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2799 2800commit 2a757b7dffa85c30879653a1e52e33b8f4fa8806 2801Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2802Date: Tue Oct 23 17:04:37 2012 +0200 2803 2804 exa: fix comparison in download_from_screen 2805 2806 Presumably a copy/paste error from upload_to_screen. 2807 2808 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2809 2810commit 72230cd5a7846f7a26f929262a745dc0bdc34a3d 2811Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2812Date: Tue Oct 23 10:37:27 2012 +0200 2813 2814 exa: fix up download_from/upload_to screen 2815 2816 Add a missing return TRUE to download_from_screen. 2817 Add a missing exaMarkSync to memcpy in upload_to_screen. 2818 Add a really loud warning to both if memcpy to/from tiled is done. 2819 2820 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2821 2822commit 1d7890ecb8b3188177ab85608ea232812672d923 2823Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2824Date: Tue Oct 23 09:53:39 2012 +0200 2825 2826 remove unused members from nv_type.h 2827 2828commit 0b2a548316b0ce88ba19d5e05fdca205fc139962 2829Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2830Date: Mon Oct 22 13:12:06 2012 +0200 2831 2832 nvc0/exa: make solid fill actually work 2833 2834 Some investigation showed that the code for accelerating solid fill 2835 didn't actually work because NVC0EXACheckTexture would fail. 2836 2837 Making the check the same as in NV50EXACheckTexture fixes this, and 2838 seems to get acceleration for solid fills working right. 2839 2840 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2841 2842commit b4231dd715a8a7f86b04519b5f4e8a8d93c2f561 2843Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 2844Date: Tue Oct 9 09:06:59 2012 +0200 2845 2846 dri2: Fix potential race and crash for swap at next vblank. 2847 2848 This fixes a potential race + crash that wasn't properly 2849 handled by commit 248de8cdbd6d0bc062633b49896fa4791148cd3b 2850 and happened at least on one users machine. 2851 2852 That commit wrongly assumed no special action would be needed 2853 for swaps at next vblank while triple-buffering is enabled on 2854 XOrg server 1.12 or later. 2855 2856 Closer inspection of the x-server main dispatch loop shows 2857 it is possible that the client manages to get the server 2858 to dispatch a new DRI2GetBuffersWithFormat() call before 2859 the server calls the vblank event handler and executes 2860 the nouveau_dri2_finish_swap() routine. Such a race would 2861 cause a crash, as described in above commit. 2862 2863 This commit handles the "swap at next vblank" case by 2864 calling nouveau_dri2_finish_swap() immediately without 2865 the roundtrip (queue vblank_event -> kernel -> deliver event 2866 -> x-server processes event -> nouveau vblank event handler), 2867 before control gets returned to the client. 2868 2869 This avoids the race while retaining triple-buffering. As 2870 a bonus, time-critical swaps at next vblank get processed 2871 without roundtrip delay, increasing the chance of not 2872 skipping a frame due to vblank miss while sync to vblank is 2873 on. 2874 2875 Thanks to Anssi for reporting this problem on the nouveau 2876 mailing list at 12th July 2012 and for testing this patch. 2877 2878 Reported-by: Anssi Hannula <anssi.hannula@iki.fi> 2879 Tested-by: Anssi Hannula <anssi.hannula@iki.fi> 2880 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 2881 2882commit 01c9a9cff7d6232ca6eafa59dd60833a0d9cdc5b 2883Author: Ben Skeggs <bskeggs@redhat.com> 2884Date: Thu Oct 18 18:38:21 2012 +1000 2885 2886 shadowfb: fix segfault due to reading outside of shadow buffer 2887 2888 Probably caused by the new libdrm port, the new libdrm sets the bo 2889 size field to the *allocated* size and not the *requested* size, 2890 making the max_height calculation here invalid. 2891 2892 Switched to using virtualX/virtualY as the bounds, which should 2893 hopefully do the right thing.. 2894 2895 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2896 2897commit 297fd0d0755bda698be1d0b30cc60a41d7673c0b 2898Author: Dave Airlie <airlied@redhat.com> 2899Date: Tue Oct 16 16:15:16 2012 +1000 2900 2901 nouveau/dri2: fix pixmap/window offset calcs. 2902 2903 This should fix prime rendering under kwin, and not break it under the 2904 others. 2905 2906 Signed-off-by: Dave Airlie <airlied@redhat.com> 2907 2908commit 5c9379b14cdabc81fd5d4c916dcd93dc77c4f683 2909Author: Sebastian Keller <sebastian-keller@gmx.de> 2910Date: Tue Sep 25 11:35:35 2012 +0200 2911 2912 exa: use CLAMP_TO_EDGE for RepeatPad 2913 2914 This fixes border rendering in some gtk3 themes. 2915 https://bugs.freedesktop.org/show_bug.cgi?id=55310 2916 2917 v2 (Ben Skeggs): implement same fix for fermi/kepler too 2918 2919 Signed-off-by: Sebastian Keller <sebastian-keller@gmx.de> 2920 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 2921 2922commit 302b5da84b4890c067f5f7e8b0f4e689909bbb51 2923Author: Adam Jackson <ajax@redhat.com> 2924Date: Tue Sep 25 10:44:32 2012 -0400 2925 2926 Remove mibstore.h 2927 2928 Signed-off-by: Adam Jackson <ajax@redhat.com> 2929 2930commit 20f3830ddf868c0d1a46c18fa381585c076bfb8d 2931Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> 2932Date: Wed Sep 12 13:42:43 2012 +0200 2933 2934 bump version to 1.0.2 2935 2936commit 239f39977ebb64c9d545c6f3c905de3c0ad840d0 2937Author: Dave Airlie <airlied@redhat.com> 2938Date: Thu Jul 19 13:46:44 2012 +1000 2939 2940 nouveau: enable provider/capabilities 2941 2942 this adds the provider object for nouveau and enables the capabilities 2943 on it. 2944 2945 Signed-off-by: Dave Airlie <airlied@redhat.com> 2946 2947commit 28abba276e36fd0176f416996d44297ddf13f5cd 2948Author: Dave Airlie <airlied@redhat.com> 2949Date: Thu Jul 19 13:46:12 2012 +1000 2950 2951 nouveau/dri2: add support for DRI2 offload 2952 2953 This adds the nouveau interfaces for DRI2 offload, this allows nouveau 2954 to act as an offload slave. 2955 2956 Signed-off-by: Dave Airlie <airlied@redhat.com> 2957 2958commit b0be0ac86bae871c9f1724c40298d50d7f2b08e4 2959Author: Dave Airlie <airlied@redhat.com> 2960Date: Thu Jul 19 13:45:32 2012 +1000 2961 2962 nouveau: add pixmap tracking/updating support. 2963 2964 This should allow nouveau to act as an output master for driving output 2965 slaves. 2966 2967 Signed-off-by: Dave Airlie <airlied@redhat.com> 2968 2969commit baf485b1d304d741073f058d524ca698af3c15cd 2970Author: Dave Airlie <airlied@redhat.com> 2971Date: Thu Jul 19 13:42:13 2012 +1000 2972 2973 nouveau/exa: add support for shared pixmaps. 2974 2975 This adds the pixmap export/import hooks, along with code for nv50/nvc0 2976 to validate shared buffers in GTT space. 2977 2978 Signed-off-by: Dave Airlie <airlied@redhat.com> 2979 2980commit 2f48b8f462a03cb92db9e9a7ae1957eb27473965 2981Author: Dave Airlie <airlied@redhat.com> 2982Date: Thu Jul 19 13:40:23 2012 +1000 2983 2984 nouveau: add platform bus support 2985 2986 This adds the ability to load nouveau via the new platform apis. 2987 2988 Signed-off-by: Dave Airlie <airlied@redhat.com> 2989 2990commit 3aa9a296f508089a247f92b829036ca6a55b7b42 2991Author: Adam Jackson <ajax@redhat.com> 2992Date: Wed Aug 15 13:26:51 2012 -0400 2993 2994 Remove vbe and int10 includes 2995 2996 This driver has never used int10 or vbe, presumably these were just 2997 copypasta from nv. 2998 2999 Signed-off-by: Adam Jackson <ajax@redhat.com> 3000 3001commit 9b9be11e99930136a591059db1bf4ceaca8806e7 3002Author: Adam Jackson <ajax@redhat.com> 3003Date: Thu Jul 19 18:22:44 2012 -0400 3004 3005 Implement ->driverFunc 3006 3007 Copied from fbdev, makes it so we can run without iopl. 3008 3009 Signed-off-by: Adam Jackson <ajax@redhat.com> 3010 3011commit 6629066b87142cdd1d9e881b61ef55c97aedf949 3012Author: Ben Skeggs <bskeggs@redhat.com> 3013Date: Fri Aug 3 17:05:33 2012 +1000 3014 3015 nvc0/nve0: support sync-to-vblank if kernel is new enough 3016 3017 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3018 3019commit d1bc38b6673c54af61196056c489383fba8dced8 3020Author: Ben Skeggs <bskeggs@redhat.com> 3021Date: Fri Jul 6 16:23:50 2012 +1000 3022 3023 nv40/exa: fix shaders on big-endian machines 3024 3025 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3026 3027commit 0d2b414aff634c996e0468bb0df1894d6c28c09e 3028Author: Ben Skeggs <bskeggs@redhat.com> 3029Date: Tue Jun 19 10:12:37 2012 +1000 3030 3031 bump version to 1.0.1 3032 3033commit f84c28c9e6a0079e527655994689cb9c2ba51999 3034Author: Ben Skeggs <bskeggs@redhat.com> 3035Date: Tue Jun 19 09:49:02 2012 +1000 3036 3037 exa: fix remaining signed datatype issues 3038 3039 Wasn't expecting this situation, apparently it happens.. 3040 3041 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3042 3043commit 794141f22179a09ba6b2a094ba72316c298fee8b 3044Author: Maarten Maathuis <madman2003@gmail.com> 3045Date: Tue Jun 19 00:28:59 2012 +0200 3046 3047 exa: fix various issues in transfer bo handling 3048 3049 Thanks to "Christoph Bumiller <e0425955@student.tuwien.ac.at>" for hinting 3050 at the cause of the memory leak. 3051 3052 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 3053 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3054 3055commit 661d0cf42219a063f8faa0518f3490ddd38209ff 3056Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3057Date: Mon Jun 18 17:13:55 2012 +0200 3058 3059 nve0: fix and improve NV12 shader 3060 3061 Only the 1st set of coordinates is valid. 3062 NVC0 was fixed in 9a3e579f637267b32efc46cfce5d1a36a41323b1. 3063 3064commit a907efe44177298cb1c42a236aab087c14b71657 3065Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3066Date: Mon Jun 18 13:50:27 2012 +0200 3067 3068 nvc0/accel: oops fix method size in previous patch 3069 3070commit 8805e20bb9c1cfb7477f3eb7def64c5711fc91ea 3071Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3072Date: Mon Jun 18 13:41:43 2012 +0200 3073 3074 nvc0/accel: use correct (signed) vertex data type in PUSH_VTX1/2s 3075 3076 Could have kept s16 but decided against mask and shift. 3077 3078commit 6dbf4ea12600275775123f9f564469454415da55 3079Author: Ben Skeggs <bskeggs@redhat.com> 3080Date: Mon Jun 18 13:28:07 2012 +1000 3081 3082 bump version to 1.0.0 3083 3084 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3085 3086commit 5e74cee90eeb4e8e638b371a5f1a2c6737be70ff 3087Author: Ben Skeggs <bskeggs@redhat.com> 3088Date: Mon Jun 18 15:36:47 2012 +1000 3089 3090 distcheck fixes 3091 3092commit 383aef5a8882a65efdf34e8d2681cd5ccec51b22 3093Author: Ben Skeggs <bskeggs@redhat.com> 3094Date: Mon Jun 18 13:31:37 2012 +1000 3095 3096 exa: drop massive gart allocation in favour of smaller ones, as needed 3097 3098 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3099 3100commit 52836c15b1c0e4f28d92ca9e6c76872481917fd4 3101Author: Ben Skeggs <bskeggs@redhat.com> 3102Date: Mon Jun 18 13:20:18 2012 +1000 3103 3104 nv50/exa: somehow fix firefox tabs not being drawn properly since vp xfrm 3105 3106 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3107 3108commit 36d3f8c28c55c05ccf4efa985831d2d249bad2fe 3109Author: Ben Skeggs <bskeggs@redhat.com> 3110Date: Wed Jun 13 22:41:58 2012 +1000 3111 3112 dri2: kill debug spam 3113 3114 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3115 3116commit 4dbc132f22721e3da30eb2e7fc97dea5b8458df6 3117Author: Viktor Novotný <noviktor@seznam.cz> 3118Date: Sat May 26 22:15:20 2012 +0200 3119 3120 nv04/exa: Reset destination surface offset in the same call of NV04EXACopy 3121 3122 Fixes FDO bug #48954. 3123 3124 Signed-off-by: Viktor Novotný <noviktor@seznam.cz> 3125 Reviewed-by: Marcin Slusarz <marcin.slusarz@gmail.com> 3126 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3127 3128commit aab58ee9a8025422416458d637c203af5ba008fd 3129Author: Dave Airlie <airlied@redhat.com> 3130Date: Tue Jun 5 12:34:06 2012 +0100 3131 3132 nouveau: i is used inside the function 3133 3134 fixes build, reported by tallica on irc. 3135 3136 Signed-off-by: Dave Airlie <airlied@redhat.com> 3137 3138commit 619e99731f772ff8d9d93cd1d6d83de5d450574b 3139Author: Dave Airlie <airlied@redhat.com> 3140Date: Tue Jun 5 11:02:54 2012 +0100 3141 3142 nouveau: port to compat server API. 3143 3144 This ports to the new server API. 3145 3146 Signed-off-by: Dave Airlie <airlied@redhat.com> 3147 3148commit d2e16c62b5054f34a439e504bfa261fb71f5d7de 3149Author: Dave Airlie <airlied@redhat.com> 3150Date: Tue Jun 5 10:57:30 2012 +0100 3151 3152 nouveau: drop flags arg to adjust frame 3153 3154 Signed-off-by: Dave Airlie <airlied@redhat.com> 3155 3156commit fadf83d7b373282ccbf0fa0c01928a35ff717a5e 3157Author: Ben Skeggs <bskeggs@redhat.com> 3158Date: Thu May 31 15:46:57 2012 +1000 3159 3160 nvc0/exa: add support for async UTS/DFS copies 3161 3162 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3163 3164commit 1600f7f202721c4b29c29e94f7fb69dc313b99dc 3165Author: Ben Skeggs <bskeggs@redhat.com> 3166Date: Thu May 31 15:40:45 2012 +1000 3167 3168 nva3/exa: add support for async UTS/DFS copies 3169 3170 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3171 3172commit ace77b6b1304826f4004bde23809b55d476b0615 3173Author: Ben Skeggs <bskeggs@redhat.com> 3174Date: Tue May 29 21:21:57 2012 +1000 3175 3176 disable fermi accel on 0.0.16 interface 3177 3178 Kepler accel support broke some assumption made by the older kernel 3179 interface, and Fermi shares the same code. It can't work (without 3180 some annoying hacks anyway) with the 0.0.16 kernel anymore. 3181 3182commit 7041e30ab8beb627bbf569367961a658e79c2bdc 3183Author: Dave Airlie <airlied@redhat.com> 3184Date: Wed May 23 14:18:24 2012 +0100 3185 3186 vl_hwmc: add missing compat include. 3187 3188 Reported-by: tallica on irc. 3189 Signed-off-by: Dave Airlie <airlied@redhat.com> 3190 3191commit 2abf8467cfb7a7648ce73ba5bcbbc62219d65d6d 3192Author: Dave Airlie <airlied@redhat.com> 3193Date: Wed May 23 11:29:05 2012 +0100 3194 3195 nouveau: add compat-api.h to makefile. 3196 3197 Signed-off-by: Dave Airlie <airlied@redhat.com> 3198 3199commit 1d861ad716861c57b2b81531d21840d7c8de024b 3200Author: Dave Airlie <airlied@redhat.com> 3201Date: Wed May 23 11:15:06 2012 +0100 3202 3203 nouveau: convert two more xf86Screens access to macros 3204 3205 for some reason the script missed these two, just fix them manually. 3206 3207 Signed-off-by: Dave Airlie <airlied@redhat.com> 3208 3209commit 5625fb84efc699e65da0062ae101915a49f2969b 3210Author: Dave Airlie <airlied@redhat.com> 3211Date: Wed May 23 11:13:30 2012 +0100 3212 3213 nouveau: convert scrn/screen to using new interfaces 3214 3215 This commit was generated with the util/modular/x-driver-screen-scrn-conv.sh 3216 3217 Signed-off-by: Dave Airlie <airlied@redhat.com> 3218 3219commit 9f037f7be516ebf8fa4a67a5c9ff258594ab353e 3220Author: Dave Airlie <airlied@redhat.com> 3221Date: Wed May 23 11:12:59 2012 +0100 3222 3223 nouveau: add initial compat-api header 3224 3225 This just provides the scrn conversion and picture stuff so far. 3226 3227 Signed-off-by: Dave Airlie <airlied@redhat.com> 3228 3229commit 581564466c47ab0435ecca3cf4d82c03e1b30259 3230Author: Francisco Jerez <currojerez@riseup.net> 3231Date: Tue May 8 14:02:44 2012 +0200 3232 3233 dri2: Don't try to page-flip pixmaps (fdo bug 49351). 3234 3235 Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com> 3236 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3237 3238commit b1efc807392d372e6a232aad9d16ae6e1b1c1916 3239Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3240Date: Sun Apr 15 13:46:42 2012 +0200 3241 3242 nv50: add missing pushbuf space check in NV50SyncToVBlank 3243 3244 Regression from "WIP: port to new libdrm". 3245 3246commit 174f17072005971fee6e4eb76a273c3cc1aa10d3 3247Author: Ben Skeggs <bskeggs@redhat.com> 3248Date: Tue Apr 24 21:55:03 2012 +1000 3249 3250 nv40/exa: return false from gradient picture setup 3251 3252 Not implemented yet. Shouldn't hit this anyway, fallback in check_composite, 3253 but, best be safe :) 3254 3255 Reported-by: Maarten Maathuis <madman2003@gmail.com> 3256 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3257 3258commit 60edf2a87b928f413385443335493cb27da30a48 3259Author: Ben Skeggs <bskeggs@redhat.com> 3260Date: Tue Apr 24 10:54:51 2012 +1000 3261 3262 nv40/exa: support for solid pictures 3263 3264 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3265 3266commit 067b8416ad1ab3e71ebbb8db8bfb82ff6041939b 3267Author: Ben Skeggs <bskeggs@redhat.com> 3268Date: Mon Apr 23 17:49:57 2012 +1000 3269 3270 nv30/exa: implement support for solid pictures using register combiners 3271 3272 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3273 3274commit b09a61780ea6710b679a6a099e35987e7a5f559f 3275Author: Ben Skeggs <bskeggs@redhat.com> 3276Date: Mon Apr 23 14:49:22 2012 +1000 3277 3278 nv10/exa: implement support for solid pictures 3279 3280 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3281 3282commit 9583753a205c585ec844dfb7168513a2c2a157ba 3283Author: Ben Skeggs <bskeggs@redhat.com> 3284Date: Fri Apr 20 20:52:01 2012 +1000 3285 3286 nv10/exa: use fixed-function texture matrix for transforms 3287 3288 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3289 3290commit c21c0ae57717bfb0fceab82505009a5382d1428d 3291Author: Ben Skeggs <bskeggs@redhat.com> 3292Date: Fri Apr 20 20:30:44 2012 +1000 3293 3294 nv30/exa: use fixed-function texture matrix for src/mask transforms 3295 3296 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3297 3298commit 24a5ca723539a940bc2dabcc50aa631f0d9d4219 3299Author: Ben Skeggs <bskeggs@redhat.com> 3300Date: Fri Apr 20 15:24:45 2012 +1000 3301 3302 nv40/exa: do transforms in vertex program 3303 3304 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3305 3306commit 9a3e579f637267b32efc46cfce5d1a36a41323b1 3307Author: Ben Skeggs <bskeggs@redhat.com> 3308Date: Thu Apr 19 16:58:52 2012 +1000 3309 3310 nvc0/exa: port recent nv50 changes (vp transform, solid pictures, etc) 3311 3312 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3313 3314commit 8ea09db1a1e8dff7c341dc3da17edefda7e56e6d 3315Author: Ben Skeggs <bskeggs@redhat.com> 3316Date: Thu Apr 19 13:46:03 2012 +1000 3317 3318 nv50/exa: support solid pictures 3319 3320 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3321 3322commit b48bcc094beecf521899dd63c8fdbccfd534e5cd 3323Author: Ben Skeggs <bskeggs@redhat.com> 3324Date: Thu Apr 19 13:21:27 2012 +1000 3325 3326 nv50/exa: perform texcoord transformations in vertex program 3327 3328 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3329 3330commit 5ac2ca8c56ec8b055878c8ac4cbc8ca74379abda 3331Author: Ben Skeggs <bskeggs@redhat.com> 3332Date: Thu Apr 19 09:52:24 2012 +1000 3333 3334 nv50: implement and use PUSH_DATAu 3335 3336 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3337 3338commit 6c41b3d7a8799daa9d0b34dcfbfc5c891c24fffa 3339Author: Ben Skeggs <bskeggs@redhat.com> 3340Date: Tue Apr 17 11:07:05 2012 +1000 3341 3342 nv30/nv40: upload shaders directly from rankine/curie init 3343 3344 Also removes A8 surface shader hack, and implements proper shaders for 3345 the specific purpose. 3346 3347 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3348 3349commit ec019b3a50475b7ff1b5e0a5dbe14e5ef677bd9e 3350Author: Ben Skeggs <bskeggs@redhat.com> 3351Date: Tue Apr 17 09:30:49 2012 +1000 3352 3353 Keep a single buffer for random accel data, rather than 3 different ones 3354 3355 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3356 3357commit fb3a36b1e5af0f81bb266da894d3442eed8e4e55 3358Author: Ben Skeggs <bskeggs@redhat.com> 3359Date: Wed Mar 28 16:38:30 2012 +1000 3360 3361 nve0: initial exa/xv acceleration for kepler chipsets 3362 3363 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3364 3365commit 95be16d8cd88db1ace0ac4568b4c67b51fd30fd9 3366Author: Ben Skeggs <bskeggs@redhat.com> 3367Date: Thu Mar 29 19:55:27 2012 +1000 3368 3369 nvc0: create scratch buffer before initialising m2mf 3370 3371 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3372 3373commit 4896c87484e1cf1e5421de377b6b83890948664d 3374Author: Ben Skeggs <bskeggs@redhat.com> 3375Date: Thu Mar 29 19:47:21 2012 +1000 3376 3377 nvc0: switch to kepler's subchannel assignments (see note) 3378 3379 This will bust for kernels with nouveau ABI version < 1.0.0... It should 3380 be possible to add compat for 0.0.16 however... 3381 3382 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3383 3384commit 4225b486cb8ab98d27ba23874096ff0879d45575 3385Author: Ben Skeggs <bskeggs@redhat.com> 3386Date: Thu Mar 29 15:56:02 2012 +1000 3387 3388 nvc0: tidy and cull a heap of fermi init (stuff in default grctx) 3389 3390 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3391 3392commit 007dd62a8c5244bc5e71fe8f32520fb35b67a237 3393Author: Ben Skeggs <bskeggs@redhat.com> 3394Date: Thu Mar 29 15:28:03 2012 +1000 3395 3396 nvc0: punt shaders out to a header file 3397 3398 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3399 3400commit 1c7651532975cf738b3aac4ec3c3b46187e24eea 3401Author: Ben Skeggs <bskeggs@redhat.com> 3402Date: Thu Mar 29 14:25:15 2012 +1000 3403 3404 nvc0: do tic/tsc binding only once, at startup 3405 3406 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3407 3408commit 180d8778764913ed061e68520603c0925477faba 3409Author: Ben Skeggs <bskeggs@redhat.com> 3410Date: Thu Mar 29 14:21:25 2012 +1000 3411 3412 nvc0: replace direct inline m2mf with inline helper to do the same 3413 3414 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3415 3416commit e70d801ae9287eab5e82f4d467dc8cd4be1b31a8 3417Author: Ben Skeggs <bskeggs@redhat.com> 3418Date: Fri Dec 9 18:15:32 2011 +1000 3419 3420 WIP: port to new libdrm 3421 3422 calim: nv50,nvc0/xv: fix src_w/h width/height confusion 3423 3424commit ab7291d368ddc66ad21c5ad5caa0faeee42ccaf1 3425Author: Ben Skeggs <bskeggs@redhat.com> 3426Date: Wed Mar 21 14:56:55 2012 +1000 3427 3428 xv: don't try to init textured video without 3d engine object 3429 3430 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3431 3432commit fe7e0425a4a43b2a7d4743a0a90a86724c3b6775 3433Author: Ben Skeggs <bskeggs@redhat.com> 3434Date: Mon Mar 12 11:59:29 2012 +1000 3435 3436 recognise kepler 3437 3438 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3439 3440commit f5d1cd2cb6808838ae1a188cef888eaa9582c76d 3441Author: Ben Skeggs <bskeggs@redhat.com> 3442Date: Tue Mar 6 08:16:51 2012 +1000 3443 3444 remove use of xf86PciInfo.h, deprecated now apparently 3445 3446 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3447 3448commit 248de8cdbd6d0bc062633b49896fa4791148cd3b 3449Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3450Date: Thu Feb 16 00:45:24 2012 +0100 3451 3452 dri2: Fix corner case crash for swaplimit > 1 3453 3454 If a swaplimit > 1 is set on a server which 3455 supports the swaplimit api (XOrg 1.12.0+), 3456 the following can happen: 3457 3458 1. Client calls glXSwapBuffersMscOML() with a 3459 swap target > 1 vblank in the future, or a 3460 client calls glXSwapbuffers() while the swap 3461 interval is set to > 1 (unusual but possible). 3462 3463 2. nouveau_dri2_finish_swap() is therefore called 3464 only at the target vblank, instead of immediately. 3465 3466 3. Because of the deferred execution of 3467 nouveu_dri2_finish_swap(), the OpenGL client 3468 can call x-servers DRI2GetBuffersWithFormat() 3469 before nouveau_dri2_finish_swap() executes and 3470 it deletes pixmaps that would be needed by 3471 nouveau_dri2_finish_swap() --> Segfault --> Crash. 3472 3473 Prevent this: When a swap is scheduled into the 3474 future, we temporarily reduce the swaplimit to 1 3475 until nouveau_dri2_finish_swap() is done, then 3476 restore it to its original value. This throttles 3477 the client inside the server in DRI2ThrottleClient() 3478 before it can call the evil DRI2GetbuffersWithFormat(). 3479 3480 The client will still be released one video refresh 3481 interval before swap completion, so there is still 3482 some potential win. 3483 3484 This doesn't affect the common case of swapping at 3485 the next vblank, where this throttling is not needed 3486 or done. 3487 3488 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3489 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3490 3491commit 247465ec5e21ce7151ef1e6a3e7644bc74d48a5b 3492Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3493Date: Thu Feb 16 00:45:23 2012 +0100 3494 3495 dri2: Reimplement hack for triple-buffering on old X-Servers. 3496 3497 X-Servers before 1.12.0 don't have the DRI2SwapLimit() 3498 API. On these, default to a swaplimit of 1 - double-buffering. 3499 3500 This patch implements support for swap limit of 2, 3501 triple-buffering, on old x-servers via Francisco Jerez 3502 previous hack: 3503 3504 Return DRI2SwapComplete() before the swap has completed, 3505 so clients don't get blocked on the pending swap. This 3506 allows for a "triple-buffering look-alike" behaviour, but 3507 breaks the swap scheduling and timestamping defined 3508 in the OML_sync_control spec, so applications which 3509 rely on conformant behaviour will break with a swap 3510 limit of 2 on pre 1.12.0 x-servers. 3511 3512 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3513 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3514 3515commit a1902ffaab1f6807fdaac0fce49f784e7208d1a5 3516Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3517Date: Thu Feb 16 00:45:22 2012 +0100 3518 3519 dri2: Allow vblank controlled swaps for redirected windows. Part II 3520 3521 This part implements proper throttling for clients. For 3522 vblank synchronized blits, it defers DRI2SwapComplete() 3523 until 1 vblank after the framebuffer blit is submitted to 3524 the gpu. 3525 3526 Rationale: 3527 3528 For unredirected windows, this is the earliest time the 3529 "blit swap" can complete, as blits are submitted one vblank 3530 before the target vblank and synchronized with vblank in the 3531 gpu. This makes swap completion timestamps at least reasonable. 3532 3533 For redirected windows, the compositor will probably pick 3534 up the "blit swapped" frontbuffer pixmap of the window quickly, 3535 but defer its own recomposition to the next vblank, at least 3536 if sync to vblank for the compositor is on. 3537 3538 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3539 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3540 3541commit c8572d329014afc0c79b5765468dcdfb65be0868 3542Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3543Date: Thu Feb 16 00:45:21 2012 +0100 3544 3545 dri2: Allow vblank controlled swaps for redirected windows. Part I 3546 3547 Make sure that swaps for redirected windows under a 3548 compositor are still scheduled via vblank events, to 3549 avoid effects like 2900 fps swaps under a compositor. 3550 3551 See discussion with Francisco Jerez at: 3552 3553 http://lists.freedesktop.org/archives/nouveau/2011-September/009278.html 3554 http://lists.freedesktop.org/archives/nouveau/2011-September/009292.html 3555 3556 This is part I of the agreed upon band-aid, in a separate patch. 3557 3558 It allows to use vblank related functions on redirected 3559 windows and thereby fixes functions from sgi_sync_control 3560 and oml_sync_control extension, e.g., glXWaitForMscOML(), 3561 glXGetSyncValuesOML(), glXWaitVideoSyncSGI, ... 3562 3563 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3564 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3565 3566commit 919643888045b102f3e10dfdeb6210ab14b6ecab 3567Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3568Date: Thu Feb 16 00:45:20 2012 +0100 3569 3570 dri2: Fixes to swap scheduling. 3571 3572 Fix some small off-by-one errors and a mismatch 3573 between 32 bit kernel interfaces for vblank count 3574 and 64 bit dri2 interfaces for target_msc et al. 3575 3576 Return corrected target_msc to swap scheduling in 3577 x-server. 3578 3579 A revised version of the patch discussed here: 3580 http://lists.freedesktop.org/archives/nouveau/2011-September/009143.html 3581 3582 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3583 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3584 3585commit 5ede4538366a352aa9726560f8d42e85df4aec82 3586Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3587Date: Thu Feb 16 00:45:19 2012 +0100 3588 3589 dri2: Update front buffer pixmap and name before exchanging buffers 3590 3591 Buffer exchange assumes that the front buffer pixmap and name 3592 information is accurate. That may not be the case eg. if the window 3593 has been (un)redirected since the buffer was created. 3594 3595 This is a translation to nouveau of a fix that was originally developed 3596 by Ville Syrjala <syrjala@sci.fi> for the ati/radeon ddx to fix the 3597 same bug there. 3598 3599 See thread at: 3600 3601 http://lists.x.org/archives/xorg-devel/2011-May/021908.html 3602 3603 Fixes FDO bug #35452. 3604 3605 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3606 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3607 3608commit 6fdf60b7288d49f889c80705aabc1db3bc327ba3 3609Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3610Date: Thu Feb 16 00:45:18 2012 +0100 3611 3612 dri2: Add support for DRI2SwapLimit() API. 3613 3614 Uses the new DRI2SwapLimit() API of X-Server 1.12+ 3615 to allow to change the maximum number of pending 3616 swaps on a drawable before the OpenGL client is 3617 throttled by the server. 3618 3619 The new optional xorg.conf parameter "SwapLimit" 3620 allows to select a new swap limit >= 1. The default 3621 swap limit is 2 for triple-buffering on XOrg 1.12+, 3622 1 for double-buffering on older servers, as we can't 3623 change the swap limit there. 3624 3625 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3626 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3627 3628commit 820916e722db2997a53128f2f370d14a02d4401c 3629Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3630Date: Thu Feb 16 00:45:17 2012 +0100 3631 3632 dri2: Implement handling of pageflip completion events. 3633 3634 Requests pageflip completion events from the kernel. 3635 Implements pageflip completion handler to finalize 3636 and timestamp swaps. 3637 3638 Completion handler includes a consistency check, and 3639 disambiguation if multiple crtc's are involved in a 3640 pageflip (e.g., clone mode, extendend desktop). Only 3641 the timestamp of the crtc whose vblank event initially 3642 triggered the swap is used, but handler waits for flip 3643 completion on all involved crtc's before completing the 3644 swap and releasing the old framebuffer. 3645 3646 This code is almost identical to the code used in the 3647 ati/radeon ddx and intel ddx. 3648 3649 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3650 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3651 3652commit 4da68cedbefef4f72c00bb088e179071490882c8 3653Author: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3654Date: Thu Mar 1 19:11:14 2012 +0100 3655 3656 dri2: Fix can_exchange() to allow page-flipping on more mesa versions. 3657 3658 can_exchange() returns false and thereby prevents page 3659 flipping on some drawables where page flipping would 3660 work fine. This due to non-matching drawable depths values 3661 between front buffer pixmap and back buffer pixmap, because 3662 front buffer pixmaps inherit the depth of the screen, typically 3663 24 bits, whereas the depth value of back buffer pixmaps for a 3664 given RGB8 or RGBA8 visual depends on the mesa version in use, 3665 either 24 bits or 32 bits. 3666 3667 Use bitsPerPixel instead of depth to decide if drawable 3668 is flippable. This will still catch really incompatible 3669 formats like 32 bpp vs. 16 bpp buffers. 3670 3671 Tested for screen DefaultDepth 24 and also 30 bits 3672 (for RGB10 framebuffers) on NV-50. 3673 3674 The problem was fixed in the same way in the ati & intel ddx. 3675 3676 Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> 3677 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3678 3679commit b0d7f4ddd94154491d04dcb9698d63d61e9240dc 3680Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3681Date: Mon Jan 9 15:17:27 2012 +0100 3682 3683 dri2: CreateBuffer format may be 0, use depth in that case 3684 3685commit 3d9f6b32e0ad72dc8c7db07d039d87e83d8fdb1d 3686Author: Ben Skeggs <bskeggs@redhat.com> 3687Date: Fri Dec 9 17:45:31 2011 +1000 3688 3689 nv50/xv: bump max dims to 8k 3690 3691 Untested, but I don't see why this wouldn't work... 3692 3693commit 57c62228e2e67370feeeb421c369fbf940d30ca4 3694Author: Ben Skeggs <bskeggs@redhat.com> 3695Date: Fri Dec 9 17:44:07 2011 +1000 3696 3697 xv: stop using custom m2mf code 3698 3699commit ad402333157c437ccd2c639f5b3f3bcb81e78d6c 3700Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3701Date: Sat Dec 10 13:32:24 2011 +0100 3702 3703 dri2: fix allocation of Z16 depth attachments 3704 3705commit 3d2a752ca8aafee5e1e94dabfd7deec439890e95 3706Author: Ben Skeggs <bskeggs@redhat.com> 3707Date: Thu Dec 1 11:31:49 2011 +1000 3708 3709 move away from libdrm's BEGIN_RING (and variants) macros 3710 3711 subchan auto-assignment is now gone. 3712 3713commit b6cfdc01aeb5c2ab401ee81fff66bd0560abdfcc 3714Author: Ben Skeggs <bskeggs@redhat.com> 3715Date: Thu Dec 1 11:25:10 2011 +1000 3716 3717 Append _CLASS to object class id definitions 3718 3719 I want to be able to use ring macros of the same name 3720 3721commit 1dadb5826363d0d8ed1a72209be18277550f8345 3722Author: Ben Skeggs <bskeggs@redhat.com> 3723Date: Thu Dec 1 09:06:24 2011 +1000 3724 3725 exa: create general m2mf rect copy for each chipset, use for UTS/DFS 3726 3727 No point having duplicated UTS/DFS logic in each implementation. This also 3728 splits nv50 out into its own code, in preparation for it being made to not 3729 use relocs at all. 3730 3731 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3732 3733commit b5534a15a5f5e1c3bd6c92e3ed8391ff628c09bb 3734Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3735Date: Wed Nov 30 18:56:54 2011 +0100 3736 3737 fix typo in conversion to rnn headers 3738 3739commit 5975ce34a12d1943b2852d0f5fbe09358754c2ad 3740Author: Ben Skeggs <bskeggs@redhat.com> 3741Date: Wed Nov 30 17:40:02 2011 +1000 3742 3743 convert entire ddx to rnn headers 3744 3745commit 9fa0c6c74d0b9f7d66ebe3c99184eaa13abeb1a0 3746Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3747Date: Sun Nov 6 20:32:10 2011 +0100 3748 3749 Default to 16bpp for low memory cards. 3750 3751commit 5aa30ae6554c957609929ef29d1b27c89e9a7f06 3752Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3753Date: Sun Nov 6 20:32:09 2011 +0100 3754 3755 nv50/exa: wait for enough space for at least one composite operation 3756 3757commit 3d54426c4833a7e058e50624452f89139921e64b 3758Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3759Date: Sun Nov 6 20:32:08 2011 +0100 3760 3761 add missing return in nv50_accel_init failure path 3762 3763commit d575a28a5020ff083836d3d1cf50018a99f49c9f 3764Author: Maarten Lankhorst <m.b.lankhorst@gmail.com> 3765Date: Sat Oct 8 10:33:20 2011 +0200 3766 3767 dri2: Add vdpau driver name entry 3768 3769 libvdpau has a driver loading mechanism that looks for a dri2 driver 3770 first before falling back to nvidia, so lets use that. 3771 3772commit 656cfe3bdb8b487827b710a0cea35ae1bcd5044e 3773Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3774Date: Sat Sep 10 23:14:53 2011 +0200 3775 3776 xv: support AI44/IA44 3777 3778 It's needed for osd in mplayer's xvmc output. 3779 3780commit 169512fbe91f0671a90dfee5e280357f0a4ef701 3781Author: Maxim Levitsky <maximlevitsky@gmail.com> 3782Date: Tue Aug 23 13:10:59 2011 +0200 3783 3784 dri2: Disable the "exchange" swapbuffers path for the moment (bug 35930). 3785 3786 Allow page flipping only for scanout buffer for now as simple swapping 3787 between off-screen pixmaps confuses compiz because there is no 3788 syncronization method to tell it about that swap 3789 3790 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 3791 3792commit b806e3f97a73701f057c45b1f45233e69e19f113 3793Author: Bryan Cain <bryancain3@gmail.com> 3794Date: Wed Jul 20 13:48:36 2011 -0500 3795 3796 g3dvl: update for compatibility with latest pipe-video branch in Mesa 3797 3798 Signed-off-by: Bryan Cain <bryancain3@gmail.com> 3799 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3800 3801commit de9d1ba7efeba64f319efa00df183d3cb78f24af 3802Author: Emil Velikov <emil.l.velikov@gmail.com> 3803Date: Tue Jul 19 00:35:38 2011 +0100 3804 3805 drmmode_display: Resolve missing brackets 3806 3807 Correct some missing/misplaced brackets in drmmode_pre_init() 3808 The issue was exposed when trying a 4 monitor desktop using two 3809 cards/gpus 3810 3811 Resolves https://bugs.freedesktop.org/show_bug.cgi?id=39099 3812 3813 Reported-By: Damian Nowak <nowaker@geozone.pl> 3814 Tested-By: Damian Nowak <nowaker@geozone.pl> 3815 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 3816 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3817 3818commit ef4957492956df54fafa6c75d576a07ce678ea0a 3819Author: Ben Skeggs <bskeggs@redhat.com> 3820Date: Mon Jul 11 12:48:34 2011 +1000 3821 3822 kms: fix multiple rotations in noaccel mode 3823 3824commit ab89aa022f0c78154e525b5f5787feee8024171f 3825Author: Ben Skeggs <bskeggs@redhat.com> 3826Date: Fri Jun 17 10:10:09 2011 +1000 3827 3828 nvc0: accept 0xdx chipsets 3829 3830 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3831 3832commit 7dd8987b8b69f56d04a199207122d2e51b9caa6e 3833Author: Ben Skeggs <bskeggs@redhat.com> 3834Date: Fri Jun 17 10:07:36 2011 +1000 3835 3836 nvc0: assume 0x9097's presence on all chipsets 3837 3838 This appears to be the case thus far, and is what the 3D driver does. 3839 3840 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3841 3842commit 98ee2105dbd8685e59c1967a587fccb6135743ac 3843Author: Ben Skeggs <bskeggs@redhat.com> 3844Date: Mon May 30 10:10:58 2011 +1000 3845 3846 kms: clear new fb to black on fb resize 3847 3848commit 8378443bd3b26b57ef2ae424a700e01ead813d33 3849Author: Ben Skeggs <bskeggs@redhat.com> 3850Date: Thu Mar 24 02:13:12 2011 +1000 3851 3852 nv50-nvc0/exa: fix bug causing surface state to not be reemitted after flush 3853 3854 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3855 3856commit 92db2bc192a074d4b7fc3e9c16e9aa62a8deaeb6 3857Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 3858Date: Thu Mar 3 22:17:23 2011 +0100 3859 3860 nvc0/accel: allow nvc1,nvc3,nvc4 in 3D engine init and use 9097 3861 3862commit ace98a492353e6de712f4f717e6d3f562e3591f0 3863Author: Ben Skeggs <bskeggs@redhat.com> 3864Date: Tue Mar 1 13:54:38 2011 +1000 3865 3866 dri2: return an error rather than crashing if we can't allocate a buffer 3867 3868 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3869 3870commit bc5dec2ca7ca7edc340a99bd73946e228117dfd8 3871Author: Ben Skeggs <bskeggs@redhat.com> 3872Date: Thu Feb 24 15:15:00 2011 +1000 3873 3874 dri2: disable page flipping if any crtc is rotated 3875 3876 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3877 3878commit c123618470b5ff32c6377a4cae0f148d4a518a5d 3879Author: Francesco Marella <francesco.marella@gmail.com> 3880Date: Thu Feb 17 03:48:16 2011 +0100 3881 3882 Fix gcc 4.6.0 set but unused variable warnings 3883 3884 Signed-off-by: Francesco Marella <fmarl@paranoici.org> 3885 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3886 3887commit 3531b2aa13e9c78288d96fe5e1492f0b6e899b00 3888Author: Francesco Marella <francesco.marella@gmail.com> 3889Date: Thu Feb 17 03:47:46 2011 +0100 3890 3891 Page flipping man page update 3892 3893 Signed-off-by: Francesco Marella <fmarl@paranoici.org> 3894 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3895 3896commit 85a706df6f7986158c964e3afd0aa8e352ff5cea 3897Author: Francesco Marella <francesco.marella@gmail.com> 3898Date: Thu Feb 17 03:47:08 2011 +0100 3899 3900 Update configure.ac with autoupdate 3901 3902 Signed-off-by: Francesco Marella <fmarl@paranoici.org> 3903 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3904 3905commit 42c16ff33dcca6cd9bae62fe0d71a40452e03581 3906Author: Ben Skeggs <bskeggs@redhat.com> 3907Date: Wed Feb 16 13:51:54 2011 +1000 3908 3909 nv50: attempt to allocate compressed Z buffers 3910 3911 This should automagically fallback to the non-compressed version on kernels 3912 that don't support compression. 3913 3914 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3915 3916commit 46acb7e095e9c0d55b90070b77c64679fcfb9d4e 3917Author: Marcin Slusarz <marcin.slusarz@gmail.com> 3918Date: Sun Feb 13 20:46:42 2011 +0100 3919 3920 fix drmSetMaster error reporting 3921 3922 On error, drmSetMaster returns -1 and sets errno. 3923 3924 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3925 3926commit 54764980411b4b8124c36edb8730612b04f292a9 3927Author: Maarten Maathuis <madman2003@gmail.com> 3928Date: Thu Feb 10 20:12:07 2011 +0100 3929 3930 Also flush from the BlockHandler. 3931 3932 - The fact that commit 02c50db307a4e4eeb87f7db5d401bc53cce3b21f 3933 fixed missing text for some people proves this is needed. 3934 That commit should have only improved latency a bit. 3935 - The FlushCallback is still needed for DRI2 texture_from_pixmap. 3936 - See bugs.fd.o #33977 for discussion. 3937 3938 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 3939 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3940 3941commit 02c50db307a4e4eeb87f7db5d401bc53cce3b21f 3942Author: Maarten Maathuis <madman2003@gmail.com> 3943Date: Mon Feb 7 19:37:47 2011 +0100 3944 3945 exa: Flush (S)IFC to the frontbuffer immediately. 3946 3947 This avoids high latency while typing with core fonts for example. 3948 3949 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 3950 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3951 3952commit e4fb9fd2f790ed66e4be61ca00d55522525619f4 3953Author: Ben Skeggs <bskeggs@redhat.com> 3954Date: Wed Feb 9 13:46:32 2011 +1000 3955 3956 dri2: allow page flipping to be disabled in xorg.conf 3957 3958 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3959 3960commit 38e8809bb415bae5c182fc79c8fc62992c5e4ed0 3961Author: Ben Skeggs <bskeggs@redhat.com> 3962Date: Mon Jan 17 09:14:31 2011 +1000 3963 3964 nvc0: merge initial acceleration support 3965 3966 Squashed commit of the following: 3967 3968 commit e8ce1ef351ee51bec51211dca6fda88fdbfbefee 3969 Author: Ben Skeggs <bskeggs@redhat.com> 3970 Date: Mon Jan 17 08:55:04 2011 +1000 3971 3972 fix hardcoding of nvc0 wfb path 3973 3974 commit b414b1f948da18d96309bad84c54948d877efaa6 3975 Author: Ben Skeggs <bskeggs@redhat.com> 3976 Date: Mon Jan 17 08:52:53 2011 +1000 3977 3978 general tidy-ups in preparation for merge to master 3979 3980 commit 73bf71d5de0cb990178a1d2a31e0ea1717c214a4 3981 Merge: fb499a4 b795ca6 3982 Author: Ben Skeggs <bskeggs@redhat.com> 3983 Date: Mon Jan 17 08:47:40 2011 +1000 3984 3985 Merge branch 'master' into nvc0 3986 3987 commit fb499a4e9d95650dc89f4c1820b94d01344733f6 3988 Author: Ben Skeggs <bskeggs@redhat.com> 3989 Date: Mon Dec 20 12:54:43 2010 +1000 3990 3991 nvc0: switch to "standard" RING macros 3992 3993 commit 64f0e1d0e9e29c5437ad4e52d01ccfb0b03a2ae9 3994 Merge: eba7e17 c2092a4 3995 Author: Ben Skeggs <bskeggs@redhat.com> 3996 Date: Mon Dec 20 11:58:42 2010 +1000 3997 3998 Merge branch 'master' into nvc0 3999 4000 Conflicts: 4001 src/nv_dma.c 4002 4003 commit eba7e173a5006ff50b950d0e8b8154564471a9ce 4004 Author: Ben Skeggs <bskeggs@redhat.com> 4005 Date: Fri Dec 17 11:04:40 2010 +1000 4006 4007 nvc0/xv: use mad in nv12 shader, rather than mul+add 4008 4009 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4010 4011 commit b025ceb40a5e94a3657f3c7f76044c49a1a05e8d 4012 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4013 Date: Thu Dec 16 23:34:29 2010 +0100 4014 4015 nvc0: fix offset of 17bc buffer 4016 4017 I had messed it up in 5e4da3451c3c0f645f98fea7fb0ce2629b1bfd2f. 4018 4019 commit 6ff5a9a7f3411ef218f17fa481c583596ffde2cc 4020 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4021 Date: Thu Dec 16 01:07:25 2010 +0100 4022 4023 nvc0/xv: bind textures for the FP, not the TEP 4024 4025 commit 5e4da3451c3c0f645f98fea7fb0ce2629b1bfd2f 4026 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4027 Date: Thu Dec 16 01:02:58 2010 +0100 4028 4029 nvc0: switch to rnn headers 4030 4031 commit 0839041e79dbb0e629326d0f240220b33921db1a 4032 Author: Ben Skeggs <bskeggs@redhat.com> 4033 Date: Wed Dec 15 16:42:41 2010 +1000 4034 4035 nvc0/exa: fix m2mf dfs 4036 4037 commit 88c1c43302331e1cb8b7035bfb4677a5e7da3090 4038 Author: Ben Skeggs <bskeggs@redhat.com> 4039 Date: Mon Dec 13 12:00:23 2010 +1000 4040 4041 nvc0: add Xv implementation 4042 4043 commit ad5b4cfe388a102a0c93f7281cb4bba532b1796b 4044 Merge: 1942a81 b6cb21b 4045 Author: Ben Skeggs <bskeggs@redhat.com> 4046 Date: Wed Dec 15 14:57:04 2010 +1000 4047 4048 Merge branch 'master' into nvc0 4049 4050 commit 1942a81c0eb592972d4a3e8c46b80192ae8d1a59 4051 Author: Ben Skeggs <bskeggs@redhat.com> 4052 Date: Thu Dec 9 12:48:27 2010 +1000 4053 4054 nvc0: call grobj_alloc for all used object classes 4055 4056 Though the hardware has no concept of object handles any more, the nouveau 4057 DRM still uses this call to know what engines are in use. 4058 4059 commit 0c670a6d406fe0a57373fa9e03005be6f28ecc3e 4060 Author: Ben Skeggs <bskeggs@redhat.com> 4061 Date: Thu Dec 9 12:44:41 2010 +1000 4062 4063 nvc0: don't try and create DmaNotifier0 4064 4065 commit 5d3d20d908a50ad7742567d58969c7f12dd944f7 4066 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4067 Date: Thu Dec 9 01:36:32 2010 +0100 4068 4069 nvc0: change tile_mode to contain 0xZYX instead of 0xZY 4070 4071 Warning: the kernel will not like that (EVO) 4072 4073 commit dd7fd8263e0e9f92412fb20086e4c8acf8cab099 4074 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4075 Date: Thu Dec 9 00:29:58 2010 +0100 4076 4077 exa: don't fall back to nv04 m2mf if nvc0 m2mf fails 4078 4079 commit b4cf5a8f2276392945c2530f0d6fe96b5ab4b5da 4080 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4081 Date: Thu Dec 9 00:07:59 2010 +0100 4082 4083 nvc0/exa: remove noisy debug messages 4084 4085 commit 5419ef6d2cfabb7329982cb8dbdb5bbc8e973fe3 4086 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4087 Date: Wed Dec 8 23:55:51 2010 +0100 4088 4089 nvc0/accel: remove unneeded scratch method 0x3420 init 4090 4091 It was intended be read by a MACRO method to get the address for 4092 constants upload. 4093 4094 commit 178356391ff6831599eba257a5912079894641a1 4095 Merge: 8573280 8bb8231 4096 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4097 Date: Thu Dec 9 01:31:40 2010 +0100 4098 4099 Merge remote branch 'origin/master' into nvc0 4100 4101 Conflicts: 4102 src/drmmode_display.c 4103 src/nouveau_exa.c 4104 src/nv_driver.c 4105 src/nv_type.h 4106 4107 commit 8573280871401e29f27fa24d0b7c6ac5e35b2cc1 4108 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4109 Date: Sat Jul 3 14:27:36 2010 +0200 4110 4111 nvc0: initial implementation 4112 4113 EXA should work, Xv not yet done. 4114 4115commit b795ca6e97fae9735843748585401098dae1c3e1 4116Author: Ben Skeggs <bskeggs@redhat.com> 4117Date: Fri Jan 7 13:33:36 2011 +1000 4118 4119 nv50: fix pitch of linear scanout buffers 4120 4121 Un-breaks NoAccel on these chipsets. 4122 4123 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4124 4125commit dc89dac734167bcbc667b39ca6ee2043871a60bf 4126Author: Xavier Chantry <chantry.xavier@gmail.com> 4127Date: Sun Dec 19 23:17:34 2010 +0100 4128 4129 nv04/exa: kill useless WAIT_RING 4130 4131 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4132 4133commit b76b43928bf4dcf5ce3a4b58c7fefe780070c0d3 4134Author: Ben Skeggs <bskeggs@redhat.com> 4135Date: Tue Dec 21 16:25:23 2010 +1000 4136 4137 add back generic include of nouveau_pushbuf.h 4138 4139 So places that FIRE_RING() still work. 4140 4141 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4142 4143commit c2092a458401377f421d9bdfe1d97ce580b99508 4144Author: Ben Skeggs <bskeggs@redhat.com> 4145Date: Mon Dec 20 11:50:57 2010 +1000 4146 4147 include nv04_pushbuf.h for ring macros, rather than nouveau_pushbuf.h 4148 4149 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4150 4151commit aa2821a42706ac7b69703d1869e2d00a4ced9f4b 4152Author: Ben Skeggs <bskeggs@redhat.com> 4153Date: Mon Dec 20 11:53:53 2010 +1000 4154 4155 kill NVSync(), it's rather useless 4156 4157 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4158 4159commit 1fc564fe3494cf0abcc848d0e90bf2232f8fd272 4160Author: Ben Skeggs <bskeggs@redhat.com> 4161Date: Thu Dec 16 09:49:09 2010 +1000 4162 4163 nv50/xv: use mad in nv12 shader, rather than mul+add 4164 4165 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4166 4167commit b6cb21b91f7d0409794a14ddbdd606728d4d49e3 4168Author: Ben Skeggs <bskeggs@redhat.com> 4169Date: Mon Feb 8 12:51:47 2010 +1000 4170 4171 set canDoBGNoneRoot if building against new enough server 4172 4173commit 11510f9ce8c9eab15e7f6d5962b83fc0052c8619 4174Author: Ben Skeggs <bskeggs@redhat.com> 4175Date: Tue Dec 14 15:39:01 2010 +1000 4176 4177 nv50/xv: implement brightness/contrast/saturation/hue controls 4178 4179 Adapted from the code in xf86-video-ati. 4180 4181 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4182 4183commit 214ea264cdb386520a1308a29f204e441f349cb1 4184Author: Ben Skeggs <bskeggs@redhat.com> 4185Date: Tue Dec 14 14:42:24 2010 +1000 4186 4187 nv50/xv: kick csc parameters out into a constant buffer 4188 4189 These were previously inlined into the shader, which is simple, but makes 4190 implementing brightness/contrast adjustments impossible. 4191 4192 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4193 4194commit 8bb8231236a6b877895663aeaa9cef731d67fe68 4195Author: Ben Skeggs <bskeggs@redhat.com> 4196Date: Tue Nov 30 15:27:36 2010 +1000 4197 4198 dri2: fix certain clients blocking forever when sync-to-vblank unavailable 4199 4200 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4201 4202commit f29afe65b67c9b89ceba421d9b3aee590f7ded20 4203Author: Ben Skeggs <bskeggs@redhat.com> 4204Date: Mon Nov 29 09:23:35 2010 +1000 4205 4206 dri2: don't return failure from get_msc if sync-to-vblank isn't available 4207 4208 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4209 4210commit 4b1d26578116f4d1745dd92a7c99413972a2bedf 4211Author: Francisco Jerez <currojerez@riseup.net> 4212Date: Thu Nov 25 21:33:46 2010 +0100 4213 4214 dri2: Don't return failure from schedule_wait if sync-to-vblank is unavailable. 4215 4216 Reported-by: Ben Skeggs <bskeggs@redhat.com> 4217 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4218 4219commit 1143e7a97dce1b741376e178b73b8b766e03849a 4220Author: Jesse Adkins <jesserayadkins@gmail.com> 4221Date: Tue Oct 26 16:05:32 2010 -0700 4222 4223 Purge cvs tags. 4224 4225 Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> 4226 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4227 4228commit 22020457f43eceaf26532ecb50e46d743f4a691f 4229Author: Francisco Jerez <currojerez@riseup.net> 4230Date: Tue Oct 26 00:24:06 2010 +0200 4231 4232 dri2: Fix throttling on occluded drawables. 4233 4234 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4235 4236commit 9737a812aacbc544b93eeaa031cf1c2e8adbd661 4237Author: Ben Skeggs <bskeggs@redhat.com> 4238Date: Mon Oct 25 10:37:08 2010 +1000 4239 4240 kms: initial pass at supporting zaphod-mode 4241 4242 This works ok from some simple testing, there's undoubtedly things that 4243 will need polishing still however. 4244 4245 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4246 4247commit d40c16f5497739c0215f37566db1651a74cb20ba 4248Author: Francisco Jerez <currojerez@riseup.net> 4249Date: Sat Oct 23 02:20:30 2010 +0200 4250 4251 dri2: Fix build on X server 1.8. 4252 4253 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4254 4255commit a4d580bf05d7aac1d486e5d1ba9a2201c026e5f5 4256Author: Francisco Jerez <currojerez@riseup.net> 4257Date: Fri Oct 22 23:09:30 2010 +0200 4258 4259 Bump the required X server version to 1.8. 4260 4261 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4262 4263commit d0f2e16bc35660d01d3cd20a770cf8e613ab5323 4264Author: Francisco Jerez <currojerez@riseup.net> 4265Date: Fri Oct 22 23:06:28 2010 +0200 4266 4267 dri2: Report damage on page-flipped drawables. 4268 4269 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4270 4271commit c61e8d03161adcfbba4162172153814accf9e86b 4272Author: Francisco Jerez <currojerez@riseup.net> 4273Date: Fri Oct 22 23:05:24 2010 +0200 4274 4275 Make the sync-to-vblank helpers take a box as argument. 4276 4277 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4278 4279commit a685a5c3be12f3e95a6ec1140af115e7ef28fcaa 4280Author: Francisco Jerez <currojerez@riseup.net> 4281Date: Wed Oct 13 18:45:04 2010 +0200 4282 4283 dri2: Implement the ScheduleWaitMSC/GetMSC hooks. 4284 4285 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4286 4287commit eb83c830c87bce345748edef3b50660246143db7 4288Author: Francisco Jerez <currojerez@riseup.net> 4289Date: Thu Oct 21 22:57:08 2010 +0200 4290 4291 dri2: Add pageflip/exchange support. 4292 4293 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4294 4295commit c88f13e25b0040c1dd0f93e0ac40f62a6005ce59 4296Author: Francisco Jerez <currojerez@riseup.net> 4297Date: Thu Oct 14 22:25:50 2010 +0200 4298 4299 Allocate a tiled scanout on pre-nv50 too. 4300 4301 Pageflip between tiled and non-tiled surfaces isn't such a good idea. 4302 4303 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4304 4305commit 4642d71bdffc04ce0dd458225541940c65f5443d 4306Author: Francisco Jerez <currojerez@riseup.net> 4307Date: Thu Oct 14 22:17:58 2010 +0200 4308 4309 dri2: Give out buffers ready for scanout. 4310 4311 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4312 4313commit 75daada678d03d2e162f8003a6f2edcbe0525f92 4314Author: Francisco Jerez <currojerez@riseup.net> 4315Date: Thu Oct 14 22:32:54 2010 +0200 4316 4317 Restructure tiled pixmap allocation in a single place. 4318 4319 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4320 4321commit 70f0d2c886ceaa965ca4864788f4dd8e8f757a92 4322Author: Francisco Jerez <currojerez@riseup.net> 4323Date: Thu Oct 21 22:55:02 2010 +0200 4324 4325 dri2: Add sync-to-vblank support. 4326 4327 Note that you need a recent enough kernel for it to work. Use the 4328 "GLXVBlank" option to enable it (it defaults to disabled for now). 4329 4330 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4331 4332commit 72dd4899ff036b09e3680ed2e09b3dbae3a7ba71 4333Author: Francisco Jerez <currojerez@riseup.net> 4334Date: Thu Oct 21 22:31:45 2010 +0200 4335 4336 nv04-nv40/exa: Make the copy hook blit downwards for non-overlapping regions. 4337 4338 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4339 4340commit 21ed642d3f76f286f23cd64ca817038ec94a1bf6 4341Author: Francisco Jerez <currojerez@riseup.net> 4342Date: Wed Oct 13 18:22:22 2010 +0200 4343 4344 Make the sync-to-vblank helpers more consistent. 4345 4346 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4347 4348commit 258e483d47f0f63155be18981c1118261f7675a8 4349Author: Francisco Jerez <currojerez@riseup.net> 4350Date: Thu Oct 21 22:41:24 2010 +0200 4351 4352 kms: Register a wakeup handler to poll vblank/pageflip/udev events. 4353 4354 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4355 4356commit 4f42708c26fa57bac7854701a6e757958c8d0654 4357Author: Francisco Jerez <currojerez@riseup.net> 4358Date: Sun Oct 10 04:39:27 2010 +0200 4359 4360 Update to the last libdrm API. 4361 4362 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4363 4364commit 8c8f15c9d3a31c35bf2ef20faf8c4133295a678f 4365Author: Francisco Jerez <currojerez@riseup.net> 4366Date: Sun Oct 10 04:36:17 2010 +0200 4367 4368 nv10-nv40/exa: Fix tiled pixmap pitch alignment calculation. 4369 4370 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4371 4372commit a47c274f329b3b8bfbdcf155d6d832599d823dc8 4373Author: Francisco Jerez <currojerez@riseup.net> 4374Date: Sun Oct 10 04:43:25 2010 +0200 4375 4376 Fix for the last xserver ABI. 4377 4378 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4379 4380commit 9a5142fae6e1a0a470352f511427916e6fa01b9c 4381Author: Maarten Maathuis <madman2003@gmail.com> 4382Date: Fri Aug 27 21:11:59 2010 +0200 4383 4384 nv50/exa: Stop using wfb by default, but add an option to enable it. 4385 4386 - Some scenarios, such as those heavy in core font rendering might prefer wfb. 4387 - Other (modern) situations are better of with wfb disabled. 4388 4389 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4390 4391commit d5a6f103113985c50bbe749ed341de34af1b47a5 4392Author: Francisco Jerez <currojerez@riseup.net> 4393Date: Tue Sep 28 21:49:48 2010 +0200 4394 4395 dri2: Throttle frontbuffer flushes. 4396 4397 There was no need for throttling until the hardware interchannel sync 4398 kernel changes because the pushbuf IOCTL blocked to sync the GL and X 4399 channels anyway. 4400 4401 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4402 4403commit f1ac413d1d3dec2ccf63d4a8c79b9bd9ea578dcf 4404Author: Ben Skeggs <bskeggs@redhat.com> 4405Date: Mon Sep 20 08:05:00 2010 +1000 4406 4407 nv50: use 0x8697 on NVAF 4408 4409 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4410 4411commit 14c93acfc3fde04415e1c6a2a056465d15c86315 4412Author: Ben Skeggs <bskeggs@redhat.com> 4413Date: Fri Sep 17 13:17:37 2010 +1000 4414 4415 noaccel: fix rotation, as well as an assert during server shutdown 4416 4417 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4418 4419commit 065576d5df0df4da61050d789f548801656b62d5 4420Author: Ben Skeggs <bskeggs@redhat.com> 4421Date: Thu Aug 26 13:22:33 2010 +1000 4422 4423 dri2: remove explit flush from copy_region() 4424 4425 Unnecessary now that we kickoff from within the flush callback chain. 4426 4427 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4428 4429commit 34025f0dc9284873d4bf7e4f547ed69fc562a3c9 4430Author: Ben Skeggs <bskeggs@redhat.com> 4431Date: Thu Aug 26 13:19:39 2010 +1000 4432 4433 kickoff from the flush callback chain 4434 4435 This is a port of intel commit: 69d65f9184006eac790efcff78a0e425160e95aa 4436 4437 Submit batch buffers from flush callback chain 4438 4439 There are a few cases where the server will flush client output buffers 4440 but our block handler only catches the most common (before going into select 4441 If the server flushes client buffers before we submit our batch buffer, 4442 the client may receive a damage event for rendering that hasn't happened yet 4443 4444 Instead, we can hook into the flush callback chain, which the server will 4445 invoke just before flushing output. This lets us submit batch buffers 4446 before sending out events, preserving ordering. 4447 4448 Fixes 28438: [bisected] incorrect character in gnome-terminal under compiz 4449 https://bugs.freedesktop.org/show_bug.cgi?id=28438 4450 4451 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> 4452 4453 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4454 4455commit 390f1c86d9583f4ceabd407ee47410073c2a1b55 4456Author: Ben Skeggs <bskeggs@redhat.com> 4457Date: Fri Aug 20 09:48:32 2010 +1000 4458 4459 nv50/xv: support UYVY 4460 4461 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4462 4463commit 00d390952c912d4e9fc2c962caaeb90bf563d5b1 4464Author: Maarten Maathuis <madman2003@gmail.com> 4465Date: Fri Aug 13 22:24:26 2010 +0200 4466 4467 nv50/xv: Fix the uncommon codepath to use width/height variable. 4468 4469 - The common codepath should be the correct one, because that is 4470 triggered often, while the other is rare. 4471 - This isn't neccesarily a problem, but let's be on the safe side. 4472 4473 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4474 4475commit f5b486dd237679aec1987985f9ecffc6a4fd3105 4476Author: Maarten Maathuis <madman2003@gmail.com> 4477Date: Fri Aug 13 22:16:51 2010 +0200 4478 4479 nv50/xv: We have 18 relocs, not 16, adjust MARK_RING. 4480 4481 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4482 4483commit 1cb6c91a9afe88d73f8a1180b00f56a9150a16ed 4484Author: Roy Spliet <r.spliet@student.tudelft.nl> 4485Date: Sat Aug 7 20:59:06 2010 +0200 4486 4487 nouveau_exa.c: move line_count logic out of UTS/DFS loop 4488 4489 Signed-off-by: Roy Spliet <r.spliet@student.tudelft.nl> 4490 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4491 4492commit 9f50b62229d5984ee5c16bc54953c7f8e2d5e575 4493Author: Ben Skeggs <bskeggs@redhat.com> 4494Date: Fri Aug 6 08:28:34 2010 +1000 4495 4496 nvc0: recognise these chipsets, and allow NoAccel mode on them 4497 4498 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4499 4500commit b96170a4e51c1d3167601210ca31e98283c02885 4501Author: Francisco Jerez <currojerez@riseup.net> 4502Date: Thu Aug 5 00:40:40 2010 +0200 4503 4504 nv10/exa: Bump maxX/maxY to 4096/4096. 4505 4506 This way we can do accelerated 2D on larger pixmaps, it will still 4507 fall back to software when we hit the 2048x2048 texturing limit in a 4508 composite operation. 4509 4510commit 321eb2df5c8b1da4d6469037dd1d8888b508fabd 4511Author: Francisco Jerez <currojerez@riseup.net> 4512Date: Wed Aug 4 13:11:24 2010 +0200 4513 4514 Revert "nv04-nv40/exa: Match the blob behavior more closely on PrepareCopy." 4515 4516 This reverts commit 9de0d97bd2fc2ee8800d48b5340a3d495525ad3e. Unnecessary 4517 after kernel commit "drm/nouveau: Ack the context switch interrupt before 4518 switching contexts.". 4519 4520commit db98ad23633958e52f84501c5a2061d42d346b64 4521Author: Francisco Jerez <currojerez@riseup.net> 4522Date: Tue Jun 15 15:32:36 2010 +0200 4523 4524 dri2: Fix for the last DRI2InfoRec ABI. 4525 4526 Just pre-fill the whole structure with zeros to avoid future 4527 segfaults. 4528 4529commit 9a3d0ab43f6335ab6cd48be4aa2f4f728386b386 4530Author: Ben Skeggs <bskeggs@redhat.com> 4531Date: Fri Jun 11 21:58:38 2010 +1000 4532 4533 call NVEnterVT from CreateScreenResources 4534 4535 We need to grab DRM master here for things to work, so we may as well call 4536 NVEnterVT as we used to in NVScreenInit up until the previous commit. 4537 4538 Fixes server regeneration. 4539 4540commit 964eeac6dc2209da6aa8861aa8b0bc028700ab3d 4541Author: Ben Skeggs <bskeggs@redhat.com> 4542Date: Thu Jun 10 09:38:19 2010 +1000 4543 4544 fix for server 1.9 4545 4546commit c079408e287ad09e954fa3985f95912c02cf06bc 4547Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4548Date: Thu Jun 10 01:07:49 2010 +0200 4549 4550 nv50/accel: fix perspective interps in YUV to RGB shader 4551 4552commit 65153490f7d74d45a92adbd9c5e2bbe11c884b00 4553Author: Ben Skeggs <bskeggs@redhat.com> 4554Date: Wed Jun 9 16:12:28 2010 +1000 4555 4556 use libc directly for [cm]alloc/free 4557 4558commit 2958cf464dca9761f0fa21c8dd2d8fa8c8a96791 4559Author: Ben Skeggs <bskeggs@redhat.com> 4560Date: Thu May 27 10:06:47 2010 +1000 4561 4562 nv50/exa: rip out compat defines, we depend on 1.7 anyway 4563 4564commit af40bf0af47ebcb7de2dc418429f0b56f8c04d15 4565Author: Ben Skeggs <bskeggs@redhat.com> 4566Date: Wed May 26 16:11:01 2010 +1000 4567 4568 nv50/exa: new nouveau_class.h has correct blend func defines 4569 4570commit 8950c5b2a0d318e2568bec38a39d744b968c9b85 4571Author: Ben Skeggs <bskeggs@redhat.com> 4572Date: Wed May 26 16:09:48 2010 +1000 4573 4574 update nouveau_class.h 4575 4576commit 4b8f1a082069a17555d4142003213cf83d4e5464 4577Author: Lubomir Rintel <lkundrak@v3.sk> 4578Date: Mon May 10 09:25:55 2010 +0200 4579 4580 Handle startup without monitor attached more gracefully 4581 4582 Refuse to configure a screen which has no valid modes. Otherwise X server 4583 would crash attempting to dereference to modes list later on. 4584 4585 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4586 4587commit ac8f8d14a82ae8ba5b41fa88903edcad67f339c2 4588Author: Maarten Maathuis <madman2003@gmail.com> 4589Date: Fri May 7 20:51:43 2010 +0200 4590 4591 wfb: use 28 bits instead of 32 bits for multiply_factor optimisation 4592 4593 - Avoiding division in a hot code path is noticable even on an otherwise idle 4594 computer, but it's subject to rounding errors. If anyone knows a corner case 4595 and has better ideas, don't hesitate to contact me. For the moment this should 4596 make the problem less likely to trigger. 4597 4598 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4599 4600commit 13c10430ba8f7b0edff3ad8aae4a97672eea4a8f 4601Author: Ben Skeggs <bskeggs@redhat.com> 4602Date: Fri Apr 23 14:09:35 2010 +1000 4603 4604 Bump version number to 0.0.16 4605 4606 Forgotten when the ABI broke a while back.. 4607 4608commit 6ff8ade0c7cd835b4172257ea310a8d88f28e757 4609Author: Ben Skeggs <bskeggs@redhat.com> 4610Date: Fri Apr 16 16:09:51 2010 +1000 4611 4612 Add uevent support 4613 4614 When a hotplug event is received from the kernel we should notify the 4615 client side to reconfigure the display. 4616 4617 Ported to nouveau from radeon driver, based on work by ajax in intel driver. 4618 4619commit 4063616938f76af8028491276039d422c0782b1b 4620Author: Ben Skeggs <bskeggs@redhat.com> 4621Date: Fri Apr 9 20:43:51 2010 +1000 4622 4623 Import latest nouveau_class.h from renouveau 4624 4625commit bfb95cc0ca600135474ff02a99889b09d41b3c80 4626Author: Rico Tzschichholz <ricotz@t-online.de> 4627Date: Thu Apr 1 20:39:23 2010 +0200 4628 4629 Fix "make dist". 4630 4631 - remove README.NV1 reference from Makefile.am 4632 - add nv_rop.h to src/Makefile.am 4633 4634 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4635 4636commit 2462b417fc550b71f021ca9736808f8f2d1cb6f0 4637Author: Ben Skeggs <skeggsb@beleth.localdomain> 4638Date: Mon May 4 17:04:34 2009 +1000 4639 4640 xv: only use bicubic filtering when scaling >=2x 4641 4642commit e2146d3b29a4bea3d584c145e3190c3313692ed9 4643Author: Francisco Jerez <currojerez@riseup.net> 4644Date: Thu Mar 18 14:32:54 2010 +0100 4645 4646 Fix for the latest nouveau_class.h. 4647 4648 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4649 4650commit 7858345b6b384e88902ccc516715156401edec04 4651Author: Ben Skeggs <bskeggs@redhat.com> 4652Date: Tue Mar 16 13:08:37 2010 +1000 4653 4654 nv50: fix texturing from >=4GiB mark 4655 4656commit 6b8b15731b7610c9d8fb3625861797a0c9fd9546 4657Author: Xavier Chantry <chantry.xavier@gmail.com> 4658Date: Fri Mar 5 00:53:47 2010 +0100 4659 4660 Remove leftover in man page and nv_const.h 4661 4662 Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> 4663 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4664 4665commit c642b9f7a13bdeecd0a83ddcbf6d6d4f2c287501 4666Author: Francisco Jerez <currojerez@riseup.net> 4667Date: Fri Mar 5 14:27:08 2010 +0100 4668 4669 kms: Don't try to copy fbcon contents when there's no framebuffer bound. 4670 4671 drmModeGetFB complains loudly when it's given an invalid framebuffer 4672 id, bail out earlier if that's the case. 4673 4674 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4675 4676commit efd7a526ca1cbac10b33b9d5d4cf3e542bc9b73b 4677Author: Ben Skeggs <bskeggs@redhat.com> 4678Date: Thu Feb 25 09:32:49 2010 +1000 4679 4680 fix typo 4681 4682commit 70d0a48b6c3f1a817bf850acd3bae48d063e56b9 4683Author: Ben Skeggs <bskeggs@redhat.com> 4684Date: Tue Feb 23 15:08:13 2010 +1000 4685 4686 Protect against potential crash for unknown connector types 4687 4688commit 83bbeea0d842094dd647e754608420a404eef6e3 4689Author: Ben Skeggs <bskeggs@redhat.com> 4690Date: Tue Feb 23 15:03:38 2010 +1000 4691 4692 Add connector name for eDP 4693 4694commit 29647021044463768cbfa3eead1416ef1cf27fa1 4695Author: Ben Skeggs <bskeggs@redhat.com> 4696Date: Thu Feb 18 14:17:57 2010 +1000 4697 4698 remove drm patchlevel check, libdrm checks this for us 4699 4700commit 9b4118d6d1fa488db86cd7d2875beea9cdefb096 4701Author: Francisco Jerez <currojerez@riseup.net> 4702Date: Wed Feb 10 18:43:39 2010 +0100 4703 4704 Revert "kms: work around some bong hits with dpms" 4705 4706 This reverts commit 98c9e4edb58374f18249e5c9c53b392fb8b4a1d1. AFAIK 4707 it's no longer needed. 4708 4709 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4710 4711commit f7deabfec0dcec4f203f85cd8494a70fe8fa6ebb 4712Author: Ben Skeggs <bskeggs@redhat.com> 4713Date: Thu Feb 11 08:39:49 2010 +1000 4714 4715 Pass pScreen to drmmode_fbcon_copy() 4716 4717commit 43524fcbb786c5b9e9ec25776560790aec208719 4718Author: Francisco Jerez <currojerez@riseup.net> 4719Date: Wed Feb 10 17:58:24 2010 +0100 4720 4721 dri2: Fix crashes on server regeneration. 4722 4723 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4724 4725commit f50577c117c82eea05e750fecd1ff5653105c648 4726Author: Francisco Jerez <currojerez@riseup.net> 4727Date: Wed Feb 10 13:23:46 2010 +0100 4728 4729 kms: Clean up the set_mode_major hook. 4730 4731 The X server already takes care of restoring the previous CRTC 4732 parameters after a failed mode set. As a bonus this patch fixes 4733 RandR13 projective transforms. 4734 4735 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4736 4737commit b16792b553dee41fc81d74c6e453832807e36368 4738Author: Marcin Kościelnicki <koriakin@0x04.net> 4739Date: Tue Feb 9 20:51:17 2010 +0000 4740 4741 Remove some UMS leftovers. 4742 4743 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4744 4745commit c56bce93f120d0ff18895149d1984896372cdd60 4746Author: Francisco Jerez <currojerez@riseup.net> 4747Date: Wed Feb 10 12:31:54 2010 +0100 4748 4749 kms: Don't pretend it works on xserver-1.5. 4750 4751 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4752 4753commit 0917665d1f2f1e76b6a0e7a4c027512f9f45f41b 4754Author: Francisco Jerez <currojerez@riseup.net> 4755Date: Wed Feb 10 11:48:47 2010 +0100 4756 4757 kms: Kill nv_cursor_convert_cursor. 4758 4759 Well, mostly, the remaining pitch conversion will be unnecessary soon. 4760 4761 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4762 4763commit e75dd23bd28f636b4c1759633d8dbc775e799add 4764Author: Marcin Kościelnicki <koriakin@0x04.net> 4765Date: Fri Feb 5 18:09:55 2010 +0100 4766 4767 nv50/accel: Fix mangled A8+A8 shader. 4768 4769 Turns out we used a misaligned long instruction near the end, and the 4770 shader was getting killed after writing R, A components. This has gone 4771 unnoticed since the remaining G, B outputs aren't actually used. 4772 4773commit 41fc1fdec47fa824c598e1f3d828f4c8c4a2cb71 4774Author: Marcin Kościelnicki <koriakin@0x04.net> 4775Date: Sun Jan 31 19:29:32 2010 +0000 4776 4777 Update to new nouveau_class.h 4778 4779 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4780 4781commit c94544c83ef84e96f8d132ac9ff9296c22c4468e 4782Author: Francisco Jerez <currojerez@riseup.net> 4783Date: Sun Jan 31 18:26:03 2010 +0100 4784 4785 nv10/exa: Fix up nv11 accel. 4786 4787 Fixes an off-by-one error made when UMS was removed. 4788 4789 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4790 4791commit a397b94e32e6b0109096aba09bbe7b5dcfdd8231 4792Author: Francisco Jerez <currojerez@riseup.net> 4793Date: Sun Jan 31 18:11:06 2010 +0100 4794 4795 dri2: Fix for the new DRI2InfoRec ABI. 4796 4797 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4798 4799commit 8b5c67145a9c29cd4c82f411f15e57723d76d0c0 4800Author: Francisco Jerez <currojerez@riseup.net> 4801Date: Sun Jan 31 17:43:54 2010 +0100 4802 4803 nv10/exa: Fix build after the last nouveau_class.h changes. 4804 4805 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4806 4807commit 2630a1553d560ce2c7391bc103d4a543f7d3d0da 4808Author: Marcin Kościelnicki <koriakin@0x04.net> 4809Date: Wed Jan 20 07:46:32 2010 +0000 4810 4811 Remove nv_dripriv.h, nv_local.h 4812 4813commit 2d341f7e0a0dc70a28c6091ef6919fc6c0d60561 4814Author: Ben Skeggs <bskeggs@redhat.com> 4815Date: Thu Jan 21 14:58:37 2010 +1000 4816 4817 xv: use nouveau_bo_new_tile() 4818 4819commit 2a76ff1106ee8c76bd2e16a4954b3c05714d1db3 4820Author: David Heidelberger <d.okias@gmail.com> 4821Date: Mon Jan 18 11:50:19 2010 +0100 4822 4823 Remove deprecated NV1 readme 4824 4825commit fe484a9b635ad56afec7be086a56c692b00dd6d1 4826Author: Ben Skeggs <bskeggs@redhat.com> 4827Date: Wed Jan 13 16:14:41 2010 +1000 4828 4829 exa: remove nouveau_pixmap_offset() 4830 4831 Completely useless now we don't have to try and support non-driver pixmaps. 4832 4833 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4834 4835commit bbf79469a878a8ab5b4c07faadcfdc8d85ceac83 4836Author: Ben Skeggs <bskeggs@redhat.com> 4837Date: Wed Jan 13 16:07:13 2010 +1000 4838 4839 exa: remove nouveau_exa_pixmap_{map,unmap} 4840 4841 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4842 4843commit 18e3a649f7df73bc1e6d199ecf7a62ddcfe37d6e 4844Author: Ben Skeggs <bskeggs@redhat.com> 4845Date: Wed Jan 13 14:26:04 2010 +1000 4846 4847 Check for drm+kms availability in NVPciProbe() 4848 4849 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4850 4851commit 6267b85460ef364aa51a7d33006940bb00a049d9 4852Author: Ben Skeggs <bskeggs@redhat.com> 4853Date: Wed Jan 13 12:03:14 2010 +1000 4854 4855 bump xorg-server requirement to 1.7 4856 4857 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4858 4859commit da5c0dc6040096fd12ddb6a04a22fada89115ccb 4860Author: Ben Skeggs <bskeggs@redhat.com> 4861Date: Mon Jan 11 13:23:06 2010 +1000 4862 4863 remove more unused code 4864 4865 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4866 4867commit 104b3ea842d4cebd993d3e7e9d55ebcadae0cf28 4868Author: Ben Skeggs <bskeggs@redhat.com> 4869Date: Mon Jan 11 12:59:12 2010 +1000 4870 4871 exa: Remove non-driver pixmaps path 4872 4873 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4874 4875commit e8798d91eedc5d8337223b2257ca607da8a197de 4876Author: Ben Skeggs <bskeggs@redhat.com> 4877Date: Mon Jan 11 12:48:00 2010 +1000 4878 4879 Remove pNv->NVArch 4880 4881 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4882 4883commit 7a6f785de1732ec0af429a0b66d5d6ba45427dcb 4884Author: Ben Skeggs <bskeggs@redhat.com> 4885Date: Mon Jan 11 12:00:19 2010 +1000 4886 4887 Remove pNv->Chipset use 4888 4889 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4890 4891commit 68c1f908be5739692c9f0bde9c23f3dc2a7210ea 4892Author: Ben Skeggs <bskeggs@redhat.com> 4893Date: Mon Jan 11 11:56:19 2010 +1000 4894 4895 remove pNv->VRAMPhysical 4896 4897 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4898 4899commit 06499197d6eb07a272a1812e1c8bce886798a1d7 4900Author: Ben Skeggs <bskeggs@redhat.com> 4901Date: Mon Jan 11 11:51:14 2010 +1000 4902 4903 dri1: remove DRI1 support 4904 4905 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4906 4907commit 6975651b0b74dca6edaee759fb1003f65189f1df 4908Author: Ben Skeggs <bskeggs@redhat.com> 4909Date: Mon Jan 11 10:07:11 2010 +1000 4910 4911 xv: ifdef out another problematic piece of overlay support for the moment 4912 4913commit 17485c234ff191cee3dd19e3dd693a80b024e189 4914Author: Ben Skeggs <bskeggs@redhat.com> 4915Date: Wed Jan 6 14:58:15 2010 +1000 4916 4917 Initial pass at removal of non-KMS support. 4918 4919 It's likely there's a lot more that can be cleaned up/removed as a result 4920 of this, we can handle that as we come across it. 4921 4922 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4923 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4924 Acked-by: Maarten Maathuis <madman2003@gmail.com> 4925 4926commit 061cb284b93612848296599759b915a4d66b6d01 4927Author: Maarten Maathuis <madman2003@gmail.com> 4928Date: Sun Jan 3 02:14:36 2010 +0100 4929 4930 exa: Some compat defines for new pixman formats. 4931 4932 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4933 4934commit 8ca5a7383aad0e0557b3c9a1e9edd5431cd509fc 4935Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4936Date: Wed Dec 30 21:46:04 2009 +0100 4937 4938 start using BEGIN_RING_NI 4939 4940commit b259b7ce5e57e1d20111878318b4703a14ec27ec 4941Author: Maarten Maathuis <madman2003@gmail.com> 4942Date: Fri Jan 1 20:16:13 2010 +0100 4943 4944 nv50: always set semaphore handle and offset 4945 4946 - This is in preperation of using semaphores for more than one thing. 4947 4948 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 4949 4950commit 8deeed25014b36f8d60f25c7ea2509d88fcb52ae 4951Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4952Date: Mon Dec 28 18:39:16 2009 +0100 4953 4954 nv50: upgrade nv50_texture.h 4955 4956 - copy changes from mesa/src/gallium/drivers/nv50/nv50_texture.h 4957 - remove 2 redefinitions 4958 - fix R<->B rename (see df189c9efc0fbcdce816af483f0147ab635280d1 4959 (nv50: TIC/TSC fixes and additions) in mesa repo) 4960 4961commit 1877ee268774443a58a7bb73244bd70c82d67879 4962Author: Marcin Slusarz <marcin.slusarz@gmail.com> 4963Date: Thu Dec 24 21:29:10 2009 +0100 4964 4965 nv50/exa: add support for more color formats 4966 4967commit 8b3753fc34e3557b91c3bdebe7c8addfb148b3bd 4968Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 4969Date: Wed Dec 30 18:28:25 2009 +0100 4970 4971 nv50: check drawable.bitsPerPixel instead of depth to get format 4972 4973commit 920a346e14cdc40efe9e89c3583d8e573e7e2f87 4974Author: Marcin Kościelnicki <koriakin@0x04.net> 4975Date: Mon Dec 28 16:11:51 2009 +0000 4976 4977 nv50: Dehexify and bring up to date with new method defines. 4978 4979 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4980 4981commit 7c72ac1f47e19af97c997f57012e3af12f941894 4982Author: Francisco Jerez <currojerez@riseup.net> 4983Date: Sat Dec 26 15:56:58 2009 +0100 4984 4985 nv10/exa: Fix for the latest nouveau_class.h changes. 4986 4987 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4988 4989commit 6992d0e7a0cb3c32b16af0b724246e44f7a35d7e 4990Author: Francisco Jerez <currojerez@riseup.net> 4991Date: Thu Dec 17 19:13:08 2009 +0100 4992 4993 dri: Use classic mesa on the fixed pipe cards. 4994 4995 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 4996 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 4997 4998commit 87b9916dd4b471a9b8b02f166f6553f04f219769 4999Author: Maarten Maathuis <madman2003@gmail.com> 5000Date: Wed Dec 23 21:53:36 2009 +0100 5001 5002 kms: Remove the one-off offset of connector names compared to the kernel. 5003 5004 - Seeing DVI-I-0 in xrandr and DVI-I-1 in the kernel logs can be a source of 5005 confusion. 5006 5007 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 5008 5009commit bb1947831d9a4e080b8d1e9dba086af6527ef479 5010Author: Ben Skeggs <bskeggs@redhat.com> 5011Date: Thu Dec 17 13:08:34 2009 +1000 5012 5013 Revert "exa: map the pixmap bo after creation to ensure a useable driver pixmap" 5014 5015 This reverts commit 740c9f3e79729e4e06c693e66826afbad9bd1ce5. 5016 5017 To get the same effect as this commit, update to latest libdrm git. 5018 5019commit 03c7d675f6d12886b6bca8e0375888ecf1b393df 5020Author: Francisco Jerez <currojerez@riseup.net> 5021Date: Fri Dec 11 15:47:05 2009 +0100 5022 5023 dri2: Make the render targets tiled for pre-G80 cards. 5024 5025 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5026 5027commit 963aaeff6b414f371eff3e8ce016f7707c60f7c0 5028Author: Francisco Jerez <currojerez@riseup.net> 5029Date: Fri Dec 11 15:44:47 2009 +0100 5030 5031 exa: Pre-G80 tiling support. 5032 5033 For now, pixmaps will only be tiled if driver pixmaps is being used 5034 and we're told to with the NOUVEAU_CREATE_PIXMAP_TILED usage hint. 5035 5036 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5037 5038commit 41d8d511124fcbe83a3cc68aaf22c3ce0fb4eb8a 5039Author: Francisco Jerez <currojerez@riseup.net> 5040Date: Mon Dec 14 00:51:17 2009 +0100 5041 5042 kms: Allow interlaced/doublescan modes. 5043 5044 After bcafdfbed6 (an X server commit) we have to explicitly state we 5045 can handle them. 5046 5047 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5048 5049commit 740c9f3e79729e4e06c693e66826afbad9bd1ce5 5050Author: Maarten Maathuis <madman2003@gmail.com> 5051Date: Sat Dec 12 22:27:30 2009 +0100 5052 5053 exa: map the pixmap bo after creation to ensure a useable driver pixmap 5054 5055 - Large pixmaps (think of 8000x8000 pixmaps on NV50) will cause crashes 5056 otherwise because exa assumes driver pixmaps to be mappable. Handling this 5057 elsewhere is problematic. 5058 5059 Signed-off-by: Maarten Maathuis <madman2003@gmail.com> 5060 5061commit 0b5120cf8ef2528a15d88054afdc6fc33eb521f5 5062Author: Ben Skeggs <skeggsb@beleth.(none)> 5063Date: Mon Dec 7 15:31:53 2009 +1000 5064 5065 Allow texturing from GART 5066 5067 Unfortunately NV_CONTEXT_SURFACES_2D on most cards (probably only PCIE cards 5068 work actually, but that's not confirmed) rejects a GART DMA object, so the 5069 usefulness is a bit more limited than I'd hoped. 5070 5071commit 60a394222b410da8bb832935fc525132218b4d94 5072Author: Ben Skeggs <bskeggs@redhat.com> 5073Date: Thu Dec 3 21:14:00 2009 +1000 5074 5075 nv50: avoid touching 0x16b0 on 0x8597, it causes a DATA_ERROR from the GPU 5076 5077 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5078 5079commit 95fc663d5fb653fc0a50aa4d589bbf3b9c79e928 5080Author: Ben Skeggs <bskeggs@redhat.com> 5081Date: Thu Nov 26 13:10:45 2009 +1000 5082 5083 shadowfb: fix segv on fb resize 5084 5085 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5086 5087commit 1cf0cfa926dd78698ff8b8c2d776bcdaa6a867bd 5088Author: Ben Skeggs <bskeggs@redhat.com> 5089Date: Thu Nov 26 10:04:43 2009 +1000 5090 5091 kms: zfill fb if we have no accel to do copy, better than random garbage 5092 5093commit 92578fb4db0feb549bea82d0874ba0e39a2b1ae2 5094Author: Francisco Jerez <currojerez@riseup.net> 5095Date: Thu Nov 5 18:30:28 2009 +0100 5096 5097 nv10/exa: Rename VIEWPORT_SCALE to VIEWPORT_TRANSLATE. 5098 5099 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5100 5101commit 9de0d97bd2fc2ee8800d48b5340a3d495525ad3e 5102Author: Francisco Jerez <currojerez@riseup.net> 5103Date: Thu Nov 5 13:29:09 2009 +0100 5104 5105 nv04-nv40/exa: Match the blob behavior more closely on PrepareCopy. 5106 5107 Fix a somewhat indeterministic corruption problem on nv17 when there 5108 is stuff going on the other fifos (e.g. gallium but I've also 5109 reproduced it with an app just SIFM-ing memory around): in some cases 5110 it made the blits the X server had scheduled fail corrupting the 5111 nearby screen areas. 5112 5113 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5114 Reviewed-by: Ben Skeggs <bskeggs@redhat.com> 5115 5116commit 16ef9ff7e394a693fc74764d8bc2630e784947f3 5117Author: Francisco Jerez <currojerez@riseup.net> 5118Date: Thu Nov 5 03:28:00 2009 +0100 5119 5120 nv10/exa: Spring-cleaning 5121 5122 * Kill the A8+A8 hack. Recent enough X servers (>=1.7) fall back to 5123 ARGB glyphs for drivers not supporting A8 render targets. 5124 5125 * Kill all the global state. It doesn't matter a lot yet but it might 5126 if we get multicard working at some point. 5127 5128 * Other random clean-ups with no functional changes. 5129 5130 Some numbers from x11perf -aa10text -aa24text -comppixwin10 -comppixwin500: 5131 5132 * Before, with A glyphs: 5133 12000000 trep @ 0.0025 msec (394000.0/sec): Char in 80-char aa line (Charter 10) 5134 3200000 trep @ 0.0119 msec ( 84300.0/sec): Char in 30-char aa line (Charter 24) 5135 8000000 trep @ 0.0036 msec (280000.0/sec): Composite 10x10 from pixmap to window 5136 60000 trep @ 0.4813 msec ( 2080.0/sec): Composite 500x500 from pixmap to window 5137 5138 * After, ARGB glyphs: 5139 20000000 trep @ 0.0015 msec (649000.0/sec): Char in 80-char aa line (Charter 10) 5140 4800000 trep @ 0.0057 msec (175000.0/sec): Char in 30-char aa line (Charter 24) 5141 8000000 trep @ 0.0036 msec (280000.0/sec): Composite 10x10 from pixmap to window 5142 60000 trep @ 0.4813 msec ( 2080.0/sec): Composite 500x500 from pixmap to window 5143 5144 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5145 Tested-by: Pekka Paalanen <pq@iki.fi> 5146 5147commit e1c2efd7e7703f5860e5fe99e0413e3be10576d4 5148Author: Ben Skeggs <bskeggs@redhat.com> 5149Date: Thu Nov 5 13:04:17 2009 +1000 5150 5151 kms: don't update drmmode_output->mode_output when vtSema is FALSE 5152 5153 Fixes fast user switching issues. 5154 5155 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5156 5157commit aed811e71b544dccfe84671f962503342acb75ab 5158Author: Ben Skeggs <bskeggs@redhat.com> 5159Date: Wed Nov 4 18:03:12 2009 +1000 5160 5161 exa/nv10: handle reloc failures 5162 5163commit 5315034b7d46980a3527c814526857aed3bc98f7 5164Author: Ben Skeggs <skeggsb@beleth.(none)> 5165Date: Wed Nov 4 16:52:02 2009 +1000 5166 5167 xv/nv04: handle reloc failures + fail on bad surface format 5168 5169commit 99b1bf3d3e6b8c8ef2aa4aae3e33f3908cd00dab 5170Author: Ben Skeggs <skeggsb@beleth.(none)> 5171Date: Wed Nov 4 16:46:35 2009 +1000 5172 5173 xv/nv40: don't even try with unknown surface format 5174 5175commit c1447574a025416f92f8dec2c361859c3945db92 5176Author: Ben Skeggs <skeggsb@beleth.(none)> 5177Date: Wed Nov 4 16:46:18 2009 +1000 5178 5179 xv/nv40: handle reloc failures 5180 5181commit 6ca14ba77104542a2915af8dca56236646be139a 5182Author: Ben Skeggs <skeggsb@beleth.(none)> 5183Date: Wed Nov 4 16:41:58 2009 +1000 5184 5185 xv/nv30: don't even try with an unknown surface format.. 5186 5187commit 53ef7be58a2c46b2b5ffe912dcd408d74705ccbf 5188Author: Ben Skeggs <skeggsb@beleth.(none)> 5189Date: Wed Nov 4 16:41:44 2009 +1000 5190 5191 xv/nv30: handle reloc failures 5192 5193commit 6facc0f765c1130aeb19ddfb76cbaaabaecf3f4a 5194Author: Ben Skeggs <skeggsb@beleth.(none)> 5195Date: Wed Nov 4 16:36:09 2009 +1000 5196 5197 exa/nv40: handle reloc failures 5198 5199commit a97501a4e64d690be4232b01f9a3663fc2338c8a 5200Author: Ben Skeggs <skeggsb@beleth.(none)> 5201Date: Wed Nov 4 16:31:56 2009 +1000 5202 5203 exa/nv30: handle reloc failures 5204 5205commit 222d13a03b41eb610a05063f81f0c47f57e6098e 5206Author: Ben Skeggs <skeggsb@beleth.(none)> 5207Date: Wed Nov 4 16:02:50 2009 +1000 5208 5209 exa/nv04: handle reloc failures 5210 5211commit bd8aa7515f69c412e8f379777c49d59364df32fe 5212Author: Ben Skeggs <bskeggs@redhat.com> 5213Date: Wed Oct 28 12:59:59 2009 +1000 5214 5215 xv: handle reloc failures 5216 5217commit 0214cb8b25a6959573bfc183b259b435f0a728bd 5218Author: Ben Skeggs <bskeggs@redhat.com> 5219Date: Wed Oct 28 12:55:25 2009 +1000 5220 5221 xv/nv50: handle reloc failures 5222 5223commit e84e98d7f9260006a8b16a5785e4d2926d2370d4 5224Author: Ben Skeggs <bskeggs@redhat.com> 5225Date: Wed Oct 28 12:47:49 2009 +1000 5226 5227 exa/nv50: handle reloc failures 5228 5229commit 62c5c875e4c0812815be48f74bdef25d9f046515 5230Author: Ben Skeggs <bskeggs@redhat.com> 5231Date: Wed Oct 28 12:30:24 2009 +1000 5232 5233 exa: handle reloc failures 5234 5235commit c839f6098451aa59c7cb1fd7819e17a966e8ace7 5236Author: Marcin Slusarz <marcin.slusarz@gmail.com> 5237Date: Sun Nov 1 22:16:50 2009 +0100 5238 5239 nv30/exa: support more 16bpp formats 5240 5241 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 5242 5243commit 1d93e207db6e5a58b702c1812feaeb6b7252bc70 5244Author: Marcin Slusarz <marcin.slusarz@gmail.com> 5245Date: Sat Oct 31 20:24:52 2009 +0100 5246 5247 nv/exa: fix 15/16 bits solid fill 5248 5249 after this change nouveau passes all fill and blend tests of rendercheck 5250 (before: fill - 108/120, blend - 3323868/3569150) 5251 tested on NV34 5252 5253 Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> 5254 5255commit df5f17e59a7f42781b388074798d26f7981b2296 5256Author: Arthur HUILLET <arthur.huillet@free.fr> 5257Date: Mon Nov 2 15:56:56 2009 +0100 5258 5259 nv10exa: improve codestyle 5260 5261 Signed-off-by: Arthur HUILLET <arthur.huillet@free.fr> 5262 5263commit 5587f40c1b8af7d178f9a68d0f1fecdfc0ca9749 5264Author: Ben Skeggs <bskeggs@redhat.com> 5265Date: Fri Oct 30 14:01:09 2009 +1000 5266 5267 exa: force the use of sysmem pixmaps on low-mem cards 5268 5269 Very similar effect to forcing MigrationHeuristic "greedy" on classic 5270 EXA. Far better than the migration ping-pong that'd occur otherwise 5271 5272 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5273 5274commit 718a41b9a2b5649ac37c18f456b94eaf99584598 5275Author: Ben Skeggs <bskeggs@redhat.com> 5276Date: Thu Oct 22 12:35:32 2009 +1000 5277 5278 nv50: NVA8's 3D object class is 0x8597 5279 5280commit 7494b18bf4061fb960a2126c745721161baddd01 5281Author: Francisco Jerez <currojerez@riseup.net> 5282Date: Sun Oct 18 19:45:02 2009 +0200 5283 5284 nv50/crtc: Don't perform the LUT expansion twice. 5285 5286 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5287 5288commit b161a7f7fa81b6d499c91c17f988a38ed537ed35 5289Author: Francisco Jerez <currojerez@riseup.net> 5290Date: Sun Oct 18 19:41:11 2009 +0200 5291 5292 nv04-nv40/crtc: Don't perform the LUT expansion twice. 5293 5294 Fixes bug 24595. 5295 5296 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5297 5298commit 9cbc139176ae991150bd9ddf66b61db471b391f2 5299Author: Francisco Jerez <currojerez@riseup.net> 5300Date: Sun Oct 11 23:42:01 2009 +0200 5301 5302 Partially revert "kms: always set gamma on modeset" 5303 5304 6c8d3e39b72abe897b08d9e90cae85e121863d2c breaks gamma setting with 5305 servers older than 1.7. Keep the call to xf86HandleColormaps even with 5306 KMS enabled, as it's a no-op in the cases we don't need it. 5307 5308 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5309 5310commit cef4b61b4d0cf096428d89eff65a78fd16f612d5 5311Author: Francisco Jerez <currojerez@riseup.net> 5312Date: Sun Oct 11 20:23:45 2009 +0200 5313 5314 Fix NVLoadPalette for 15/16 bit depth. 5315 5316 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5317 5318commit cc4f7a733e3504260437d06091490fcb8a4c8063 5319Author: Francisco Jerez <currojerez@riseup.net> 5320Date: Sun Oct 11 20:31:11 2009 +0200 5321 5322 Remove an useless call to NVLeaveVT from NVCloseScreen. 5323 5324 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5325 5326commit 5a4afade51fe5fd149f8726fc243fbb69a660bf3 5327Author: Francisco Jerez <currojerez@riseup.net> 5328Date: Thu Oct 8 03:33:34 2009 +0200 5329 5330 nv10/exa: Replace "celcius" with "celsius". 5331 5332 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5333 Tested-by: Pekka Paalanen <pq@iki.fi> 5334 5335commit 2e744325827d702b564c5d6becaf65f3ad164761 5336Author: Francisco Jerez <currojerez@riseup.net> 5337Date: Sun Oct 11 17:40:56 2009 +0200 5338 5339 nv10/exa: Allow component-alpha masks. 5340 5341 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5342 Tested-by: Pekka Paalanen <pq@iki.fi> 5343 5344commit c3bb746ab6b371e843e1754a919dd25fa7b96b19 5345Author: Francisco Jerez <currojerez@riseup.net> 5346Date: Sun Oct 11 17:38:44 2009 +0200 5347 5348 nv10/exa: Fix PictOpAtopReverse for destination pixmaps with no alpha channel. 5349 5350 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5351 Tested-by: Pekka Paalanen <pq@iki.fi> 5352 5353commit f0a3d9f59817ebf2b9606097785f0ad1ae45da12 5354Author: Francisco Jerez <currojerez@riseup.net> 5355Date: Sun Oct 11 16:15:30 2009 +0200 5356 5357 nv10/exa: Refactor the reg combiner/alpha blending code. 5358 5359 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5360 Tested-by: Pekka Paalanen <pq@iki.fi> 5361 5362commit 3f020b0bf2e8d2bc54eceda771829c4b2535688a 5363Author: Ben Skeggs <bskeggs@redhat.com> 5364Date: Thu Oct 8 16:19:16 2009 +1000 5365 5366 kms: reload cursor on modeset, needed on rotation (rh#524632) 5367 5368commit 38d7520986078fd01c19957a75ebfd9d91665225 5369Author: Ben Skeggs <bskeggs@redhat.com> 5370Date: Thu Oct 8 11:34:20 2009 +1000 5371 5372 kms: switch to CP+MPH instead of GetScratchPixmapHeader 5373 5374commit 6c8d3e39b72abe897b08d9e90cae85e121863d2c 5375Author: Ben Skeggs <bskeggs@redhat.com> 5376Date: Wed Oct 7 15:57:49 2009 +1000 5377 5378 kms: always set gamma on modeset 5379 5380 fixes issues vt-switching between console and X of different depths. 5381 5382commit b13c0509be63f27a4a9c918112d0a0fc84ccce10 5383Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 5384Date: Wed Sep 16 18:17:30 2009 +0200 5385 5386 nv50/exa: use A8 RT format for PICT_a8 5387 5388 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5389 5390commit 7a63e4c61cd5d082caf074702cde79e1a66354b0 5391Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 5392Date: Tue Oct 6 11:58:39 2009 +0200 5393 5394 nv50/exa: cleanup shader settings 5395 5396 Since we only pass through 2D coordinates in the VP, 5397 no need to occupy extra output registers for HPOS z 5398 and, which can be coded as 0, 1 into VP_RESULT_MAP. 5399 5400 We don't have to fetch all 4 attribute components if 5401 we only read 2 in the VPs. 5402 5403 Using 0x1, 0x1 as terminator instructions looks odd, 5404 just make the last ones that do something long and 5405 set the exit bit. 5406 5407 Setup VP_RESULT_MAP and INTERPOLANT_CTRL correctly. 5408 5409 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 5410 5411commit 60818bdeb975a9f469d3ae890932d4de1cbb59f9 5412Author: Ben Skeggs <bskeggs@redhat.com> 5413Date: Wed Oct 7 10:49:00 2009 +1000 5414 5415 kms: don't copy fbcon if depths don't match 5416 5417commit dd8339fc4e18fa4fd409f2997db741be209e852d 5418Author: Ben Skeggs <bskeggs@redhat.com> 5419Date: Tue Sep 29 10:52:53 2009 +1000 5420 5421 Pass NULL fb pointer to fbScreenInit when using EXA 5422 5423 Fixes 1.7 xserver getting very confused... 5424 5425commit 6dbdc80016c2a81c390d77db613833cd4d15c617 5426Author: Ben Skeggs <bskeggs@redhat.com> 5427Date: Tue Sep 29 09:00:59 2009 +1000 5428 5429 exa: make tiled scanout a separate condition from wfb being used 5430 5431commit 96d025232e292a8b1aebd54eaad3a21dbf6e2f77 5432Author: Maarten Maathuis <madman2003@gmail.com> 5433Date: Fri Sep 25 19:50:11 2009 +0200 5434 5435 nv40/exa: fallback on special case xrgb non-repeat textures 5436 5437commit ed05bd6dab4fdd1289947154df02cd21c0839574 5438Author: Maarten Maathuis <madman2003@gmail.com> 5439Date: Fri Sep 25 19:49:14 2009 +0200 5440 5441 nv30/exa: fallback on special case xrgb non-repeat textures 5442 5443commit dd7b86cb5351a60f21eee9cf81ae0ef61cf45f13 5444Author: Maarten Maathuis <madman2003@gmail.com> 5445Date: Fri Sep 25 19:39:24 2009 +0200 5446 5447 exa: fallback on src pictures without drawable 5448 5449commit de0b095a1deaa1e53e1f555a6eb537482c488638 5450Author: Maarten Maathuis <madman2003@gmail.com> 5451Date: Thu Sep 24 19:21:59 2009 +0200 5452 5453 nv50/exa: avoid fallback on xrgb repeat none when dst has no alpha 5454 5455 - This should fix resizing slowness in evince amongst other things. 5456 5457commit df94ebdbcd89c1678ac243217e7f5b20cbbe857c 5458Author: Ben Skeggs <bskeggs@redhat.com> 5459Date: Mon Sep 21 08:37:27 2009 +1000 5460 5461 kms: use displayWidth for pitch calc in transition, not virtualX (rh#523281) 5462 5463commit 5a6c3c427796f7f3dac0f597a320b09feb25ffc8 5464Author: Ben Skeggs <bskeggs@redhat.com> 5465Date: Wed Sep 16 15:13:08 2009 +1000 5466 5467 dri2: call CreatePixmap rather than yet another custom-built one 5468 5469commit 95086de507df7c5676c7ee712139ac4c91c9f6d2 5470Author: Pekka Paalanen <pq@iki.fi> 5471Date: Tue Sep 15 20:31:33 2009 +0300 5472 5473 Partially revert "kms: wait for fbcon to be copied before continuing" 5474 5475 This partially reverts commit 6c045fc44783454180d7b3d00b5f25436bd5544e. 5476 5477 The nv_driver.c hunk of the above patch breaks the build on at least git 5478 and 1.6.3.901 xorg-servers due to: 5479 nv_driver.c:745: error: 'struct _ScrnInfoRec' has no member named 5480 'canDoBGNoneRoot' 5481 5482 Signed-off-by: Pekka Paalanen <pq@iki.fi> 5483 5484commit 6c045fc44783454180d7b3d00b5f25436bd5544e 5485Author: Ben Skeggs <bskeggs@redhat.com> 5486Date: Mon Sep 14 13:04:12 2009 +1000 5487 5488 kms: wait for fbcon to be copied before continuing 5489 5490commit 22971d5545a2cd03e5c0b5d5d16fb85d7fff2aff 5491Author: Ben Skeggs <bskeggs@redhat.com> 5492Date: Thu Sep 10 16:05:15 2009 +1000 5493 5494 dri2: switch to bo_new_tile() 5495 5496commit 806eaf6b0b36cb05ca9d883ff4572629812a1d48 5497Author: Ben Skeggs <bskeggs@redhat.com> 5498Date: Thu Sep 10 12:00:44 2009 +1000 5499 5500 kms: rework fbcon transition 5501 5502 This does 2 things. Most importantly, it avoids a situation where we get 5503 multiple GEM handles for a single object, making it possible to confuse 5504 the kernel if both appear in the same push buffer. 5505 5506 Secondly, it moves the transition to only on X startup, and not on every 5507 modeset etc. 5508 5509commit f90edc168c4a18b20750043d33c193bdc1b89156 5510Author: Ben Skeggs <bskeggs@redhat.com> 5511Date: Wed Sep 9 09:23:58 2009 +1000 5512 5513 Revert "nv50: use 0x7000 everywhere for now, until we can fix mixed mode alignment" 5514 5515 This reverts commit c80f125a97003c2d0db77f54e22d9de447a06f63. 5516 5517 This was not supposed to sneak in.. 5518 5519commit ff6bdb14ac13168c1a4b7866784e4833a1162dbc 5520Author: Ben Skeggs <bskeggs@redhat.com> 5521Date: Wed Sep 9 09:19:42 2009 +1000 5522 5523 Revert "kms: fetch active encoder during init if there is one" 5524 5525 This reverts commit 4f66fc6e871969448eba25817bfb383f2fdd4b34. 5526 5527 See reason in previous commit. 5528 5529commit 9708e50e820970d526b084e0ab736c1c7a4f50c0 5530Author: Ben Skeggs <bskeggs@redhat.com> 5531Date: Wed Sep 9 09:18:48 2009 +1000 5532 5533 Revert "kms: update encoder config during detect" 5534 5535 This reverts commit 25610704d4b16293f5bc24d5ad18cc76e20896d2. 5536 5537 Very bad thinko, drm_mode_get_connector.encoder_id is *not* the same thing 5538 as our DRM's nouveau_connector.detected_encoder. Need to find a better 5539 way of achieving this. 5540 5541commit c80f125a97003c2d0db77f54e22d9de447a06f63 5542Author: Ben Skeggs <bskeggs@redhat.com> 5543Date: Tue Sep 8 16:20:33 2009 +1000 5544 5545 nv50: use 0x7000 everywhere for now, until we can fix mixed mode alignment 5546 5547commit 25610704d4b16293f5bc24d5ad18cc76e20896d2 5548Author: Ben Skeggs <bskeggs@redhat.com> 5549Date: Tue Sep 8 11:33:51 2009 +1000 5550 5551 kms: update encoder config during detect 5552 5553commit 4f66fc6e871969448eba25817bfb383f2fdd4b34 5554Author: Ben Skeggs <bskeggs@redhat.com> 5555Date: Tue Sep 8 11:26:29 2009 +1000 5556 5557 kms: fetch active encoder during init if there is one 5558 5559commit 2b5ec6ad708164eb9b2df00f453ea84f4898153a 5560Author: Ben Skeggs <bskeggs@redhat.com> 5561Date: Fri Sep 4 10:35:57 2009 +1000 5562 5563 kms: only call drmModeSetCursor when cursor is visible 5564 5565 It seems we get load_cursor_argb() calls even when the cursor is hidden, 5566 and the drmModeSetCursor() call would then decide a cursor is available 5567 and show it on outputs where the cursor shouldn't have been actuve. 5568 5569commit 569a17a98d03d965f9500c37c0cb14e0fb462311 5570Author: Francisco Jerez <currojerez@riseup.net> 5571Date: Thu Aug 20 18:44:38 2009 +0200 5572 5573 kms: No need to upload gamma on set_mode_major in older X servers. 5574 5575 Fixes build for CRTC ABI < 3. 5576 5577 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5578 5579commit 32fc8a9a3104b38fe89427ffa60d21dad1572c15 5580Author: Francisco Jerez <currojerez@riseup.net> 5581Date: Thu Aug 20 18:43:58 2009 +0200 5582 5583 kms: Fix <nv11 hardware cursor. 5584 5585 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 5586 5587commit e4e6f863b626d77934935e13714c6cbfd014d916 5588Author: Maarten Maathuis <madman2003@gmail.com> 5589Date: Thu Aug 20 12:04:26 2009 +0200 5590 5591 kms: actually call kernel when loading cursor image 5592 5593 - In the past we depended on getting a cursor show to call the kernel and actually make it visible. 5594 5595commit 95f09df23efd0a36d29cb4810faa659f839194f0 5596Author: Ben Skeggs <bskeggs@redhat.com> 5597Date: Thu Aug 20 15:48:26 2009 +1000 5598 5599 kms: prevent X from hiding cursor before updating image 5600 5601 This wasn't noticeable when everything was being done in userspace. However, 5602 with KMS there's more of a delay between the hide<->update<->show steps 5603 and this produces a noticeable flicker. 5604 5605 If there's any good reason we shouldn't be updating the cursor image while 5606 it's being shown, we'll handle it transparently in the DRM as required. 5607 5608commit fe2b5e6c6f81f4c4a76f5e4c5816812459872af3 5609Author: Maarten Maathuis <madman2003@gmail.com> 5610Date: Wed Aug 19 22:06:42 2009 +0200 5611 5612 kms: fix gamma 5613 5614 - crtc->active is needed in order to set the gamma manually 5615 - the initial gamma must be set by us 5616 5617commit 9d270f65ee85dedc6bf9cd9cf24e3d8df062f670 5618Author: Maarten Maathuis <madman2003@gmail.com> 5619Date: Tue Aug 18 21:59:10 2009 +0200 5620 5621 exa: update to latest CreatePixmap2 + do not align width to 64 5622 5623 - Only the pitch needs to be aligned to 64. 5624 5625commit b50110d00e32396e186168271adbb88ace8ba986 5626Author: Francisco Jerez <currojerez@riseup.net> 5627Date: Mon Aug 17 16:54:48 2009 +0200 5628 5629 kms: Some TV-out fixes. 5630 5631commit 523feba8fdc6d285929ac72be0a6e037019f019e 5632Author: Maarten Maathuis <madman2003@gmail.com> 5633Date: Mon Aug 17 00:09:42 2009 +0200 5634 5635 wfb: more correct and more error tolerant 5636 5637 - In a strange world it is possible that a high index is tiled, and a lower index empty. 5638 - This should avoid that loophole and also emit a warning when we run out of indices. 5639 5640commit 3db3e5350e2f6dea50cd2bce0c5fb0437fe08dcf 5641Author: Francisco Jerez <currojerez@riseup.net> 5642Date: Wed Aug 12 02:18:27 2009 +0200 5643 5644 kms: Implement output->get_property when RandR1.3 is available. 5645 5646 This allows getting updated values when the kernel is modifying them 5647 behind our back. 5648 5649commit ba9817b88d31364a5d43d945359e357535aeb09a 5650Author: Francisco Jerez <currojerez@riseup.net> 5651Date: Wed Aug 12 02:18:26 2009 +0200 5652 5653 kms: Don't hardcode the output properties 5654 5655 Replicate any properties the kernel exposes. Mostly taken from the 5656 intel DDX. 5657 5658commit 92f271020a1b9486bd5890a00649aed3678ead62 5659Author: Ben Skeggs <bskeggs@redhat.com> 5660Date: Thu Aug 13 15:40:52 2009 +1000 5661 5662 nv50/xv: provide SYNC_TO_VBLANK attribute 5663 5664commit ada1d36d7097c389c8e21707d36b3cdd6378db94 5665Author: Ben Skeggs <bskeggs@redhat.com> 5666Date: Thu Aug 13 15:38:14 2009 +1000 5667 5668 xv: disable overlay with kms for the moment 5669 5670commit 85b1c86983a39cb921bd68a8601785975c948e2d 5671Author: Ben Skeggs <bskeggs@redhat.com> 5672Date: Mon Aug 10 11:42:15 2009 +1000 5673 5674 dri2: call exaMoveInPixmap() before accessing driver pixmap private 5675 5676commit 292f46a0a0e031fc8a4256aa1eed91e3b2167acd 5677Author: Ben Skeggs <bskeggs@redhat.com> 5678Date: Mon Aug 10 11:36:56 2009 +1000 5679 5680 xv: call exaMoveInPixmap() for driver pixmaps 5681 5682commit 0210fbf01d61fb0541770d541b71396537bcb728 5683Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> 5684Date: Sun Aug 9 14:53:28 2009 +0200 5685 5686 nv50/exa: fix pointer increment in UploadSIFC 5687 5688 We always output 'size' dwords to the ring buffer, so the pointer 5689 should be advanced accordingly, independent of cpp. 5690 5691commit 1ac7d83c1e46a164c4a3a3688de1bcde9e5a58e0 5692Author: Maarten Maathuis <madman2003@gmail.com> 5693Date: Sat Aug 8 19:41:02 2009 +0200 5694 5695 wfb: don't default to linear when encountering a pixmap without bo 5696 5697 - With exa "mixed" there are actually very valid cases where this happens. 5698 - This fixes certain types of corruptions, like the yellow and black in a gimp window. 5699 5700commit 64790e950e7f46e6f4f5b8486f8d0bd929cb5504 5701Author: Maarten Maathuis <madman2003@gmail.com> 5702Date: Fri Aug 7 16:12:41 2009 +0200 5703 5704 Revert "nv50: enforce certain allignments on a tiled frontbuffer, as well as overallocate it a bit" 5705 5706 This reverts commit dd72640c8133ee78304f875023134f214d94a630. 5707 5708 Moved to the kernel. 5709 5710commit dd72640c8133ee78304f875023134f214d94a630 5711Author: Maarten Maathuis <madman2003@gmail.com> 5712Date: Fri Aug 7 11:56:29 2009 +0200 5713 5714 nv50: enforce certain allignments on a tiled frontbuffer, as well as overallocate it a bit 5715 5716 - There is reason to believe that with driver modifications (part of) this won't be needed. 5717 - Until then this should fix "tiles" appearing at the upper left or lower right corner. 5718 5719commit bfbe4d33679cc25939db0da729d89ba2a4295764 5720Author: Ben Skeggs <bskeggs@redhat.com> 5721Date: Fri Aug 7 16:02:27 2009 +1000 5722 5723 exa: default to enabling driver pixmaps if everything else is new enough 5724 5725commit 30ddd08bb2739514edf6d6e137f533b34a4369d2 5726Author: Ben Skeggs <bskeggs@redhat.com> 5727Date: Fri Aug 7 16:01:27 2009 +1000 5728 5729 exa: turn on new exa migration mode for driver pixmaps 5730 5731commit 712064e6188d65e2c7d85078b95a0292edcad0e7 5732Author: Ben Skeggs <bskeggs@redhat.com> 5733Date: Wed Aug 5 14:00:51 2009 +1000 5734 5735 nv04-nv40/exa: set cliprect to drawing area for IFC 5736 5737commit 7f63da83d8622176114ecd55048736fecd703322 5738Author: Ben Skeggs <bskeggs@redhat.com> 5739Date: Wed Aug 5 12:04:46 2009 +1000 5740 5741 dri: close before dropping master 5742 5743commit 0cc44b713ec07dfb56a4b4a6d7ae1c1a75c74971 5744Author: Ben Skeggs <bskeggs@redhat.com> 5745Date: Wed Aug 5 11:57:01 2009 +1000 5746 5747 Set/Drop master in Enter/LeaveVT 5748 5749commit 087e9f61b81ea90a1591d8b43e29bda091156405 5750Author: Ben Skeggs <bskeggs@redhat.com> 5751Date: Wed Aug 5 11:51:54 2009 +1000 5752 5753 dri: close before taking down accel 5754 5755 Fixes "failed to destroy server context" errors on exit. 5756 5757commit 96ac8c5a9473d81b737afa116f4fd388e3152f50 5758Author: Ben Skeggs <bskeggs@redhat.com> 5759Date: Wed Aug 5 11:36:39 2009 +1000 5760 5761 nv04-nv40: deal with framebuffer resize in !kms_enable mode 5762 5763commit b8ea3b41b0540635585bc68334691414f7cff53d 5764Author: Ben Skeggs <bskeggs@redhat.com> 5765Date: Wed Aug 5 11:30:51 2009 +1000 5766 5767 nv50: deal with framebuffer resize for !kms_enable 5768 5769commit d0dcc89825acb4b480f3849d8896b17a80df02f4 5770Author: Ben Skeggs <bskeggs@redhat.com> 5771Date: Wed Aug 5 11:28:45 2009 +1000 5772 5773 No wfb without KMS 5774 5775commit 2c7502680e1ab3a4ea4869a78d0317746084dd92 5776Author: Ben Skeggs <bskeggs@redhat.com> 5777Date: Wed Aug 5 08:55:09 2009 +1000 5778 5779 dri2: fix CopyRegion() 5780 5781commit 2a4c93a064353cf61c30dd1e96f93203895beb15 5782Author: Ben Skeggs <bskeggs@redhat.com> 5783Date: Wed Aug 5 08:36:26 2009 +1000 5784 5785 dri2: merge DRI2BufferRec and nouveau_dri2_buffer into a single struct 5786 5787commit 4f386f983fde197e9136ffe6fbf941a343996897 5788Author: Ben Skeggs <bskeggs@redhat.com> 5789Date: Wed Aug 5 08:20:46 2009 +1000 5790 5791 dri2: remove support for < version 3 5792 5793commit 0f691257e6d2c3662f9c76adc3287f5320a8822d 5794Author: Ben Skeggs <bskeggs@redhat.com> 5795Date: Mon Aug 3 11:30:46 2009 +1000 5796 5797 zfill scanout buffer, not offscreen 5798 5799commit d893600356b3480d3df536a04e9860bfada5a159 5800Author: Maarten Maathuis <madman2003@gmail.com> 5801Date: Sun Aug 2 19:43:58 2009 +0200 5802 5803 kms: remove fb in NVCloseScreen otherwise server regeneration fails 5804 5805 - The bo was deleted, but fb_id remained non-zero, so it never picked up the new one. 5806 5807commit ac2a644773e5b160b6794a252b85c0bf8acc5169 5808Author: Ben Skeggs <bskeggs@redhat.com> 5809Date: Sun Aug 2 20:10:35 2009 +1000 5810 5811 xv: really fix offscreen pixmap calculation 5812 5813 sleep.. good.. 5814 5815commit 60635e5073e69c6f690dc3c876772b5478013783 5816Author: Ben Skeggs <bskeggs@redhat.com> 5817Date: Sun Aug 2 19:42:17 2009 +1000 5818 5819 xv: fix check for offscreen pixmaps 5820 5821commit 1ecd4358c851b3d7bebfb00f5f7ac3c7c151bc20 5822Author: Ben Skeggs <bskeggs@redhat.com> 5823Date: Fri Jul 31 15:30:08 2009 +1000 5824 5825 Recalculate displayWidth if we do a late NoAccel fallback 5826 5827 Fixes G80, where we'd have calculated the pitch for tiled scanout. 5828 5829commit 08ef8aaf2bd7b9565cc36679412b721499f9a367 5830Author: Ben Skeggs <bskeggs@redhat.com> 5831Date: Fri Jul 31 15:23:49 2009 +1000 5832 5833 Don't allocate offscreen memory or GART when using NoAccel 5834 5835commit 64a1515fab9764d0ada304426e7f0d7ec995b84e 5836Author: Ben Skeggs <bskeggs@redhat.com> 5837Date: Fri Jul 31 13:49:49 2009 +1000 5838 5839 Fix NoAccel/ShadowFB with fb resize 5840 5841commit e9034a2e8d8285cf45cd1410b9e8933991f82a2b 5842Author: Ben Skeggs <bskeggs@redhat.com> 5843Date: Fri Jul 31 13:29:11 2009 +1000 5844 5845 NoAccel + wfb == bad idea 5846 5847commit 69a40131b700a4fbc4de9432110045870de0806e 5848Author: Ben Skeggs <bskeggs@redhat.com> 5849Date: Fri Jul 31 13:28:02 2009 +1000 5850 5851 Fix up screen pixmap's devPrivate.ptr after resize 5852 5853commit 4ea65c594a1f10f586da2ca32e499de2ea0a2605 5854Author: Ben Skeggs <bskeggs@redhat.com> 5855Date: Fri Jul 31 13:25:45 2009 +1000 5856 5857 Point fb at the correct buffer.. 5858 5859commit c6b98608daec4162a7d23ce8c1d50a4a9c3ca3dc 5860Author: Ben Skeggs <bskeggs@redhat.com> 5861Date: Fri Jul 31 13:09:56 2009 +1000 5862 5863 Switch on can_resize for non-kms 5864 5865commit 4bb007ebb8e60c87c815f9c4ce63b8d1d46e8b75 5866Author: Ben Skeggs <bskeggs@redhat.com> 5867Date: Fri Jul 31 13:03:45 2009 +1000 5868 5869 Fall back to NoAccel if channel/object creation fails 5870 5871commit 641fdacbd1aeb9882caa30da6d568ff9a0bd78f5 5872Author: Ben Skeggs <bskeggs@redhat.com> 5873Date: Fri Jul 31 11:46:47 2009 +1000 5874 5875 nv50/exa: use scissored triangle for composite too 5876 5877commit c6c0ef1b5a837838a0fc2e8d1659b1b4d76d26b0 5878Author: Ben Skeggs <bskeggs@redhat.com> 5879Date: Fri Jul 31 11:23:04 2009 +1000 5880 5881 nv50/xv: enable sync-to-vblank 5882 5883commit b3d6861fa482a92807aadd9222ca2c8c605beaeb 5884Author: Maarten Maathuis <madman2003@gmail.com> 5885Date: Thu Jul 30 17:23:25 2009 +0200 5886 5887 nv50_xv: switch to a scissored triangle to avoid strange artifacts when vsync is enabled 5888 5889commit 9b37bc96d86882b7f9c355e92cbeff517090a98d 5890Author: Ben Skeggs <bskeggs@redhat.com> 5891Date: Thu Jul 30 19:24:19 2009 +1000 5892 5893 more cleanup 5894 5895commit d8c10eb14f8d6b5cad88a39a5da7104a403060cd 5896Author: Ben Skeggs <bskeggs@redhat.com> 5897Date: Thu Jul 30 10:17:38 2009 +1000 5898 5899 non-kms fb resize 5900 5901commit 3b1a861aa56f823e8d26f33b7139e290bf44b79d 5902Author: Ben Skeggs <bskeggs@redhat.com> 5903Date: Thu Jul 30 07:14:17 2009 +1000 5904 5905 free scanout buffer in NVUnmapMem() 5906 5907commit 4d20547df30d630b94b0cfc28dcf7ead564f7369 5908Author: Ben Skeggs <bskeggs@redhat.com> 5909Date: Tue Jul 28 18:14:03 2009 +1000 5910 5911 nv50: tile scanout buffer for "classic" exa if xserver new enough 5912 5913commit 03bc3a604e5c12829f81f2582374d37012da7f36 5914Author: Ben Skeggs <bskeggs@redhat.com> 5915Date: Tue Jul 28 11:45:51 2009 +1000 5916 5917 kms: only use rounded height for allocation 5918 5919 Fixes minor cursor corruption in some circumstances with driver pixmaps. 5920 5921commit e4fb3e7064df14b21a6ea34b919ccf2bf9fa0ca2 5922Author: Ben Skeggs <bskeggs@redhat.com> 5923Date: Tue Jul 28 11:27:09 2009 +1000 5924 5925 More fixing of pitches + use 0x7000 tile_flags for tiled 16bpp on nv50 5926 5927commit 97cca7630441876414da5dfabb9ad9f2b208e29d 5928Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 5929Date: Tue Jul 28 10:21:11 2009 +1000 5930 5931 kms: implement rotation support without driver pixmaps 5932 5933commit 786ff2994aa4f614b7cc9d466455eef183697d42 5934Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 5935Date: Tue Jul 28 09:43:00 2009 +1000 5936 5937 kms: simplify drmmode_is_rotate_pixmaps args 5938 5939commit ff62da668a468796e4001523958e73eb2060b7f2 5940Author: Ben Skeggs <bskeggs@redhat.com> 5941Date: Mon Jul 27 22:07:38 2009 +1000 5942 5943 dri1: dodgyness to "survive" a framebuffer resize (or rather, move) 5944 5945 This can never work well without a lot of work, which I'm not willing to 5946 put in for DRI1. This will at least let it keep sort-of working, any DRI1 5947 apps running when a resize event occurs will continue rendering into the 5948 old framebuffer. 5949 5950commit b77d580ebcc9b371153774010d29038645effffb 5951Author: Ben Skeggs <bskeggs@redhat.com> 5952Date: Mon Jul 27 21:43:25 2009 +1000 5953 5954 We already map offscreen and store the virtual, no need to keep doing it 5955 5956commit bdf2c9aee02a100b44c083347a2415c100bd2546 5957Author: Ben Skeggs <bskeggs@redhat.com> 5958Date: Mon Jul 27 21:35:19 2009 +1000 5959 5960 kms: implement framebuffer resize without driver pixmaps 5961 5962commit 595b1c74e52f16ef482be6f14e4a33b4649b8bfd 5963Author: Ben Skeggs <bskeggs@redhat.com> 5964Date: Mon Jul 27 07:44:41 2009 +1000 5965 5966 Fix build with 0.0.15 5967 5968commit 9b879b9b38809e7d206c9e78610836bdd9c2d09b 5969Author: Ben Skeggs <bskeggs@redhat.com> 5970Date: Mon Jul 27 21:09:42 2009 +1000 5971 5972 Cleanup 5973 5974commit 0336eb15ebc351ab6900b48972e12f5cc6abf1bb 5975Author: Ben Skeggs <bskeggs@redhat.com> 5976Date: Mon Jul 27 17:52:15 2009 +1000 5977 5978 Switch to using scanout buffer detached from EXA offscreen memory area 5979 5980commit 0403cf3698ecb9a290bb4b7e24d0deedc957ad2a 5981Author: Ben Skeggs <bskeggs@redhat.com> 5982Date: Mon Jul 27 17:45:29 2009 +1000 5983 5984 Allocate scanout buffer independently of EXA offscreen area 5985 5986 This is just wasted memory for the moment... 5987 5988commit f8ac9e35bd20391f923c5c5ccc509251ea23a4c5 5989Author: Ben Skeggs <bskeggs@redhat.com> 5990Date: Mon Jul 27 17:30:54 2009 +1000 5991 5992 Remove NoDRM mode 5993 5994commit e259925bbdcebe4c3d136f476fc54f426eea9261 5995Author: Ben Skeggs <bskeggs@redhat.com> 5996Date: Mon Jul 27 17:14:00 2009 +1000 5997 5998 xv: fix some badness in nv3x/nv4x textured video adaptors 5999 6000commit 3a10daca16752b52ec3187deb8b1c25d6c6fd641 6001Author: Ben Skeggs <bskeggs@redhat.com> 6002Date: Mon Jul 27 16:05:03 2009 +1000 6003 6004 rename pNv->FB to pNv->offscreen 6005 6006 Not strictly true right now, but it's about to be. 6007 6008commit 91bfda81982a77a79c2baee39929711b38b1ae6a 6009Author: Ben Skeggs <bskeggs@redhat.com> 6010Date: Mon Jul 27 11:46:51 2009 +1000 6011 6012 exa: allow acceleration to rotation bo 6013 6014commit d59aaa81590b52b6227b69028f08d8ab62505525 6015Author: Ben Skeggs <bskeggs@redhat.com> 6016Date: Mon Jul 27 11:02:44 2009 +1000 6017 6018 exa: use PixmapIsOffscreen hook for non-driver pixmaps path too 6019 6020commit c442376d4e9a8296760c1171fee5ca155534d011 6021Author: Ben Skeggs <bskeggs@redhat.com> 6022Date: Mon Jul 27 07:44:14 2009 +1000 6023 6024 Fix typo exposed by removal of NV_* card type defines from DRM header 6025 6026commit 15bfc676094d19e57711bbdff40edd5c8e8592d6 6027Author: Ben Skeggs <bskeggs@redhat.com> 6028Date: Mon Jul 27 07:40:20 2009 +1000 6029 6030 Warning fixes 6031 6032commit 6eb790b6113a999727895694d01910b83348647a 6033Author: Ben Skeggs <bskeggs@redhat.com> 6034Date: Fri Jul 24 13:54:49 2009 +1000 6035 6036 kms: keep rotate buffer pitch in crtc struct, rather than recalculating 6037 6038commit 25f29426293fcac2e7a17b986673b2874e7a7264 6039Author: Ben Skeggs <bskeggs@redhat.com> 6040Date: Fri Jul 24 13:18:22 2009 +1000 6041 6042 Wrap CreateScreenResources and set screen pixmap's BO there 6043 6044 Avoids reallocating pNv->FB yet again when we hit the resize hook. 6045 6046commit d1628dc9159343400f09f696b9c4ef9d0fe1acbf 6047Author: Maarten Maathuis <madman2003@gmail.com> 6048Date: Tue Jul 28 10:08:40 2009 +0200 6049 6050 nouveau: remove some more RAC bits 6051 6052 - The assumption is that RAC is dead anyway on post-libpciaccess xservers. 6053 6054commit 75fba5dfd2a00f3b8212d0e8af544273c14ee0c5 6055Author: Dave Airlie <airlied@redhat.com> 6056Date: Tue Jul 28 13:53:06 2009 +1000 6057 6058 nouveau: rip out resources code whats left at least 6059 6060commit 094e4e075f8e48ace534a6f011f95b6ebf1abc3b 6061Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 6062Date: Thu Jul 23 11:25:22 2009 +1000 6063 6064 kms: don't skip resize call if we don't have a backing bo for screen pixmap 6065 6066commit bff801941e23dfe3fb7449af5780ee477b10d092 6067Author: Ben Skeggs <skeggsb@beleth.keine.ath.cx> 6068Date: Thu Jul 23 11:23:15 2009 +1000 6069 6070 Fix a DRM vs DDX confusion typo 6071 6072commit e9ebddae840789535acf56ac2281b3fde3cfee96 6073Author: Maarten Maathuis <madman2003@gmail.com> 6074Date: Wed Jul 22 12:51:08 2009 +0200 6075 6076 Fix build without AM_SILENT_RULES. 6077 6078commit f70287cf7cacc03d8390376519165d50a325cec5 6079Author: Peter Henriksson <peter.henriksson@gmail.com> 6080Date: Mon Jul 20 23:56:13 2009 +0200 6081 6082 Add support for AM_SILENT_RULES 6083 6084 Make use of the AM_SILENT_RULES functionality in automake 1.11 6085 Defaults to quiet output. Verbose output can be enabled with 6086 "./configure --disable-silent-rules" or "make V=1" 6087 6088 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 6089 6090commit 69ba1095a9aef29ce8fdb71ecf48f15cb13202c2 6091Author: Ben Skeggs <bskeggs@redhat.com> 6092Date: Tue Jul 21 16:29:13 2009 +1000 6093 6094 nv50/xv: attempt sync-to-vblank if driver pixmaps are being used 6095 6096commit 994c37927289de7a0ab6e951892f0d66880a6210 6097Author: Ben Skeggs <bskeggs@redhat.com> 6098Date: Tue Jul 21 14:05:59 2009 +1000 6099 6100 nv50: fix a number of tiled buffer sizing issues in kms paths 6101 6102commit 9c1eefd221366b9f5efbd30e4a28fba244347d4f 6103Author: Ben Skeggs <bskeggs@redhat.com> 6104Date: Tue Jul 21 13:43:14 2009 +1000 6105 6106 Don't set driver pixmaps enabled with NoAccel 6107 6108commit 52882e82708f79ef198dde51f9bbebee752154be 6109Author: Ben Skeggs <bskeggs@redhat.com> 6110Date: Tue Jul 21 13:19:07 2009 +1000 6111 6112 exa: fix nouveau_exa_pixmap_is_onscreen() for driver pixmaps 6113 6114commit 9fb28d107ad9fcd6a4bbb0a35c1fc0f719d531ae 6115Author: Ben Skeggs <bskeggs@redhat.com> 6116Date: Tue Jul 21 12:52:35 2009 +1000 6117 6118 exa: remove ModifyPixmapHeader hook, it's not required 6119 6120commit 574fa36c73a1b04b67289762a10b5bbda7be083f 6121Author: Ben Skeggs <bskeggs@redhat.com> 6122Date: Tue Jul 21 12:51:26 2009 +1000 6123 6124 exa: only support driver pixmaps on servers with CreatePixmap2 6125 6126commit 365ab69499f466aeebac1437578609a7790f5dc4 6127Author: Ben Skeggs <bskeggs@redhat.com> 6128Date: Fri Jul 17 13:41:07 2009 +1000 6129 6130 remove explicit pin of pNv->FB on creation 6131 6132commit a757db1aadfd7a7d206dfc7968da8647dd91e65f 6133Author: Ben Skeggs <bskeggs@redhat.com> 6134Date: Fri Jul 17 13:38:52 2009 +1000 6135 6136 no need to pin GART bo 6137 6138commit 474ebdeea1266959fddeabf04b24e04aaab8449e 6139Author: Ben Skeggs <bskeggs@redhat.com> 6140Date: Fri Jul 17 13:37:29 2009 +1000 6141 6142 remove pinned creation from nodrm path 6143 6144commit b9333d5d34386d88b58d2267b388bbcc89b73f47 6145Author: Ben Skeggs <bskeggs@redhat.com> 6146Date: Fri Jul 17 13:35:20 2009 +1000 6147 6148 nv04-nv40: explicitly pin scanout buffer when required 6149 6150commit 53b5b68cd168b15c377f83e5e068cee92361f51d 6151Author: Ben Skeggs <bskeggs@redhat.com> 6152Date: Fri Jul 17 13:31:13 2009 +1000 6153 6154 nv50: no need to pin rotate scanout buffers on creation now 6155 6156commit a57a9bb825e04bbe4aa94d9ac1149e2fca6525a4 6157Author: Ben Skeggs <bskeggs@redhat.com> 6158Date: Fri Jul 17 13:28:36 2009 +1000 6159 6160 exa: only allow driver pixmaps when KMS enabled 6161 6162 The pre-KMS code can't deal with driver pixmaps in some circumstances, 6163 and rather than leave it there for people to accidently trip on, 6164 remove support. 6165 6166 The other option would have been to fix the UMS code, but, who really 6167 cares? 6168 6169commit 5d7a0b954c0da879f81a6fa1a9dc8070c58a0fe6 6170Author: Ben Skeggs <bskeggs@redhat.com> 6171Date: Fri Jul 17 13:25:31 2009 +1000 6172 6173 remove remains of prehistoric NOUVEAU_EXA_PIXMAPS stuff 6174 6175commit 784a0337c3165c8d8fb696e4fa30bbdc8cf01b98 6176Author: Ben Skeggs <bskeggs@redhat.com> 6177Date: Fri Jul 17 13:18:06 2009 +1000 6178 6179 nv50: explicitly pin scanout buffer in non-kms path 6180 6181commit 09db6180e4205ef55516c24ac5dfc3bd861d9fd6 6182Author: Ben Skeggs <bskeggs@redhat.com> 6183Date: Fri Jul 17 13:12:25 2009 +1000 6184 6185 nv30: don't pin shader memory 6186 6187commit 7da55d99e3c93cadda50dcad06b09c52daa0cc5b 6188Author: Ben Skeggs <bskeggs@redhat.com> 6189Date: Fri Jul 17 13:10:16 2009 +1000 6190 6191 xv: don't pin buffer unless using the overlay 6192 6193commit e8b9f689b778909e710fc5bd5616e6497b922a09 6194Author: Ben Skeggs <bskeggs@redhat.com> 6195Date: Fri Jul 17 13:07:04 2009 +1000 6196 6197 kms: don't pin scanout buffer, no need, kernel will do it 6198 6199commit b1b233099853b56cfdcff9c4c31d3550b76b949e 6200Author: Ben Skeggs <bskeggs@redhat.com> 6201Date: Fri Jul 17 08:22:02 2009 +1000 6202 6203 Fix build with xextproto 7.1 6204 6205commit c089a71a94e7887c405af7141e188302a5e2d393 6206Author: Ben Skeggs <bskeggs@redhat.com> 6207Date: Thu Jul 16 09:32:59 2009 +1000 6208 6209 dri2: fix for xserver abi change 6210 6211commit ef3a386a6df4569343e63332eb798c1d722fe164 6212Author: Ben Skeggs <bskeggs@redhat.com> 6213Date: Mon Jul 6 20:33:49 2009 +1000 6214 6215 Update manpage + finish removing useless options 6216 6217commit 4b6e0b96188e32cb2a13f8d2bd5973f0287c827b 6218Author: Ben Skeggs <bskeggs@redhat.com> 6219Date: Mon Jul 6 20:25:23 2009 +1000 6220 6221 No need for pci access wrappers now.. 6222 6223commit 1e22673f43acd0f02ba36e189b39e28b635cd50c 6224Author: Ben Skeggs <bskeggs@redhat.com> 6225Date: Mon Jul 6 20:16:02 2009 +1000 6226 6227 Remove non-XSERVER_LIBPCIACCESS paths, we depend on a new xserver anyway 6228 6229commit aafb62f86adebb3418876649e8bd189c1523e961 6230Author: Ben Skeggs <bskeggs@redhat.com> 6231Date: Mon Jul 6 20:08:03 2009 +1000 6232 6233 Some more bits of NVRec to go... 6234 6235commit 0ba588cb75af67a644f51add35778925d4088cf9 6236Author: Ben Skeggs <bskeggs@redhat.com> 6237Date: Mon Jul 6 19:58:15 2009 +1000 6238 6239 Rip out vgaHW + more unused vars from NVRec 6240 6241commit 3e22547b6826ae741b168c4b3391b6ade56b4829 6242Author: Ben Skeggs <bskeggs@redhat.com> 6243Date: Mon Jul 6 19:46:26 2009 +1000 6244 6245 Nuke nv_hw.c, and a heap of unused vars from NVRec 6246 6247commit eea5259d951a5919fa7800877570347c14411a32 6248Author: Ben Skeggs <bskeggs@redhat.com> 6249Date: Mon Jul 6 19:13:44 2009 +1000 6250 6251 Remove nv_dac.c 6252 6253commit a38b91a7a5c3337d405aa217830857832c5399e0 6254Author: Ben Skeggs <bskeggs@redhat.com> 6255Date: Mon Jul 6 19:09:09 2009 +1000 6256 6257 Cull everything in !pNv->randr12_enabled blocks 6258 6259commit 4815d312911cb4cfad4b4a5b194fce41d82f4869 6260Author: Ben Skeggs <bskeggs@redhat.com> 6261Date: Mon Jul 6 11:44:26 2009 +1000 6262 6263 kms: fix CRTC offset when rotation enabled 6264 6265commit 6d143272f497a61c5578752f58261befbfaf911a 6266Author: Ben Skeggs <bskeggs@redhat.com> 6267Date: Wed Jul 1 14:03:06 2009 +1000 6268 6269 nv50: initial support for depth 30 6270 6271commit 9b0919c3f3269b88fb338c043bbad34f20c22f41 6272Author: Ben Skeggs <bskeggs@redhat.com> 6273Date: Tue Jun 30 13:20:15 2009 +1000 6274 6275 kms: don't try transition when we don't have src+dst buffer ids 6276 6277commit c0bf670ac6b58cff60a01ab6b174ece6b1b7d892 6278Author: Ben Skeggs <bskeggs@redhat.com> 6279Date: Thu Jun 25 07:26:54 2009 +1000 6280 6281 wfb: fix stupid thinko + more safety 6282 6283commit a12cb5c8c0a85a601188178c5fc0d84a13abd87e 6284Author: Ben Skeggs <bskeggs@redhat.com> 6285Date: Thu Jun 18 14:28:25 2009 +1000 6286 6287 bios: oops 6288 6289commit e66867e4cf9f0bc8a1971664ccc3d5c56b08b2fb 6290Author: Ben Skeggs <bskeggs@redhat.com> 6291Date: Tue Jun 16 10:28:00 2009 +1000 6292 6293 bios: use image from PRAMIN in preference to PROM on NV50 6294 6295 There's at least one known case (rh#492658) where the DCB table present in 6296 the VBIOS image from PROM is not suitable for use. It contained all 16 6297 entries filled, each entry valid in itself, but contradicting other entries. 6298 6299 The VBIOS image in PRAMIN however, still has all 16 entries filled, but the 6300 first few entries now match what is present on the hardware, and the rest 6301 are set as type 0xf, which we ignore. 6302 6303commit 42c5730a4f6c243b75fbd40f1dc26e8433191c7b 6304Author: Ben Skeggs <bskeggs@redhat.com> 6305Date: Tue Jun 16 09:48:39 2009 +1000 6306 6307 wrap BlockHandler a little earlier 6308 6309commit 09e663aea82403f69a0e44e3b7cd89dfe96970d5 6310Author: Ben Skeggs <bskeggs@redhat.com> 6311Date: Mon Jun 15 16:09:27 2009 +1000 6312 6313 kms: safer fb resize func 6314 6315commit 90be5d5d6a696564bda23e9a2dad14a3a1808868 6316Author: Ben Skeggs <bskeggs@redhat.com> 6317Date: Mon Jun 15 13:43:21 2009 +1000 6318 6319 wfb: use straight memcpy hook if no tiled wraps present 6320 6321commit 86d905d34a5693e3d9b986660d4a2bcd6f30a06a 6322Author: Ben Skeggs <bskeggs@redhat.com> 6323Date: Mon Jun 15 13:41:21 2009 +1000 6324 6325 wfb: be more cautious in a few places 6326 6327commit 1bcbc4b26f71f90345bd82b836fc634e741aced8 6328Author: Ben Skeggs <bskeggs@redhat.com> 6329Date: Mon Jun 15 10:19:53 2009 +1000 6330 6331 kms: small cleanup 6332 6333commit c2d3550aafeb3e7c4df3334f0ac3554a8aa15da3 6334Author: Ben Skeggs <bskeggs@redhat.com> 6335Date: Mon Jun 15 09:16:10 2009 +1000 6336 6337 kms: fix rotation buffer pitch 6338 6339commit 6fd982979e03ce3eace7dc7523c428aca2c30b4a 6340Author: Ben Skeggs <bskeggs@redhat.com> 6341Date: Mon Jun 15 09:00:02 2009 +1000 6342 6343 kms: point rotation pixmap at correct buffer 6344 6345commit 67f8ebe77f047c12d76e508b4d7f6384baed39ac 6346Author: Ben Skeggs <bskeggs@redhat.com> 6347Date: Mon Jun 15 08:52:36 2009 +1000 6348 6349 nv50: create non-linear scanout buffers for rotation 6350 6351commit b7e3306ddc3693699f6f9de7b22913ee22ed31ed 6352Author: Stuart Bennett <stuart@freedesktop.org> 6353Date: Sun May 31 00:26:13 2009 +0100 6354 6355 Add DVI-A output info for Mac card missing bios tables (#21273) 6356 6357 The reporter indicates the card also has DVI-D and ADC, but those can't be 6358 tested to deduce the fake correct data at present 6359 6360commit 01b19c9fc25b147596e1719008ed9d861246ced9 6361Author: Ben Skeggs <bskeggs@redhat.com> 6362Date: Wed Jun 10 18:00:05 2009 +1000 6363 6364 nv50: sigh 6365 6366commit 4d9e63baff079fad727430fc605cb1e43c4303a7 6367Author: Ben Skeggs <bskeggs@redhat.com> 6368Date: Wed Jun 10 11:38:43 2009 +1000 6369 6370 wfb: "mode0" tiles have the same pitch as the others 6371 6372 This appears to be the case now (as in: after making the GPU do some of the 6373 dirty work) even though it didn't in the previous wfb patches. 6374 6375commit 02ed6b66e37e13ab4064974b89db2e73613108ef 6376Author: Ben Skeggs <bskeggs@redhat.com> 6377Date: Wed Jun 10 11:23:37 2009 +1000 6378 6379 wfb: work-around wfb suckage 6380 6381 wfb sucks far more than anticipated: 6382 - can only expose a single set of rd/wr hooks, not per-wrap as wfb doesn't 6383 treat the hooks as per-pixmap. 6384 - the hooks will get called on buffers that aren't even pixmaps 6385 6386commit 669c59ecb69a6f84ef8b8714cda6e87eacb3de9f 6387Author: Ben Skeggs <bskeggs@redhat.com> 6388Date: Wed Jun 10 09:15:37 2009 +1000 6389 6390 wfb: need a 64-bit datatype for multiply_factor 6391 6392commit 86dedb748cb6d047b195e50e921e840c1c403f6f 6393Author: Ben Skeggs <bskeggs@redhat.com> 6394Date: Tue Jun 9 22:25:01 2009 +1000 6395 6396 fix some pitch issues 6397 6398commit 794a27724fb9ab173dc7ea8062730797e1b4de04 6399Author: Ben Skeggs <bskeggs@redhat.com> 6400Date: Tue Jun 9 10:54:54 2009 +1000 6401 6402 nv50: use libwfb for pixmap access when driver pixmaps enabled 6403 6404commit 11d9690dd9e1190d1f6873bb9a5df8f98a39d4f5 6405Author: Ben Skeggs <bskeggs@redhat.com> 6406Date: Tue Jun 9 09:10:57 2009 +1000 6407 6408 exa: use the sane CreatePixmap hook, if available 6409 6410commit 6ee453381f00063522187939cb54ab9447b73ec7 6411Author: Ben Skeggs <bskeggs@redhat.com> 6412Date: Thu Jun 4 14:43:54 2009 +1000 6413 6414 xv: fix some issues with driver pixmaps 6415 6416commit 67c5287f31bf20ab3a38ffcdee410d9d49ce4d2b 6417Author: Ben Skeggs <bskeggs@redhat.com> 6418Date: Thu Jun 4 14:19:14 2009 +1000 6419 6420 exa: wait_marker becomes a NOP with driver pixmaps 6421 6422 mapping/unmapping buffers will sync as necessary 6423 6424commit f44e52852a199196f8428822bf9fb71711b9c4f9 6425Author: Ben Skeggs <bskeggs@redhat.com> 6426Date: Thu Jun 4 14:08:10 2009 +1000 6427 6428 nv50: make use of larger tile sizes 6429 6430commit 30c44ce3142ba44fc7a6c95ceaa9bf028cc112c1 6431Author: Ben Skeggs <bskeggs@redhat.com> 6432Date: Thu Jun 4 13:41:36 2009 +1000 6433 6434 exa: create unacceleratable pixmaps (ie. 1bpp) in system memory 6435 6436commit 1aa22d5894c4e4efe746592bf1c51cdaf0c31c24 6437Author: Ben Skeggs <bskeggs@redhat.com> 6438Date: Thu Jun 4 13:20:37 2009 +1000 6439 6440 nv50: use non-linear scanout buffer when driver pixmaps enabled 6441 6442commit 13d8d49f74fb10f631bcd38b169068e691b9ca99 6443Author: Ben Skeggs <bskeggs@redhat.com> 6444Date: Thu Jun 4 13:11:40 2009 +1000 6445 6446 nv50: use tile_mode from bo 6447 6448 should have no effect currently, but needed later 6449 6450commit bd9f5f2cbe7687aba7bb3a7f397d9b1bf87a8ef3 6451Author: Ben Skeggs <bskeggs@redhat.com> 6452Date: Thu Jun 4 12:11:48 2009 +1000 6453 6454 exa: fix compile against latest libdrm_nouveau 6455 6456commit 5f97afe38095a274938b8c2e9c5ebd17b7733bb6 6457Author: Stuart Bennett <stuart@freedesktop.org> 6458Date: Wed Jun 3 12:16:23 2009 +0100 6459 6460 randr12: split from pre-randr12 structs into new header, de-typedef 6461 6462 New nv_crtc->state shortcut and some renaming included for convenience 6463 6464commit 0c17b8790086a529ee9e4b5aca4b6f19f31900a9 6465Author: Stuart Bennett <stuart@freedesktop.org> 6466Date: Thu May 28 22:40:30 2009 +0100 6467 6468 Move head getting into nouveau_hw.c 6469 6470commit 12314fa6abb2dd6d325a370724c7d16c371c229c 6471Author: Stuart Bennett <stuart@freedesktop.org> 6472Date: Thu May 28 21:45:36 2009 +0100 6473 6474 randr12: improve uniformity of props code 6475 6476commit b541c1c4400942c59be37f62b7a25719dbdaa1a1 6477Author: Stuart Bennett <stuart@freedesktop.org> 6478Date: Thu May 28 18:23:37 2009 +0100 6479 6480 Remove "TMDS table script pointers not stubbed" bios warning 6481 6482 Scripts appear to be init scripts (+7 one for 0x6808b?, +9 for 0x6828b?), 6483 which when the pointer is non-zero (and the script isn't 'q') get called 6484 at POST (at least on my nv4b). 6485 6486 The warning, from a time when the scripts were thought to perhaps be needed 6487 for setting up outputs, seems redundant. 6488 6489commit 8af50289136e562198b5acc851629606d9ce450f 6490Author: Adam Jackson <ajax@redhat.com> 6491Date: Thu May 28 15:08:35 2009 -0400 6492 6493 Remove useless loader symbol lists. 6494 6495commit 317b58166bf9f3189f33e99493cf8a1b40e014b8 6496Author: Stuart Bennett <stuart@freedesktop.org> 6497Date: Wed May 13 19:05:25 2009 +0100 6498 6499 randr12: disable lvds (invalidate all modes) if bios lvds parsing fails 6500 6501commit e897191c7bcf61193576ecf52d23fcddf5b70634 6502Author: Stuart Bennett <stuart@freedesktop.org> 6503Date: Thu May 28 16:42:29 2009 +0100 6504 6505 randr12: better behaviour (avoid crash) when fp native mode can't be found 6506 6507commit 03167483b41f7205dd1efc5b571ec73ec4b3cdb5 6508Author: Stuart Bennett <stuart@freedesktop.org> 6509Date: Thu May 28 02:18:52 2009 +0100 6510 6511 randr12: line length improvements 6512 6513commit b60c16cdcbeff2d02ea0866dfbb742c3880b7ae4 6514Author: Stuart Bennett <stuart@freedesktop.org> 6515Date: Wed May 13 02:21:17 2009 +0100 6516 6517 Simplify tests for digital fp outputs 6518 6519commit 992d4b5d3aa04f88c22e52e25dc2e3e7d9bd776e 6520Author: Stuart Bennett <stuart@freedesktop.org> 6521Date: Thu May 28 15:59:12 2009 +0100 6522 6523 randr12: a bunch of trivial improvements and tidyups 6524 6525commit 6f0a324a503431d757b2247e7232de2eb7c318a5 6526Author: Stuart Bennett <stuart@freedesktop.org> 6527Date: Wed May 27 16:17:38 2009 +0100 6528 6529 Fix oopsy from 81bbdd4e causing broken framebuffer 6530 6531commit c5799186b1f70df0484c6cef63c8485ddf924733 6532Author: Stuart Bennett <stuart@freedesktop.org> 6533Date: Wed May 27 16:01:42 2009 +0100 6534 6535 randr12: fix two colour cursor on second head 6536 6537 Colour caching was preventing cursor from being set correctly on second head 6538 6539commit 81bbdd4ee2e942d91d056a10ef993a8f41651c64 6540Author: Ben Skeggs <bskeggs@redhat.com> 6541Date: Tue May 26 15:48:25 2009 +1000 6542 6543 explicitly mark buffers mappable 6544 6545commit 6c09ad5296820a845571d07cbe42d88bb19560df 6546Author: Stuart Bennett <stuart@freedesktop.org> 6547Date: Wed May 27 00:53:51 2009 +0100 6548 6549 Tolerate missing fp bios table (rh#502371) 6550 6551 Modern desktop IGPs frequently miss it out, and now it seems even some 6552 laptop parts (MXM style) do too 6553 6554commit db9ff958291416dd5b72d20d32d7412ec45c1e60 6555Author: Ben Skeggs <bskeggs@redhat.com> 6556Date: Mon May 25 08:31:07 2009 +1000 6557 6558 kms: clip sw transition dims to smallest common area 6559 6560commit 2688c97169d8ea579ba09b9db049e31704f96626 6561Author: Ben Skeggs <bskeggs@redhat.com> 6562Date: Mon May 25 08:29:47 2009 +1000 6563 6564 don't run vbios parser when kms enabled 6565 6566commit 9656762ba186e91dd2b3b7f3f9427ba520982f9d 6567Author: Ben Skeggs <bskeggs@redhat.com> 6568Date: Thu May 14 10:26:44 2009 +1000 6569 6570 nv50: fix multiple-display hangs when encoders swap crtcs 6571 6572commit d70eed91b2909ba0b20415ab1d5a099fb6b39b08 6573Author: Stuart Bennett <stuart@freedesktop.org> 6574Date: Tue May 12 16:54:33 2009 +0100 6575 6576 randr12: fix digital dpms regression 6577 6578 introduced in 3971dda57004894d5d4fc9420aa00da400815af9 6579 6580 setting two different "blank" DPMS modes (say Suspend, followed by Off) 6581 consecutively would lead to the saved fp control value getting overwritten 6582 with FP_TG_CONTROL_OFF flavoured state, so DPMS on would then never work 6583 6584 also, an improvement to LVDS DPMS state caching 6585 6586commit 10721038b854d9945ae551c6aa382b90f5d743e1 6587Author: Ben Skeggs <skeggsb@gmail.com> 6588Date: Thu May 7 21:39:41 2009 +1000 6589 6590 exa: use exaDriverAlloc() to prevent issues across exa changes 6591 6592commit 8502a8024354b88a4f19c7ad355268bb20772356 6593Author: Stuart Bennett <stuart@freedesktop.org> 6594Date: Wed May 6 18:01:54 2009 +0100 6595 6596 Fix server regeneration again 6597 6598 The DRM is now opened in PreInit, so it must not be closed in CloseScreen, 6599 as the DRM wouldn't then be open in the subsequent ScreenInit 6600 6601commit 7a796a94d0c0e18a77c5c50a0f9ca9c218d7201f 6602Author: Stuart Bennett <stuart@freedesktop.org> 6603Date: Thu Apr 30 16:04:59 2009 +0100 6604 6605 randr12: off-chip lvds for nv28 (rh#487456) 6606 6607 Quite how this possibly works with the off-chip DVI connector the laptop 6608 in question also claims to have is unclear: I suspect that (at least in 6609 nouveau's implementation) it doesn't. Sadly we've no dvi-in-use reg dump 6610 to see what should be done. 6611 6612commit 5959512ef5ce20aa52bbd41d5d987392f27b9e65 6613Author: Stuart Bennett <stuart@freedesktop.org> 6614Date: Wed May 6 14:44:40 2009 +0100 6615 6616 'drmCheckModesettingSupported' implicit function declaration fix 6617 6618commit f62719e2ac8b04d4496dc56d5fa181934bcea9f7 6619Author: Peter Hjalmarsson <xake@rymdraket.net> 6620Date: Wed May 6 14:43:22 2009 +0100 6621 6622 Unused variable warning fixes 6623 6624commit c8260ef52b58234335bdbfab31364d3d25840c21 6625Author: Pierre Pronchery <khorben@defora.org> 6626Date: Wed May 6 14:32:34 2009 +0100 6627 6628 Fix crash with Xinerama enabled 6629 6630 From the mailing list, minor tweaks by Stuart Bennett 6631 6632commit 1a478edbd58bb2eb1a41f22dea893c6d85902318 6633Author: Stuart Bennett <stuart@freedesktop.org> 6634Date: Wed May 6 02:23:42 2009 +0100 6635 6636 randr12: de-magic ramdac general control values 6637 6638commit 6c209a87d2d90b39fddc446378b370bd7fb81f6b 6639Author: Stuart Bennett <stuart@freedesktop.org> 6640Date: Tue Apr 7 14:37:05 2009 +0100 6641 6642 randr12: pre-nv17 load detection 6643 6644 Sampling heuristic as close to nvidia's as mmiotrace-based inference admits 6645 6646 Works on both nv05 and nv11 6647 6648commit 3971dda57004894d5d4fc9420aa00da400815af9 6649Author: Stuart Bennett <stuart@freedesktop.org> 6650Date: Thu Apr 30 19:31:27 2009 +0100 6651 6652 randr12: fix fp_control again again again 6653 6654 As prophesied, 9c991d3a84ad16f893b739282403eb01e02bb57f broke something: 6655 turning off a digital output, then turning on an analogue output on the 6656 same crtc as previously used by the digital output led to FP_TG_CONTROL 6657 being turned on again when the (unmodified by analogue mode_set) fp_control 6658 state was written out 6659 6660 So, belt and braces attempt to get this right, one more time 6661 6662commit 0ef16031c7e27ffabb0299e9463def125bd5e72c 6663Author: Stuart Bennett <stuart@freedesktop.org> 6664Date: Thu Apr 30 15:27:33 2009 +0100 6665 6666 randr12: solve off-chip encoder crtc exclusion in prepare, rather than dpms 6667 6668commit 0447ce06989d5599e268fdb8a4ba7bebf72f5c95 6669Author: Stuart Bennett <stuart@freedesktop.org> 6670Date: Sat Apr 4 20:08:32 2009 +0100 6671 6672 randr12: simplify nv11 digital encoder-crtc binding 6673 6674 Always setting |0x10 on the appropriate crtc for nv11 digital is fine; 6675 it's what the proprietary driver does, even if the bios doesn't 6676 6677 Fix some line lengths in nv_output_mode_set() too 6678 6679commit f69b34aa92050987e8f3da07d92d5698e9333b75 6680Author: Ben Skeggs <skeggsb@gmail.com> 6681Date: Fri May 1 09:07:55 2009 +1000 6682 6683 nv50: return immediately in GetDDCModes if no DDC on connector... 6684 6685commit 45e16187612bc09b234b598dff25bbcc8069fde1 6686Author: Ben Skeggs <skeggsb@gmail.com> 6687Date: Thu Apr 30 16:37:29 2009 +1000 6688 6689 bios: use NV_ARCH_50 to match G8x chips 6690 6691 There's at least a couple of chips where we get 0x77 for chip_version, 6692 and fail to match the chip_version >= 0x80 test.. 6693 6694commit 3d61697c477dd7358e5fd4e5bc608b4fe763b5d3 6695Author: Ben Skeggs <skeggsb@gmail.com> 6696Date: Thu Apr 30 10:23:11 2009 +1000 6697 6698 nv50: remove reading back vbios-programmed lvds native mode 6699 6700commit bade2499db8e02dd2904bc811399c891bf126208 6701Author: Ben Skeggs <bskeggs@redhat.com> 6702Date: Thu Apr 30 09:33:21 2009 +1000 6703 6704 nv50: group encoders into connectors by i2c port 6705 6706commit 9ee2ac19d7adc067a5551e6d6853a19b89946d46 6707Author: Ben Skeggs <skeggsb@gmail.com> 6708Date: Wed Apr 29 16:26:41 2009 +1000 6709 6710 bios: remove dodgy mode-table search for g80 6711 6712 This appears to work in exactly the same way as on earlier chipsets, the 6713 strap value just moved slightly.. 6714 6715commit 6282574dbeeb7075a00ce03940c4f2a597a048b5 6716Author: Ben Skeggs <skeggsb@gmail.com> 6717Date: Wed Apr 29 16:25:43 2009 +1000 6718 6719 bios: modify get_fp_strap() for g80 6720 6721commit 09b832e24b9bd887275ba882beabe9bba56f0207 6722Author: Ben Skeggs <skeggsb@gmail.com> 6723Date: Tue Apr 28 09:46:55 2009 +1000 6724 6725 nv50: merge NV50SorSetClockMode and NV50SorSetClockModeLVDS 6726 6727commit ed2c185caeb75c595dfb2e814748a856a23b2b35 6728Author: Ben Skeggs <skeggsb@gmail.com> 6729Date: Tue Apr 28 08:44:01 2009 +1000 6730 6731 bios/nv50: initial parsing of display script tables, not quite complete 6732 6733commit 3fccc9e83a194fd58c333c6c4793a27cb05ce026 6734Author: Ben Skeggs <skeggsb@gmail.com> 6735Date: Tue Apr 28 09:38:21 2009 +1000 6736 6737 bios: some nv50 init scripts have flags in reg values, deal with (1<<30) 6738 6739commit 2b4b3da73babbe9ebf4acc26238a4b2b8a6e6ee8 6740Author: Ben Skeggs <skeggsb@gmail.com> 6741Date: Wed Apr 29 11:00:17 2009 +1000 6742 6743 bios: dcb location is only 2 bits 6744 6745commit 7b5bfff21916461ce7f6a2adb27dc443ad0b8201 6746Author: Ben Skeggs <skeggsb@gmail.com> 6747Date: Tue Apr 28 08:12:05 2009 +1000 6748 6749 bios: parse BIT U table 6750 6751commit e4260ec4f0303b286f16eab4fe5a1bb66ff89e3d 6752Author: Stuart Bennett <stuart@freedesktop.org> 6753Date: Wed Apr 1 02:56:05 2009 +0100 6754 6755 randr12: more use of logging abstraction in modesetting code 6756 6757commit 4d0fdba9abcd0af736821d54baca5f0c9a8d6ce1 6758Author: Stuart Bennett <stuart@freedesktop.org> 6759Date: Mon Apr 6 01:14:04 2009 +0100 6760 6761 randr12: fix for off-chip dual link digital (enable extra wide interface?) 6762 6763commit bb246d72a01285299599cbf8ff82c67f14682a4f 6764Author: Stuart Bennett <stuart@freedesktop.org> 6765Date: Mon Apr 6 01:00:41 2009 +0100 6766 6767 Partial fix for nv28 lvds bios parsing (part of rh#487456) 6768 6769 For rh#487456, though this is neither a complete fix for that bug, nor a 6770 complete fix for nv25/28 lvds (the EDID matching mentioned in the commit is 6771 omitted until someone appears with a laptop requiring it) 6772 6773commit 2915926702b7ae9ccb1e900c07ca14a2f32e4512 6774Author: Stuart Bennett <sb476@cam.ac.uk> 6775Date: Mon Apr 7 23:20:12 2008 +0100 6776 6777 plls: max_log2p_bias is likely actually max_log2p 6778 6779 As explained in nouveau_bios.h, a separate max_usable_log2p is needed 6780 (lack of change from 6 to 7 tested by setting a stable small mode, say 6781 400x300, then manually tweaking the multiplier up and post divider down). 6782 The max_usable_log2p values hardcoded here are unchanged from those 6783 previously taken from the bios pll calculation code 6784 6785 For reference, the blob will quite happily attempt to set clocks using the 6786 raw parsed max_log2p values (and go up to 7 therefore) when setting modes 6787 around 200x200 (3MHz pxclk), but at such a low clock my monitor won't agree 6788 to give a sensible picture anyway. Reg dumped data using "nvidia" below: 6789 6790 nv40: log2P up to 7 (dual pll mode), at very low clocks driver gives up and sets 0x0006ff0d 0x80001f04 6791 nv43: log2P up to 7 (dual pll mode), at very low clocks driver gives up and sets 0x0006ff0d 0x80001f04 6792 nv11: single pll, therefore goes quite happily down to at least 0.25MHz 6793 nv31: log2P up to 7 (dual pll mode), at very low clocks card locks up 6794 nv34: log2P up to 5 (single pll), goes down to at least 2.25MHz 6795 nv4b: log2P up to 6 (single pll mode), at very low clocks driver gives up and sets 0x0006ff0d 0x80001f04 6796 6797commit 47bb00fee8b9906adc03b372efa1ae813bc9ca9a 6798Author: Ben Skeggs <skeggsb@gmail.com> 6799Date: Tue Apr 21 08:57:07 2009 +1000 6800 6801 nv50: missed a WAIT_RING 6802 6803commit 523ccecee26454fc43a65e9b33d91a7d0ff8487d 6804Author: Ben Skeggs <skeggsb@gmail.com> 6805Date: Fri Apr 17 14:18:54 2009 +1000 6806 6807 nv50: use vbios-programmed lvds mode as native mode if no ddc 6808 6809 Why was this even removed? Its replacement (read VBIOS fp mode table) has 6810 proven useless in the majority of cases I've seen. 6811 6812commit fa2f1115d5f7f3e3767d423a77c6d929a4ae8d0f 6813Author: Ben Skeggs <skeggsb@gmail.com> 6814Date: Fri Apr 17 10:25:57 2009 +1000 6815 6816 Remove pNv->GART conditional for selecting CB_LOCATION in AGP/PCI 6817 6818 Kinda useless, the DRM knows better whether GART is available. 6819 6820commit 7100c06be099bacc0f8bb8898bbf7eb34ff1cc6e 6821Author: Ben Skeggs <skeggsb@gmail.com> 6822Date: Mon Apr 13 20:21:51 2009 +1000 6823 6824 kms: fix displayWidth in resize 6825 6826commit ef2de256dabfde2d619e4d451bd417973c919329 6827Author: Ben Skeggs <skeggsb@gmail.com> 6828Date: Mon Apr 13 19:09:32 2009 +1000 6829 6830 do e-edid for legacy modesetting path 6831 6832commit d8545e669aaa4362a236ba2e7231ca27ffdea1bd 6833Author: Ben Skeggs <skeggsb@gmail.com> 6834Date: Wed Apr 8 16:15:02 2009 +1000 6835 6836 bios: logic typo from earlier commit 6837 6838commit 960a5c82a80272a1577dede6a05ab7dc5db37cc3 6839Author: Ben Skeggs <skeggsb@gmail.com> 6840Date: Wed Apr 8 14:44:06 2009 +1000 6841 6842 nv50: modify ddc<->nvreg assignments again.. 6843 6844commit 3a6c7091d9706778a2e3971b7f36601d79fe7a83 6845Author: Ben Skeggs <skeggsb@gmail.com> 6846Date: Wed Apr 8 14:34:20 2009 +1000 6847 6848 kms: fix setting the randr edid property 6849 6850commit a1194b3690ced5db552d63be118a605508a1b965 6851Author: Ben Skeggs <skeggsb@gmail.com> 6852Date: Tue Apr 7 19:24:25 2009 +1000 6853 6854 bios: fix typo 6855 6856commit 11451cabbd5357dd71ab65e6155d7ca7d9766db7 6857Author: Ben Skeggs <skeggsb@gmail.com> 6858Date: Tue Apr 7 18:34:57 2009 +1000 6859 6860 bios: some G8x don't have PBUS at 0x1800, us 0x88000 unconditionally there 6861 6862commit 62d69bdf807423a644d7c2c493f94948ea11e491 6863Author: Ben Skeggs <skeggsb@gmail.com> 6864Date: Sat Apr 4 01:41:47 2009 +1000 6865 6866 bios: add exception for chipset 0x73 for lack of fp table 6867 6868commit 620d519564fdc6b3a7d55184bd481fa69035371b 6869Author: Ben Skeggs <skeggsb@gmail.com> 6870Date: Fri Apr 3 23:07:56 2009 +1000 6871 6872 consistent connector naming across <nv50, nv50 and kms 6873 6874commit a5d45c80e85611c9e22d8eca27294eef5378a549 6875Author: Stuart Bennett <stuart@freedesktop.org> 6876Date: Tue Apr 7 00:40:31 2009 +0100 6877 6878 randr12: set 1 on cr59 for off-chip digital, 0 otherwise (#21023, rh#492399) 6879 6880 The ubiqitous setting of 1 on cr59 for <nv40 tmds was breaking the 6881 integrated dvi of nv34gl. 6882 Thanks to Bill Nottingham for isolating the problem. 6883 6884commit d63c92435956b23351f1950563bbb92e24e60cea 6885Author: Stuart Bennett <stuart@freedesktop.org> 6886Date: Fri Apr 3 23:39:22 2009 +0100 6887 6888 randr12: unlock CR21 *after* turning off digital output 6889 6890 otherwise the analogue output still fails to come up. 6891 6892 That'll teach me to rearrange things just before committing 6893 6894commit 11be9a982073d66a68cd3db2bfc611eb58d3ea81 6895Author: Ben Skeggs <skeggsb@gmail.com> 6896Date: Fri Apr 3 12:22:04 2009 +1000 6897 6898 nv50: fix i2c port addresses 6899 6900commit e2aa03794420324ae5a682bbc415a79a4d830f7e 6901Author: Stuart Bennett <stuart@freedesktop.org> 6902Date: Fri Apr 3 00:57:19 2009 +0100 6903 6904 randr12: fall back to standard timings when finding native mode (rh#492819) 6905 6906commit 6965663ddcc8dd3330842d3c4c4eb4cbf4e4fc39 6907Author: Stuart Bennett <stuart@freedesktop.org> 6908Date: Wed Apr 1 05:38:29 2009 +0100 6909 6910 randr12: fix hw cursor for fully transparent pixels 6911 6912 ARGB8 pixels of 0x00000000 were getting bumped to 0x01000000, which was 6913 _just_ visible as a box around the cursor 6914 6915commit d12f70cedb0ba598234bbfc26dd6beed23e3dfe7 6916Author: Stuart Bennett <stuart@freedesktop.org> 6917Date: Sun Mar 29 00:51:05 2009 +0000 6918 6919 randr12: pre-nv17 digital fixes 6920 6921 1) set panel regs better (don't do min_front_porch adjustment) 6922 2) scaler programming - nv11 and nv20 don't need / 2 for aspect scaling 6923 6924commit ea567dbc7bc9c8d2ee5d7d9e0dcd33b03c638edb 6925Author: Stuart Bennett <stuart@freedesktop.org> 6926Date: Sat Mar 28 01:58:09 2009 +0000 6927 6928 randr12: fix restore for cards where CR21 is not left unlocked at POST 6929 6930 More nv11 inspired fun. If CR21 is left without a 0xfa mask after boot, 6931 we'd restore the old CR21 value and the subsequent restoration of VGA 6932 CRTC values wouldn't get through. 6933 6934 RE'd doc of CR21 behaviour included 6935 6936commit bd263d83139fcc93b967c71c99fd5e63e1ba6315 6937Author: Stuart Bennett <stuart@freedesktop.org> 6938Date: Fri Mar 27 18:27:18 2009 +0000 6939 6940 randr12: make nv11 dvi work for both crtcs 6941 6942commit 52c287dc64a97a750eb953ac5f725d794cbf0c64 6943Author: Stuart Bennett <stuart@freedesktop.org> 6944Date: Fri Mar 27 00:23:04 2009 +0000 6945 6946 Every card since nv5 can do panels 6947 6948 We'll only try to do ones using scripts atm though 6949 6950 Note that as we don't have a load detect function for pre-nv17 you'll 6951 likely get a 1024x768 mode set up on VGA-0 even if only the DVI output 6952 is plugged. Unclear if this is a bug or feature :) 6953 6954commit 3d371a78bc9522e9a1b2c967957a090bb527a30c 6955Author: Stuart Bennett <stuart@freedesktop.org> 6956Date: Thu Mar 26 22:21:57 2009 +0000 6957 6958 randr12: enable tmds reg access on pre-nv17 6959 6960 I think this nv11 hates me 6961 6962commit 1bb85c8020802719e82c1335a18df9367215a8ff 6963Author: Stuart Bennett <stuart@freedesktop.org> 6964Date: Wed Apr 1 04:09:09 2009 +0100 6965 6966 randr12: reorder ramdac reg access 6967 6968commit 4465fddb2467ad9d923120a2fd2c648222603771 6969Author: Stuart Bennett <stuart@freedesktop.org> 6970Date: Wed Apr 1 04:10:18 2009 +0100 6971 6972 randr12: remove nv30 special case 6973 6974 0x68?89? are just an alternative way to set scaling (set | 0x40 on 0x68.880, 6975 then horiz scaling in 0x68.898, vert in 0x68.89c) and afaict don't have any 6976 special significance on nv30 6977 6978commit 72eced5eeeef438979dff06b6c1cbaa120738cfe 6979Author: Stuart Bennett <stuart@freedesktop.org> 6980Date: Wed Apr 1 03:12:30 2009 +0100 6981 6982 randr12: fix/improve a load of version/feature tests 6983 6984 Main improvement is introduction of flag for nv17+ display architecture 6985 6986 Other version fixes include: 6987 * allow access of fp control regs on all cards (defined since nv4) 6988 * only read crtc_850 and gpio_ext on nv40+, since only written on nv40+ 6989 * set dither state on all versions (only written out on relevant cards) 6990 * PRAMDAC_DACCLK is only defined/usable on nv17+ 6991 * no point saving the lvds/tmds head for restore if there's only one head 6992 * fix a bunch of places the nforce (0x1a) case had been missed 6993 6994commit 37c6916d3eac54cc13812276fca99662162c4bbc 6995Author: Ben Skeggs <skeggsb@gmail.com> 6996Date: Wed Apr 1 15:00:03 2009 +1000 6997 6998 bios: fix chips with pll limits table version 0 6999 7000commit 76c5a05603b0eaa0831e031268e48ab6ffdee3a9 7001Author: Ben Skeggs <skeggsb@gmail.com> 7002Date: Wed Apr 1 10:36:34 2009 +1000 7003 7004 bios: xf86DrvMsg->NV_ERROR 7005 7006commit b1b9bcb111f1f5ec15e19d5a84b7ca576983c4a1 7007Author: Ben Skeggs <skeggsb@gmail.com> 7008Date: Tue Mar 31 11:43:26 2009 +1000 7009 7010 bios: support for pll limits table v3.0 7011 7012commit 8c85b4b7451bd09b0607b1f4ef8ce4b833006328 7013Author: Ben Skeggs <skeggsb@gmail.com> 7014Date: Tue Mar 31 11:11:12 2009 +1000 7015 7016 kms: CONNECTORn -> CONNECTOR-n 7017 7018commit 4e1c3239648510a4024917289127ad1e982ed34d 7019Author: Stuart Bennett <stuart@freedesktop.org> 7020Date: Tue Mar 31 20:59:26 2009 +0100 7021 7022 Restore call to NVDRIGetVersion, to ensure the dri module is loaded 7023 7024commit c973f756cfdf36db3a5c7095f6e2c57ff5841388 7025Author: Stuart Bennett <stuart@freedesktop.org> 7026Date: Tue Mar 31 17:07:26 2009 +0100 7027 7028 Abstract logging in nv_bios.c 7029 7030commit b17bebd811316b5ccca21146b58f8fbf4773f0ad 7031Author: Stuart Bennett <stuart@freedesktop.org> 7032Date: Mon Mar 30 20:52:29 2009 +0100 7033 7034 nForce DIMM check is now in DRM 7035 7036 Since it only at most suggests an optimization, there's no real need to 7037 wait for a DRM version bump 7038 7039commit 9c991d3a84ad16f893b739282403eb01e02bb57f 7040Author: Stuart Bennett <stuart@freedesktop.org> 7041Date: Mon Mar 30 03:31:01 2009 +0100 7042 7043 randr12: FP_TG_CONTROL 2: dpms improvements 7044 7045 For DPMS on digital outputs nvidia does not just OR the 0x68.848 value 7046 with 0x20000022, they mask off 0x10000011 too. 7047 To do the same thing here, don't change in-memory state of programmed reg 7048 value (hopefully nothing breaks) 7049 7050commit 5fb2888d79d39a1c74ab005d8d518686ad823224 7051Author: Stuart Bennett <stuart@freedesktop.org> 7052Date: Fri Mar 27 18:27:18 2009 +0000 7053 7054 randr12: FP_TG_CONTROL 1: turn off digital path when using VGA encoder 7055 7056 On pre-nv17, having a CRTC's digital output path turned on when 7057 programming the CRTC for VGA confuses the chip and often results in the 7058 analogue output not working. Indeed, having it turned on even just before 7059 programming the CRTC seems to break it. 7060 7061 Nvidia solves this by turning off the digital path early in modesetting 7062 and then delaying for 50ms, so (if the digital path was on to start with) 7063 that's reproduced here. 7064 7065 Although this problem has not been seen on nv17+, nvidia uses the same 7066 approach, so we may as well too. 7067 7068 Some tidying of the output_prepare function thrown in as well. 7069 7070commit 8023dc3e2dcfa8a4cc11a5a64750a7505e8aa704 7071Author: Stuart Bennett <stuart@freedesktop.org> 7072Date: Mon Mar 30 02:27:50 2009 +0100 7073 7074 Split DCB 1.5 parsing from 2.0+, get closer to 80 cols 7075 7076commit ea027b35b28c0305aca03edc8c1ff5cd84bbf3ef 7077Author: Stuart Bennett <stuart@freedesktop.org> 7078Date: Fri Mar 27 00:03:38 2009 +0000 7079 7080 The dcb prior to v1.5 is pretty hopeless, just add a crt. 7081 7082 Also, we don't use dcb 1.2 i2c for modesetting due to cards with broken 7083 tables (ala #14821), and I've got an nv11 with duff entries (v1.4), so 7084 don't raise hopes of init_dcb_i2c_entry working on these versions either 7085 7086commit 921fbccd53eae37ed86ecece6dc1fcae4b7bf3c4 7087Author: Stuart Bennett <stuart@freedesktop.org> 7088Date: Thu Mar 26 16:41:02 2009 +0000 7089 7090 randr12: avoid nv11 chip lockup when saving palette regs 7091 7092commit 9d46930f0eec7b787666671681e9a93fc33dce62 7093Author: Ben Skeggs <skeggsb@gmail.com> 7094Date: Mon Mar 30 20:11:03 2009 +1000 7095 7096 xv: oops 7097 7098commit 9213c39d3a8d9a7fc90a44f9427c1fb8218243e2 7099Author: Ben Skeggs <skeggsb@gmail.com> 7100Date: Mon Mar 30 11:14:20 2009 +1000 7101 7102 xv: post damage after we draw (rh#492239) 7103 7104commit d68a0527aa2a3e93c3408526d4bbb93db89e9b3c 7105Author: Ben Skeggs <skeggsb@gmail.com> 7106Date: Mon Mar 30 10:45:59 2009 +1000 7107 7108 kms: small cleanup 7109 7110commit c9cb6a6f7f79233bdab737fa6b6d0916dab45971 7111Author: Stuart Bennett <stuart@freedesktop.org> 7112Date: Fri Mar 27 16:43:27 2009 +0000 7113 7114 rh#492511 has a CRTC_OWNER of 0x7 for some reason 7115 7116 not that this probably affects the bug in any way 7117 7118commit 95bff61597ddf21d6415b40759258802a5f42150 7119Author: Stuart Bennett <stuart@freedesktop.org> 7120Date: Wed Mar 25 02:40:17 2009 +0000 7121 7122 randr12: fix LVDS legitimately disconnected case 7123 7124 DPMS off still needs to work, but there's no native_mode for the pxclk. 7125 Fortunately LVDS_PANEL_OFF doesn't actually need a pxclk, so just use 0 7126 7127commit f86e395231c97155c1a211010835fd02b8e4dc5f 7128Author: Stuart Bennett <stuart@freedesktop.org> 7129Date: Wed Mar 25 02:07:15 2009 +0000 7130 7131 randr12: permit vga outputs to be force enabled in xorg.conf 7132 7133 You need: 7134 Section "Monitor" 7135 Identifier "VGA-0" 7136 Option "Enable" "true" 7137 EndSection 7138 7139commit 8427b39a2f6cb32496bbbe370b793d5ba78f6b6c 7140Author: Stuart Bennett <stuart@freedesktop.org> 7141Date: Tue Mar 24 03:32:24 2009 +0000 7142 7143 randr12: move a load of hw mode programming into nouveau_hw.c 7144 7145 Pull in pll setting (common, no reason to bloat nv_bios with it), state 7146 load/unload from nv_crtc, and useful bits of nv_hw.c (remnants in nv_hw.c 7147 are only used on the non-randr12 path) 7148 7149commit 163bdce98c0f9ca5c1125e33a9a2bf2d2d9a1286 7150Author: Stuart Bennett <stuart@freedesktop.org> 7151Date: Tue Mar 24 03:19:38 2009 +0000 7152 7153 Turn the smaller mmio wrappers into static inline 7154 7155commit 21ee927f28d1ca8d3807acc767ef14783e43f057 7156Author: Stuart Bennett <stuart@freedesktop.org> 7157Date: Mon Mar 23 21:34:26 2009 +0000 7158 7159 Put arbitration and mnp calcs in separate file 7160 7161 Make bios->chip_version public so the pll calcs can use it 7162 7163commit 83dc890f0b1fc88d2fbc7559f5d4decf4c84f340 7164Author: Maarten Maathuis <madman2003@gmail.com> 7165Date: Sat Mar 28 01:25:32 2009 +0100 7166 7167 nv50: use E-EDID when available + apply edid quirks 7168 7169commit 2c130cf71587706a4f1dcd8f5db1de47a10522f5 7170Author: Pekka Paalanen <pq@iki.fi> 7171Date: Fri Mar 27 23:16:59 2009 +0200 7172 7173 nv50: fix xf86GetDefaultModes() call for older servers 7174 7175 Thanks to stillunknown for this build fix. 7176 7177commit f1907dcef8d06d7ee4ef10ba22bb7decef700110 7178Author: Ben Skeggs <skeggsb@gmail.com> 7179Date: Fri Mar 27 15:37:17 2009 +1000 7180 7181 nv50: add default modes to mode pool for LVDS panel 7182 7183 At some point X stopped doing this if the display doesn't support 7184 continuous timing. For a lot of G80 LVDS panels, they only report 7185 their native mode via DDC. 7186 7187 We'll add the default modes ourself, and use the GPU scalers. 7188 7189commit 7da6fdb8b477d2007c83b47e9cbcc2476ae40f22 7190Author: Ben Skeggs <skeggsb@gmail.com> 7191Date: Fri Mar 27 14:17:29 2009 +1000 7192 7193 kms: fix bug which prevented getting edid from the kernel 7194 7195commit f431e204d3a9be92df5ca606e86ed7c6d82103f0 7196Author: Ben Skeggs <skeggsb@gmail.com> 7197Date: Fri Mar 27 11:50:22 2009 +1000 7198 7199 randr: fix crash when rotation requested 7200 7201commit 36dedd04da1b3c89be61a95270414477d284b2ef 7202Author: Ben Skeggs <skeggsb@gmail.com> 7203Date: Fri Mar 27 11:26:09 2009 +1000 7204 7205 kms: check for mm_enabled as an additional test for kms presence 7206 7207commit a923bc1e4840c0386301f8648add2ccbfbf79a88 7208Author: Ben Skeggs <skeggsb@gmail.com> 7209Date: Thu Mar 26 16:24:01 2009 +1000 7210 7211 nv50/xv: correct rendering to partically obscured windows 7212 7213 Won't be exposed by current git, due to lack of accelerated front-buffer 7214 rendering. But should fix rh#492173, rh#492229. 7215 7216commit 01cee2906686897c4b795d308270b3b69a3e286e 7217Author: Ben Skeggs <skeggsb@gmail.com> 7218Date: Thu Mar 26 11:43:09 2009 +1000 7219 7220 nv50: call NVSync() in CloseScreen() before restoring video mode 7221 7222 Without this, if accel is still being done to the front buffer (usually at 7223 offset 0), we'll restore the video mode and then the engine will clobber 7224 the text mode fonts right afterwards leaving a messed up console. 7225 7226commit aa7c0375b51d813be54de5e19b96e958ac183f17 7227Author: Ben Skeggs <skeggsb@gmail.com> 7228Date: Thu Mar 26 06:36:17 2009 +1000 7229 7230 kms: implement AdjustFrame, should fix crash in fdo#24236 7231 7232commit 61879b8079bee1caeedc0bd9c11061423ff27b4a 7233Author: Ben Skeggs <skeggsb@gmail.com> 7234Date: Wed Mar 25 10:09:39 2009 +1000 7235 7236 kms: drm_mode_modeinfo struct changed names at some point 7237 7238commit 79306fc29f6b27fd61fe51855bad5489fc4fd986 7239Author: Ben Skeggs <skeggsb@gmail.com> 7240Date: Wed Mar 25 08:15:41 2009 +1000 7241 7242 dri: fail harder 7243 7244commit da1ba93f1dc2b02615e4f0366450872659176799 7245Author: Ben Skeggs <skeggsb@gmail.com> 7246Date: Wed Mar 25 08:12:26 2009 +1000 7247 7248 device close doesn't belong in DRI close, can have DRM without DRI 7249 7250commit 56b11c773ac9392069c6a589f4f87c5cc79e020e 7251Author: Younes Manton <younes.m@gmail.com> 7252Date: Tue Mar 24 14:27:40 2009 -0400 7253 7254 Fix mouse cursor disappearing when near top/left edge of screen. 7255 7256commit 4067ab466fe3aa817e0323959f70c7dd3494de0a 7257Author: Ben Skeggs <skeggsb@gmail.com> 7258Date: Mon Mar 23 14:43:22 2009 +1000 7259 7260 another ppc fix 7261 7262commit 862dba8b6ca6354d915f2430826a5581f41d1002 7263Author: Ben Skeggs <skeggsb@gmail.com> 7264Date: Mon Mar 23 14:22:15 2009 +1000 7265 7266 more ppc.. 7267 7268commit 30634865617737171835f6ac9437df597e5a8951 7269Author: Ben Skeggs <skeggsb@gmail.com> 7270Date: Mon Mar 23 13:57:52 2009 +1000 7271 7272 fix ppc build 7273 7274commit d80fe7878379aefd3345746a149f2b46d3a84805 7275Author: Francisco Jerez <currojerez@riseup.net> 7276Date: Mon Mar 23 03:27:16 2009 +0100 7277 7278 Fix nouveau_hw_decode_pll on NV30/35. 7279 7280commit 62aa81deca5c63d30407872c0e2b784f5084acb3 7281Author: Stuart Bennett <stuart@freedesktop.org> 7282Date: Sat Mar 21 01:43:14 2009 +0000 7283 7284 Some laptop mode finding fixes resulting from rh#487456 7285 7286 On closer inspection, it seems BMP laptops only depend on 7287 use_straps_for_mode to ban DDC. Therefore use pxclk alone to determine 7288 EDID case in parse_lvds_table, and invert sense of fp ddc flag to get a 7289 default of "false" 7290 7291commit aa6edfaf1c32432b07c298c42b68f2d93f3b337c 7292Author: Stuart Bennett <stuart@freedesktop.org> 7293Date: Sun Mar 15 15:18:16 2009 +0000 7294 7295 randr12: name VGA CRTC fields 7296 7297 Now with added consistent indentation 7298 Use fields in a couple of other cases while we're about it 7299 7300commit 7b7c44c828eda2edfad2fa9bea95f70889c59453 7301Author: Stuart Bennett <stuart@freedesktop.org> 7302Date: Sun Mar 15 03:45:54 2009 +0000 7303 7304 randr12: rename reg state members to follow reg names 7305 7306commit 4ae6c22957a929760e583d5704e350adb4404c3d 7307Author: Stuart Bennett <stuart@freedesktop.org> 7308Date: Sun Mar 15 03:11:40 2009 +0000 7309 7310 randr12: name some FP flags, move some unrelated stuff out from nvreg.h 7311 7312commit b50b49f6f54148ee64ba7500e797f432b198a324 7313Author: Stuart Bennett <stuart@freedesktop.org> 7314Date: Sun Mar 15 04:21:40 2009 +0000 7315 7316 pre-nv50: use nvidia's names for PRAMDAC regs where known 7317 7318 Mostly adding 'P' to the previous NV_RAMDAC regs -- either when known 7319 correct, or when totally unknown (eg NV_PRAMDAC_580); made-up names 7320 untouched. Lack of code changes checked with cpp. 7321 7322 Unused defines removed too. 7323 7324commit a9df3049a7e38b3bf4478459e5f0736e10927247 7325Author: Stuart Bennett <stuart@freedesktop.org> 7326Date: Sun Mar 15 04:08:56 2009 +0000 7327 7328 pre-nv50: use nvidia's names for PCRTC regs where known 7329 7330 Mostly adding 'P' to the previous NV_CTRC regs -- either when known 7331 correct, or when totally unknown (eg NV_PCRTC_850); made-up names 7332 untouched. Lack of code changes checked with cpp. 7333 7334 Unused defines removed too. 7335 7336commit 2c0710d334e3e1dcb04cc4fc0b46ec4c8cdb9ba6 7337Author: Stuart Bennett <stuart@freedesktop.org> 7338Date: Tue Mar 17 18:50:18 2009 +0000 7339 7340 Separate maximum limits for encoder devices and i2c records, DCB_ prefixes 7341 7342 From the comment with pNv->connector in nv_type.h I've assumed nv50 was 7343 using the previous define as an I2C limit, rather than encoder limit 7344 7345commit 0db27a6f1aee023782de14ae2f260fec4e60229d 7346Author: Stuart Bennett <stuart@freedesktop.org> 7347Date: Tue Mar 17 13:43:13 2009 +0000 7348 7349 Add DCB 1.5 entry from a GeForce2 Go reported by Martin Ketzer on the ML 7350 7351commit 3e7fa97a50e42c0255876c79137dc1a40a6052a6 7352Author: Ben Skeggs <skeggsb@gmail.com> 7353Date: Wed Mar 18 09:36:33 2009 +1000 7354 7355 dri: pass object handle instead of offset if using real mm 7356 7357commit 88efe405213a3ea23edd9bed971da1d2492021eb 7358Author: Ben Skeggs <skeggsb@gmail.com> 7359Date: Mon Mar 16 17:45:49 2009 +1000 7360 7361 dri2: initial implementation, only with driver pixmaps 7362 7363 Also, no DRI1 when driver pixmaps enabled. 7364 7365commit 675126e0f0c1c077bde4b25ccb64f87d1d08547b 7366Author: Ben Skeggs <skeggsb@gmail.com> 7367Date: Mon Mar 16 15:06:31 2009 +1000 7368 7369 kms: support framebuffer resize if driver pixmaps enabled 7370 7371commit 8b354b92a859cf277b19e51fc6cb109f4ea44b7a 7372Author: Ben Skeggs <skeggsb@gmail.com> 7373Date: Mon Mar 16 13:13:07 2009 +1000 7374 7375 kms: copy old fb to new fb on modeset 7376 7377 Requires driver pixmaps enabled, which suck on G8x currently. Paves the 7378 way for a nicer transition from console->X. There's still a flash where 7379 the screen goes black before X starts here, but this is on the way to what 7380 we want. 7381 7382commit 6658403cfd91556d06afecdde03feec7384c5398 7383Author: Ben Skeggs <skeggsb@gmail.com> 7384Date: Mon Mar 16 12:34:49 2009 +1000 7385 7386 Call NVEnterVT from NVScreenInit rather than duplicating it. 7387 7388commit f59fef15c94fc5c6f216d0f5dcdcb3d3188c0049 7389Author: Ben Skeggs <skeggsb@gmail.com> 7390Date: Mon Mar 16 09:17:29 2009 +1000 7391 7392 exa: fix multiple prepare/finish_access on a pixmap 7393 7394commit 75a1c4158a19bf0857de49b736fb87a40c095048 7395Author: Stuart Bennett <stuart@freedesktop.org> 7396Date: Sat Mar 14 15:48:39 2009 +0000 7397 7398 Wrap bios endian casting 7399 7400 Also convert some functions to use individual bios pointers, rather than 7401 bios->data[offset + ... 7402 Plus some minor bmp structure documentation and tidying 7403 7404commit 3666d73333ecbdd3a4941a76af2528113db427bb 7405Author: Stuart Bennett <stuart@freedesktop.org> 7406Date: Wed Feb 25 20:21:42 2009 +0000 7407 7408 Switch to using pll_vals struct for passing pll stuff around 7409 7410commit a3dbc06d4f9dc340f5c167b94d8e10ac8386c5b4 7411Author: Stuart Bennett <stuart@freedesktop.org> 7412Date: Fri Apr 11 16:51:30 2008 +0100 7413 7414 randr12: cull old unused pll code 7415 7416commit 71c821b8119cbac8dcd91b27e3b7556d00ceb546 7417Author: Stuart Bennett <stuart@freedesktop.org> 7418Date: Sat Mar 14 19:06:12 2009 +0000 7419 7420 Don't pointlessly overallocate cursor storage 7421 7422commit 7284c07a0ad6551ea99c28454f4e7308699835e6 7423Author: Stuart Bennett <stuart@freedesktop.org> 7424Date: Fri Mar 13 21:23:48 2009 +0000 7425 7426 randr12: nv10 hw cursor fixes/changes 7427 7428 Remove access to PCRTC_GPIO, it's unused and on NV10 overwrites 7429 PCRTC_CURSOR_CONFIG leading to all sorts of cursor weirdness 7430 7431 NV10 hw cursor is now set-up on the assumption it can do 64x64 (we've been 7432 using 64x32 up to now), but if it can't do cursors 64px high it can easily 7433 be fixed to behave like nv0x at 32x32 (64x32's pretty silly) 7434 7435 It's possible that with the PCRTC_GPIO thing resolved the nv10 cursor can 7436 be more featureful: the code would also be simpler if it supported 32bpp 7437 cursors (test by seeing if setting NV_CRTC_CURSOR_CONFIG_32BPP has any 7438 effect). It may even do alpha -- change pNv->alphaCursor to be 7439 (NVArch >= 0x10) to find out. 7440 7441commit bcc3a14b15cdad3647cc7df0f540df1111843be5 7442Author: Stuart Bennett <stuart@freedesktop.org> 7443Date: Fri Mar 13 02:31:35 2009 +0000 7444 7445 randr12: use nv0x cursor colour expansion funcs on later cards, unify argb paths 7446 7447commit b21c807d2ced35ac1b06300f6e68d661710b336a 7448Author: Stuart Bennett <stuart@freedesktop.org> 7449Date: Fri Mar 13 03:52:54 2009 +0000 7450 7451 randr12: store nv0x hw cursor image in VRAM 7452 7453 nv_driver.c is already doing the alloc, nvidia uses the same method, and it saves code :) 7454 7455commit 3ea4b194e83735145d5e9d5c5357f92ae6c6a569 7456Author: Stuart Bennett <stuart@freedesktop.org> 7457Date: Thu Mar 12 15:37:59 2009 +0000 7458 7459 Kill pre-randr12 hwcursor code, and tidy randr12 hwcursor code 7460 7461 If you're not using randr12 you should be. 7462 7463 Misc fixes included: 7464 Ensure PNVM bit set on PCRTC_CURSOR_CONFIG for consistency 7465 Fix NV11 alpha cursors 7466 Add missing bo unref 7467 7468commit b988160dfa5a535fd042062d7318ab99fc7efa5a 7469Author: Stuart Bennett <stuart@freedesktop.org> 7470Date: Thu Mar 12 16:31:24 2009 +0000 7471 7472 Remove calls to load ddc and i2c modules -- they're built-in since server 1.3 7473 7474commit d5893ecf3dd915fc6937c61e6eae7c221edeb6e2 7475Author: Stuart Bennett <stuart@freedesktop.org> 7476Date: Thu Mar 12 21:46:02 2009 +0000 7477 7478 Hack around missing display table in rdivacky's GeForce 7050 PV/nForce 630a 7479 7480commit 369e1efd23c0180e210dbe898318b6b9efa1faad 7481Author: Stuart Bennett <stuart@freedesktop.org> 7482Date: Thu Mar 12 16:09:27 2009 +0000 7483 7484 Fix xserver shutdown for randr12 off 7485 7486commit 8343d6b2c0ebddf1a1a7d146890ed90278559fea 7487Author: Stuart Bennett <stuart@freedesktop.org> 7488Date: Wed Mar 11 01:11:02 2009 +0000 7489 7490 Remove bios lvds parsing pxclk test; ddc_permitted is a sufficient condition 7491 7492commit 8b56c699ad39c64326d76658c741801bb4118c5f 7493Author: Stuart Bennett <stuart@freedesktop.org> 7494Date: Wed Mar 11 00:43:33 2009 +0000 7495 7496 Name some regs/values and reduce crtc reg struct size 7497 7498 TVOUT_LATENCY taken from nv11 .scp file 7499 7500 CRTC[]: even nvidia only use up to 9f, and they know what the regs do 7501 7502commit 79d23d87b489332af521fbda418a13b9ae032b7d 7503Author: Ben Skeggs <skeggsb@gmail.com> 7504Date: Fri Mar 13 11:43:54 2009 +1000 7505 7506 improve drm/dri initialisation code 7507 7508 The main motivation here was to fix the scenario where X is started without 7509 nouveau.ko loaded, checks if kms is enabled, is told no because nouveau.ko 7510 isn't loaded, and then later nouveau.ko gets loaded with kms enabled by 7511 default and starts fighting with the ddx for the display. 7512 7513 One cool side-effect is that we're not depending on DRIScreenInit for our 7514 DRM fd now, which means that if DRIScreenInit fails for a non-fatal reason 7515 (like, NVIDIA's libglx being around instead of xorg's) we can still run 7516 with full 2D acceleration. 7517 7518commit bd1448216715681beebabe82b88c8b4d0e62eced 7519Author: Ben Skeggs <skeggsb@gmail.com> 7520Date: Wed Mar 11 16:07:41 2009 +1000 7521 7522 kms: cleanup set_property 7523 7524commit 7a455929785e00beb2d1e65007a3407427ca693a 7525Author: Ben Skeggs <skeggsb@gmail.com> 7526Date: Wed Mar 11 15:51:59 2009 +1000 7527 7528 kms: get current values for output properties on startup 7529 7530commit 7095e8942c74953fcf1615900e2d7864024ece5c 7531Author: Ben Skeggs <skeggsb@gmail.com> 7532Date: Wed Mar 11 11:30:08 2009 +1000 7533 7534 kms: work around some xserver stupidity with DPMS 7535 7536 The server calls the output DPMS functions with the intention of 7537 turning off outputs before reprogramming them. It probably shouldn't 7538 be doing this in the case of the randr driver using set_mode_major, 7539 and leave it up to the driver. 7540 7541 The DRM modesetting will usually reenable the outputs after a modeset 7542 anyway, which is the behaviour that the xserver currently relies on. 7543 However, there's a shortcut used in the drm to allow far faster fb 7544 swaps without doing a modeset. When this path is hit, the DRM will 7545 rightly not touch any power states and the display will never get 7546 turned back on. 7547 7548commit 8f9a58070c2fc55c922e9d82d0796e32959a8431 7549Author: Stuart Bennett <stuart@freedesktop.org> 7550Date: Tue Mar 10 00:20:35 2009 +0000 7551 7552 Another DCB 1.5 entry (seen in rh#455194) 7553 7554 Plus a few minor PLL tidyings 7555 7556commit 9a719900adcebf47442a30fe1989509f93e13e16 7557Author: Stuart Bennett <stuart@freedesktop.org> 7558Date: Mon Mar 9 15:57:06 2009 +0000 7559 7560 randr12: add output properties for digital vibrance and image sharpening 7561 7562commit 678ddc2e56aea3deb1e95b2309b47e1f2cce0635 7563Author: Stuart Bennett <stuart@freedesktop.org> 7564Date: Mon Mar 9 15:34:03 2009 +0000 7565 7566 randr12: functionate output properties creation 7567 7568 notes: 7569 * setting pending at change time is necessary for props created as pending, 7570 so that PostPending doesn't overwrite the correct current state with the 7571 incorrect pending one 7572 * our call to PostPending can go; relic from when props were updated in 7573 update_output_fields 7574 7575commit ed9bd8848fcfe6a77894bfe520a5aa25a9b3f769 7576Author: Ben Skeggs <skeggsb@gmail.com> 7577Date: Wed Mar 4 15:10:24 2009 +1000 7578 7579 kms: remove early-exit from gamma_set, the kernel side works now 7580 7581commit 98c9e4edb58374f18249e5c9c53b392fb8b4a1d1 7582Author: Ben Skeggs <skeggsb@gmail.com> 7583Date: Wed Mar 4 13:40:49 2009 +1000 7584 7585 kms: work around some bong hits with dpms 7586 7587 This'll need to get fixed elsewhere, but in the meantime, we have working 7588 DPMS *and* can actually see what's happening when X starts! 7589 7590commit 88ae2c92c0efc1919dbaa7e8db4c37b86987046c 7591Author: Ben Skeggs <skeggsb@gmail.com> 7592Date: Wed Mar 4 13:36:36 2009 +1000 7593 7594 kms: implement dpms 7595 7596commit 5269cc8060e0ce5160dfca408b0807a4cf2ff17c 7597Author: Stuart Bennett <stuart@freedesktop.org> 7598Date: Sun Mar 8 20:07:23 2009 +0000 7599 7600 randr12: make props code slightly less awful to behold 7601 7602commit 0b87c4964076101a2d8373fd3addd9355fb7765e 7603Author: Stuart Bennett <stuart@freedesktop.org> 7604Date: Sat Mar 7 21:13:55 2009 +0000 7605 7606 More robust PLL upclocking for old cards 7607 7608commit cb237a34f31f8b8c841974cb64141a2f2e36c53b 7609Author: Stuart Bennett <stuart@freedesktop.org> 7610Date: Sat Mar 7 04:38:12 2009 +0000 7611 7612 bios/randr12: mode validation fixes (includes fix for #20298) 7613 7614 Remove arbitrary 12000kHz mode clock lower bound (#20298) 7615 Use DCB supplied max dac clock (and remove a memcpy) 7616 7617commit 9cfccd7281a715e45a4296226d9d52854230f346 7618Author: Stuart Bennett <stuart@freedesktop.org> 7619Date: Sat Mar 7 04:34:20 2009 +0000 7620 7621 Handle failure to calculate pll values better 7622 7623 Ensure pll limit table get parsed on nv30 and nv35 too 7624 7625commit 1e994400913bc656b34440df67aa105aa2b211c4 7626Author: Stuart Bennett <sb476@cam.ac.uk> 7627Date: Fri Jan 16 22:26:28 2009 +0000 7628 7629 xv: return BadAlloc if destination pixmap is not put into EXA offscreen (#15792) 7630 7631 Lets the player get X errors, instead of the card choking trying to do system 7632 memory addresses 7633 7634 We could use exaDrawableIsOffscreen() here, but that's only in new xservers. 7635 7636commit 77347da64f86822f128e0dae3e89a6b80282c4ba 7637Author: Stuart Bennett <stuart@freedesktop.org> 7638Date: Fri Feb 27 01:22:13 2009 +0000 7639 7640 Remove duplicated DCB parsing 7641 7642 Store stuff in DCB private instead 7643 7644commit 1b6cabeee4c0160335c174bd4e9111dbd9535aaa 7645Author: Stuart Bennett <stuart@freedesktop.org> 7646Date: Tue Mar 3 01:03:45 2009 +0000 7647 7648 Remove VBIOS access in parse_dcb_entry 7649 7650commit 72fd0ae537e4db208bbfa142dd70144901d7f267 7651Author: Stuart Bennett <stuart@freedesktop.org> 7652Date: Tue Mar 3 21:51:46 2009 +0000 7653 7654 randr12: no need to re-detect edid for lvds, it's not going away 7655 7656 Reuse of nv_connector->edid is safe as nv_lvds_output_get_modes doesn't call 7657 nv_output_get_edid_modes after a mode has been found once 7658 7659commit ae981a8075395af40cf530f2aa24ac68d2ca0e77 7660Author: Maarten Maathuis <madman2003@gmail.com> 7661Date: Thu Mar 5 20:21:39 2009 +0100 7662 7663 nv50: some minor modesetting changes 7664 7665commit 42f99e68940a526f804e2046676c1d06d1bbbb42 7666Author: Ben Skeggs <skeggsb@gmail.com> 7667Date: Thu Mar 5 12:11:03 2009 +1100 7668 7669 nv30/xv: restore original viewport/clipping after putimage 7670 7671 Fixes two cases of corruption I seen while using the texture adaptors with 7672 a composite manager. 7673 - desktop getting clipped to video size sometimes 7674 - missing fonts on some menu items after xv+compmgr 7675 7676commit 56bb8f8e81e9d152217df7863e59781009a9bb77 7677Author: Stuart Bennett <stuart@freedesktop.org> 7678Date: Wed Mar 4 19:48:29 2009 +0000 7679 7680 Allow parse_fp_mode_table for x86 cards that find themselves on ppc 7681 7682commit 1c2f33ed33791f391d059778b1490222e8cd1e1d 7683Author: Stuart Bennett <stuart@freedesktop.org> 7684Date: Wed Mar 4 19:40:37 2009 +0000 7685 7686 Don't rely on the bios mobile feature bit for BMP biosen (#19986) 7687 7688 Quadro bios builds also set the mobile bit (not on nv10gl, but for all 7689 observed subsequent Quadros before nv4x (intro of BIT bios structure). 7690 So for BMP cards, use bit 6 of cr4b on head A to detect mobile biosen (all 7691 sampled mobile bios images set this in their init scripts, and non-mobile 7692 don't) 7693 7694commit e436c7ee98c2eda9d5ba45f7d897d68497b52799 7695Author: Stuart Bennett <stuart@freedesktop.org> 7696Date: Wed Mar 4 20:59:42 2009 +0000 7697 7698 randr12: make treatment of CR4B more closely resemble blob's behaviour 7699 7700 Possibly totally unnecessary anyway 7701 7702commit c61102b326455f6c63a55c8c73ed629994281588 7703Author: Stuart Bennett <stuart@freedesktop.org> 7704Date: Wed Feb 18 01:17:29 2009 +0000 7705 7706 Parse bios fp mode during modesetting, removing extra alloc 7707 7708 Also, it seems that the mode parsing was wrong on big endian for years, so 7709 fix that (though Apple laptops have DDC panels anyway) 7710 7711commit 631e15a03b8a790d342aefe677f8c5eb33935de6 7712Author: Stuart Bennett <stuart@freedesktop.org> 7713Date: Tue Mar 3 22:03:00 2009 +0000 7714 7715 Get dual_link and dithering bios info through lvds table parsing function 7716 7717 Now that lvds table is only parsed during modesetting, return the parsed 7718 data in out parameters to make the ordering requirements obvious 7719 7720 Since calling this on nv50 is pointless, that code was commented out 7721 7722commit 2d4377193f5e2166af3df32ddcfb1235be82764e 7723Author: Stuart Bennett <stuart@freedesktop.org> 7724Date: Tue Mar 3 21:52:04 2009 +0000 7725 7726 Call parse_lvds_manufacturer_table during modesetting only (#19986 partial fix) 7727 7728 Also remove SetOwner call now that locking crtcs doesn't change the set head 7729 7730 Moving parse_lvds_manufacturer_table to modesetting means it only gets 7731 called for lvds outputs, removing the dependency on checking for the mobile 7732 bios build. Another benefit is making the strap and EDID FP paths common. 7733 7734 A side effect is that as the lvds dithering toggle depends on the results of 7735 parse_lvds_manufacturer_table, setting that moves to after calling the 7736 parsing function 7737 7738commit ce8f5d71dacbe0d56cfcb17dfe60f1c4c6cf1773 7739Author: Stuart Bennett <stuart@freedesktop.org> 7740Date: Tue Mar 3 17:24:09 2009 +0000 7741 7742 Variety of LVDS script changes 7743 7744 Remove lvds invocation static 7745 No LVDS_INIT for BIT biosen 7746 Merge in one-time call to LVDS_INIT script to main script function 7747 Make sel_clk preservation stuff use regular reg writing functions 7748 7749commit 071d5373df744c0c9578134fa634bce1e202d4f3 7750Author: Stuart Bennett <stuart@freedesktop.org> 7751Date: Tue Feb 17 16:45:50 2009 +0000 7752 7753 Read embedded bios edid only on demand 7754 7755commit f04689cb326da409448d54694e2660cf4b4b7950 7756Author: Ben Skeggs <skeggsb@gmail.com> 7757Date: Tue Mar 3 10:14:26 2009 +1000 7758 7759 move memset of fb after NVSave(), hopefully fix lost VGA fonts 7760 7761commit 6961efb84dd6894aaaf010a9f620231dfcbad004 7762Author: Ben Skeggs <skeggsb@gmail.com> 7763Date: Mon Mar 2 11:35:05 2009 +1000 7764 7765 kms: fix check for xf86drmMode.h 7766 7767commit 76fa6569ffd1a7f61e295753383bd01b246b5348 7768Author: Stuart Bennett <stuart@freedesktop.org> 7769Date: Mon Mar 2 16:43:06 2009 +0000 7770 7771 Detypedef bios_t, rename bios io functions, group various helper functions 7772 7773commit 39c9d0231c0d24bf91dbe9ab262f54fcad1b3b2f 7774Author: Stuart Bennett <stuart@freedesktop.org> 7775Date: Fri Feb 27 18:57:35 2009 +0000 7776 7777 Move parsed DCB to bios structs, split into public and private parts 7778 7779commit 275daaf7be46e54ca59067d3f2a6e6790e1ce7e0 7780Author: Stuart Bennett <stuart@freedesktop.org> 7781Date: Fri Feb 27 17:46:26 2009 +0000 7782 7783 Split bios struct into struct for nv_bios.c, and exported public info struct 7784 7785commit 8b3e966e3230add04aa05a9ded3f8a647afe0d91 7786Author: Stuart Bennett <stuart@freedesktop.org> 7787Date: Sun Mar 1 20:50:15 2009 +0000 7788 7789 Remove never updated bios opcodes 0x31, 0x5A and 0x73 7790 7791 Notices of removal left in case any bios using them ever appears, so they 7792 can be found in git history 7793 7794 Also nuke a few unused reg access defines 7795 7796commit ce9eb05f516899f56e66cc290fc7c4f9d3085882 7797Author: Stuart Bennett <stuart@freedesktop.org> 7798Date: Fri Feb 27 23:14:24 2009 +0000 7799 7800 Trivial bios convenience variable changes 7801 7802commit cfeef1144943e72d62a2c0d9701ddf4a639deeca 7803Author: Maarten Maathuis <madman2003@gmail.com> 7804Date: Fri Feb 27 17:30:40 2009 +0100 7805 7806 exa: forgot to check if EXA_SUPPORTS_PREPARE_AUX was defined 7807 7808commit 37a85dcbd6f6134a43b5c9bb883553fdaf7c0bd9 7809Author: Maarten Maathuis <madman2003@gmail.com> 7810Date: Fri Feb 27 17:23:42 2009 +0100 7811 7812 exa: we support PREPARE_AUX 7813 7814commit 1249fd25a529702a4c6fb4831ef92e801f0b6122 7815Author: Maarten Maathuis <madman2003@gmail.com> 7816Date: Fri Feb 27 17:21:47 2009 +0100 7817 7818 Revert "exa: support major version 3" 7819 7820 This reverts commit b7f99aec7282ca7c81d19ff3ad7d9ff22275d476. 7821 7822commit 1c4a284a80ebed9f9d1e01c47b929481801566b5 7823Author: Stuart Bennett <stuart@freedesktop.org> 7824Date: Fri Feb 20 20:02:38 2009 +0000 7825 7826 Rework PLL decoding in terms of pll_vals, save/restore pll_vals on vt switch 7827 7828 If your nv04-nv4x vt after running nouveau is more broken than it was with 7829 the previous commit, file a bug 7830 7831commit 81b4732162915ab1ac0593e0ef21b56b089dafae 7832Author: Stuart Bennett <stuart@freedesktop.org> 7833Date: Fri Feb 20 19:11:41 2009 +0000 7834 7835 New common struct for pll values 7836 7837 Makes the compiler do our dirty accessing work for us 7838 7839commit adf2e350341b983d27123550041c3b1ddaac4526 7840Author: Stuart Bennett <stuart@freedesktop.org> 7841Date: Wed Feb 25 02:11:27 2009 +0000 7842 7843 Check whether NV_RAMDAC_580 has changed when setting PLLs 7844 7845commit b7f99aec7282ca7c81d19ff3ad7d9ff22275d476 7846Author: Maarten Maathuis <madman2003@gmail.com> 7847Date: Tue Feb 24 19:13:23 2009 +0100 7848 7849 exa: support major version 3 7850 7851commit d91fc78859b11d00c822e5cae70f0fc511b26701 7852Author: Ben Skeggs <skeggsb@gmail.com> 7853Date: Tue Feb 24 08:31:40 2009 +1000 7854 7855 kms: fix resize func 7856 7857 Don't change virtualX/virtualY when we're not resizing the actual framebuffer, 7858 just change displayWidth to account for the adjusted scanout size. 7859 7860 With driver pixmaps, we'll be able to do "proper" framebuffer resize. 7861 7862commit 535498bcfe79858e08ae1f01125025f56bcd504f 7863Author: Ben Skeggs <skeggsb@gmail.com> 7864Date: Mon Feb 23 08:20:34 2009 +1000 7865 7866 clear the scanout buffer on statup to avoid seeing garbage on-screen 7867 7868commit 022767373474a0dacf50ee6fcd6401db15018aca 7869Author: Ben Skeggs <skeggsb@gmail.com> 7870Date: Fri Feb 20 13:59:58 2009 +1000 7871 7872 nv50/exa: properly align offset for mem_tile ioctl 7873 7874 I really really hate this ioctl().. 7875 7876commit e09f50e5f9126c682289b7ba790f16b93a80b876 7877Author: Stuart Bennett <stuart@freedesktop.org> 7878Date: Wed Feb 18 21:04:00 2009 +0000 7879 7880 bios/randr12: fix dual link TMDS (#20006) 7881 7882 TMDS04 needs setting, just as for LVDS, and bit 31 of fp_control should also 7883 be set (although in this instance the scripts ensure it is set) 7884 Furthermore, stop dpms clobbering any changes made to fp_control by scripts 7885 7886 Many thanks to bmaass for testing 7887 7888commit b968db77037790dd5be91d6fafa0552eb7e9520f 7889Author: Stuart Bennett <stuart@freedesktop.org> 7890Date: Mon Feb 16 21:38:31 2009 +0000 7891 7892 Return of "bios: fix create_i2c_device for g80" 7893 7894commit 0a439ba05aa192e7433d430acd91b60719d20caf 7895Author: Stuart Bennett <stuart@freedesktop.org> 7896Date: Wed Feb 11 20:52:43 2009 +0000 7897 7898 Parse DCB before running init 7899 7900commit 870b6f0d2df3e64af5ac921594b1742f82329c49 7901Author: Stuart Bennett <sb476@cam.ac.uk> 7902Date: Tue Jan 20 05:29:38 2009 +0000 7903 7904 Split parsing and init into separate functions 7905 7906commit 0280a0c975830b5c4b2edf4fff8a79fb7d67b9df 7907Author: Stuart Bennett <stuart@freedesktop.org> 7908Date: Wed Feb 11 18:53:56 2009 +0000 7909 7910 Attempt to remove pNv and bios_t use in parsing the DCB 7911 7912 It's meant to parse a section of rom image into useful things, so use of pNv 7913 ought to be unusual. 7914 Access to things contained in pNv and bios_t makes it harder to prove parsing 7915 ordering requirements 7916 7917commit 9179c6667cf859248a525c8d01922b69ed45c17b 7918Author: Stuart Bennett <stuart@freedesktop.org> 7919Date: Wed Feb 11 18:33:47 2009 +0000 7920 7921 Variety of DCB enhancements 7922 7923 * ensure parsing of dcb_table.i2c_default_indices happens 7924 * only merge entries on dcb versions < 2.1, and note consequnces of merging 7925 * correct dcbent->index on post-merge compacted entries 7926 * drop pointless memcpy 7927 * return an error if no outputs found 7928 * define dcb structure in nouveau_bios.h (ought to rename pNv->dcb_table to pNv->dcb one day) 7929 7930commit 317ca477cdbb936f29360984bcee25a0ecda3aa3 7931Author: Stuart Bennett <stuart@freedesktop.org> 7932Date: Mon Feb 16 21:15:51 2009 +0000 7933 7934 Revert "bios: fix create_i2c_device for g80" 7935 7936 This reverts commit ca72ca24784b9da09b6e3e0b39f3aa32b8f7b502. 7937 It'll be back in a minute. 7938 7939commit 7b25a3019beba6342505fa16327a5bcd43669f90 7940Author: Maarten Maathuis <madman2003@gmail.com> 7941Date: Mon Feb 16 21:23:56 2009 +0100 7942 7943 nv04: unbreak copy 7944 7945commit 60c8bb1391a51188a4981b4936c190c149b79b7f 7946Author: Ben Skeggs <skeggsb@gmail.com> 7947Date: Mon Feb 16 13:09:39 2009 +1000 7948 7949 default to autodetecting whether to enable the driver's kms paths 7950 7951commit a31b1d0118dc7b4d07a2c232fcd5aafbf94f69b9 7952Author: Ben Skeggs <skeggsb@gmail.com> 7953Date: Mon Feb 16 09:49:39 2009 +1000 7954 7955 exa: reimplement driver-controlled pixmaps 7956 7957commit d97e993072dc773ecfeb80b5e138b5e4598a1c3d 7958Author: Ben Skeggs <skeggsb@gmail.com> 7959Date: Mon Feb 16 08:50:02 2009 +1000 7960 7961 exa: preparation for reintroducing driver-controlled pixmaps 7962 7963commit 1e00c7d1e6edb7f6b4e6d12ef227d27413948f8f 7964Author: Maarten Maathuis <madman2003@gmail.com> 7965Date: Sun Feb 15 18:52:59 2009 +0100 7966 7967 shadowfb: clip copied regions to frontbuffer size. 7968 7969 - There have been reports of crashed when moving windows outside the visible screen. 7970 7971commit efe27964fa25f71dcbdc7a751210860369ea0e11 7972Author: Maarten Maathuis <madman2003@gmail.com> 7973Date: Sun Feb 15 16:54:18 2009 +0100 7974 7975 nv50: correct a poorly written comment 7976 7977commit 2573c065423af47e14263479c66f2308259f29b8 7978Author: Ben Skeggs <skeggsb@gmail.com> 7979Date: Fri Feb 13 10:46:13 2009 +1000 7980 7981 exa: remove exaWaitSync() call in nouveau_exa_pixmap_map() 7982 7983 unnecessary, nouveau_bo_map() will sync if required. 7984 7985commit 500053517cb5fe058468c8965f43e6c3209ba7b5 7986Author: Ben Skeggs <skeggsb@gmail.com> 7987Date: Thu Feb 12 09:04:43 2009 +1000 7988 7989 exa: don't need exaMarkSync on DFS, the operation will be done already 7990 7991commit a7e7c557dbf9b2fe54db401793608128de08bdf5 7992Author: Ben Skeggs <skeggsb@gmail.com> 7993Date: Thu Feb 12 09:01:49 2009 +1000 7994 7995 xv: remove notifier usage 7996 7997commit 8ecb8d5331bdb910beea416cdb0b662c624c5c96 7998Author: Ben Skeggs <skeggsb@gmail.com> 7999Date: Thu Feb 12 09:00:07 2009 +1000 8000 8001 exa: remove notifier waits in UTS/DFS 8002 8003 nouveau_bo will handle CPU/GPU sync if necessary when bo_map() is called. 8004 8005commit cfb884b816eebbdaa2103dd233c6f975834e536d 8006Author: Maarten Maathuis <madman2003@gmail.com> 8007Date: Fri Feb 13 22:29:33 2009 +0100 8008 8009 bios: add some more valid regs 8010 8011commit ca72ca24784b9da09b6e3e0b39f3aa32b8f7b502 8012Author: Maarten Maathuis <madman2003@gmail.com> 8013Date: Fri Feb 13 22:18:18 2009 +0100 8014 8015 bios: fix create_i2c_device for g80 8016 8017commit bbd7041791eacd357afa775236d4123dd98ab9c9 8018Author: Maarten Maathuis <madman2003@gmail.com> 8019Date: Fri Feb 13 20:30:24 2009 +0100 8020 8021 bios: implement opcode 0x76 (INIT_IO_CONDITION). 8022 8023commit 5dd2cbe454ee8560c814f3fd96d7c28e0fec1dc1 8024Author: Maarten Maathuis <madman2003@gmail.com> 8025Date: Thu Feb 12 17:13:42 2009 +0100 8026 8027 exa: add nouveau_exa_pixmap_is_tiled 8028 8029commit 15ccf721791fa4f61784ad00449630c6d2496328 8030Author: Stuart Bennett <stuart@freedesktop.org> 8031Date: Sat Feb 7 16:40:46 2009 +0000 8032 8033 randr12: anti-crash measures for #19854 8034 8035commit 17e9d4bb8c46d67e201b2a369eff7db805dff07b 8036Author: Stuart Bennett <stuart@freedesktop.org> 8037Date: Fri Apr 4 19:01:20 2008 +0100 8038 8039 randr12: use bios PLL setting routines for modesetting 8040 8041 Only used for setting modes currently, old code remains for restore 8042 8043commit e444e0e348b3aab59671ffdeb605f9a57c46bf70 8044Author: Stuart Bennett <stuart@freedesktop.org> 8045Date: Tue Jan 20 03:23:40 2009 +0000 8046 8047 Readability improvements for nv_hw.c and nvreg.h 8048 8049commit f5ea66c2ef2c726b6a0aff72843c379ab25dbaff 8050Author: Stuart Bennett <stuart@freedesktop.org> 8051Date: Tue Feb 10 19:01:43 2009 +0000 8052 8053 Pull in extras from CRTC PLL code to bios routines 8054 8055 * g7x magic bits 8056 * 0xc040 manipulation for vplls 8057 8058commit 416636509152cf12c801ac537cb8c1bd20c19b5e 8059Author: Stuart Bennett <stuart@freedesktop.org> 8060Date: Tue Jan 20 02:11:08 2009 +0000 8061 8062 Pull out ramdac580 setting and powerctrl_1 shift code to separate functions 8063 8064 And only twiddle powerctrl_1 for vplls on nv3x single stage pll chips 8065 8066commit 8b7041833c11f32feb7fa5edc21648cc9db1a333 8067Author: Stuart Bennett <stuart@freedesktop.org> 8068Date: Tue Feb 10 19:01:05 2009 +0000 8069 8070 Miscellaneous fixes to bios PLL code 8071 8072 * bios variable was only used for chip_version. simplify. 8073 * set plls faster on single pll cards after nv15/16 8074 * allow early return for single stage plls when already set 8075 * single stage pll mode is only for nv41+ 8076 * 80 cols fixes 8077 8078commit 01bb4c1576a45217953632c9f5612aea9173f95f 8079Author: Stuart Bennett <stuart@freedesktop.org> 8080Date: Mon Feb 9 21:14:43 2009 +0000 8081 8082 Make PROM score badly, out of available bios images, if checksum bad 8083 8084 Problem exposed on a Mac following 0387ac32 8085 8086 Having PROM first is good, if the image is fine. But if the read-only PROM 8087 has problems, not a good idea to use it if there are other options available 8088 8089 Also avoid result contamination, if a read method has returned early and not 8090 overwritten previous image in *data 8091 8092commit 30848dd378d05917c646a24df404846e6f9b2352 8093Author: Stuart Bennett <sb476@cam.ac.uk> 8094Date: Tue Jan 6 16:23:33 2009 +0000 8095 8096 randr12: bodge-in continuous timings when the scaler is in use (#19203) 8097 8098 Similar to 3354e660b0744976871683ce226f17e873f26b50 in the intel driver, except 8099 I can't see much benefit in allowing bigger-than-native resolutions, so no sync 8100 range hacking 8101 8102 A pity the xserver has no idea of scalers and so each driver ends up with a hack 8103 8104commit 0387ac32bef6c714f54917d5d36071ae1224458c 8105Author: Stuart Bennett <stuart@freedesktop.org> 8106Date: Sun Feb 8 09:19:53 2009 +0000 8107 8108 Allow reading of PROM and PCI rom on PPC (for people using x86 cards) 8109 8110commit 6ad66c0b6165822dde167fd1700bd14727ce7087 8111Author: Stuart Bennett <sb476@cam.ac.uk> 8112Date: Sun Jan 25 20:09:36 2009 +0000 8113 8114 bios/randr12: be strict about when to use modes from bios vs modes from ddc 8115 8116 Again, the Inspiron 8100 in #14567 is an example of wackiness, having a 8117 non-0xf i2c_index, but using straps 8118 8119 If the previous commit didn't break your DCB 2.0 EDID equipped laptop, this will 8120 8121commit b5391eb909f8b477c3c438f1136d788acfe6bfd8 8122Author: Stuart Bennett <sb476@cam.ac.uk> 8123Date: Sun Jan 25 03:03:29 2009 +0000 8124 8125 Simplify FP strapping semantics and trust bios parsing of use_straps_for_mode 8126 8127 In many ways a spiritual revert of 11de8d 8128 8129 The compound fp.strapping member faithfully implemented what nvidia sticks in 8130 cr58 (for cr57 == 0xf), but this was never directly useful and had differing 8131 overloaded interpretations with bios version, causing confusion. Return to 8132 just using the result of get_fp_strap (g80 code of which unused and so dropped) 8133 8134 As noted in the commit, there have been DCB 2.0 laptops (as in bug 14567) which 8135 don't set use_straps_for_mode when they should, so we set it for all DCB 1.4-2.0 8136 cards. If EDID-ful DCB 1.4-2.0 laptops exist they will be broken, and will need 8137 fixing later (simplistic fix: use_straps_for_mode = (get_fp_strap() == 0xf) ) 8138 8139 Will also break nv40 straps-based laptops whose tables used reserved values, 8140 but that's pretty broken anyway, and I've no evidence they exist 8141 8142commit 34c2b1539bb2d69dd3bd5911c4fac62e46385d20 8143Author: Stuart Bennett <sb476@cam.ac.uk> 8144Date: Sat Jan 24 18:41:31 2009 +0000 8145 8146 bios/randr12: misc (mainly lvds related) clarifications and cleanups 8147 8148 get_fp_strap() moved (& unused g80 bodge removed) in anticipation of next commit 8149 8150commit 98b8cada6c355d437925a92ef0413e96751ed567 8151Author: Maarten Maathuis <madman2003@gmail.com> 8152Date: Sat Feb 7 21:02:31 2009 +0100 8153 8154 Always allocate 2 hw cursors. 8155 8156 - This hopefully fixes the legacy codepath again. 8157 8158commit f1099810bb3cfe451877667a0224eb3d664e442f 8159Author: Maarten Maathuis <madman2003@gmail.com> 8160Date: Sat Feb 7 20:04:54 2009 +0100 8161 8162 Fix a few warnings. 8163 8164commit 691589d8c05b8b0354e359b4942711f6fffa9903 8165Author: Maarten Maathuis <madman2003@gmail.com> 8166Date: Sat Feb 7 19:59:28 2009 +0100 8167 8168 Fix some cursor fallout, mostly in legacy code. 8169 8170commit 945f0cb644b6e4f34cc04927177fe53529aeb5cf 8171Author: Ben Skeggs <skeggsb@gmail.com> 8172Date: Fri Feb 6 00:44:14 2009 +1000 8173 8174 kms: update drmmode_display 8175 8176commit ba1f897159d910a25560796d11c9d0357869e1c0 8177Author: Ben Skeggs <skeggsb@gmail.com> 8178Date: Thu Feb 5 23:15:24 2009 +1000 8179 8180 keep resources around after leavevt, far too problematic currently 8181 8182commit 4dfd0b1b21415c48c4b6e0e8d335f3fc70922d27 8183Author: Ben Skeggs <skeggsb@gmail.com> 8184Date: Wed Feb 4 15:35:53 2009 +1000 8185 8186 oops 8187 8188commit e02813aab0376271ee777a2b8dafc9381f96311a 8189Author: Ben Skeggs <skeggsb@gmail.com> 8190Date: Wed Feb 4 14:50:35 2009 +1000 8191 8192 link against libdrm_nouveau (installed with libdrm) 8193 8194commit 2c06308a6c5878fca3ff4f2f9c969705d966607f 8195Author: Ben Skeggs <skeggsb@gmail.com> 8196Date: Wed Feb 4 14:09:21 2009 +1000 8197 8198 require drm 0.0.12 8199 8200commit 29aa1341fb28578968953f7e7dc3de0ec66f70f5 8201Author: Ben Skeggs <skeggsb@gmail.com> 8202Date: Mon Feb 2 11:13:55 2009 +1000 8203 8204 fix NoAccel from when map/unmap became stricter 8205 8206commit 62adc557560fa82c2086e32cd16bc51f67a28b48 8207Author: Ben Skeggs <skeggsb@gmail.com> 8208Date: Tue Feb 3 08:10:45 2009 +1000 8209 8210 Revert "Improve the NoAccel situation, but it's not working yet." 8211 8212 This reverts commit 285027a180b676ac63f4c7e158e94ffbe22bf11d. 8213 8214 Sorry, fixed this yesterday and forgot to push the commit. 8215 8216commit 285027a180b676ac63f4c7e158e94ffbe22bf11d 8217Author: Maarten Maathuis <madman2003@gmail.com> 8218Date: Mon Feb 2 11:15:02 2009 +0100 8219 8220 Improve the NoAccel situation, but it's not working yet. 8221 8222 - nouveau_bo related functions will cause problems for fake bo's (since they don't have a bo_priv). 8223 - NoAccel still doesn't work for me (the scanout contains random crap). 8224 8225commit 5e63c7866ac93f39fde49af185387d2094110627 8226Author: Ben Skeggs <skeggsb@gmail.com> 8227Date: Mon Feb 2 13:46:01 2009 +1000 8228 8229 Revert "nv50: make entire offscreen area tiled, use extra blits to scanout buffer" 8230 8231 This reverts commit 6c3f8da1bff3c94353748321b40a523add824327. 8232 8233 EXA doesn't use UTS/DFS hooks when it's accessing the "front buffer" for 8234 software fallbacks, so sw rendering to it was garbled because it doesn't 8235 understand tiling. 8236 8237 The Prepare/FinishAccess hooks could be used to point the pixmap at the 8238 linear scanout buffer instead for sw access, but on VT switch for some 8239 reason exa get called to try and do things, hit the PrepareAccess() hook 8240 and die horribly because in LeaveVT() the driver deallocates the buffers. 8241 8242 The other alternative was to use libwfb to wrap the fb accesses and 8243 handle tiling, but exa isn't quite ready for that yet either - it's 8244 being worked on. 8245 8246 Another point made about this patch was that we should figure out the 8247 display engine and get it to scanout the tiled buffer directly, not 8248 commit shoddy workarounds. Even for this "correct" solution, the two 8249 above-mentioned issues still apply. 8250 8251commit 6c3f8da1bff3c94353748321b40a523add824327 8252Author: Ben Skeggs <skeggsb@gmail.com> 8253Date: Mon Feb 2 08:52:18 2009 +1000 8254 8255 nv50: make entire offscreen area tiled, use extra blits to scanout buffer 8256 8257 This fixes some pretty bad performance issues with window resize and desktop 8258 switching where ARGB windows are concerned. It also allows Xv to be used 8259 without a composite manager. 8260 8261 The drawbacks are the use of a little more memory for the shadow scanout 8262 buffer, and a bit more GPU time is used for the extra blits. But it's worth 8263 it. 8264 8265 If you want to get rid of this, figure out how to scanout tiled buffers :) 8266 8267commit 61791028ee9321748b635a85d4e53ed80d143df5 8268Author: Ben Skeggs <skeggsb@gmail.com> 8269Date: Sun Feb 1 18:58:27 2009 +1000 8270 8271 nv10: use the correct 3d object on NV1A 8272 8273commit dfd87ece014402339f82ecc26bc27b2e47e213df 8274Author: Younes Manton <younes.m@gmail.com> 8275Date: Sat Jan 31 16:52:46 2009 -0500 8276 8277 xv: Unmap filter table BO after init so it can be validated (nv30,40) 8278 8279commit b8de749bbaeacbbe677df1939f7fd39d9d3863a7 8280Author: Stuart Bennett <sb476@cam.ac.uk> 8281Date: Sat Jan 24 05:40:02 2009 +0000 8282 8283 Avoid any risk of parsing oscillation on if_is_24bit 8284 8285 Would depend on having a BMP laptop with EDID equipped panel and a bios that 8286 doesn't match current suspicions, but better safe 8287 8288commit 0a0bb720da63e4a323978e4a52a4d6e1e4f4ae27 8289Author: Stuart Bennett <sb476@cam.ac.uk> 8290Date: Wed Jan 21 00:33:55 2009 +0000 8291 8292 Split up parsing the bit structure, complain when necessary tables are missing 8293 8294 Added bios major version 0x60 (g80+) check since it now complains about missing 8295 the BIT "A" table on nv4x roms 8296 Also permits on-demand parsing of individual tables if needed in the future 8297 8298commit 2d86018d52c387d4f2370b7c1ff83798ad6e1cf7 8299Author: Stuart Bennett <sb476@cam.ac.uk> 8300Date: Sun Jan 25 20:12:41 2009 +0000 8301 8302 Swap the order of calling parse_fp_mode_table and parse_lvds_manufacturer_table 8303 8304 Last seen in this order pre 11de8d7a 8305 8306commit 8c6b3a800ae2df35b6475a46aebab32f0577261a 8307Author: Stuart Bennett <sb476@cam.ac.uk> 8308Date: Tue Jan 20 04:04:43 2009 +0000 8309 8310 Make calling of init bios functions common 8311 8312 Bios structure parsing stage should no longer require hw access 8313 This involves serializing BIT hw-accessing functions after BIT structure 8314 parsing, but order is maintained so should cause no issues 8315 8316 Also, set a digital_min_front_porch default on BIT PPC (G5s), as they have no BIT 8317 "display" table (might even fix some wonky display issues like #17571) 8318 8319commit 9b32034eb72e580d4cb5a5e2fa22a76eff0e7f26 8320Author: Stuart Bennett <sb476@cam.ac.uk> 8321Date: Thu Jan 29 04:07:04 2009 +0000 8322 8323 Don't read obviously useless bios images, and drop 5x reading on PROM 8324 8325 If some nv43 actually need the 5x bodge (no pramin image) we can add it back as 8326 a method of last resort 8327 PCIR check taken from mmiotrace of the blob's PROM behaviour 8328 8329commit 63aa210f7aee4674337fed3ebfebd198ff1e699b 8330Author: Stuart Bennett <sb476@cam.ac.uk> 8331Date: Wed Jan 28 16:08:42 2009 +0000 8332 8333 Implement bios I2C opcode 4E (untested) 8334 8335 Courtesy an old trace by RAOF 8336 8337commit a81f1590d384bad214111139db9c988ff7676e83 8338Author: Stuart Bennett <sb476@cam.ac.uk> 8339Date: Wed Jan 28 15:39:24 2009 +0000 8340 8341 Handle I2C device 0xff fallback for I2C bios opcodes 8342 8343 Courtesy an old trace by RAOF 8344 Also, use i2c record entry length when available and make rundigitaloutscript 8345 function name legible 8346 8347commit 34e967e689a186cdde2f6c3ec222a6870b3584ea 8348Author: Stuart Bennett <sb476@cam.ac.uk> 8349Date: Wed Jan 28 15:48:27 2009 +0000 8350 8351 Fix pasta error in bios opcode 4D 8352 8353commit 786dd366474006b10c740c5012630ff5f1cd2a0f 8354Author: Stuart Bennett <sb476@cam.ac.uk> 8355Date: Thu Jan 29 17:56:40 2009 +0000 8356 8357 Fix nv04+ IFC upload and frag prog upload 8358 8359commit 3ab65cf6af0d3f892ade584c29f861f9f8a9d021 8360Author: Ben Skeggs <skeggsb@gmail.com> 8361Date: Thu Jan 29 16:51:53 2009 +1000 8362 8363 add vm_vram_base field to nouveau_device instead of hardcoding 512MiB 8364 8365commit d833c81fadf7dd63ab4ca94b953397fcbe0be581 8366Author: Ben Skeggs <skeggsb@gmail.com> 8367Date: Thu Jan 29 16:25:14 2009 +1000 8368 8369 nv50/xv: previous xv commit was bonged - fix that 8370 8371 It actually still worked just fine, but it was wrong. It's possible we'll 8372 have more than 1 clipbox, in which case the check for enough space in the 8373 pushbuf for a single frame is insufficient. 8374 8375 Check for enough space just before emitting quads, if there's not enough 8376 flush and reemit state - then go again. 8377 8378commit 0f741eb09c556f8d7893628964fedea862322771 8379Author: Ben Skeggs <skeggsb@gmail.com> 8380Date: Thu Jan 29 16:10:18 2009 +1000 8381 8382 exa: small cleanup 8383 8384commit c10c3c9bbabe8682fe1500098dc53f631690b182 8385Author: Ben Skeggs <skeggsb@gmail.com> 8386Date: Thu Jan 29 15:43:51 2009 +1000 8387 8388 exa: mass renaming and movement of nv04 solid/copy code to nv04_exa.c 8389 8390commit 81ace5dd1fa2c2760036fb1371cc61a383b2698e 8391Author: Ben Skeggs <skeggsb@gmail.com> 8392Date: Thu Jan 29 15:29:37 2009 +1000 8393 8394 exa: remove driver pixmaps path that never worked here anyway 8395 8396 Bits and pieces remain (disabled) in various modesetting bits for reference. 8397 Some of it may be useful when it reappears again. 8398 8399commit 4b1829e2c66f92a19a233afb749f3fb946930db5 8400Author: Ben Skeggs <skeggsb@nisroch.(none)> 8401Date: Tue Oct 7 00:44:46 2008 +1100 8402 8403 exa: remove NVCopyROP table.. 8404 8405commit 410788dc896d99b658508e3a7ebcb4940a039f35 8406Author: Ben Skeggs <skeggsb@gmail.com> 8407Date: Thu Jan 29 14:32:13 2009 +1000 8408 8409 blow up horribly if GPU access to mapped buffer is attempted 8410 8411 ...and fix the numerous cases where this was done. The current bufmgr couldn't 8412 care less, and synchronisation is done elsewhere. This won't be the case for 8413 much longer. 8414 8415commit 4c9346bd750797ee0f0485195f7ce8beb2114b04 8416Author: Ben Skeggs <skeggsb@gmail.com> 8417Date: Thu Jan 29 14:24:57 2009 +1000 8418 8419 bo_del->bo_ref, closer to ng api 8420 8421commit c533f86b512b9d84ec698163a8fbc54233648fbb 8422Author: Ben Skeggs <skeggsb@gmail.com> 8423Date: Thu Jan 29 14:13:06 2009 +1000 8424 8425 exa: same for UTS state 8426 8427commit 02677c07f9af01fa3b1eb787d6d320aa43c9140b 8428Author: Ben Skeggs <skeggsb@gmail.com> 8429Date: Thu Jan 29 14:10:51 2009 +1000 8430 8431 exa: ensure DFS state is updated across flushes 8432 8433commit 69d02bc73409c8010d19c9f87780b0c0e7621e43 8434Author: Ben Skeggs <skeggsb@gmail.com> 8435Date: Thu Jan 29 13:52:08 2009 +1000 8436 8437 nv50: remove some redundant init, this stuff is done as required now 8438 8439commit 60aea9057a78255a0ded1f64a9b9efd75017347f 8440Author: Ben Skeggs <skeggsb@gmail.com> 8441Date: Thu Jan 29 13:50:28 2009 +1000 8442 8443 nv50: forgotten buffer access flags during init 8444 8445commit 5a382dddc948c49f3f5159c078875ee6cdf56db7 8446Author: Ben Skeggs <skeggsb@gmail.com> 8447Date: Thu Jan 29 13:04:04 2009 +1000 8448 8449 nv10/exa: resubmit state in composite as needed 8450 8451commit d4ff8db7b0fb34e0494042b128251ad78c19ad09 8452Author: Ben Skeggs <skeggsb@gmail.com> 8453Date: Thu Jan 29 12:58:30 2009 +1000 8454 8455 nv30/exa: resubmit state in composite as needed 8456 8457commit b71ebcb2c8a0c97837f3de09f034c0bbb35f562c 8458Author: Ben Skeggs <skeggsb@gmail.com> 8459Date: Thu Jan 29 12:56:39 2009 +1000 8460 8461 nv40/exa: resubmit state in composite as necessary 8462 8463commit 6ddaddbb7b9442000f1e665bf61994b16d52cd25 8464Author: Ben Skeggs <skeggsb@gmail.com> 8465Date: Thu Jan 29 12:11:24 2009 +1000 8466 8467 exa: rework common pre-nv50 code in the same way nv50 code just was 8468 8469 Still have card-specific composite hooks to go. 8470 8471commit f36fa31401b060b9785d1835845c8ce09f8fe6b1 8472Author: Ben Skeggs <skeggsb@gmail.com> 8473Date: Thu Jan 29 11:25:22 2009 +1000 8474 8475 nv50/xv: ensure entire frame will fit in pushbuf without causing a flush 8476 8477commit 1b48331f6bd077f39797bb2d25b62c3c9df5ccb3 8478Author: Ben Skeggs <skeggsb@gmail.com> 8479Date: Thu Jan 29 10:38:53 2009 +1000 8480 8481 nv50/exa: ensure buffer usage is tracked correctly 8482 8483commit 7e644265267b4e35a05328b1c4cb1f2ef5beea58 8484Author: Ben Skeggs <skeggsb@gmail.com> 8485Date: Thu Jan 29 10:13:57 2009 +1000 8486 8487 remove unconditional FIRE_RING() in DoneComposite() hooks 8488 8489 Far, far too much flushing. Will completely destroy performance with kernel 8490 command submission. 8491 8492commit 34fc4461a6f612e4e00db483effe3a2b9760e70c 8493Author: Ben Skeggs <skeggsb@gmail.com> 8494Date: Thu Jan 29 09:47:21 2009 +1000 8495 8496 hack a flush_notify() hook in to match ng 8497 8498 preparation for rework of accel code so it'll be more suitable for ng-style 8499 command submission. 8500 8501commit d9da090cae1d2dfc539c9db4c923c0e665bce975 8502Author: Ben Skeggs <skeggsb@gmail.com> 8503Date: Thu Jan 29 09:38:39 2009 +1000 8504 8505 Drop GPU resources on LeaveVT, reaquire on EnterVT 8506 8507 This allows GDM's switch-user functionality to work on some systems. 8508 8509commit 1eb8b8778037336e530e113b8bbd61d724b1cc52 8510Author: Ben Skeggs <skeggsb@gmail.com> 8511Date: Wed Jan 28 13:50:55 2009 +1000 8512 8513 Enable ShadowFB for DRM-less mode. 8514 8515commit 487463895390500fd4e899f4e3badbb44f2b5429 8516Author: Ben Skeggs <skeggsb@gmail.com> 8517Date: Wed Jan 28 13:41:44 2009 +1000 8518 8519 Allow NoAccel operation without the DRM module present. 8520 8521commit f78aeed720ef185ccdea2d62e02b2714f00ee49c 8522Author: Ben Skeggs <skeggsb@gmail.com> 8523Date: Wed Jan 28 10:30:43 2009 +1000 8524 8525 if CARD_INIT ioctl fails, report it instead of continuing 8526 8527commit cf65b875ba3467060d8a3806914b75c710504b78 8528Author: Stuart Bennett <sb476@cam.ac.uk> 8529Date: Wed Jan 21 05:22:34 2009 +0000 8530 8531 Fix stupidity introduced in 25de6b867f319099dac05ba84f170da0f0e6c803 8532 8533 Wow. (function executes before bios is parsed, hence version check never works) 8534 8535commit 55e9cdda6e555937e8f5f3998a2e603669b84df4 8536Author: Stuart Bennett <sb476@cam.ac.uk> 8537Date: Tue Jan 20 05:09:22 2009 +0000 8538 8539 Split out a function for finding the panel power sequencer stuff 8540 8541 and add a bios_t convenience member 8542 8543commit 1b3546b0687a1ae8080009f0c58b26074f08d3af 8544Author: Stuart Bennett <sb476@cam.ac.uk> 8545Date: Tue Jan 20 04:11:11 2009 +0000 8546 8547 Move the bios flat-panel pointers back into the bios struct 8548 8549 Last there in 2007, removed in 82fdd3f76e20fc7dd10fcf00cf1c13520dc56364 :-) 8550 8551commit d29c4815b61635ed53ded94361ba52ee61ea5ac7 8552Author: Stuart Bennett <sb476@cam.ac.uk> 8553Date: Tue Jan 20 03:46:05 2009 +0000 8554 8555 Remove a BITism from BMP parsing path, and move old style BMP init into common path 8556 8557commit 3e971f63b6b6859acc19a52a4003bb6041cc5374 8558Author: Stuart Bennett <sb476@cam.ac.uk> 8559Date: Mon Jan 19 23:02:09 2009 +0000 8560 8561 randr12: lock independent crtc base registers separately (#19620) 8562 8563 Thanks to Mjules for tireless testing, surprising nobody else noticed it earlier 8564 8565commit ffbca7272878d440a06a613df95ce5d7be46f288 8566Author: Stuart Bennett <sb476@cam.ac.uk> 8567Date: Sun Jan 18 17:24:47 2009 +0000 8568 8569 randr12: code motion and allow ramdac580 setting on nv40 8570 8571commit 75a037623adecbe460198066b5059c349de427aa 8572Author: Stuart Bennett <sb476@cam.ac.uk> 8573Date: Sun Jan 18 15:41:23 2009 +0000 8574 8575 randr12: better selection of nv4x single pll mode and some notes 8576 8577commit 767fcea420fc21c5b5ec6c9f2db56c1a667db306 8578Author: Stuart Bennett <sb476@cam.ac.uk> 8579Date: Mon Jan 19 01:51:21 2009 +0000 8580 8581 randr12: no mmiotrace indication that the blob ever clears these bits 8582 8583 some hardware drops them on readback, but I don't think that matters 8584 also make defined bits shifts comprehensible 8585 8586commit 985ac728276633d14fa5577eacbc2095582b2587 8587Author: Stuart Bennett <sb476@cam.ac.uk> 8588Date: Sat Jan 17 23:21:19 2009 +0000 8589 8590 randr12: no mmiotrace evidence for nv47 using the special pll bits 8591 8592commit 3ef6b41a1c072d2f3545915180b522e43e0c8754 8593Author: Stuart Bennett <sb476@cam.ac.uk> 8594Date: Sun Jan 18 16:13:57 2009 +0000 8595 8596 twoStagePLL is actually a description of cards using two PLL regs 8597 8598commit c7a423a24ad7da7b510007a0d5a779999bd8cf73 8599Author: Stuart Bennett <sb476@cam.ac.uk> 8600Date: Sat Jan 17 04:34:48 2009 +0000 8601 8602 nv04 blitter: use correct number of dma params for real nv04 8603 8604commit 25de6b867f319099dac05ba84f170da0f0e6c803 8605Author: Stuart Bennett <sb476@cam.ac.uk> 8606Date: Fri Jan 16 20:22:16 2009 +0000 8607 8608 Complain more about weird bios images 8609 8610 also use bios chip version to test for g80 8611 8612commit 4d72981cc7d156708683aba51489d4691106438c 8613Author: Stuart Bennett <sb476@cam.ac.uk> 8614Date: Wed Jan 14 18:15:21 2009 +0000 8615 8616 randr12: avoid classic macro error 8617 8618 Guess there's not many ppc nv11 users, as it's been here since Feb '08 8619 8620commit 133c1a55134853161a25f358432fd05e736718b5 8621Author: Stuart Bennett <sb476@cam.ac.uk> 8622Date: Tue Jan 6 17:47:07 2009 +0000 8623 8624 No need of separate allocation for bios image 8625 8626 nor of manual allocations for short lived I2C devices 8627 8628commit 8a25049abd2b755187f47572f92b11e9072e522a 8629Author: Stuart Bennett <sb476@cam.ac.uk> 8630Date: Tue Jan 6 16:55:42 2009 +0000 8631 8632 Make turning on bios execution logging slightly easier 8633 8634 and add a minor parsing check 8635 8636commit 54d43c4760b573b5d376859281268046b61fb2f4 8637Author: Maarten Maathuis <madman2003@gmail.com> 8638Date: Fri Jan 9 20:02:44 2009 +0100 8639 8640 nv50: small fix 8641 8642 - planemask is rarely used, so it's just a cleanup. 8643 8644commit 5c9f8d3ce8964ad974175f94b858f9efc11756bb 8645Author: Maarten Maathuis <madman2003@gmail.com> 8646Date: Fri Jan 9 17:48:07 2009 +0100 8647 8648 nv50: Add a fallback for non-repeating XRGB pixmaps. 8649 8650 - Other card generations will most likely need this too. 8651 8652commit 0321e6741d9749f9f6b15ac2099139f24e88eef9 8653Author: Ben Skeggs <skeggsb@gmail.com> 8654Date: Thu Jan 8 14:31:39 2009 +1100 8655 8656 nv50: don't segfault if preinit fails before display setup done 8657 8658commit 7dc567d432fc6a3734bf64244e57bcc3612d5ec2 8659Author: Ben Skeggs <skeggsb@gmail.com> 8660Date: Mon Jan 5 10:51:03 2009 +1100 8661 8662 nv50: correct size/layout of uploaded data 8663 8664 This should fix the minor corruption that is present while playing some 8665 videos. 8666 8667commit 159c18cea2ecb92da74f9a9fdff0a9f5ef03df53 8668Author: Maarten Maathuis <madman2003@gmail.com> 8669Date: Sun Dec 28 17:56:55 2008 +0100 8670 8671 Make CHECK_TIMEOUT() a little more correct. 8672 8673 - Decrease the maximum counter value by a factor 16. 8674 - Determine t_start at the start. 8675 8676commit 5d281a2439de1e8c1848b6b700f30476575966e0 8677Author: Stuart Bennett <sb476@cam.ac.uk> 8678Date: Wed Dec 24 23:38:02 2008 +0000 8679 8680 nv04-nv4x: support RandR 1.3 panning 8681 8682commit 3c4705cb4472680b6cdc02fd5152d565d214226f 8683Author: Stuart Bennett <sb476@cam.ac.uk> 8684Date: Mon Dec 15 01:54:12 2008 +0000 8685 8686 Implement bios opcodes 4C and 4D 8687 8688commit 1fd60f202d41d6bb2028955d3bf9e6fc3921e3ff 8689Author: Stuart Bennett <sb476@cam.ac.uk> 8690Date: Mon Dec 15 01:19:26 2008 +0000 8691 8692 Group all DCB I2C info for a given bus in a structure 8693 8694 Furthermore, use the port type field to determine how to drive a bus, rather 8695 than the chip(s) characteristically associated with that port type 8696 8697commit 31c9958779d95ae84993f4772607367927a0e313 8698Author: Maarten Maathuis <madman2003@gmail.com> 8699Date: Fri Dec 19 19:59:53 2008 +0100 8700 8701 nv50: implement get_crtc 8702 8703 - Won't help much right now (pre-KMS), but it doesn't hurt to prototype now. 8704 8705commit f7a757827c1d62ac8a7246fe3b64fea1891a7a16 8706Author: Maarten Maathuis <madman2003@gmail.com> 8707Date: Thu Dec 18 19:57:50 2008 +0100 8708 8709 nv50: implement set_origin (mostly used for panning) 8710 8711commit 74b2e4e92822fb321a9304f0e077c18de57e585f 8712Author: Maarten Maathuis <madman2003@gmail.com> 8713Date: Wed Dec 17 22:42:20 2008 +0100 8714 8715 configure: Avoid compiling drm modesetting code by accident. 8716 8717commit d104f145260ff183b5f7e4c16cebc1680cf771b7 8718Author: Maarten Maathuis <madman2003@gmail.com> 8719Date: Tue Dec 16 23:54:39 2008 +0100 8720 8721 nv50: Improve lut code. 8722 8723commit 20f93a94ae034ee7c744947f42a29a7c0b50ee9d 8724Author: Stuart Bennett <sb476@cam.ac.uk> 8725Date: Wed Nov 26 01:37:38 2008 +0000 8726 8727 randr12: pass cursor visibility changes through mode state structures 8728 8729commit 763e0f88c79105a726ea05219875a25fc0129e1f 8730Author: Stuart Bennett <sb476@cam.ac.uk> 8731Date: Wed Nov 12 20:32:47 2008 +0000 8732 8733 randr12: allow ddc while crtc is locked 8734 8735commit 9d8bd459485392ec21d90c405510f3f097a61921 8736Author: Stuart Bennett <sb476@cam.ac.uk> 8737Date: Sat Nov 22 21:20:07 2008 +0000 8738 8739 Punt all bios structs and defines into a new header 8740 8741commit a34a2c07662b0175e03161cb48abaea9d814c1eb 8742Author: Stuart Bennett <sb476@cam.ac.uk> 8743Date: Thu Nov 20 17:35:59 2008 +0000 8744 8745 Do not attempt to parse FP mode tables for Mac laptops (#18636) 8746 8747 The two varieties of these laptops I've had the misfortune to encounter use DDC, 8748 and the NV34M based one appears to not include a fp mode table at all 8749 8750commit 1aba513a0b5a00996f28462cd4118214dffd87e2 8751Author: Ben Skeggs <skeggsb@gmail.com> 8752Date: Fri Nov 21 13:16:38 2008 +1100 8753 8754 nv50: program physical addresses into CRTCs, not VM addresses. 8755 8756commit 65b956fb407818117ce17ced6bbe66c55b4acb7c 8757Author: Stuart Bennett <sb476@cam.ac.uk> 8758Date: Mon Nov 17 20:02:19 2008 +0000 8759 8760 randr12: fix stupidity from 539f4990 8761 8762 found by AVRS2 8763 8764commit 1666e858dc027bc028083c15618da5cde5a1b6f1 8765Author: Maarten Maathuis <madman2003@gmail.com> 8766Date: Sun Nov 9 23:10:15 2008 +0100 8767 8768 nv50: use bios provided load detect value 8769 8770commit a020a44a2c48ff20bca6188469cb9cbbb5bf6093 8771Author: Maarten Maathuis <madman2003@gmail.com> 8772Date: Sun Nov 9 22:56:30 2008 +0100 8773 8774 bios: support g80 loadval table 8775 8776commit 220cbb6347cb0404bd24f457ac6cb5e39917cdbf 8777Author: Maarten Maathuis <madman2003@gmail.com> 8778Date: Sat Nov 8 18:01:18 2008 +0100 8779 8780 nv50_randr: plug a small memory leak 8781 8782commit cea05e14f94dcb842adbfcec515e17e9f5655089 8783Author: Stuart Bennett <sb476@cam.ac.uk> 8784Date: Sun Oct 26 03:51:36 2008 +0000 8785 8786 randr12: make colour-map setting less complex 8787 8788commit 0e4b01a5e06d8b5323c010ce89723369f17b10b2 8789Author: Stuart Bennett <sb476@cam.ac.uk> 8790Date: Sat Oct 25 02:11:37 2008 +0100 8791 8792 randr12: convenience functions for vga crtc state access 8793 8794commit fe9bfd9b1b5ce6fd0cd0360ec850ae48b4abac41 8795Author: Stuart Bennett <sb476@cam.ac.uk> 8796Date: Fri Oct 24 21:02:00 2008 +0100 8797 8798 Tidy EnterVT, and don't call it from ScreenInit 8799 8800commit 3e1ccff8744d9cabef0cd3901e987deeeb38ec12 8801Author: Stuart Bennett <sb476@cam.ac.uk> 8802Date: Fri Oct 24 02:49:19 2008 +0100 8803 8804 Condense crtc locking 8805 8806 We unlock all crtcs whenever the driver is active, and relock them when 8807 returning to VT (which is what we were doing, but in a more complicated manner) 8808 8809commit 83b541e0a9c454059d0e55a932a2ecdbbf650d60 8810Author: Stuart Bennett <sb476@cam.ac.uk> 8811Date: Mon Oct 27 19:20:22 2008 +0000 8812 8813 Common function for the bios condition table 8814 8815commit 36c6aa449063387b34c31015d618e53d4b6634e0 8816Author: Stuart Bennett <sb476@cam.ac.uk> 8817Date: Mon Oct 27 18:55:28 2008 +0000 8818 8819 Allow more time in INIT_CONDITION_TIME (#18234) 8820 8821commit bf810b32bc959f3821bca18cf158f711dd314a26 8822Author: Stuart Bennett <sb476@cam.ac.uk> 8823Date: Mon Oct 27 18:41:43 2008 +0000 8824 8825 More warnings for C51's magical unaligned regs 8826 8827commit d481b5e2e1dcb7ac5b5a7583bc6542b42567eac2 8828Author: Stuart Bennett <sb476@cam.ac.uk> 8829Date: Sat Oct 25 17:48:35 2008 +0100 8830 8831 Rework bios parser error handling 8832 8833commit 387f30821ff7add22376de33a203744cdc719849 8834Author: Stuart Bennett <sb476@cam.ac.uk> 8835Date: Sat Oct 25 00:38:29 2008 +0100 8836 8837 RivaTuner dumps call the `how much memory have I got?' reg NV_PFB_CSTATUS 8838 8839commit bb20175001748e5d2fab1b9cb2075bbe5d94e5ed 8840Author: Stuart Bennett <sb476@cam.ac.uk> 8841Date: Fri Oct 24 17:42:53 2008 +0100 8842 8843 pedantry fix for nv11 locking, and some minor cleanups 8844 8845commit 9aecc4226ca9067667004150f7d885b2247273b2 8846Author: Stuart Bennett <sb476@cam.ac.uk> 8847Date: Thu Oct 23 23:17:15 2008 +0100 8848 8849 Add a function to lock/unlock all crtcs, use it in nv_bios code 8850 8851 Also split initial head owner determination into separate function 8852 8853commit 48581da4d0e1663456ddcbf7a456029cf961d4cd 8854Author: Stuart Bennett <sb476@cam.ac.uk> 8855Date: Thu Oct 23 02:35:30 2008 +0100 8856 8857 Attempt to make the usage of cr44 rational instead of cargoculted 8858 8859 and a couple of minor cleanups in nv_crtc 8860 8861commit 1c7bee95610a47175064b17afd6aa2a45e311b1a 8862Author: Stuart Bennett <sb476@cam.ac.uk> 8863Date: Thu Oct 23 02:46:03 2008 +0100 8864 8865 Robust nv11 head setting (from mmiotrace) 8866 8867commit cf5162b5ed99666d3dc8db8328115afd6fff6a8e 8868Author: Stuart Bennett <sb476@cam.ac.uk> 8869Date: Tue Oct 21 02:12:24 2008 +0100 8870 8871 randr12: update scrn field on server regen, and emit an error if rotated 8872 8873 (updating the scrn is easier than removing and re-adding outputs) 8874 8875commit 13739cf36893e8ab6d3d4911c76a45f0b8bd5f4c 8876Author: Stuart Bennett <sb476@cam.ac.uk> 8877Date: Mon Oct 20 21:47:07 2008 +0100 8878 8879 randr12: don't change virtualX/virtualY 8880 8881 all the things in the ddx that use virtual* (setting displayWidth, allocating 8882 the FB, EXA init etc) use the values present before this function is called 8883 8884 these prior values are derived from any Virtual line in xorg.conf and are what 8885 we want to use 8886 8887 setting virtual* to the crtc size here, rather than the desired Virtual size, 8888 breaks everything using them in ScreenInit on server regeneration 8889 8890 as the rhd guys say: 8891 /* This is strange... if we set virtualX/virtualY like the intel driver 8892 * does, we limit ourself in the future to this maximum size. 8893 * The check for this is internally in RandR, no idea why the intel driver 8894 * actually works this way... 8895 * Even more curious: if we DON'T update virtual, everything seems to 8896 * work as expected... */ 8897 so I'll take that as precedent. 8898 8899commit 98a4dcb112221fa66d82b87ef9229f5c443daf90 8900Author: Stuart Bennett <sb476@cam.ac.uk> 8901Date: Mon Oct 20 18:59:35 2008 +0100 8902 8903 Delete notifiers and grobjs in CloseScreen to avoid channel member becoming stale on server regeneration 8904 8905commit 12fce00b2ecf4c6be6cc86c8a7374878bb7dfc20 8906Author: Stuart Bennett <sb476@cam.ac.uk> 8907Date: Wed Oct 22 02:47:45 2008 +0100 8908 8909 Remove all object with mmaps in CloseScreen, so that drmClose actually calls the drm release method 8910 8911 (and so subsequently, we can be DRM master on the next drmOpen) 8912 8913commit 8e3f27a30078675f1a7974ba436a68a5b45e0924 8914Author: Stuart Bennett <sb476@cam.ac.uk> 8915Date: Wed Oct 22 03:32:51 2008 +0100 8916 8917 No reason to call AccelCommonInit twice in ScreenInit, but calling it in EnterVT helps resume... 8918 8919commit f495fa9153ee57d3ee0dc735c3e9e836d84a2ccc 8920Author: Stuart Bennett <sb476@cam.ac.uk> 8921Date: Wed Oct 22 02:41:17 2008 +0100 8922 8923 nouveau_channel_free should remove mmaps made in nouveau_channel_alloc 8924 8925commit 1cedb8e49c832890efd12904e78dfd8ab5855691 8926Author: Stuart Bennett <sb476@cam.ac.uk> 8927Date: Wed Oct 22 02:15:06 2008 +0100 8928 8929 Do frag prog allocation and shader upload in TCL init 8930 8931 Similar in spirit to the nv50 inplementation. 8932 Removes many dependencies on state stored in static variables, which in turn 8933 makes reinitializing shaders on resume / server regeneration tractable. 8934 8935commit 9e2c08937b0d1bfed71997b2b16bded91830af71 8936Author: Stuart Bennett <sb476@cam.ac.uk> 8937Date: Wed Oct 22 01:44:10 2008 +0100 8938 8939 Only hackup shaders once 8940 8941commit afc6668d2b4a1971c211c421b6a415fe74dbd2ea 8942Author: Stuart Bennett <sb476@cam.ac.uk> 8943Date: Sat Oct 18 02:23:18 2008 +0100 8944 8945 cr26 is just another view of 0x3c0 8946 8947 remove superfluous crtc unlock too 8948 8949commit 539f4990c8f1a32da57992dc863f277f8ede8194 8950Author: Stuart Bennett <sb476@cam.ac.uk> 8951Date: Wed Oct 15 03:59:06 2008 +0100 8952 8953 Use symbolic define values where known 8954 8955commit 791666a76c68880136ae26d0477bf484cc667f72 8956Author: Stuart Bennett <sb476@cam.ac.uk> 8957Date: Wed Oct 15 00:25:26 2008 +0100 8958 8959 Convert CIO, DIO and VIO use to use defines from nvreg for index and data reg offsets 8960 8961commit a1b7f8d9b20bff59956ea1dc2130e5590a60aa4c 8962Author: Stuart Bennett <sb476@cam.ac.uk> 8963Date: Wed Oct 15 00:12:11 2008 +0100 8964 8965 Rename relevant functions, sizes and offsets to PRM.IO from P.IO, in keeping with the nvidia scheme 8966 8967commit 267c0eef02f5e2a48217235d170a0530de6a94d3 8968Author: Stuart Bennett <sb476@cam.ac.uk> 8969Date: Tue Oct 14 23:58:11 2008 +0100 8970 8971 Name crtc index regs according to rules.xml 8972 8973commit 9261c34e873356b02a0fda00e9911d9795d9f1f2 8974Author: Stuart Bennett <sb476@cam.ac.uk> 8975Date: Tue Oct 21 17:46:37 2008 +0100 8976 8977 SaveGeneration isn't doing a lot 8978 8979 add another close screen thing too 8980 8981commit c29c190036c721dac2e58e66d0c5a70a24377a1d 8982Author: Stuart Bennett <sb476@cam.ac.uk> 8983Date: Tue Oct 21 16:27:00 2008 +0100 8984 8985 Replace a few memsets with initializers 8986 8987commit 3b53f6ceb86458f9df9b7becc18a79e74b21c91f 8988Author: Stuart Bennett <sb476@cam.ac.uk> 8989Date: Sun Oct 12 15:52:43 2008 +0100 8990 8991 Eliminate separate NVRec ctor and dtor 8992 8993commit 1b18db28f124bd5021f61b72389e5c0ce003b212 8994Author: Stuart Bennett <sb476@cam.ac.uk> 8995Date: Sat Oct 11 21:05:57 2008 +0100 8996 8997 randr12: remove pointless debug in nv_output and nv_crtc 8998 8999commit 240d51dc928cea38f6b9d842b59011ad7c5500c0 9000Author: Stuart Bennett <sb476@cam.ac.uk> 9001Date: Sat Oct 11 18:40:35 2008 +0100 9002 9003 randr12: deBoolification and eliminate `override' arg to nv_crtc_load_state_ext 9004 9005commit b95c3e23f0eac7d12d5ee271af8ec5707ac4ef8e 9006Author: Stuart Bennett <sb476@cam.ac.uk> 9007Date: Sat Oct 11 18:29:40 2008 +0100 9008 9009 Make all CR 57/58 access use the proper functions and defines 9010 9011 Use a define for usleep in bios too 9012 9013commit 9988ae594f6f03385b261b0af83b324981f11593 9014Author: Stuart Bennett <sb476@cam.ac.uk> 9015Date: Sat Oct 11 17:56:23 2008 +0100 9016 9017 Redo bios logging 9018 9019commit 0e6a9cc61c88deaf0e0935d5a7d269621c3d6cd0 9020Author: Stuart Bennett <sb476@cam.ac.uk> 9021Date: Sat Oct 11 18:04:58 2008 +0100 9022 9023 Improve some nv_bios messages, remove others 9024 9025commit b175bfcd6485d9dcddb66ab5f79104567d256336 9026Author: Stuart Bennett <sb476@cam.ac.uk> 9027Date: Sat Oct 11 17:59:02 2008 +0100 9028 9029 Bios register list is easier to read when sorted numerically 9030 9031 and remove NULL initialization for calloc'd struct 9032 9033commit e51b49c938483ccbd172ff07d0385a6fb474b57e 9034Author: Stuart Bennett <sb476@cam.ac.uk> 9035Date: Sat Oct 11 02:35:40 2008 +0100 9036 9037 randr12: panels with edid have only a constant mode 9038 9039 prove me wrong. 9040 9041commit 765494ebf9b129bd613121cb714e928b09e19500 9042Author: Stuart Bennett <sb476@cam.ac.uk> 9043Date: Sat Oct 11 02:16:50 2008 +0100 9044 9045 Remove unnecessary "Setting owner" message 9046 9047commit bf585ad38a80f7828b821936296316bcee4658f5 9048Author: Maarten Maathuis <madman2003@gmail.com> 9049Date: Sat Oct 11 01:22:35 2008 +0200 9050 9051 The fifo channel should be removed along with closing of the fd, so only clear the client memory. 9052 9053commit 8b7e42461add708e75d3f7d675245f5bbf3652e8 9054Author: Maarten Maathuis <madman2003@gmail.com> 9055Date: Fri Oct 10 23:37:55 2008 +0200 9056 9057 git-log is no longer valid for git 1.6, switch to git log. 9058 9059commit 933fd803f0aadc934f448937dbeb305256fe8893 9060Author: Maarten Maathuis <madman2003@gmail.com> 9061Date: Fri Oct 10 23:14:57 2008 +0200 9062 9063 Some fixes that bring me closer to surviving to the 2nd X server generation. 9064 9065 - Not quite done, i get a fifo dump when something tries to render. 9066 - Something is keeping an fd, which is preventing a full takedown, but this is not a valid reason for failing (kernel modesetting 9067 for example will never have full takedown). 9068 9069commit daee3c38a02f48f9094f712800174b88b065f0ff 9070Author: Stuart Bennett <sb476@cam.ac.uk> 9071Date: Thu Oct 9 17:09:58 2008 +0100 9072 9073 randr12: separate cursor pixmap location setting function 9074 9075commit caf2e920f18cad1c57e945a4e474e63a65ec6a43 9076Author: Stuart Bennett <sb476@cam.ac.uk> 9077Date: Thu Oct 9 17:07:30 2008 +0100 9078 9079 Move cursor show/hide funcs to nv_hw, document nv40 bug, and set curctl2 before applying nv40 fix 9080 9081commit f76074c7041b1246efdf2c0a4b0c467e2fe0bef1 9082Author: Stuart Bennett <sb476@cam.ac.uk> 9083Date: Thu Oct 9 17:24:23 2008 +0100 9084 9085 Use correct refclk for nv_get_clock, and use bool type as appropriate in arbitration 9086 9087commit bd5b8074b4a250610cf8c9e2f181c2946e902bf8 9088Author: Stuart Bennett <sb476@cam.ac.uk> 9089Date: Thu Oct 9 15:25:16 2008 +0100 9090 9091 Tidy arbitration prototypes and split randr12 cursor pixmap setting from arbitration 9092 9093 Also fix ages old warning in nv_hw 9094 9095commit 5dc41fdcf4ba76d7154d32f030d2e99756681e4a 9096Author: Stuart Bennett <sb476@cam.ac.uk> 9097Date: Fri Oct 10 01:11:46 2008 +0100 9098 9099 Merge nv4, nv10 and nForce UpdateArbitrationSettings functions 9100 9101commit 0ffd012c922d241aec22c8e44416171e39e6bf0c 9102Author: Stuart Bennett <sb476@cam.ac.uk> 9103Date: Fri Oct 10 00:57:45 2008 +0100 9104 9105 Add PCI slot reading defines, and use them for nForce code 9106 9107 Also move nForce dimm checking code to nv_setup, so it is only tested once 9108 9109commit 520a76ef3df3cdc735691cfda329ceaae0ec3123 9110Author: Stuart Bennett <sb476@cam.ac.uk> 9111Date: Thu Oct 9 20:22:34 2008 +0100 9112 9113 Some tidying of arbitration functions 9114 9115commit 3ceb2b60a09379ef51635f8309fdc82060681e8f 9116Author: Stuart Bennett <sb476@cam.ac.uk> 9117Date: Thu Oct 9 19:05:01 2008 +0100 9118 9119 Reindent arbitration stuff 9120 9121commit d7439fc50a924f6f1a6b5b59ba3ec076cf90c52e 9122Author: Stuart Bennett <sb476@cam.ac.uk> 9123Date: Wed Oct 8 23:45:13 2008 +0100 9124 9125 Wrap usleep when called in bios code 9126 9127commit 62cf9f371c420abe7a74ac4bb9fa2da081f1d29b 9128Author: Stuart Bennett <sb476@cam.ac.uk> 9129Date: Fri Oct 10 16:41:29 2008 +0100 9130 9131 randr12: don't use in use (by another vga output) crtc for load detect (avoids flicker) 9132 9133commit f1d0fd0595b40d3a7f555bada88f1f79b517d610 9134Author: Stuart Bennett <sb476@cam.ac.uk> 9135Date: Tue Oct 7 21:39:10 2008 +0100 9136 9137 Better behaviour on allocator fail 9138 9139 also fix randr12 code which doesn't know how to call calloc 9140 and be sure to use the number of actually inited crtcs 9141 9142commit 2b67015e5911cb7e321da72d7d3d5f0fefedd8e0 9143Author: Stuart Bennett <sb476@cam.ac.uk> 9144Date: Tue Oct 7 02:35:44 2008 +0100 9145 9146 randr12: reorder nv_output functions 9147 9148 roughly into order of use 9149 9150commit 9f4eef0165766be2e1aa5516eae409e94c09553b 9151Author: Stuart Bennett <sb476@cam.ac.uk> 9152Date: Thu Sep 18 18:32:36 2008 +0100 9153 9154 randr12: distinguish detected encoder from active encoder 9155 9156 don't swap output props until a mode is set on new encoder either 9157 9158commit 549cda114ee378640dda89621b0ce9c937c473da 9159Author: Stuart Bennett <sb476@cam.ac.uk> 9160Date: Wed Oct 8 01:22:17 2008 +0100 9161 9162 Reduce includes, everything necessary is in nv_include.h 9163 9164commit 30eaa0f08250f72b0171a858f2694ca8a62c3ebd 9165Author: Stuart Bennett <sb476@cam.ac.uk> 9166Date: Sun Sep 21 00:52:56 2008 +0100 9167 9168 Oops. 9169 9170commit 2481e5646ab3ea5e18d3f5ee4042fa20a8dad3de 9171Author: Stuart Bennett <sb476@cam.ac.uk> 9172Date: Sun Sep 21 00:44:50 2008 +0100 9173 9174 Optimizing memory usage for unaccelerated case is not interesting 9175 9176commit 19f0ea63a505e6a840cf07bc554fd8f1787616b4 9177Author: Stuart Bennett <sb476@cam.ac.uk> 9178Date: Sun Sep 21 00:43:57 2008 +0100 9179 9180 randr12: rename mon -> edid 9181 9182commit 0cb081758f52e73c3055758ed7aced12b93c2519 9183Author: Stuart Bennett <sb476@cam.ac.uk> 9184Date: Sun Sep 21 00:31:40 2008 +0100 9185 9186 randr12: crtc destroy 9187 9188 also alleviate world shortage of curly braces 9189 9190commit 37adca1dd68d5791b0371eed4b96f6613fc747c2 9191Author: Stuart Bennett <sb476@cam.ac.uk> 9192Date: Sat Sep 20 23:57:06 2008 +0100 9193 9194 Need to increment dcb entry index when fabricating additional entries 9195 9196commit e6b6d8c9189f3b5ebbc77f55e318246be0fa1bd4 9197Author: Maarten Maathuis <madman2003@gmail.com> 9198Date: Fri Sep 19 21:23:04 2008 +0200 9199 9200 Also remove man page entry. 9201 9202commit cb1e9c1ab288bcf380789f775533e4c8ff8705db 9203Author: Maarten Maathuis <madman2003@gmail.com> 9204Date: Fri Sep 19 21:14:09 2008 +0200 9205 9206 NV50: remove {Prepare,Finish}Access since i realise now it's not so useful 9207 9208 - despite that the xserver code suggests that pixmaps can be offscreen on this call, that is not done as far as i can tell 9209 - not to mention that there is no way to know for sure if a pixmap is offscreen (exaPixmapIsOffscreen is not exported), making the 9210 offset useless 9211 - this will (obviously) become relevant as soon as driver managed pixmaps come into play, but that is for another day 9212 9213commit 3e397f575df6c3fee6eb9ee810fb3fc70d2c0cc8 9214Author: Maarten Maathuis <madman2003@gmail.com> 9215Date: Fri Sep 19 20:41:59 2008 +0200 9216 9217 NV50: The TMDS dual link threshold is meaningless for LVDS 9218 9219commit 599d258948be0505f02947251ad6877e7168d9a8 9220Author: Stuart Bennett <sb476@cam.ac.uk> 9221Date: Mon Aug 25 01:47:45 2008 +0100 9222 9223 randr12: multiple encoders per connector (DVI-I) 9224 9225 that this doesn't break things in subtle and unexpected ways is too much to 9226 hope for. one not-subtle and expected way things will break is that xorg.confs 9227 with specific setups for DVI-A-n and DVI-D-n connections will need renaming (to 9228 DVI-I-n). 9229 9230 as the last patch in the series, this also fixes an issue introduced with 9231 144b04a2 (randr12: fix dpms, detect, destroy, ...), that for a screen connected 9232 to a dvi connector, both the analogue and digital variants were detected as 9233 connected 9234 9235commit 5e8ac848936a1b70babc417454599c0231343399 9236Author: Ben Skeggs <skeggsb@gmail.com> 9237Date: Wed Sep 17 22:12:07 2008 +1000 9238 9239 nv50: 0xa0 family uses class 0x8397 for 3D 9240 9241commit 9c36eefe991daf47d20badffb3009def99473bdd 9242Author: Stuart Bennett <sb476@cam.ac.uk> 9243Date: Sun Sep 14 23:01:49 2008 +0100 9244 9245 randr12: avoid weirdness when tv-out happens to share i2c_index with another output 9246 9247commit 144b04a258eaa8e3b63c48b5e574524b40a59ac7 9248Author: Stuart Bennett <sb476@cam.ac.uk> 9249Date: Sun Aug 24 04:15:20 2008 +0100 9250 9251 randr12: fix dpms, detect, destroy, save and restore for multiple encoders per connector 9252 9253commit 2b30b8914a32049e87205cf896b2e89ab6649bca 9254Author: Stuart Bennett <sb476@cam.ac.uk> 9255Date: Sun Aug 24 04:26:19 2008 +0100 9256 9257 randr12: re-do detection of dvi-a vs vga 9258 9259commit 50bac3fcd24072b8926ba2dbebd571424fbb7d6d 9260Author: Stuart Bennett <sb476@cam.ac.uk> 9261Date: Sun Aug 24 03:56:16 2008 +0100 9262 9263 randr12: unify output funcs for analogue and tmds 9264 9265commit 69e30e6727895a8edeffc9a348b13a353cd0c6d0 9266Author: Stuart Bennett <sb476@cam.ac.uk> 9267Date: Sun Aug 24 03:12:58 2008 +0100 9268 9269 randr12: unified entry path for dpms 9270 9271commit a794a0c864e5b651bea5e40a4e10978aee9da5b6 9272Author: Stuart Bennett <sb476@cam.ac.uk> 9273Date: Sun Aug 24 04:45:48 2008 +0100 9274 9275 randr12: nouveau_output -> nouveau_connector 9276 9277commit 0a5119bd8a927da1f3f4ed6caa2e93acdae29c04 9278Author: Stuart Bennett <sb476@cam.ac.uk> 9279Date: Sun Aug 24 02:45:41 2008 +0100 9280 9281 randr12: separate encoder struct 9282 9283commit 352b8fd98c519f85ade02aa679d342bc64faa508 9284Author: Stuart Bennett <sb476@cam.ac.uk> 9285Date: Sun Sep 14 16:53:12 2008 +0100 9286 9287 Another DCB 1.4/1.5 TV (#17471) 9288 9289 I think we've got enough for TVs to no longer be fatal 9290 9291commit e8ba4e0baa62f02ba85258847963512791d89385 9292Author: Stuart Bennett <sb476@cam.ac.uk> 9293Date: Sun Sep 14 16:44:32 2008 +0100 9294 9295 Only use OF bios image on PPC 9296 9297commit 54b8a7ea43ec20c798dc93d881cdffa5cb1125a0 9298Author: Ben Skeggs <skeggsb@gmail.com> 9299Date: Thu Sep 11 03:29:46 2008 +1000 9300 9301 nv50/exa: work around corruption issues (see detailed commit msg) 9302 9303 It's not possible for us to do this properly without using the exa 9304 pixmap hooks, they require a real memory manager, and is being 9305 worked on in the ng branches, which doesn't currently support nv5x 9306 at all. 9307 9308 For a better solution until then: 9309 http://nouveau.freedesktop.org/wiki/NV50Support 9310 9311commit f8c0af3886142ea59936a77006ead0cd2c4ff795 9312Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9313Date: Fri Sep 5 23:08:14 2008 +0200 9314 9315 Partly revert ea152819f45b6cf92f6742ed3f9f639cdbbd53f0, alignment is needed. 9316 9317commit ea152819f45b6cf92f6742ed3f9f639cdbbd53f0 9318Author: Maarten Maathuis <madman2003@gmail.com> 9319Date: Fri Sep 5 22:51:27 2008 +0200 9320 9321 exa: align offscreenBase to something sensible 9322 - Aligning virtualY makes no sense whatsoever. 9323 - displayWidth is the "pitch-width" of the framebuffer. 9324 9325commit 95c19b98b38310c543758fe4288a9e47b970fe67 9326Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9327Date: Thu Sep 4 07:51:03 2008 +0200 9328 9329 Add 8200 detection. 9330 9331commit 6dd8ad4ed3f89c6ed9e61708a587d417c8d984fe 9332Author: Maarten Maathuis <madman2003@gmail.com> 9333Date: Sat Aug 30 17:51:05 2008 +0200 9334 9335 nv50: solid fill shouldn't use a pattern rop + minor changes 9336 9337commit b2b726d59fd8af819a7e464824a49f6e6fc10b84 9338Author: Stuart Bennett <sb476@cam.ac.uk> 9339Date: Sun Aug 24 00:18:40 2008 +0100 9340 9341 randr12: merge output detection functions 9342 9343commit a223e581b06ffb308aecc2365795951e2c021f29 9344Author: Stuart Bennett <sb476@cam.ac.uk> 9345Date: Sun Aug 24 00:08:41 2008 +0100 9346 9347 randr12: remember the edid from detection for getting modes later 9348 9349 also split native mode finding into separate function 9350 9351commit 16d9e89d9cfae1c21999d880c557ae283e14178e 9352Author: Stuart Bennett <sb476@cam.ac.uk> 9353Date: Sun Aug 24 19:56:24 2008 +0100 9354 9355 randr12: detypedef private structs and use a define to get to the privates 9356 9357commit 3b3f3cdbe0f69c57153e070f248ff001cd5a4a17 9358Author: Stuart Bennett <sb476@cam.ac.uk> 9359Date: Sun Aug 24 00:31:35 2008 +0100 9360 9361 Remove unused code 9362 9363commit 1e2b87c459a3a0eacd630f1de8b567c36cc792bd 9364Author: Stuart Bennett <sb476@cam.ac.uk> 9365Date: Mon Aug 25 20:23:05 2008 +0100 9366 9367 randr12: make the nouveau experience less green 9368 9369commit f89af0e6bc5ac88d0755f9402b772ca823518298 9370Author: Maarten Maathuis <madman2003@gmail.com> 9371Date: Sat Aug 23 03:44:28 2008 +0200 9372 9373 nv50: micro cleanup 9374 9375commit 94bf1060cc9d2f4c0a14bc036f8b76c4d9bfc7d7 9376Author: Maarten Maathuis <madman2003@gmail.com> 9377Date: Sat Aug 23 03:39:39 2008 +0200 9378 9379 nv50: do ROPs properly this time 9380 - Table should work for pre-nv50 as well, i just don't have a card plugged in to be sure. 9381 9382commit 6bd14e4ffe1d5fd9420c4ebb46c9c0844d0547f9 9383Author: Maarten Maathuis <madman2003@gmail.com> 9384Date: Fri Aug 22 17:56:31 2008 +0200 9385 9386 nv10: composite is an async operation by default, no need to call exaMarkSync(). 9387 9388commit 9f11d13e68bbf72be814b37fa3d03853eec981b9 9389Author: Maarten Maathuis <madman2003@gmail.com> 9390Date: Fri Aug 22 17:53:11 2008 +0200 9391 9392 exa: FIRE_RING at the end of composite 9393 9394commit 137d099294617adead2cf3d5cc3372d18579eaef 9395Author: Maarten Maathuis <madman2003@gmail.com> 9396Date: Thu Aug 21 23:17:06 2008 +0200 9397 9398 nv50: move VERTEX_{START,END} to {Prepare,Done}Composite 9399 - If PrepareComposite returns TRUE, then everything upto DoneComposite is required. 9400 9401commit 34dc05fbc4835ec68de5a1f70cc094ff6efcf310 9402Author: Maarten Maathuis <madman2003@gmail.com> 9403Date: Thu Aug 21 22:50:49 2008 +0200 9404 9405 nv50: minor tweaks to composite 9406 - Make the blend stuff more consistent with other composite implementations. 9407 - Verified with "rendercheck -f a8r8g8b8,x8r8g8b8,r5g6b5,a8 -t {blend,composite,cacomposite}" for all accelerated ops. 9408 9409commit eca997750b1cc2263f804afba242f16b6d960e02 9410Author: Maarten Maathuis <madman2003@gmail.com> 9411Date: Thu Aug 21 20:01:49 2008 +0200 9412 9413 nv50: handle ROPs better 9414 - Handle ROP's more like pre-NV50 code. 9415 - Special case for 32bpp which seems to work. 9416 - This does NOT fix all rendering issues, just an improvement. 9417 9418commit e468df855abd8d8e4fecd2445c82bb8f824297fb 9419Author: Maarten Maathuis <madman2003@gmail.com> 9420Date: Wed Aug 20 19:14:54 2008 +0200 9421 9422 nv50: clip SIFC and add {Prepare,Finish}Access hooks. 9423 9424 - 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. 9425 - {Prepare,Finish}Access hooks force tiled memory to be migrated upon cpu access. 9426 - Added an option to disable these hooks in case you hit a xserver bug that existed up until very recently. 9427 9428commit 0c0c1ab2ce786def653e8adb95c7c5a8ff9c7eca 9429Author: Stuart Bennett <sb476@cam.ac.uk> 9430Date: Tue Aug 19 00:02:00 2008 +0100 9431 9432 randr12: don't cache pll values (fixes newrestore removal regression) 9433 9434 for 5ms, it's really not worth it 9435 9436commit 544fd3c502287754f2161c21514203ccaab8aed9 9437Author: Stuart Bennett <sb476@cam.ac.uk> 9438Date: Mon Aug 18 21:50:37 2008 +0100 9439 9440 Remove some of the inaccuracies in the manpage 9441 9442commit e3d9cb926e56d28b7cadd0026ae76c076faced75 9443Author: Stuart Bennett <sb476@cam.ac.uk> 9444Date: Mon Aug 18 21:40:36 2008 +0100 9445 9446 NV_ARCH_04 can have rotated output, it's just not accelerated 9447 9448commit 40e920fafb9f22da23ef11c941561bb14966dc47 9449Author: Stuart Bennett <sb476@cam.ac.uk> 9450Date: Mon Aug 18 21:39:18 2008 +0100 9451 9452 Delete ShadowFB rotation 9453 9454 And nothing of value was lost. 9455 9456commit 6352d7db24451b014b5f6b873881d103fc1eb316 9457Author: Stuart Bennett <sb476@cam.ac.uk> 9458Date: Mon Aug 18 00:59:32 2008 +0100 9459 9460 Bye bye 8 bit depth 9461 9462commit 33d52e476b64cd91dc4b01c6826892f2da9499b0 9463Author: Stuart Bennett <sb476@cam.ac.uk> 9464Date: Sun Aug 17 23:52:28 2008 +0100 9465 9466 CrtcNumber option is long gone 9467 9468commit a9393a87d36cc486114842275bb78e7e75de754e 9469Author: Stuart Bennett <sb476@cam.ac.uk> 9470Date: Sun Aug 17 23:17:01 2008 +0100 9471 9472 Micro-tidyups to nv_driver and nouveau_xv 9473 9474commit 8ed30d05afe4a5bb077c088c48c28741414c09d3 9475Author: Stuart Bennett <sb476@cam.ac.uk> 9476Date: Sun Aug 17 16:57:17 2008 +0100 9477 9478 randr12: a few line length improvements 9479 9480commit 666ab70754035c569eaa2550ca77c92fe3eaaff3 9481Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9482Date: Sun Aug 17 22:44:11 2008 +0200 9483 9484 Kill some 8 bit code. 9485 9486commit bee8450931395b23040a4cb1ddcb09f8a476cb93 9487Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9488Date: Sun Aug 17 22:25:43 2008 +0200 9489 9490 Fix IFC for 16bpp. Also fix the color accuracy of 16bpp solid fills. 9491 9492commit 609b10ff00c9e8d51fd7c9a5fb62120516780aed 9493Author: Stuart Bennett <sb476@cam.ac.uk> 9494Date: Sun Aug 17 03:51:39 2008 +0100 9495 9496 0x48 exception does not apply on BIT cards 9497 9498commit a9e2d47e2cee7db447063d7c33f3e42a8d865c92 9499Author: Stuart Bennett <sb476@cam.ac.uk> 9500Date: Sun Aug 17 02:48:33 2008 +0100 9501 9502 randr12: some code simplification, rearrangement and tidying 9503 9504 We don't claim to support a bpp of 15 or 24, so some old calculations can be simplified 9505 9506commit 5715f95b37ad182377024f468982608b48eb3409 9507Author: Stuart Bennett <sb476@cam.ac.uk> 9508Date: Sun Aug 17 02:27:42 2008 +0100 9509 9510 NewRestore: remove, due to lack of interest 9511 9512 nobody wants to do text modes manually. for any future masochists, it's here in the history 9513 9514commit d2e924e847273c5b4d342d0ad611de7d106df429 9515Author: Stuart Bennett <sb476@cam.ac.uk> 9516Date: Sun Aug 17 01:37:41 2008 +0100 9517 9518 randr12: remove another field member 9519 9520commit 55f490c8c29b103d7d8853e2126a8366304f4125 9521Author: Stuart Bennett <sb476@cam.ac.uk> 9522Date: Sun Aug 17 01:26:20 2008 +0100 9523 9524 randr12: fpWidth and fpHeight no more 9525 9526commit 4cbbd44db614d250fdaaf648db2d70ec9bc2f6d9 9527Author: Stuart Bennett <sb476@cam.ac.uk> 9528Date: Sun Aug 17 00:38:23 2008 +0100 9529 9530 randr12: improve aspect scaling code 9531 9532commit 8a364682fd67c10c153cb0778c914a4754e82ddd 9533Author: Stuart Bennett <sb476@cam.ac.uk> 9534Date: Sat Aug 16 23:15:29 2008 +0100 9535 9536 randr12: for native scaling, a clock check isn't enough 9537 9538 1280x1024 and 1280x960 can have the same clock 9539 9540commit 8793bb1d7b79632678d7ce9f1e94c79dfd55fa3c 9541Author: Stuart Bennett <sb476@cam.ac.uk> 9542Date: Fri Aug 15 23:02:48 2008 +0100 9543 9544 Apply minimum front porch only when necessary (#15949) 9545 9546 Also, read minimum front porch from bios table 9547 9548commit 83bb26fd9a8bb283c406bc34d1d7ad0b53d7098a 9549Author: Maarten Maathuis <madman2003@gmail.com> 9550Date: Sat Aug 16 17:18:21 2008 +0200 9551 9552 NV50: disallow doublescan modes on TMDS/LVDS 9553 9554commit 7d5b345f69bf63d36207a7f6ac4d01001d62e79c 9555Author: Maarten Maathuis <madman2003@gmail.com> 9556Date: Sat Aug 16 15:33:13 2008 +0200 9557 9558 NV50: extra warning message 9559 9560commit 743c696c8b0e420a67ce1552ac0cec49c0fdc0f2 9561Author: Maarten Maathuis <madman2003@gmail.com> 9562Date: Sat Aug 16 15:28:43 2008 +0200 9563 9564 NV50: a half decent attempt at doing something when LVDS has no DDC 9565 9566commit fcbaa10a945e04d77c6ea8f83b738fb6c9e47dd5 9567Author: Maarten Maathuis <madman2003@gmail.com> 9568Date: Sat Aug 16 14:35:05 2008 +0200 9569 9570 Forgot something. 9571 9572commit 628acddedc7755a16471e9beee3d95d3b8f11150 9573Author: Maarten Maathuis <madman2003@gmail.com> 9574Date: Sat Aug 16 14:24:18 2008 +0200 9575 9576 NV50: support extended i2c ports (4 and 5) 9577 9578commit c845f5ac0a54b17a9911155030234c229e80626c 9579Author: Maarten Maathuis <madman2003@gmail.com> 9580Date: Sat Aug 16 14:02:51 2008 +0200 9581 9582 nv50: fix some of the rendering bugs 9583 9584 - It seems that 32bpp solid fill only works well for for the non-rop case. 9585 - The SRCCOPY_PREMULT comes from nv and seems to work well, in combination with the above fallback. 9586 - This does not affect the strange stripes with font rendering issue. 9587 9588commit 18288208bdb7f872f0a2e227d20b77c3397747c2 9589Author: Stuart Bennett <sb476@cam.ac.uk> 9590Date: Fri Aug 15 01:40:01 2008 +0100 9591 9592 Redo parsing for panels with EDID, and fix nv3x in the process (#17138) 9593 9594 breakage a possibility :) 9595 9596commit c9d4e86022bffd00d89076a921b734645145f7db 9597Author: Stuart Bennett <sb476@cam.ac.uk> 9598Date: Tue Aug 12 14:15:03 2008 +0100 9599 9600 Try harder to load a good vbios image 9601 9602commit ae594786ffc1cdca5bdd8c8638225819f851061b 9603Author: Stuart Bennett <sb476@cam.ac.uk> 9604Date: Wed Aug 6 00:31:39 2008 +0100 9605 9606 Deal with mobile cards that scribble over the fp strap at POST 9607 9608 It's probably safe to assume a mobile card will have been POSTed at boot, so 9609 this should be fine. 9610 Hopefully there are no cards which have bit 2 set at 0x48 and now break... 9611 9612commit 776670613f79cce3891c65d2f688979767cd1e6d 9613Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 9614Date: Fri Aug 15 00:43:02 2008 +0200 9615 9616 Fix a 16bpp issue, also remove old code that mostly worked around core EXA issues in older xservers. 9617 9618commit 6854f819f6bb89d67bfb737fd24c3e8b16e67e46 9619Author: Maarten Maathuis <madman2003@gmail.com> 9620Date: Tue Aug 5 13:08:22 2008 +0200 9621 9622 NV50: Disable messages from hide, show and load cursor, as they clutter the logs. 9623 9624commit 4b24be811b839f9f836b9f8574fc808d2182dd30 9625Author: Ben Skeggs <skeggsb@gmail.com> 9626Date: Mon Aug 4 16:09:28 2008 +1000 9627 9628 xv: fix thinko from when source was reformatted 9629 9630commit 30f54f2a4b81afde129170a26189cdb2bd3c7e9c 9631Author: Younes Manton <younes.m@gmail.com> 9632Date: Sun Aug 3 12:29:57 2008 -0400 9633 9634 g3dvl: Temporarily disable IDCT. 9635 9636commit 89d786435267af58bcecaff206a09b035e666df5 9637Author: Ben Skeggs <skeggsb@gmail.com> 9638Date: Tue Jul 29 23:38:45 2008 +1000 9639 9640 nv50: fix mystery typo 9641 9642commit c0b67f3f3490e826c86eedb32bbcf327592aaaf5 9643Author: Ben Skeggs <skeggsb@gmail.com> 9644Date: Tue Jul 29 01:26:20 2008 +1000 9645 9646 remove use of implicit variables from pushbuf macros 9647 9648 This matches the gallium winsys now. At some point the ddx will get updates 9649 so the "common" code is once again in sync to make it easier to do mm 9650 changes to both the ddx and dri simultaneously. 9651 9652 But, I want to get this part out of the way first as the changes might take 9653 a bit of work - and I don't want to have to deal with merge conflicts 9654 everywhere if someone changes the accel code before I'm done :) 9655 9656commit 80278c9f53f7c357e499bf2b3c5a1dff75fb9651 9657Author: Younes Manton <younes.m@gmail.com> 9658Date: Sun Jul 27 16:48:58 2008 -0400 9659 9660 g3dvl: Basic XvMC initialization. 9661 9662commit 1f8e27fd1d92d1c07dd8387f1a5e751ab3fab54a 9663Author: Maarten Maathuis <madman2003@gmail.com> 9664Date: Sun Jul 27 00:09:02 2008 +0200 9665 9666 NV50: I was proven wrong quicker than i thought, reinstate a slightly prettier hack. 9667 9668commit 41d46f59eb055130d5d415f0573fbede957c66c3 9669Author: Maarten Maathuis <madman2003@gmail.com> 9670Date: Sat Jul 26 21:53:26 2008 +0200 9671 9672 NV50: forgot something 9673 9674commit 1b905249c492af4485a9a2f4e7ae3ad5441c8eb5 9675Author: Maarten Maathuis <madman2003@gmail.com> 9676Date: Sat Jul 26 21:50:34 2008 +0200 9677 9678 NV50: my best guess at the lvds bios table, time will tell if it's correct for more than a few cases 9679 9680commit f3ec6e0e2d84e172cb634fd1348a54aef7256e74 9681Author: Dave Airlie <airlied@redhat.com> 9682Date: Thu Jul 24 15:41:57 2008 +1000 9683 9684 nouveau: fix macro as pointed out my moondrake on irc 9685 9686commit 6652e9c85fe8e807ed3d8ff76ec18c250aef436f 9687Author: Ben Skeggs <skeggsb@nisroch.keine.ath.cx> 9688Date: Thu Jul 24 10:13:05 2008 +1000 9689 9690 nv50: support YUY2 in textured video adaptor 9691 9692commit 3534f40b64496d9f6f95148ab81b9321057f7af1 9693Author: Ben Skeggs <skeggsb@gmail.com> 9694Date: Thu Jul 24 09:39:09 2008 +1000 9695 9696 nv50: remove 32bpp solid fill fallback 9697 9698 It seems to work, but there's probably a good reason it's a fallback in nv, 9699 so may be reincarnated with a more specific fallback if needed. 9700 9701commit 87f7d1f7084032110c347cb73f63e9a929d8c00e 9702Author: Ben Skeggs <skeggsb@gmail.com> 9703Date: Thu Jul 24 09:38:27 2008 +1000 9704 9705 Revert "NV50EXA: read the notes + cleanup + enabled 32bpp solid fill" 9706 9707 This reverts commit 0b6249fed6909af30856e1afc1a0dd4cd98c0b9e. 9708 9709commit ba7c239e7a13c4726dab7c686ee1c7f34d03a593 9710Author: Maarten Maathuis <madman2003@gmail.com> 9711Date: Thu Jul 24 01:30:16 2008 +0200 9712 9713 NV50EXA: serious brain fart of my part, sorry 9714 9715 - prepare copy may set up a rop and will set operation appropriately. 9716 9717commit 0b6249fed6909af30856e1afc1a0dd4cd98c0b9e 9718Author: Maarten Maathuis <madman2003@gmail.com> 9719Date: Wed Jul 23 21:01:57 2008 +0200 9720 9721 NV50EXA: read the notes + cleanup + enabled 32bpp solid fill 9722 9723 - I observe occasional corruption, some of this goes away when using a compositing manager. 9724 - The above statement contradicts my earlier statement in the previous commit message. 9725 - 32bpp solid fills seem to work fine, but i left the original fallback in case something pops up. 9726 - There is definately something wrong somewhere, i just don't know what. 9727 9728commit edbfbd09ac0a05c4125c3217f5d9c8f198d9345d 9729Author: Maarten Maathuis <madman2003@gmail.com> 9730Date: Wed Jul 23 13:34:28 2008 +0200 9731 9732 EXA: put NOUVEAU_FALLBACK in a do { } while (0), fixed opera corruption for me. 9733 9734 - I don't understand why a single line define would need this, but i noticed that turning on the fallback info fixed rendering. 9735 9736commit 36d13082dd2c2ba5d490b3dbc6e82d9ccfed8669 9737Author: Maarten Maathuis <madman2003@gmail.com> 9738Date: Sun Jul 20 15:44:47 2008 +0200 9739 9740 NV50_KMS: some basic scaling and dithering output property support 9741 9742commit 022a9ed5c2657466dd2471a1b29d5e8bc92ca57a 9743Author: Ben Skeggs <skeggsb@gmail.com> 9744Date: Sat Jul 19 22:14:50 2008 +1000 9745 9746 nv50: no more sync in composite() :) 9747 9748 0x502d mthd 0x0110 some kind of 2D cache flush? 9749 9750commit 6d8096c72e1aa160cef6729443ed06305a8ae870 9751Author: Ben Skeggs <skeggsb@gmail.com> 9752Date: Fri Jul 18 13:57:13 2008 +1000 9753 9754 nv50: sync after composite for the moment 9755 9756 This corrects some severe text rendering issues that get *very* bad with 9757 server 1.5. Will look into a proper fix soon. 9758 9759commit c68d8806b309ef4b48d7a98d6fc7aeccb8bb05ac 9760Author: Ben Skeggs <skeggsb@gmail.com> 9761Date: Fri Jul 18 13:39:59 2008 +1000 9762 9763 nv50: punt vertex emission macro out to header 9764 9765commit 4ad74cb03070f5279e0b1de2ed326f1167400d60 9766Author: Ben Skeggs <skeggsb@gmail.com> 9767Date: Thu Jul 17 11:15:59 2008 +1000 9768 9769 exa: missed a reloc delta 9770 9771 Can't actually hit this bug currently, but one day perhaps :) 9772 9773commit 98a9056224a86244f99ef7e844cda363e563a446 9774Author: Ben Skeggs <skeggsb@gmail.com> 9775Date: Thu Jul 17 11:15:08 2008 +1000 9776 9777 nv50: remove acquire/release surface stuff 9778 9779 It's left over from code that never made it to git in the first place, 9780 long overdue removal. 9781 9782commit f0305a29c2b4010894362d17f21cdfec39cd7b92 9783Author: Ben Skeggs <skeggsb@gmail.com> 9784Date: Thu Jul 17 11:14:02 2008 +1000 9785 9786 exa: rename m2mf locals to prevent some confusion 9787 9788commit 140c36ed936f4f28842af88efdd8b824c01bb097 9789Author: Danny <obiwan@mailmij.org> 9790Date: Fri Jul 18 03:07:38 2008 +0100 9791 9792 randr12: fix dithering output property endian issue (#16624) 9793 9794 tweaked and commented by Stuart Bennett 9795 9796commit b36802fe90165cf0fea61728b06605be5ac25d8d 9797Author: Pawel Worach <pawel.worach@gmail.com> 9798Date: Fri Jul 18 01:17:18 2008 +0200 9799 9800 Fix for #14858 - freebsd compile. Someone still needs to fix the kernel part though. 9801 9802commit 6f5e90ae739c64478ddf3e042e2bc9c4ff2b951c 9803Author: Ben Skeggs <skeggsb@gmail.com> 9804Date: Sat Jul 12 02:24:54 2008 +1000 9805 9806 nv30: more header name changes... 9807 9808commit 4b8427af583a8f84a09e8bd8d6ad614575a4f9c7 9809Author: Ben Skeggs <skeggsb@gmail.com> 9810Date: Sat Jul 12 02:15:08 2008 +1000 9811 9812 nv30: more bustage from header update 9813 9814commit 1672a783c4af58c80ed549fb3dc63c07fc75a882 9815Author: Ben Skeggs <skeggsb@gmail.com> 9816Date: Sat Jul 12 02:03:58 2008 +1000 9817 9818 nv30: un-change something that somehow changed in an earlier commit. oops! 9819 9820commit dae59585abec4b514789a8e580d30757f10d0357 9821Author: Ben Skeggs <skeggsb@gmail.com> 9822Date: Tue Jul 8 12:28:18 2008 +1000 9823 9824 nv50: exa/xv share some stuff, punt it out to nv50_accel.[ch] 9825 9826commit 17fbd810748b61b298c1ea9729d94f7d1177253b 9827Author: Ben Skeggs <skeggsb@gmail.com> 9828Date: Tue Jul 8 12:09:09 2008 +1000 9829 9830 nv50: Xv support 9831 9832 The NV12 YCbCr->RGB shader is hand-written just like the composite shaders, 9833 hopefully correct! I'll probably put a disasm next to each opcode at some 9834 point so it doesn't look like just a bunch of magics. 9835 9836 You'll need to use a composite manager if you want to watch videos, we can't 9837 render directly to the screen for the same reasons as mentioned in the 9838 composite commit. Though, a simple workaround is possible in the Xv case, 9839 so that'll probably come at some point. For now, PutImage() will fail with 9840 BadMatch. 9841 9842 The Y and UV plane upload may not be 100% for what NV50 requires, I want to 9843 rework all that at some point anyway. For now, at least there's some form 9844 of accelerated video to work with. 9845 9846 Enjoy :) 9847 9848commit ec452786d9aa3b6db41f1ab3c89aaa20a758f89e 9849Author: Ben Skeggs <skeggsb@gmail.com> 9850Date: Sun Jul 6 20:38:44 2008 +1000 9851 9852 nv50: de-magic things before someone accuses me of being an NVIDIA employee 9853 9854commit ad56c5e27642674d8e435bbbe3d6030097a01ff9 9855Author: Ben Skeggs <skeggsb@gmail.com> 9856Date: Sun Jul 6 01:30:21 2008 +1000 9857 9858 nv50: exa composite 9859 9860commit 33fad279e935a5a134ee5cc1777b8ed7510101d0 9861Author: Ben Skeggs <skeggsb@gmail.com> 9862Date: Sun Jul 6 01:21:39 2008 +1000 9863 9864 nv50: tile offscreen pixmaps 9865 9866 Until someone figures out how to make the display engine scan out from 9867 tiled surfaces things will be a bit painful. Future commits for exa 9868 composite and Xv will require the use of the 3D engine, which will *not* 9869 render to linear surfaces.. a composite manager will probably be a must 9870 for it to be usable. 9871 9872 I really don't want the NOUVEAU_MEM_TILE ioctl in the end, but we'll have 9873 to deal with it until we can drop support for <xorg-server-1.5. EXA driver 9874 handled pixmaps are far far nicer :) 9875 9876commit 5c1deac8384413dc483238f60c366e98253c11d6 9877Author: Ben Skeggs <skeggsb@gmail.com> 9878Date: Sun Jul 6 00:57:08 2008 +1000 9879 9880 exa: pass window coords to m2mf-based UTS/DFS 9881 9882commit b1f316977e2c79fdf5c83092e953bdfc988299e1 9883Author: Ben Skeggs <skeggsb@gmail.com> 9884Date: Mon Jul 7 01:03:02 2008 +1000 9885 9886 xv: remove some disturbing abuses of buffer related things 9887 9888 Also brings to attention a point about the overlay when we use a real 9889 memory manager. We'll need to find a way for the overlay to signal it's 9890 finished with a buffer, or just resort to pinning pPriv->video_mem.. 9891 9892commit 0ce028b6aaa6c20a1578148add2a96b2d37d9108 9893Author: Maarten Maathuis <madman2003@gmail.com> 9894Date: Sun Jul 6 13:45:32 2008 +0200 9895 9896 EXA: add a pixmapIsOffscreen hook. 9897 9898commit 86c70df254e63ebc5c405803d6faa9ae33df4995 9899Author: Maarten Maathuis <madman2003@gmail.com> 9900Date: Sun Jul 6 12:52:16 2008 +0200 9901 9902 NV50_KMS: support gamma changes 9903 9904commit 6de89c8cb219cc82b46e0d0d723fa9d1cefe4ac8 9905Author: Maarten Maathuis <madman2003@gmail.com> 9906Date: Sun Jul 6 12:29:13 2008 +0200 9907 9908 NV50: Unaccelerated rotation support. 9909 9910 - This will need a PixmapIsOffscreen hook before it will be considered for acceleration. 9911 9912commit 788fefa2e78a4abf7bd5c396ab9639bc6ff78451 9913Author: Maarten Maathuis <madman2003@gmail.com> 9914Date: Sun Jul 6 01:03:44 2008 +0200 9915 9916 NV50_KMS: Unaccelerated rotation support. 9917 9918 - This will need a PixmapIsOffscreen hook for it to be ever considered for acceleration. 9919 9920commit 2bc1cb832e0ded6cd1411757bec2a4b03536b7ea 9921Author: Maarten Maathuis <madman2003@gmail.com> 9922Date: Sun Jul 6 01:02:45 2008 +0200 9923 9924 Revert "EXA: Add PixmapIsOffscreen hook for EXA versions that allow it." 9925 9926 This reverts commit 5a5aee10f84fbea70eee69ece17ddf6e797497a6. 9927 This was never supposed to end up here as it's broken. 9928 9929commit 5a5aee10f84fbea70eee69ece17ddf6e797497a6 9930Author: Maarten Maathuis <madman2003@gmail.com> 9931Date: Sat Jul 5 23:07:58 2008 +0200 9932 9933 EXA: Add PixmapIsOffscreen hook for EXA versions that allow it. 9934 9935 - This should allow more flexibility for rotation shadow buffers. 9936 9937commit b9f2358ac35caedbba0339649ef13b03f209f2a7 9938Author: Ben Skeggs <skeggsb@gmail.com> 9939Date: Sun Jul 6 03:50:03 2008 +1000 9940 9941 xv: remove some defines that are in a header now 9942 9943commit 9f53b2a341a81e1bff87fee8bf5c2754cac17849 9944Author: Ben Skeggs <skeggsb@gmail.com> 9945Date: Sun Jul 6 02:28:26 2008 +1000 9946 9947 xv: remove drawable handling from hw-specific PutImage.. it's common... 9948 9949commit a50bba662ddfe49f1b0a7f8faa3668f5e810811f 9950Author: Ben Skeggs <skeggsb@gmail.com> 9951Date: Sun Jul 6 01:57:17 2008 +1000 9952 9953 xv: misc cleanups 9954 9955commit 08e9489b79395b234282b0c03d94601ce57678b8 9956Author: Maarten Maathuis <madman2003@gmail.com> 9957Date: Sat Jul 5 12:47:48 2008 +0200 9958 9959 NV50_KMS: minor change 9960 9961commit ea7e85b493ff0f684f9ccad92f84348cd835719b 9962Author: Maarten Maathuis <madman2003@gmail.com> 9963Date: Fri Jul 4 23:05:20 2008 +0200 9964 9965 Fix some compile warnings. 9966 9967commit 3298249d8267c27235653f17379f8c9f18e4f344 9968Author: Ben Skeggs <skeggsb@nisroch.keine.ath.cx> 9969Date: Thu Jul 3 23:54:13 2008 +1000 9970 9971 xv: reformat source so mere mortals can understand it 9972 9973commit a1e8ccdf85c5a0177df38a8a2d8c99d60890ec96 9974Author: Ben Skeggs <skeggsb@nisroch.(none)> 9975Date: Thu Jul 3 17:07:45 2008 +1000 9976 9977 xv: nv_video.c to nouveau_xv.c 9978 9979commit 3e17781625c0ef0ec34ee23a6e999de7f1fe4524 9980Author: Maarten Maathuis <madman2003@gmail.com> 9981Date: Thu Jul 3 08:30:43 2008 +0200 9982 9983 NV50_KMS: autodetect kernel modesetting when active 9984 9985commit 48c2116fb31872111239f5434215f30c8707091e 9986Author: Maarten Maathuis <madman2003@gmail.com> 9987Date: Wed Jul 2 19:04:58 2008 +0200 9988 9989 NV50_KMS: no int10 please 9990 9991commit 11102af2896b3fdf2364854b2d7939b2802c5b2a 9992Author: Stuart Bennett <sb476@cam.ac.uk> 9993Date: Fri Jun 27 16:21:19 2008 +0100 9994 9995 Backport console font save/restore from nouveau_ms 9996 9997commit ca2c55dfbf65ac268d43ba62db2399976eaf8f0a 9998Author: Stuart Bennett <sb476@cam.ac.uk> 9999Date: Thu Jun 26 14:44:45 2008 +0100 10000 10001 randr12: fix mode detection for when screen size changes 10002 10003 also some mem leaks 10004 10005commit 9c6eb667aa48f87f6bbbdae10cc9f4d237bdb0c6 10006Author: Maarten Maathuis <madman2003@gmail.com> 10007Date: Sat Jun 28 15:47:18 2008 +0200 10008 10009 NV04-NV4E: Save and restore FB_START 10010 10011commit 82fe9a21596ab80157df20b269ce8df41315de83 10012Author: Maarten Maathuis <madman2003@gmail.com> 10013Date: Fri Jun 27 18:49:16 2008 +0200 10014 10015 NV50_KMS: switch to output dpms 10016 10017commit 13ce1f4c1d02e70333a192db2efefb3f6a6765e3 10018Author: Maarten Maathuis <madman2003@gmail.com> 10019Date: Wed Jun 25 19:45:12 2008 +0200 10020 10021 Properly close drm when exiting + misc cleanup. 10022 10023commit 7cb0eed603ea0bd196a7471e43d60fa5e518c7fb 10024Author: Maarten Maathuis <madman2003@gmail.com> 10025Date: Wed Jun 25 19:07:58 2008 +0200 10026 10027 Fixup and add some license statements. 10028 10029 - The changed statements are a response to nv commit 2fdcda8ea62eba1b7885f0a75249884715936247. 10030 10031commit 27c7c88431cf368c3d3a953daf03ce3f9f15bc3a 10032Author: Ben Skeggs <skeggsb@gmail.com> 10033Date: Wed Jun 25 04:01:21 2008 +1000 10034 10035 change hack to work with latest drm changes.. 10036 10037commit 99a4b686d2b1f8e6768b8cd1cc3fcb6cea2bf6d3 10038Author: Maarten Maathuis <madman2003@gmail.com> 10039Date: Tue Jun 24 00:02:25 2008 +0200 10040 10041 NV50: unbreak kms and implement a basic off mode/dpms 10042 10043commit 1a23dbd1878909709fc130e00f6171508dcd41bf 10044Author: Ben Skeggs <skeggsb@nisroch.keine.ath.cx> 10045Date: Tue Jun 24 02:24:42 2008 +1000 10046 10047 nv50: stub out NV50SorSetClockMode for LVDS, it doesn't work there 10048 10049commit 2ccc80bd87a76a9f0498cfec531e8a46cbd2c384 10050Author: Ben Skeggs <skeggsb@gmail.com> 10051Date: Mon Jun 23 02:10:09 2008 +1000 10052 10053 nv50: bring in int10-constole-restore hack from nv driver 10054 10055 Lack of console restore has been annoying me personally lately while working 10056 on 3D, I lack the time/modsetting skills to fix it properly at the moment, 10057 so this'll do. 10058 10059commit 73b4fcc20334ac6cd2076c658a4937f9a98ee06d 10060Author: Ben Skeggs <skeggsb@gmail.com> 10061Date: Mon Jun 23 01:47:55 2008 +1000 10062 10063 fix non-kms build/run 10064 10065commit 75d8947d40e19c5fc039caf4289cf94fd1570eda 10066Author: Maarten Maathuis <madman2003@gmail.com> 10067Date: Sun Jun 22 16:34:22 2008 +0200 10068 10069 NV50: Some basic code to get kernel modesetting going. 10070 10071 - This will get a cleanup later on. 10072 10073commit df52dc4664df11d57fcf8a6c9ae3f87a149e5392 10074Author: Stuart Bennett <sb476@cam.ac.uk> 10075Date: Fri Jun 13 02:11:09 2008 +0100 10076 10077 No need for G80+ LVDS conf bits reports 10078 10079 I've got a few already. 10080 10081commit 1813559a20f0786b4decdb645f7ba3f52bc30739 10082Author: Stuart Bennett <sb476@cam.ac.uk> 10083Date: Fri Jun 13 01:58:41 2008 +0100 10084 10085 More DCB 1.5 TV variants (#16252 and #16342) 10086 10087commit 29c4a58bb2ba476f9558bda31f1082b4685555fc 10088Author: Stuart Bennett <sb476@cam.ac.uk> 10089Date: Fri Jun 13 01:40:31 2008 +0100 10090 10091 Be a little more discerning about the BIT bios signature 10092 10093 Thank you ABIT 10094 10095commit e8c790721d99e171c57b8dd497f5b3e82126c78b 10096Author: Stuart Bennett <sb476@cam.ac.uk> 10097Date: Fri Jun 13 01:25:49 2008 +0100 10098 10099 LVDS_INIT should not always use head A 10100 10101 While the script doesn't need the head variable set correctly, 10102 link_head_and_output still gets called and will therefore break panels expecting 10103 to be on head B 10104 Fixes Apple NV34 console restore 10105 10106commit fc137f23bed7405221b7f483d9151e296b99caf0 10107Author: Maarten Maathuis <madman2003@gmail.com> 10108Date: Fri Jun 13 19:12:38 2008 +0200 10109 10110 NV50: lvds is probably still broken, but it's a step in the right direction 10111 10112 - Just something i had lingering around. 10113 - Note that lvds still doesn't run by default, but you're more than welcome to fix it ;-) 10114 10115commit e034616ab2bbbc486f90c5f64e2bd2de194cf92e 10116Author: Maarten Maathuis <madman2003@gmail.com> 10117Date: Thu May 22 21:08:48 2008 +0200 10118 10119 NV50: A small extra piece of init that may prove useful to someone, somewhere, at some point for something. 10120 10121commit c21594cf452a1263682386d04718531d76a7a9b8 10122Author: Maarten Maathuis <madman2003@gmail.com> 10123Date: Tue May 20 19:19:53 2008 +0200 10124 10125 NV50: Be consistent with rules-ng. 10126 10127commit 9c1d87fa9e6152bffc5c5cdf16b1931cc6e58399 10128Author: Maarten Maathuis <madman2003@gmail.com> 10129Date: Sat May 10 21:58:00 2008 +0200 10130 10131 NV50: Some misc things. 10132 10133commit 5f08db9057f2970171186b20a25d346386dcb0f2 10134Author: Stuart Bennett <sb476@cam.ac.uk> 10135Date: Thu May 8 21:36:05 2008 +0100 10136 10137 Cosmetic g80 laptop dcb parsing enhancement 10138 10139commit 6a460eae941f3e9a7a8a0297efbbd12dca71a9dd 10140Author: Stuart Bennett <sb476@cam.ac.uk> 10141Date: Thu May 8 14:17:38 2008 +0100 10142 10143 randr12: some reordering, tidying &c 10144 10145commit 7455bc89116bfc5e88fbd444d83c1415a6020a7f 10146Author: Stuart Bennett <sb476@cam.ac.uk> 10147Date: Tue Apr 29 19:42:54 2008 +0100 10148 10149 Enable RandR 1.2 code-path by default 10150 10151commit 98a751e773c098382e7675e41ee60ce3d9a67ce0 10152Author: Stuart Bennett <sb476@cam.ac.uk> 10153Date: Wed May 7 21:25:03 2008 +0100 10154 10155 Don't call call_lvds_script with a null dcbent pointer 10156 10157 Stumbled over by hiyuh :) 10158 10159commit 77b24bc93659471bb20254847da124fdaba13a54 10160Author: Stuart Bennett <sb476@cam.ac.uk> 10161Date: Mon May 5 00:56:28 2008 +0100 10162 10163 randr12: tidy up some nv50 remnants in the pre nv50 code 10164 10165commit 8997f83cd2727b76240e9dc31ec7751f6d69cf6b 10166Author: Maarten Maathuis <madman2003@gmail.com> 10167Date: Tue May 6 19:46:52 2008 +0200 10168 10169 NV50: Some misc fixes. 10170 10171 - Even though tv-out is mentioned, it by no means implies that is (nearly) functional. 10172 10173commit ae574ec7d930d8708e4dd9d1d47558666019afe5 10174Author: Maarten Maathuis <madman2003@gmail.com> 10175Date: Mon May 5 11:02:07 2008 +0200 10176 10177 nv50_exa.c had no license statement. 10178 10179commit a7af057ff67cf5d7baf78d852dee5ac69b24e706 10180Author: Maarten Maathuis <madman2003@gmail.com> 10181Date: Mon May 5 01:26:37 2008 +0200 10182 10183 NV50: Rework the modesetting code into a different model. 10184 10185 - There is now interface independent code for most things. 10186 - This structure, although not exclusive, is only used for NV50 atm. 10187 - The change in approach is that the concept of a connector is added to the model (randr12 sucks in this aspect). 10188 - I'm hacking around randr trying to create a single output for each connector, the indices are the bus numbers. 10189 - Limitations: Hot swapping vga and dvi of same monitor will not make randr12 think it changed, so for the moment force a change. 10190 - Concept is largely inspired by the radeonhd driver. 10191 10192commit 5e1b5708d3a7e4298f80b1a1b8bb3fafae0c69bd 10193Author: Stuart Bennett <sb476@cam.ac.uk> 10194Date: Fri May 2 20:36:59 2008 +0100 10195 10196 xv: nv10 double-buffered overlay mode was getting set on nv04 10197 10198commit 85536023ed7050632d121299ab99382e096b9984 10199Author: Stuart Bennett <sb476@cam.ac.uk> 10200Date: Wed Apr 30 00:59:47 2008 +0100 10201 10202 Use the actual number of BIT table entries 10203 10204commit 78588c71ffd19e18602b95a55186bc53eebb51c3 10205Author: Stuart Bennett <sb476@cam.ac.uk> 10206Date: Mon Apr 28 16:51:01 2008 +0100 10207 10208 randr12, xv: manual overlay clipping for randr12 (see #12825) 10209 10210 There could be something to be said for doing this clipping when using the blitter and texture adapters too 10211 10212commit 6f7d00a0cb4ec85b058afb0150a122a124542b5f 10213Author: Stuart Bennett <sb476@cam.ac.uk> 10214Date: Tue Apr 29 22:53:40 2008 +0100 10215 10216 randr12: remove unneeded separate dcb_entry and "or" members 10217 10218 Make off-chip outputs clearer too 10219 10220commit 52e58c7e799697989fcfbf95050ce10a4c3d1f8f 10221Author: Stuart Bennett <sb476@cam.ac.uk> 10222Date: Tue Apr 29 22:08:01 2008 +0100 10223 10224 Pass DCB entry structs in bios functions, rather than index 10225 10226commit 0c1da6907d8e29ed1c058f9655d436c228ea91b6 10227Author: Stuart Bennett <sb476@cam.ac.uk> 10228Date: Tue Apr 29 21:53:22 2008 +0100 10229 10230 Pass output field, rather than dcb indices, for tmds access functions 10231 10232commit 2333bc907a4be3c7e36bdd02f27e22b63a7ee7c3 10233Author: Stuart Bennett <sb476@cam.ac.uk> 10234Date: Tue Apr 29 21:58:17 2008 +0100 10235 10236 Add an index field to dcb entries, and carry pointer to dcb entry in output struct 10237 10238commit 21f062cad184f21d33d7f5b43f86937979291b58 10239Author: Stuart Bennett <sb476@cam.ac.uk> 10240Date: Tue Apr 29 21:27:07 2008 +0100 10241 10242 randr12, xv: oops, transform_in_use doesn't exist on xserver 1.3 10243 10244commit ee78dc0abef626e29f7617a4b324e847bab1abcc 10245Author: Stuart Bennett <sb476@cam.ac.uk> 10246Date: Mon Apr 28 02:12:17 2008 +0100 10247 10248 randr12: C51 I2C 10249 10250commit 9b70dfaf4f0317e622ca64fc0804f74a31158108 10251Author: Stuart Bennett <sb476@cam.ac.uk> 10252Date: Tue Apr 29 18:46:24 2008 +0100 10253 10254 randr12: only set cr59 to 1 for tmds (fixes nv34 issue) 10255 10256commit c8cec9b2a0b18cd1159613d4dd218725695aef7c 10257Author: Stuart Bennett <sb476@cam.ac.uk> 10258Date: Mon Apr 28 17:00:27 2008 +0100 10259 10260 randr12, xv: no overlay when the crtc is transformed 10261 10262commit 3233ebba07e7adab347dc3c6f9d17f02e1a9d32b 10263Author: Stuart Bennett <sb476@cam.ac.uk> 10264Date: Sat Apr 26 02:08:24 2008 +0100 10265 10266 randr12: fix spread spectrum setting for lvds and turn it off during dpms off 10267 10268 Assuming that the bios has set this up correctly for LVDS initially is probably safe 10269 10270commit 467f83aa43bffdf545b513fdb7b11b4fe2205b4f 10271Author: Stuart Bennett <sb476@cam.ac.uk> 10272Date: Sat Apr 26 19:59:58 2008 +0100 10273 10274 randr12: make nv50 code depend on Architecture 10275 10276commit 8b165722d9f9461353abf84b4136e33b816ac842 10277Author: Stuart Bennett <sb476@cam.ac.uk> 10278Date: Sat Apr 26 01:21:50 2008 +0100 10279 10280 CR27 appears to contain the chip revision 10281 10282commit 59ff20738e88d6621f9beaea94810274029a21a3 10283Author: Maarten Maathuis <madman2003@gmail.com> 10284Date: Sun Apr 27 19:52:41 2008 +0200 10285 10286 NV50: A little bit more information, no functional change. 10287 10288commit bb5a2a105f264502d0985ce70e76d5a3d3b6463c 10289Author: Stuart Bennett <sb476@cam.ac.uk> 10290Date: Fri Apr 25 22:09:46 2008 +0100 10291 10292 randr12: sel_clk binding fix 10293 10294commit 5a85626cccbba80ef3d6fb2fb90ae609b7abde15 10295Author: Stuart Bennett <sb476@cam.ac.uk> 10296Date: Fri Apr 25 02:09:18 2008 +0100 10297 10298 randr12: unified mode validation 10299 10300 doublescan/interlace limits applied too 10301 10302commit 38ad350118aa9592bdbcb530fe63b85983fb9f64 10303Author: Stuart Bennett <sb476@cam.ac.uk> 10304Date: Fri Apr 25 00:03:41 2008 +0100 10305 10306 randr12: only set up one spread spectrum clock on pre nv40 10307 10308 avoids inadvertently getting wobbly crt pictures 10309 10310commit dfd8b42f91257f2cb0762b3d9b07612a7edac549 10311Author: Stuart Bennett <sb476@cam.ac.uk> 10312Date: Thu Apr 24 22:23:50 2008 +0100 10313 10314 randr12: deny doublescan modes to digital outputs 10315 10316commit d150ce5c633c90a82411b4b8e44fa4b91647e6a8 10317Author: Stuart Bennett <sb476@cam.ac.uk> 10318Date: Thu Apr 24 01:22:49 2008 +0100 10319 10320 randr12: off-chip dvi dpms and fp_control dpms fixed properly 10321 10322 Also solves output exclusion problem: two crtcs claiming the same output 10323 through cr33 does not work 10324 10325commit dd152ce186fea953968805cf4a1b309a1fd3987b 10326Author: Stuart Bennett <sb476@cam.ac.uk> 10327Date: Thu Apr 24 00:24:35 2008 +0100 10328 10329 randr12: set CRTCX_LCD in nv_output 10330 10331 This makes my nv28 external dvi work. 10332 10333commit b8d401b0a56d23db7199147e6a5dee1edccff4ff 10334Author: Stuart Bennett <sb476@cam.ac.uk> 10335Date: Thu Apr 24 00:01:50 2008 +0100 10336 10337 These made up defines are more misleading than helpful 10338 10339commit fa8c8437798cfc5494a639d649f0f91f0e7275ce 10340Author: Stuart Bennett <sb476@cam.ac.uk> 10341Date: Tue Apr 22 22:42:12 2008 +0100 10342 10343 randr12: remove FPP setting and other FSEL changes 10344 10345commit a083bb1a55d0983991c45d113eb7e9814369fff4 10346Author: Stuart Bennett <sb476@cam.ac.uk> 10347Date: Tue Apr 22 23:25:40 2008 +0100 10348 10349 randr12: oops (fix to 9edf6d60) 10350 10351commit 16f420e339f0dd6d55d7b87763d97c2eb8e77e66 10352Author: Stuart Bennett <sb476@cam.ac.uk> 10353Date: Tue Apr 22 21:34:52 2008 +0100 10354 10355 randr12: RAMDAC_OUTPUT is only for analogue outputs 10356 10357commit 52174047f3f817fa9ce3674440a13687b73ccea8 10358Author: Stuart Bennett <sb476@cam.ac.uk> 10359Date: Tue Apr 22 21:29:48 2008 +0100 10360 10361 Revert "randr12: correct SEL_CLK register beheaviour for outputs with or=2" 10362 10363 This reverts commit 77af887089be6fef7b793e3c3afdb98ac90a2e8c. 10364 10365 External DVI (which is source of or == 2) do not use SEL_CLK 10366 10367commit 61e416153b24516951962aca407ceaa9b7885e22 10368Author: Maarten Maathuis <madman2003@gmail.com> 10369Date: Sun Apr 13 02:40:55 2008 +0200 10370 10371 NV50: Another few regs. 10372 10373commit 5328370d2f7e10c61485572f53031deace69c515 10374Author: Maarten Maathuis <madman2003@gmail.com> 10375Date: Sun Apr 13 02:16:27 2008 +0200 10376 10377 NV50: Some more regs. 10378 10379commit e5511a564564350bd8755b7f18a1448ea7c796de 10380Author: Maarten Maathuis <madman2003@gmail.com> 10381Date: Sun Apr 13 01:21:20 2008 +0200 10382 10383 NV50: I now know what UNK8A8 is, so update the value register as well. 10384 10385commit 2c9027679db1657e6fe02cf6674024ca97f4cd6e 10386Author: Maarten Maathuis <madman2003@gmail.com> 10387Date: Sat Apr 12 02:11:32 2008 +0200 10388 10389 NV50: Re-implement output status caching. 10390 10391commit d7681e8ad70c07ec963ac9425b868a2686d79769 10392Author: Stuart Bennett <sb476@cam.ac.uk> 10393Date: Fri Apr 11 17:28:16 2008 +0100 10394 10395 randr12: separate pll and arbitration stages of calc_state_ext, and call from mode_set directly 10396 10397commit 0bf08d7699d7c3a1748060febded1c8b3950c9bd 10398Author: Stuart Bennett <sb476@cam.ac.uk> 10399Date: Fri Apr 11 16:20:21 2008 +0100 10400 10401 state->config is not used 10402 10403commit 08b8bd8a97b580a57d7bb75b3da7827d65c046f5 10404Author: Stuart Bennett <sb476@cam.ac.uk> 10405Date: Fri Apr 4 18:59:29 2008 +0100 10406 10407 randr12: unite pre nv40 and nv40 pll restore 10408 10409commit 5b443084ec7b03230d0ec7490c5a3378a9f7187e 10410Author: Stuart Bennett <sb476@cam.ac.uk> 10411Date: Tue Apr 8 02:25:34 2008 +0100 10412 10413 Use the correct reference clock when reading (V)PLLs 10414 10415commit 0f533b8cc12f49f5d5ac017838f7330a4f8b47ea 10416Author: Stuart Bennett <sb476@cam.ac.uk> 10417Date: Tue Apr 8 02:25:22 2008 +0100 10418 10419 Various PLL code improvements 10420 10421commit 4e1caa6edfe9499e6c501e70a8fba14bae510462 10422Author: Maarten Maathuis <madman2003@gmail.com> 10423Date: Wed Apr 9 18:55:06 2008 +0200 10424 10425 NV50: Some misc stuff. 10426 10427commit 099128175ad31956fd1c6622166b65f4ab1fe370 10428Author: Dave Airlie <airlied@redhat.com> 10429Date: Tue Apr 8 16:48:37 2008 +1000 10430 10431 nv50: fix distcheck since header removal 10432 10433commit 4af376fa6031bd41dc247e950319f3a151c49f22 10434Author: Stuart Bennett <sb476@cam.ac.uk> 10435Date: Tue Apr 8 00:28:03 2008 +0100 10436 10437 MCP67 does not do the second stage gain tests 10438 10439commit dbca8b65d7b12a1dd2eb7aee3ac37ece0bd4ce65 10440Author: Stuart Bennett <sb476@cam.ac.uk> 10441Date: Tue Apr 8 01:31:14 2008 +0100 10442 10443 PLL stuff 10444 10445commit 39b2e0b842f4a4e1c3de96c94e380aa9a0327c12 10446Author: Stuart Bennett <sb476@cam.ac.uk> 10447Date: Sat Apr 5 05:20:54 2008 +0100 10448 10449 If no PLL coefficients compatible with the constraints exist, don't brick the hardware 10450 10451commit 0b54450e1db7c6411528bc4a3bac4d1a42510aca 10452Author: Maarten Maathuis <madman2003@gmail.com> 10453Date: Mon Apr 7 22:12:44 2008 +0200 10454 10455 NV50: Scaling works fine on VGA connectors, so support that as well. 10456 10457 - The default is SCALE_PANEL instead of SCALE_ASPECT for obvious reasons. 10458 10459commit 891e72f4316c4e7e1b9d06f39e075b1a8a8a8c53 10460Author: Maarten Maathuis <madman2003@gmail.com> 10461Date: Mon Apr 7 21:18:54 2008 +0200 10462 10463 NV50: Deobfuscate some more commands. 10464 10465commit 13c701f9d23a598c281ced726070a219e1b78607 10466Author: Maarten Maathuis <madman2003@gmail.com> 10467Date: Mon Apr 7 19:29:55 2008 +0200 10468 10469 Make some CARD32 die. 10470 10471commit a3a0710604017f3ceb9c552552d71c3f5dcfab0f 10472Author: Maarten Maathuis <madman2003@gmail.com> 10473Date: Mon Apr 7 19:09:35 2008 +0200 10474 10475 NV50: Give a few registers an UNK label. 10476 10477commit be72a7c9104c1c1d6db960b1d80cc4d820d37440 10478Author: Maarten Maathuis <madman2003@gmail.com> 10479Date: Mon Apr 7 18:35:18 2008 +0200 10480 10481 randr12: NV04/05/06 can't accelerate rotation, so it's better to disable it. 10482 10483commit 9cf76c91a661587d9c54845e6a06fb25cf9b55a2 10484Author: Maarten Maathuis <madman2003@gmail.com> 10485Date: Sun Apr 6 23:36:15 2008 +0200 10486 10487 NV50: Some more stuff. 10488 10489commit c725e33078a2fed374fbb52175beba92b0b9fbe8 10490Author: Maarten Maathuis <madman2003@gmail.com> 10491Date: Sun Apr 6 19:49:11 2008 +0200 10492 10493 NV50: minor rename to avoid confusion 10494 10495commit fcda539ce60ca02f2f4589157f8b8c522430571f 10496Author: Maarten Maathuis <madman2003@gmail.com> 10497Date: Sun Apr 6 15:16:40 2008 +0200 10498 10499 NV50: Deobfuscate another register (partially). 10500 10501commit fa93541b257a8055ea8b55c883475d2db717d971 10502Author: Maarten Maathuis <madman2003@gmail.com> 10503Date: Sun Apr 6 15:05:33 2008 +0200 10504 10505 NV50: Fix another deadlock in the clock setting code. 10506 10507 - Swapping my monitor from dvi to vga causes no mode (=clock) change, but still the supervisor expects a clock change. 10508 - This meant it got stuck in stage 2, with no clock that is supposed to change. 10509 10510commit c001fea3b0ae3921c063e7f44c298cafdfef51f6 10511Author: Maarten Maathuis <madman2003@gmail.com> 10512Date: Sat Apr 5 23:33:22 2008 +0200 10513 10514 Forgot a few things. 10515 10516commit 17a8e1743478e5548a90caf8f84a387366020416 10517Author: Maarten Maathuis <madman2003@gmail.com> 10518Date: Sat Apr 5 23:23:22 2008 +0200 10519 10520 NV50: rename randr-1.2 functions to be nv50_something_function 10521 10522commit a71ef4da76e33e84303a8b9181dbcfd655e78aa9 10523Author: Maarten Maathuis <madman2003@gmail.com> 10524Date: Sat Apr 5 23:00:39 2008 +0200 10525 10526 NV50: Some more cleanup. 10527 10528commit aeab563cc89b2fc3cd6cb306aab880b6e28f2b64 10529Author: Maarten Maathuis <madman2003@gmail.com> 10530Date: Sat Apr 5 22:52:58 2008 +0200 10531 10532 NV50: Some reordering. 10533 10534commit b899ab75781a3076898791381604be575c6d8a70 10535Author: Maarten Maathuis <madman2003@gmail.com> 10536Date: Sat Apr 5 21:17:23 2008 +0200 10537 10538 Some minor corrections. 10539 10540commit b0ef158a7e281329825c7b6c10cab6097e627b54 10541Author: Maarten Maathuis <madman2003@gmail.com> 10542Date: Sat Apr 5 21:06:03 2008 +0200 10543 10544 NV50: Document dvi hotplug detection. 10545 10546 - This can only be used once modesetting is moved to the kernel. 10547 10548commit be54b9299b4a261fc707b74407cf4d847fcbb243 10549Author: Maarten Maathuis <madman2003@gmail.com> 10550Date: Sat Apr 5 16:16:26 2008 +0200 10551 10552 NV50: Remove some questionable guesses. 10553 10554commit c06f202cfbee8568fb8358ea1caffec41c71e648 10555Author: Maarten Maathuis <madman2003@gmail.com> 10556Date: Sat Apr 5 01:54:06 2008 +0200 10557 10558 nvbios: Drop a N2/M2 requirement on NV5x hardware, as it prevents getting a mode on 1024x768'ish and lower. 10559 10560 - Limitations are very strict in nv5x bios tables and N2/M2 can drop below 2 (the blob does this too). 10561 10562commit 5ce26b9aec214dd99e5399fe0f864d8faad15d2c 10563Author: Maarten Maathuis <madman2003@gmail.com> 10564Date: Fri Apr 4 22:49:06 2008 +0200 10565 10566 nvbios: Add some valid register ranges for nv50. 10567 10568commit ce86484979d873325ec4c74ed84107be9ad9ba62 10569Author: Maarten Maathuis <madman2003@gmail.com> 10570Date: Fri Apr 4 22:38:30 2008 +0200 10571 10572 NV50: Switch to common pll calculator function. 10573 10574commit 821ad3d643f9564d043c7f3909e0b8be28e94965 10575Author: Stuart Bennett <sb476@cam.ac.uk> 10576Date: Wed Apr 2 16:58:45 2008 +0100 10577 10578 randr12: delete stuff commented out a week ago that no one's complained about 10579 10580commit e90e534728e9cbe65ee6c70faf596db449495665 10581Author: Maarten Maathuis <madman2003@gmail.com> 10582Date: Fri Apr 4 17:13:25 2008 +0200 10583 10584 NV50: Minor comment updates. 10585 10586commit 08550984aba2bfa3eaeeddbbf6af25206819abe8 10587Author: Maarten Maathuis <madman2003@gmail.com> 10588Date: Fri Apr 4 17:04:49 2008 +0200 10589 10590 NV50: Some more stuff. 10591 10592commit ef4339aacf72bf5422b22ab18b73416f2738b284 10593Author: Maarten Maathuis <madman2003@gmail.com> 10594Date: Fri Apr 4 16:49:00 2008 +0200 10595 10596 NV50: Some more registers. 10597 10598commit 3183df1aa61f3c441a93e5a8b50db6628d804465 10599Author: Maarten Maathuis <madman2003@gmail.com> 10600Date: Thu Apr 3 22:42:31 2008 +0200 10601 10602 NV50: Update my knowledge of interrupts. 10603 10604commit 04fd80d29913ed02524de177fa7c87b616147d15 10605Author: Stuart Bennett <sb476@cam.ac.uk> 10606Date: Thu Apr 3 03:00:13 2008 +0100 10607 10608 Small declaration reordering 10609 10610commit 92934e4b7571a578386327ebdb59eb6d10992763 10611Author: Stuart Bennett <sb476@cam.ac.uk> 10612Date: Thu Apr 3 01:03:38 2008 +0100 10613 10614 Move some variable declarations in the bios parser 10615 10616commit 927384005a01a606835452c9d1e26d7df98f81cb 10617Author: Stuart Bennett <sb476@cam.ac.uk> 10618Date: Thu Apr 3 00:11:31 2008 +0100 10619 10620 randr12: some fixes to dithering property 10621 10622commit 52c880c97acf29d5ed8dfeec5810fcc7d8bb7b35 10623Author: Stuart Bennett <sb476@cam.ac.uk> 10624Date: Wed Apr 2 19:45:43 2008 +0100 10625 10626 randr12: better analogue clock limits (taken from pNv->{Min,Max}VClockFreqKHz) 10627 10628commit 29714e7b9ae952aecd036086c053ec030aad94c9 10629Author: Maarten Maathuis <madman2003@gmail.com> 10630Date: Wed Apr 2 21:31:07 2008 +0200 10631 10632 NV50: Some minor changes to the display supervisor (mostly comment). 10633 10634commit 9ac32d3e2bf400f6a6220118b8008804cd11e435 10635Author: Stuart Bennett <sb476@cam.ac.uk> 10636Date: Wed Apr 2 19:03:07 2008 +0100 10637 10638 Some bios parser PLL writing improvements 10639 10640commit 4a192ea6cf9df39d95368f46482c777524471118 10641Author: Maarten Maathuis <madman2003@gmail.com> 10642Date: Wed Apr 2 18:21:01 2008 +0200 10643 10644 NV50: Add my name to some files. 10645 10646commit db6220b8611829a77d354de1e45f6fe29e118b2a 10647Author: Stuart Bennett <sb476@cam.ac.uk> 10648Date: Wed Apr 2 16:16:13 2008 +0100 10649 10650 randr12: since the crtc function records are now mutable, unify pre nv50 templates 10651 10652commit b9762ba272a3ee817278e3967794c55a4fe73961 10653Author: Stuart Bennett <sb476@cam.ac.uk> 10654Date: Wed Apr 2 16:02:43 2008 +0100 10655 10656 randr12: don't provide rotation functions in NoAccel case 10657 10658commit a24ab3d1559d023270915f373527efb6eefacd8d 10659Author: Stuart Bennett <sb476@cam.ac.uk> 10660Date: Wed Apr 2 16:05:30 2008 +0100 10661 10662 Revert "randr12: Fail rotation in NoAccel case." 10663 10664 This reverts commit b33317ed98957db42691f5f9c41c119c10c91be6. 10665 10666commit 33d4c2f2fe6c6c400ce945f4c7ecc09ee08123a5 10667Author: Stuart Bennett <sb476@cam.ac.uk> 10668Date: Wed Apr 2 15:46:50 2008 +0100 10669 10670 Add quirks for Apple *book backlight 10671 10672commit 8a3f051dc9f007c3d801942d32899b8d6c09fd34 10673Author: Maarten Maathuis <madman2003@gmail.com> 10674Date: Wed Apr 2 14:54:16 2008 +0200 10675 10676 NV50: Some more things. 10677 10678commit b33317ed98957db42691f5f9c41c119c10c91be6 10679Author: Maarten Maathuis <madman2003@gmail.com> 10680Date: Wed Apr 2 09:28:45 2008 +0200 10681 10682 randr12: Fail rotation in NoAccel case. 10683 10684commit d017dfa93e7eff988339b8030af1a563347156bc 10685Author: Stuart Bennett <sb476@cam.ac.uk> 10686Date: Tue Apr 1 21:23:35 2008 +0100 10687 10688 NV30/35 setPLL bios support 10689 10690commit 32f550a534dc3e19f7cd3640549336846ad6052d 10691Author: Maarten Maathuis <madman2003@gmail.com> 10692Date: Tue Apr 1 22:33:15 2008 +0200 10693 10694 NV50: Fix a minor cursor issue. 10695 10696commit 27e819dbcd5ce36be71c7dd3be332f777a80caf4 10697Author: Maarten Maathuis <madman2003@gmail.com> 10698Date: Tue Apr 1 22:20:04 2008 +0200 10699 10700 NV50: Add some debugging statements to important functions. 10701 10702commit 99857933e8edc3be2e4af0c8c7e3fe3b1e221de9 10703Author: Maarten Maathuis <madman2003@gmail.com> 10704Date: Tue Apr 1 20:33:16 2008 +0200 10705 10706 NV50: Some i2c stuff. 10707 10708commit 9199307195c51b52979c483b3c0adf49f2301281 10709Author: Stuart Bennett <sb476@cam.ac.uk> 10710Date: Tue Apr 1 05:16:29 2008 +0100 10711 10712 Use new PLL reading code 10713 10714 Of course, having spent some time perfecting the reading of NVPLL and MPLL, 10715 it turns out to be totally unnecessary on >= nv30 :-/ 10716 10717commit a3f82d92ae6cbd779d341fe11687d12c5aac1762 10718Author: Stuart Bennett <sb476@cam.ac.uk> 10719Date: Tue Apr 1 05:03:14 2008 +0100 10720 10721 Unified PLL reading 10722 10723commit 350fb202e113bc03a71fd7e451e2c26ec990a61a 10724Author: Stuart Bennett <sb476@cam.ac.uk> 10725Date: Tue Apr 1 05:29:05 2008 +0100 10726 10727 randr12: get_clock_from_crtc only necessary for TMDS 10728 10729commit f741bf7b724dd0698f71b28c461337526f20fe31 10730Author: Stuart Bennett <sb476@cam.ac.uk> 10731Date: Tue Apr 1 00:23:06 2008 +0100 10732 10733 Better PLL limits for some nv3x 10734 10735commit 94ca1951feda10b9d6ad828816a459af750de286 10736Author: Stuart Bennett <sb476@cam.ac.uk> 10737Date: Tue Apr 1 01:00:16 2008 +0100 10738 10739 randr12: deal with nv30 and nv35 PLLs individually 10740 10741commit 626d8d62eef205dc542e3a7cd82beb329a23cdaf 10742Author: Maarten Maathuis <madman2003@gmail.com> 10743Date: Mon Mar 31 19:27:28 2008 +0200 10744 10745 Init global gamma on all crtc's, even if they are currently not in use. 10746 10747commit f54cea5662fdfc17762711a88892a27aed62f74c 10748Author: Maarten Maathuis <madman2003@gmail.com> 10749Date: Mon Mar 31 19:17:50 2008 +0200 10750 10751 NV50: Some clock related cleanups + minor changes. 10752 10753commit 7393d8fc76f7bbb8aa156587d81ee1a01c17470e 10754Author: Maarten Maathuis <madman2003@gmail.com> 10755Date: Mon Mar 31 14:10:42 2008 +0200 10756 10757 NV50: Some misc cleanup. 10758 10759commit 9edf6d60b2b6698e88edc7798285bd843bfce0f4 10760Author: Stuart Bennett <sb476@cam.ac.uk> 10761Date: Sun Mar 30 21:48:13 2008 +0100 10762 10763 randr12: different handling for sel_clk for pre and post nv40 10764 10765 This won't set the spread spectrum bits for pre nv40 from null initial state, but that's not a major concern right now 10766 10767commit 84ab4be08947ef35900da6b84702bc9acb4121bb 10768Author: Stuart Bennett <sb476@cam.ac.uk> 10769Date: Sat Mar 29 21:26:37 2008 +0000 10770 10771 Minor tidyup to output merging 10772 10773commit 1fe1d8161059afcc6f6ba152b9331e1576ef1f93 10774Author: Maarten Maathuis <madman2003@gmail.com> 10775Date: Sun Mar 30 22:42:47 2008 +0200 10776 10777 Kill a useless register offset. 10778 10779commit 75680d723144270c12a6d500d8e2c2c421e4ebc1 10780Author: Maarten Maathuis <madman2003@gmail.com> 10781Date: Sun Mar 30 15:18:09 2008 +0200 10782 10783 NV50: remove unneeded function 10784 10785commit 263ec94ec0f553f5ab6a22d3fd335bebff2c029b 10786Author: Maarten Maathuis <madman2003@gmail.com> 10787Date: Sun Mar 30 12:21:29 2008 +0200 10788 10789 NV50: Some minor cursor cleanups. 10790 10791commit 86722ad60fb939743f5ab73413f721cd26bf2c3c 10792Author: Maarten Maathuis <madman2003@gmail.com> 10793Date: Sun Mar 30 03:37:16 2008 +0200 10794 10795 NV50: Deobfuscate some of the modesetting, a few things were hidden away in innocent looking variables. 10796 10797 - Some mode variables were overridden and didn't represent their name anymore. 10798 10799commit 633a8f4f0a8ff3bcb5e6afa9bbcf3f6ed44ef905 10800Author: Stuart Bennett <sb476@cam.ac.uk> 10801Date: Sat Mar 29 19:01:30 2008 +0000 10802 10803 randr12: make sel_clk behaviour match comment (which seems to be correct) 10804 10805 If nv40 breaks, this whole thing will need another look 10806 10807commit 7a8bbb7f0890ef99de539f0f7acccd469f33dce9 10808Author: Stuart Bennett <sb476@cam.ac.uk> 10809Date: Sat Mar 29 00:03:27 2008 +0000 10810 10811 Fix Apple backlight code, broken in pci-rework conversion 10812 10813commit 4d0974c48eff8cd51af66f8fded4fad50044958a 10814Author: Stuart Bennett <sb476@cam.ac.uk> 10815Date: Fri Mar 28 01:10:31 2008 +0000 10816 10817 Consistency fix 10818 10819 + constify 10820 10821commit acd007843f00cb99cf26c4a5f885e365c3a8065b 10822Author: Maarten Maathuis <madman2003@gmail.com> 10823Date: Sat Mar 29 21:47:04 2008 +0100 10824 10825 It seems wise to NVSync for all hardware on NVLeaveVT. 10826 10827commit ea27bc38938277599228ba403a082963bf89d702 10828Author: Maarten Maathuis <madman2003@gmail.com> 10829Date: Fri Mar 28 19:56:36 2008 +0100 10830 10831 NV50: Better safe than sorry. 10832 10833commit d4ca83e2d1f1432dc7de290087f03a6ff3553d98 10834Author: Stuart Bennett <sb476@cam.ac.uk> 10835Date: Thu Mar 27 23:55:30 2008 +0000 10836 10837 randr12: shrink pitch alignment stuff and move 10838 10839commit 43ff98cd89e3dc43c281e41f3a36a76bcd3e5a65 10840Author: Stuart Bennett <sb476@cam.ac.uk> 10841Date: Wed Mar 26 18:35:14 2008 +0000 10842 10843 randr12: tidy-up 3/3 - TMDS04 twiddling 10844 10845 Code commented for easy reinstatement should problems arise 10846 10847commit 9491ee3f3fbb8b50244444424ef6148217ace944 10848Author: Stuart Bennett <sb476@cam.ac.uk> 10849Date: Wed Mar 26 18:34:28 2008 +0000 10850 10851 randr12: tidy-up 2/3 - DPMS CR57/58 twiddling 10852 10853 Code commented for easy reinstatement should problems arise 10854 10855commit 2e001c140eacc5d5f02435b9c81b13e5d40db71f 10856Author: Stuart Bennett <sb476@cam.ac.uk> 10857Date: Wed Mar 26 18:33:59 2008 +0000 10858 10859 randr12: tidy-up 1/3 - FP_DEBUG_0 twiddling 10860 10861 Code commented for easy reinstatement should problems arise 10862 10863commit ec9fa3c958d6763ff96d8b884ed36c80d911475a 10864Author: Stuart Bennett <sb476@cam.ac.uk> 10865Date: Thu Mar 27 19:24:04 2008 +0000 10866 10867 randr12: allow doublescan and low clock modes 10868 10869 320x240 ftw. Also improved mode rejection error messages 10870 10871commit 048f31014092c1dccb1944d2b1a84c7a301be48e 10872Author: Stuart Bennett <sb476@cam.ac.uk> 10873Date: Wed Mar 26 18:58:47 2008 +0000 10874 10875 Minor fix to lvds script caching commit 10876 10877commit 3feaa48b53f51c094718708e52f08b546b0b0e27 10878Author: Maarten Maathuis <madman2003@gmail.com> 10879Date: Wed Mar 26 20:01:19 2008 +0100 10880 10881 NV50: Implement per CRTC gamma correction. 10882 10883 - This remains untested, so if you're in the mood to test ;-) 10884 10885commit 77af887089be6fef7b793e3c3afdb98ac90a2e8c 10886Author: Maarten Maathuis <madman2003@gmail.com> 10887Date: Wed Mar 26 10:02:46 2008 +0100 10888 10889 randr12: correct SEL_CLK register beheaviour for outputs with or=2 10890 10891commit cb5d4cdb3dc83f9dbd53eae9097c0df458313fff 10892Author: Stuart Bennett <sb476@cam.ac.uk> 10893Date: Wed Mar 26 02:27:33 2008 +0000 10894 10895 Cache running of LVDS scripts, rather than blocking LVDS_RESET 10896 10897 Fixes a regression on some nv40 where LVDS_RESET is needed to fix some bad behaviour in the off/on scripts 10898 10899commit 6924d1ac900524d0978a02f8f8509faab1809b62 10900Author: Maarten Maathuis <madman2003@gmail.com> 10901Date: Thu Mar 20 20:20:16 2008 +0100 10902 10903 NV50: Although not essential, it's nicer to save a register as uint32_t. 10904 10905commit 1042c2bed3aee8561411fba85438c3fe5ee2cdea 10906Author: Maarten Maathuis <madman2003@gmail.com> 10907Date: Thu Mar 20 20:10:13 2008 +0100 10908 10909 NV50: Some more stuff. 10910 10911commit b58e5e99aa06e1851ce255211d524a88f1fb297a 10912Author: Maarten Maathuis <madman2003@gmail.com> 10913Date: Thu Mar 20 19:59:46 2008 +0100 10914 10915 NV50: Educated guesses at some of the control registers. 10916 10917commit ef25cb9224d37c7937e67824a262937a747c91cc 10918Author: Maarten Maathuis <madman2003@gmail.com> 10919Date: Thu Mar 20 18:49:58 2008 +0100 10920 10921 NV50: Forgot some more stuff. 10922 10923commit 64b3d1ab1a4226fa688722dabc40fe05a0e30d52 10924Author: Maarten Maathuis <madman2003@gmail.com> 10925Date: Thu Mar 20 18:35:20 2008 +0100 10926 10927 NV50: Forgot something. 10928 10929commit 81929c1810fe4825ff9bd5d4bc84996c35c8ceb7 10930Author: Maarten Maathuis <madman2003@gmail.com> 10931Date: Thu Mar 20 17:43:30 2008 +0100 10932 10933 NV50: More dehexing. 10934 10935commit ee1ac0646c7c2f018abdfd4f58d49d51f5340784 10936Author: Maarten Maathuis <madman2003@gmail.com> 10937Date: Thu Mar 20 17:19:37 2008 +0100 10938 10939 NV50: Some more dehexing. 10940 10941commit ca1b8bbebd4b786f0fe8531ba7145aa932e5abcc 10942Author: Maarten Maathuis <madman2003@gmail.com> 10943Date: Thu Mar 20 14:18:18 2008 +0100 10944 10945 NV50: Some more register guesses. 10946 10947commit aa99fb07cd438f436fdfa4e5dff6d87d27950358 10948Author: Stuart Bennett <sb476@cam.ac.uk> 10949Date: Wed Mar 19 18:16:03 2008 +0000 10950 10951 randr12: do DPMS off better 10952 10953 Half the time that DPMS off is done, there is no crtc bound, which meant outputs never got turned off. 10954 It seems xf86DisableUnusedFunctions is always run *before* setting up the new outputs (when using xrandr): 10955 if this is not the case, this commit may not be quite right. 10956 10957commit 063b393ac12bec286e0b28c2b18a98cedd3422c1 10958Author: Stuart Bennett <sb476@cam.ac.uk> 10959Date: Wed Mar 19 02:56:31 2008 +0000 10960 10961 Optimizations on LVDS script code 10962 10963commit c5203647ddf262978e7d6a4912661a9cc448da66 10964Author: Stuart Bennett <sb476@cam.ac.uk> 10965Date: Wed Mar 19 23:12:59 2008 +0000 10966 10967 randr12: unbreak LVDS and primary I2C for < NV50 10968 10969 NV50 check disallowed pre-NV50 cards using I2C on first head, and made garbage get written to CR0 on LVDS 10970 10971 This should work for both pre-nv50 and nv50. 10972 10973commit ebc75dc9e8394ee1d13a853341ba9995e9d9d04f 10974Author: Maarten Maathuis <madman2003@gmail.com> 10975Date: Wed Mar 19 21:31:10 2008 +0100 10976 10977 NV50: fix i2c for real 10978 10979commit c6e3a6f57a7ae67c187aff0ad87153e988961784 10980Author: Maarten Maathuis <madman2003@gmail.com> 10981Date: Wed Mar 19 08:57:33 2008 +0100 10982 10983 NV50: Fix a typo and hopefully fix i2c. 10984 10985commit a989b4caac077f65034fb328a80ab4ae758c1162 10986Author: Maarten Maathuis <madman2003@gmail.com> 10987Date: Mon Mar 17 23:40:16 2008 +0100 10988 10989 NV50: Fix major thinko in "NV50: kill output_resource and use or directly." 10990 10991commit cd5aaeaa319e2b681c7c6ccc135d76b7c027bd0d 10992Author: Maarten Maathuis <madman2003@gmail.com> 10993Date: Mon Mar 17 22:05:12 2008 +0100 10994 10995 NV50: Handle some things that weren't fixed during rebase. 10996 10997commit f73c2361a7bba5aa9abb4fe65697bfcb2a407e99 10998Author: Maarten Maathuis <madman2003@gmail.com> 10999Date: Sun Mar 16 16:09:11 2008 +0100 11000 11001 NV50: kill output_resource and use or directly. 11002 11003commit de0fc0ece55997f8b2ad86070cb940e2afd2d7e8 11004Author: Maarten Maathuis <madman2003@gmail.com> 11005Date: Sun Mar 16 12:46:40 2008 +0100 11006 11007 NV50: Mostly resorting regs. 11008 11009 - Also a dithering register define and rename cursor related reg. 11010 11011commit 849bab73da8da8ad8b2987f80fcf90bf86299171 11012Author: Maarten Maathuis <madman2003@gmail.com> 11013Date: Sun Mar 16 12:33:19 2008 +0100 11014 11015 NV50: Some more educated guesses at register names. 11016 11017commit 0244dc1dd0698be161d7fd629efa10dcb3df106a 11018Author: Maarten Maathuis <madman2003@gmail.com> 11019Date: Sun Mar 16 01:09:48 2008 +0100 11020 11021 NV50: Another subtle difference. 11022 11023commit 5e2d220edf65357f4d7bd8ce97bd829086e0781c 11024Author: Maarten Maathuis <madman2003@gmail.com> 11025Date: Sun Mar 16 01:05:03 2008 +0100 11026 11027 NV50: Fix a potentional bug. 11028 11029commit cef158cee51ecc53c2f5a9910a88c9e802d49980 11030Author: Maarten Maathuis <madman2003@gmail.com> 11031Date: Sun Mar 16 00:40:59 2008 +0100 11032 11033 NV50: Share output properties. 11034 11035commit 31e7a740a1cddc5edfdede05187e6bd9a6f1b993 11036Author: Maarten Maathuis <madman2003@gmail.com> 11037Date: Sun Mar 16 00:27:41 2008 +0100 11038 11039 randr12: Implement dithering output property. 11040 11041commit 05f0464669eef0a3caff2466eeffd9843c18a7b7 11042Author: Maarten Maathuis <madman2003@gmail.com> 11043Date: Sat Mar 15 19:02:55 2008 +0100 11044 11045 NV50: Merge output creation and i2c init. 11046 11047commit 285a13ab41e869544681260b1f2415143456bdc9 11048Author: Maarten Maathuis <madman2003@gmail.com> 11049Date: Sat Mar 15 18:20:34 2008 +0100 11050 11051 NV50: Merge crtc creation. 11052 11053commit c5dac45a199b7f4fa3692727aa6af1cd9a6b8d35 11054Author: Stuart Bennett <sb476@cam.ac.uk> 11055Date: Mon Mar 17 23:20:39 2008 +0000 11056 11057 randr12 offbyone debug commitnoise 11058 11059 semantic version control messages ftw? 11060 11061commit 4cd5e430d164cb5a834e4946d5e5dc79061cadfb 11062Author: Stuart Bennett <sb476@cam.ac.uk> 11063Date: Mon Mar 17 17:21:28 2008 +0000 11064 11065 randr12: remove NVGetOutputFromCRTC 11066 11067 This function had a major problem for the long term: assuming a maximum of 1 11068 output per CRTC, which is simply not valid 11069 11070commit 27c21c0574bac47bbb311094c32f17e7ac321ba5 11071Author: Stuart Bennett <sb476@cam.ac.uk> 11072Date: Mon Mar 17 17:09:23 2008 +0000 11073 11074 randr12: split out fp-only registers 11075 11076commit c09d190ffe2bab1e1df52d8b83009c10fafbc2bc 11077Author: Stuart Bennett <sb476@cam.ac.uk> 11078Date: Mon Mar 17 03:03:14 2008 +0000 11079 11080 randr12: better handling for output types in nv_crtc 11081 11082commit 78ded96a4e8f88dba038e5ef0c452b7c7bf9a2dc 11083Author: Stuart Bennett <sb476@cam.ac.uk> 11084Date: Mon Mar 17 17:16:27 2008 +0000 11085 11086 randr12: remove duplicated regs 11087 11088commit f7013760f9e9ec91bc3bd3739b6cce9018e34bcb 11089Author: Stuart Bennett <sb476@cam.ac.uk> 11090Date: Mon Mar 17 00:59:31 2008 +0000 11091 11092 randr12: fix noscale scaling mode 11093 11094 Also, a bit of consistency missed in the earlier commit 11095 11096commit a9c01eff4bcf3af52faf73269f63a5fd46b3b3b3 11097Author: Stuart Bennett <sb476@cam.ac.uk> 11098Date: Sun Mar 16 14:27:14 2008 +0000 11099 11100 Misc startup info mostly duplicated the state storage stuff 11101 11102commit a02f82e9ce79ae24a4f2eba71a83e51f3b6d9e52 11103Author: Stuart Bennett <sb476@cam.ac.uk> 11104Date: Sun Mar 16 00:51:09 2008 +0000 11105 11106 randr12: make output parsing consistent 11107 11108commit f04c44eff67adb9099eca7b298b10639dc0b1759 11109Author: Stuart Bennett <sb476@cam.ac.uk> 11110Date: Sat Mar 15 01:36:13 2008 +0000 11111 11112 G80 I2C parsing 11113 11114 Changed to on-demand parsing 11115 11116commit 718e42478c02c7497cd3917b8ea78ed692f30f3f 11117Author: Stuart Bennett <sb476@cam.ac.uk> 11118Date: Fri Mar 14 21:22:48 2008 +0000 11119 11120 randr12: make nv_crtc_calc_state_ext definition smaller 11121 11122commit 772bf76b3697d1d1725017787378802c2940093e 11123Author: Stuart Bennett <sb476@cam.ac.uk> 11124Date: Tue Mar 11 03:39:43 2008 +0000 11125 11126 randr12: merge common PLL paths 11127 11128commit 1326e0176582fd21e16359764e2792cd125548e6 11129Author: Stuart Bennett <sb476@cam.ac.uk> 11130Date: Tue Mar 11 02:19:10 2008 +0000 11131 11132 randr12: make plls belong to their CRTCs 11133 11134commit 97b074889feef7b4a3b6401825a46d53321d1c7e 11135Author: Stuart Bennett <sb476@cam.ac.uk> 11136Date: Wed Jan 30 14:38:59 2008 +0000 11137 11138 Use PMC defines 11139 11140commit ee11c6abe875a758bdfa4469ae6326ac25732178 11141Author: Maarten Maathuis <madman2003@gmail.com> 11142Date: Fri Mar 14 11:11:07 2008 +0100 11143 11144 randr12: Let an unneeded quirk die. 11145 11146commit 8851d9f3ef4a8cb9b35e1cb8ed80b3ff213eeee0 11147Author: Stuart Bennett <sb476@cam.ac.uk> 11148Date: Wed Mar 12 16:29:17 2008 +0000 11149 11150 randr12: sel_clk values are really an FP thing, so move calculation to nv_output 11151 11152commit 63527f978d923317a97dec060be6df16c7baf17d 11153Author: Stuart Bennett <sb476@cam.ac.uk> 11154Date: Thu Mar 13 20:26:07 2008 +0000 11155 11156 randr12: tidy up output restore 11157 11158commit 769436b3840e10da00b51b94d72d0b2ef510fecc 11159Author: Stuart Bennett <sb476@cam.ac.uk> 11160Date: Thu Mar 13 19:52:52 2008 +0000 11161 11162 randr12: common tmds access functions 11163 11164commit c455ca0d3df3bb2322154ded40fbe6b86c6a8acd 11165Author: Stuart Bennett <sb476@cam.ac.uk> 11166Date: Wed Mar 12 03:23:21 2008 +0000 11167 11168 Improve bios' handling of ramdac_580 11169 11170commit bd5ad7c4e1f824d57517da540658c97b5283d5d0 11171Author: Maarten Maathuis <madman2003@gmail.com> 11172Date: Thu Mar 13 20:49:53 2008 +0100 11173 11174 NV50: Accept G9X cards. 11175 11176commit 0318b31e19da12ba0d4dc456ad08d6b059d08d1e 11177Author: Maarten Maathuis <madman2003@gmail.com> 11178Date: Thu Mar 13 16:57:24 2008 +0100 11179 11180 NV50: Add back output_resource. 11181 11182commit a4397563c6845668ad1f4b2352b90c872957f8bc 11183Author: Maarten Maathuis <madman2003@gmail.com> 11184Date: Wed Mar 12 23:16:53 2008 +0100 11185 11186 NV50: Unbreak "NV50: Kill the connection status caching (which was broken btw)." 11187 11188commit 63ffb8dce809267706eb621f03da3c3501935bbd 11189Author: Maarten Maathuis <madman2003@gmail.com> 11190Date: Tue Mar 11 23:15:11 2008 +0100 11191 11192 NV50: Merge the two output private structs. 11193 11194commit b4c3bee2f8cc824cd52aca61121634c55d5f5a60 11195Author: Maarten Maathuis <madman2003@gmail.com> 11196Date: Tue Mar 11 23:09:19 2008 +0100 11197 11198 NV50: rename scale to scaling_mode 11199 11200commit b0d2f93d3adbb798f5d9bfa2d188b666e4c5fc16 11201Author: Maarten Maathuis <madman2003@gmail.com> 11202Date: Tue Mar 11 23:06:16 2008 +0100 11203 11204 NV50: Rename nativeMode 11205 11206commit e5b8efad35df21d35a3893a6c8b10e1f02272544 11207Author: Maarten Maathuis <madman2003@gmail.com> 11208Date: Tue Mar 11 23:00:19 2008 +0100 11209 11210 NV50: Rename or to output_resource. 11211 11212commit 19ca2db7683b8cdcfb74f6cc14c9cb6c3876d2c7 11213Author: Maarten Maathuis <madman2003@gmail.com> 11214Date: Tue Mar 11 22:43:33 2008 +0100 11215 11216 NV50: kill set_pclk 11217 11218commit eef3a665c01c530238c3dc02324573d6bcf6c3f2 11219Author: Maarten Maathuis <madman2003@gmail.com> 11220Date: Tue Mar 11 22:24:46 2008 +0100 11221 11222 NV50: Remove the remnants of cached_status. 11223 11224commit dc0bb590a40f3d8b18d2136ed906e8dac10ec598 11225Author: Maarten Maathuis <madman2003@gmail.com> 11226Date: Tue Mar 11 22:22:12 2008 +0100 11227 11228 NV50: kill partner entry 11229 11230commit f66463713a71b0e3090f33c68186884594255cc0 11231Author: Maarten Maathuis <madman2003@gmail.com> 11232Date: Tue Mar 11 22:12:57 2008 +0100 11233 11234 NV50: fix warning 11235 11236commit cb50cd3276825569a6da1f25a2d89bfd417b5034 11237Author: Maarten Maathuis <madman2003@gmail.com> 11238Date: Tue Mar 11 21:33:29 2008 +0100 11239 11240 NV50: Kill the connection status caching (which was broken btw). 11241 11242commit 6e2af71c73263c3cf2d61f66c02363decd354da5 11243Author: Maarten Maathuis <madman2003@gmail.com> 11244Date: Tue Mar 11 21:15:21 2008 +0100 11245 11246 NV50: change i2c to pDDCBus 11247 11248commit d07b3063953c0b17585249dfbc2938a433bea88f 11249Author: Maarten Maathuis <madman2003@gmail.com> 11250Date: Tue Mar 11 19:50:25 2008 +0100 11251 11252 NV50: Switch to other scaling defines. 11253 11254commit 4ddb92b8e936985b5b1429a0a21890879635bcde 11255Author: Maarten Maathuis <madman2003@gmail.com> 11256Date: Tue Mar 11 19:29:11 2008 +0100 11257 11258 NV50: Switch to the same output type as the rest of the code. 11259 11260commit e605fbfc659d3fe1bd71d478c21429b563fbfd80 11261Author: Stuart Bennett <sb476@cam.ac.uk> 11262Date: Thu Mar 13 15:21:49 2008 +0000 11263 11264 randr12: nothing uses output_resource. kill it 11265 11266commit 53925cfc3540b89dedd317bbae4318cf53daada1 11267Author: Stuart Bennett <sb476@cam.ac.uk> 11268Date: Thu Mar 13 15:31:00 2008 +0000 11269 11270 randr12: fix the setting of NV_RAMDAC_OUTPUT 11271 11272 And turn on/off the DAC for DPMS 11273 11274commit 493c79405be23a543cd21c2583c466342399509d 11275Author: Stuart Bennett <sb476@cam.ac.uk> 11276Date: Thu Mar 13 03:53:18 2008 +0000 11277 11278 Simplify TMDS writes a little 11279 11280commit 4cf1bd9ef016a2c9fe7784fdc83f559bec464f9e 11281Author: Stuart Bennett <sb476@cam.ac.uk> 11282Date: Tue Mar 11 17:20:28 2008 +0000 11283 11284 randr12: don't allow scripts to break overlay 11285 11286commit 95f2b8439f433afb5d637a3580f933e2cd44488a 11287Author: Danny Tholen <obiwan@mailmij.org> 11288Date: Tue Mar 11 17:14:54 2008 +0000 11289 11290 Fix video overlays to treat double-scan correctly when using randr12 11291 11292commit 460cb260c30467799fa31aef11946d1fe2dd6523 11293Author: Stuart Bennett <sb476@cam.ac.uk> 11294Date: Mon Mar 10 23:47:43 2008 +0000 11295 11296 Correct RAMIN offset 11297 11298 and some bits missed in previous nv_setup tidying 11299 11300commit e8a5d4638e74b5957fc12b05865f49dd995d0435 11301Author: Stuart Bennett <sb476@cam.ac.uk> 11302Date: Mon Mar 10 21:46:38 2008 +0000 11303 11304 randr12: changing tmds2 for dvi-d seemingly unnecessary 11305 11306commit 30ddbe9c2b82bc19d1480a1b38df6b5ca0dd057b 11307Author: Stuart Bennett <sb476@cam.ac.uk> 11308Date: Mon Mar 10 23:49:08 2008 +0000 11309 11310 randr12: unbreak sel_clk changes 11311 11312commit 03f38725304842b053b7976db5df97e61159d07d 11313Author: Stuart Bennett <sb476@cam.ac.uk> 11314Date: Mon Mar 10 19:50:55 2008 +0000 11315 11316 randr12: allow spread spectrum bits to be updated on pre nv40 11317 11318commit 323b7ef9c1c26996b84fd1f67297b2958f68fcc9 11319Author: Stuart Bennett <sb476@cam.ac.uk> 11320Date: Mon Mar 10 01:18:56 2008 +0000 11321 11322 randr12: quirk for 17" powerbook, and better sel_clk handling 11323 11324 We set sel_clk *before* running the output script, so make sure the set pll->head binding is not altered 11325 11326commit 58f9079cda17bb6a76ba16c14ddc56bd4ac640fc 11327Author: Stuart Bennett <sb476@cam.ac.uk> 11328Date: Sun Mar 9 16:08:46 2008 +0000 11329 11330 nv_type.h mandates XF86DRI being declared 11331 11332commit 0dbffc868a7b60aa99ca550d33b8488ac9de8d00 11333Author: Stuart Bennett <sb476@cam.ac.uk> 11334Date: Sun Mar 9 03:59:57 2008 +0000 11335 11336 Fix up a bunch of prototypes, remove unused wrappers 11337 11338commit e5ded02925e7d39c67e69d0389778ac795bfe743 11339Author: Stuart Bennett <sb476@cam.ac.uk> 11340Date: Sun Mar 9 01:31:47 2008 +0000 11341 11342 Move setting of alphaCursor to nv_setup, and restyle useful portions of nv_setup 11343 11344commit 0b8629a9a29203553397eb764b9b9c87d38d4b9f 11345Author: Stuart Bennett <sb476@cam.ac.uk> 11346Date: Sat Mar 8 22:05:52 2008 +0000 11347 11348 Kill NVFBLayout 11349 11350 Using pScrn->currentMode is wrong for randr12, but it's no worse than what it was 11351 11352commit 29cfb08c1b75e050aa58fa6019f7d9be063f8555 11353Author: Stuart Bennett <sb476@cam.ac.uk> 11354Date: Sat Mar 8 21:02:35 2008 +0000 11355 11356 Warning fixes 11357 11358 And remove a few unused members from nv_type.h 11359 11360commit b87059fcccfac693df0b2dc5ba85cb358ad1eba6 11361Author: Stuart Bennett <sb476@cam.ac.uk> 11362Date: Sat Mar 8 20:53:20 2008 +0000 11363 11364 Drop the NV*VGA defines and adjust users 11365 11366commit a636b02eba03454b8b757f69e6a62aae2c3fd571 11367Author: Maarten Maathuis <madman2003@gmail.com> 11368Date: Sat Mar 8 21:18:34 2008 +0100 11369 11370 randr12: Disable a quirk that has adverse sideeffects on NV36M. 11371 11372 - NV31M owners, please test if you have: 11373 - LVDS on CRTC 1 and or = 3. 11374 - VGA on CRTC 0 and or = 1. 11375 - Testing requires enabling both lvds and vga. 11376 11377commit f4228861abec9df310efb863833c82022136e464 11378Author: Maarten Maathuis <madman2003@gmail.com> 11379Date: Sat Mar 8 18:23:58 2008 +0100 11380 11381 Merge CRTC private structs. 11382 11383commit b3d0d0c01664e874f3b69b36383ad1a7845d7d91 11384Author: Maarten Maathuis <madman2003@gmail.com> 11385Date: Sat Mar 8 18:10:53 2008 +0100 11386 11387 Death to some unnecesary stuff. 11388 11389commit 03a7a1d7065b55f16385fd16e7a2eff938d59cea 11390Author: Stuart Bennett <sb476@cam.ac.uk> 11391Date: Sat Mar 8 01:56:36 2008 +0000 11392 11393 Various minor tidyups 11394 11395commit 624148ca7067f748c142db3cd4d31314aa31ee0f 11396Author: Maarten Maathuis <madman2003@gmail.com> 11397Date: Fri Mar 7 20:59:30 2008 +0100 11398 11399 NV50: Convert back to absolute registers. 11400 11401 - Someone with a known to work setup should test this, as i have no NV5x card. 11402 11403commit 10bdffb65e2d8f59399556fe3224cbf8e8a171a9 11404Author: Stuart Bennett <sb476@cam.ac.uk> 11405Date: Fri Mar 7 19:08:50 2008 +0000 11406 11407 PLL limit table v0x11 11408 11409commit 2e1af24826e7db0e3f53440a2c5912789ade6c97 11410Author: Stuart Bennett <sb476@cam.ac.uk> 11411Date: Fri Mar 7 18:43:16 2008 +0000 11412 11413 Make bios init code work on 6600 by changing pll setting stuff a bit 11414 11415 I suspect we're going to need some card specific checks in here. ugh. 11416 11417commit 5fd2dd7b4c6e15d83cb7e7daafb6ee801fa823e8 11418Author: Maarten Maathuis <madman2003@gmail.com> 11419Date: Fri Mar 7 07:52:09 2008 +0100 11420 11421 It seems libpciaccess release became version 0.10 not version 0.10.0 11422 11423commit 3e4db03a39770e5fa94ca094deb690cba8175196 11424Author: Maarten Maathuis <madman2003@gmail.com> 11425Date: Fri Mar 7 07:36:16 2008 +0100 11426 11427 randr12: Forgot to clean up when switching output resources. 11428 11429commit 8a5c6e8b4d00871b17b7d564d765ea677596f79a 11430Author: Jaime Velasco Juan <jsagarribay@gmail.com> 11431Date: Sat Feb 16 15:01:23 2008 +0000 11432 11433 Do not access beyond source pixmap in NVAccelUploadIFC 11434 11435commit 7afb739418fbac5058d13d05188a69b142529fb4 11436Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11437Date: Thu Mar 6 23:40:08 2008 +0100 11438 11439 Oops. 11440 11441commit 0da8c84cceb178b04ab535edb4e3f0ced204d00a 11442Author: Stuart Bennett <sb476@cam.ac.uk> 11443Date: Thu Mar 6 22:35:30 2008 +0000 11444 11445 randr12: workaround for xserver randr bug, where the hwcursor always gets displayed after a mode change 11446 11447commit c424144e854563709a01ed2d30a0482edc57fbf3 11448Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11449Date: Thu Mar 6 23:15:31 2008 +0100 11450 11451 Fix my nv10 cursor. 11452 11453commit 633047c65708f1a39e371c2c5da5c111027af1af 11454Author: Maarten Maathuis <madman2003@gmail.com> 11455Date: Thu Mar 6 23:05:43 2008 +0100 11456 11457 randr12: A major rework of output resource conflict handling. 11458 11459 - This mostly affects laptops, such as some geforce5 and the famous 7300go laptops. 11460 - Test this if you know to have a strange vga/dvi port of your laptop. 11461 11462commit c5230961d181f15cd965c4569813219d9292681a 11463Author: Maarten Maathuis <madman2003@gmail.com> 11464Date: Thu Mar 6 19:29:50 2008 +0100 11465 11466 randr12: Readd some useful information about how an output is routed. 11467 11468commit 97ac866a4e433c70d0de7a1e8fb66a3994194ffd 11469Author: Maarten Maathuis <madman2003@gmail.com> 11470Date: Thu Mar 6 19:16:36 2008 +0100 11471 11472 randr12: Kill almost all usage of ErrorF + some misc cleanup. 11473 11474commit ea8fba29bcfe8158c9bf17754a20684430027aee 11475Author: Stuart Bennett <sb476@cam.ac.uk> 11476Date: Wed Mar 5 18:53:54 2008 +0000 11477 11478 randr12: don't reset panel unnecessarily for mere backlight control 11479 11480commit 22ec35504fbef83ba5790c87d27cd13e936fccb0 11481Author: Stuart Bennett <sb476@cam.ac.uk> 11482Date: Wed Mar 5 14:40:08 2008 +0000 11483 11484 randr12: remove switchable_crtc stuff 11485 11486commit 3b0a1a11f662bfa705806f4afc5898338234ca65 11487Author: Stuart Bennett <sb476@cam.ac.uk> 11488Date: Wed Mar 5 14:35:41 2008 +0000 11489 11490 randr12: if no ddc, return XF86OutputStatusUnknown, for !twoHeads and nv11 11491 11492commit 424500cf828903e3449d4bca22a083087258cc99 11493Author: Stuart Bennett <sb476@cam.ac.uk> 11494Date: Wed Mar 5 02:15:28 2008 +0000 11495 11496 randr12: do not change CR43 from its initial value 11497 11498commit a764d3ca2741243f49f34e9a4930a59272927902 11499Author: Maarten Maathuis <madman2003@gmail.com> 11500Date: Wed Mar 5 09:44:46 2008 +0100 11501 11502 Give some defines more consistent names. 11503 11504commit 234ce16558e59dff302f13ea3d8eb48f46eedf0d 11505Author: Stuart Bennett <sb476@cam.ac.uk> 11506Date: Wed Mar 5 01:25:20 2008 +0000 11507 11508 Use the BMP structure's I2C info, instead of DCB 1.2's, as marcheu's bios is broken 11509 11510commit bb5429f08b3ffd16d6786bd65d6a4c8db1210ade 11511Author: Stuart Bennett <sb476@cam.ac.uk> 11512Date: Wed Mar 5 00:38:15 2008 +0000 11513 11514 Add another DCB 1.4 entry 11515 11516commit 5998ba0a35bc1c897916f66b0bcfb9a3e0a7c54d 11517Author: Stuart Bennett <sb476@cam.ac.uk> 11518Date: Wed Mar 5 00:34:16 2008 +0000 11519 11520 Don't zero out i2c_read and i2c_write 11521 11522 pNv is calloc'd, so zero inited, and explicit zeroing overwrites the stuff parsed in parse_bmp_structure. Duh. 11523 11524commit 2d74bcb4602bb0cdae18ed1ffdd17520a3b57a78 11525Author: Maarten Maathuis <madman2003@gmail.com> 11526Date: Tue Mar 4 21:18:49 2008 +0100 11527 11528 Put braces around a bitmask. 11529 11530commit c7ab8e84bf8ad8ee6106b21a1c07b6d8470e7f11 11531Author: Stuart Bennett <sb476@cam.ac.uk> 11532Date: Tue Mar 4 13:34:16 2008 +0000 11533 11534 Add an LVDS output setup quirk for Powerbooks 11535 11536 Again, as a result of much testing by moondrake and sbriglie. 11537 Hopefully it even works this time :) 11538 11539commit fd9b37b31896e1731bdd56ec847c86c0502ba0f8 11540Author: Maarten Maathuis <madman2003@gmail.com> 11541Date: Mon Mar 3 19:04:09 2008 +0100 11542 11543 randr12: Only change vpll value when needed. 11544 11545commit 89882b416de3528cf504c989cc147a86d3572053 11546Author: Maarten Maathuis <madman2003@gmail.com> 11547Date: Sun Mar 2 20:25:45 2008 +0100 11548 11549 randr12: Keep the gamma values when setting a new mode, instead of always resetting to default. 11550 11551commit e8c363b7ca4a416be37a1ea1c97bbd99b21d5be4 11552Author: Stuart Bennett <sb476@cam.ac.uk> 11553Date: Sat Mar 1 15:05:09 2008 +0000 11554 11555 Improve link_head_and_output 11556 11557 Thanks to moondrake and sbriglie for their work on this 11558 11559commit 4a16414c77ad77e7612f62f4ca1859e0d6a24cc2 11560Author: Patrice Mandin <pmandin@caramail.com> 11561Date: Fri Feb 29 22:17:30 2008 +0100 11562 11563 nv30: Remove fix that is useless now, and maybe broken in some cases 11564 11565commit 5cb164876b824e8bf52aa44ccf4a797bab310602 11566Author: Stuart Bennett <sb476@cam.ac.uk> 11567Date: Thu Feb 28 00:43:17 2008 +0000 11568 11569 Less magical way of setting dual link on EDID equipped panels 11570 11571 Eldritch coupling ftl 11572 11573commit 1127974ed8517f28ef9c451d81bf1c61a2b0e6ae 11574Author: Maarten Maathuis <madman2003@gmail.com> 11575Date: Wed Feb 27 23:45:34 2008 +0100 11576 11577 NV40EXA: Support extend/repeat type pad. 11578 11579 - Note that all xservers, up to about a minute ago, did not try to accelerate repeat type reflect or pad. 11580 11581commit 6980d0e24a9dae52903e6971c5c8a18240a7dbc1 11582Author: Stuart Bennett <sb476@cam.ac.uk> 11583Date: Wed Feb 27 12:55:54 2008 +0000 11584 11585 Add default dual link transition frequency 11586 11587 For card bios versions before the relevant field was added 11588 Should fix Apple laptops. 11589 11590commit 27e2e55698ab05bf3469e0f68474d4c3f021ca31 11591Author: Stuart Bennett <sb476@cam.ac.uk> 11592Date: Tue Feb 26 18:07:39 2008 +0000 11593 11594 Deal with pre-nv40 laptops with EDID 11595 11596commit 41992eb90828976105cbc8bba87fe7d079d7c06a 11597Author: Patrice Mandin <pmandin@caramail.com> 11598Date: Fri Feb 22 17:29:12 2008 +0100 11599 11600 Revert dummy commit 11601 11602commit 073d852f36df4a18563ea892e89eca269efd55ef 11603Author: Patrice Mandin <pmandin@caramail.com> 11604Date: Fri Feb 22 17:27:51 2008 +0100 11605 11606 Dummy commit 11607 11608commit 5db7920763aee3a1b124139273566f7add5e27df 11609Author: Stuart Bennett <sb476@cam.ac.uk> 11610Date: Sun Feb 10 23:14:52 2008 +0000 11611 11612 Use some of nv_hw's functions in nv_bios.c 11613 11614commit fa8891e78f37edc02537704172156ba77371a307 11615Author: Stuart Bennett <sb476@cam.ac.uk> 11616Date: Wed Feb 20 00:50:48 2008 +0000 11617 11618 Unbreak console restore again, and use a less ambiguous function name for head locking 11619 11620commit 38d42a7857480a930e2025e4f63aa7f5defca5c5 11621Author: Stuart Bennett <sb476@cam.ac.uk> 11622Date: Tue Feb 19 23:59:12 2008 +0000 11623 11624 randr12: rename NV*VGA functions for api consistency 11625 11626 Also nuke NVCrtcSetOwner wrapper 11627 11628commit c77a54768c3fed5939755f23c5c067bb86f49805 11629Author: Ben Skeggs <darktama@beleth.(none)> 11630Date: Thu Feb 21 00:55:39 2008 +1100 11631 11632 xv: don't crash on init 11633 11634commit cf963a128374bf7c2070e8a380e236b5e083adc1 11635Author: Maarten Maathuis <madman2003@gmail.com> 11636Date: Wed Feb 20 09:36:42 2008 +0100 11637 11638 randr12: Only NV11 needs byteswapping + NV11 uses premultiplied cursors i think. 11639 11640commit 87f1676a243cddcaece9eeb0487a85b7e74b0f13 11641Author: Maarten Maathuis <madman2003@gmail.com> 11642Date: Wed Feb 20 00:14:12 2008 +0100 11643 11644 NV30/40TEX: Create two adapters, one with fancy filtering, the default without. 11645 11646 - Also enable sync to vblank by default, strange that it was off. 11647 - Remove the GET_TEXTURE(D)_PRIVATE macros, as one of them pointed to the blitter and one is now ambigious. 11648 11649commit 7ee1bb47d86396cc1a0f7879a98d04588cb31eee 11650Author: Stuart Bennett <sb476@cam.ac.uk> 11651Date: Thu Feb 14 23:16:01 2008 +0000 11652 11653 randr12: make more hw funcs generic 11654 11655commit 11de8d7a6f9a2dfd5a4f93f031865e284268a0f3 11656Author: Stuart Bennett <sb476@cam.ac.uk> 11657Date: Tue Feb 19 21:44:56 2008 +0000 11658 11659 Use fp strapping to determine whether straps are used for flat panel modes 11660 11661commit c1ac6b977a4756e2dbfdb75ab5b53c7c10e76cf4 11662Author: Stuart Bennett <sb476@cam.ac.uk> 11663Date: Tue Feb 19 14:53:41 2008 +0000 11664 11665 Rehabilitate bios opcode 6d 11666 11667commit afb42307cb2810ca2d759df62240fbf1f0cc7f7c 11668Author: Stuart Bennett <sb476@cam.ac.uk> 11669Date: Tue Feb 19 14:23:06 2008 +0000 11670 11671 Spruce up NV04 bios parsing a little 11672 11673commit dfabaab48034bf36c19510fe5de0f1bdaa2157ef 11674Author: Stuart Bennett <sb476@cam.ac.uk> 11675Date: Tue Feb 19 00:37:27 2008 +0000 11676 11677 More DCB v1.5 entries 11678 11679 Courtesy HenneNWH's NV11 11680 11681commit 2a4373d4f3b092600651b7dc8e2f9f9b520c7e0d 11682Author: Stuart Bennett <sb476@cam.ac.uk> 11683Date: Mon Feb 18 17:32:43 2008 +0000 11684 11685 Treat 0x4 and 0x8 bits in LVDS DCB v2.0 configuration as meaning the same thing 11686 11687commit daa557c0dadb3ad5caf39a4e90d3ebd16b12fc96 11688Author: Danny Tholen <obiwan@mailmij.org> 11689Date: Mon Feb 18 05:00:03 2008 +0100 11690 11691 Fix PPC DFS/UTS by using PCIgart. 11692 11693commit f8f469286fb3acc1ee694c61fe21e42123a5456a 11694Author: Ben Skeggs <skeggsb@gmail.com> 11695Date: Sat Feb 16 03:41:38 2008 +1100 11696 11697 dri: fix broken display in some cases 11698 11699commit a293f32b2172837b6e2bcc3f5771c5219fccfb14 11700Author: Stuart Bennett <sb476@cam.ac.uk> 11701Date: Wed Feb 13 00:52:34 2008 +0000 11702 11703 Fix bios pll setting regression 11704 11705 Oops. 11706 11707commit 7121fe9dfb1c9162c8be808e09ed6b4b3ce3999e 11708Author: Stuart Bennett <sb476@cam.ac.uk> 11709Date: Tue Feb 12 18:20:43 2008 +0000 11710 11711 Use a loop to read RAMIN bios image, rather than memcpy 11712 11713commit 3ad7c35740905ad267faf8e248075640d5ee9cea 11714Author: Stuart Bennett <sb476@cam.ac.uk> 11715Date: Tue Feb 12 17:23:38 2008 +0000 11716 11717 randr12: reorder some variable declarations in nv_crtc and nv_output 11718 11719commit ab40a46430f369a7bd9cef8db4e86414125c8437 11720Author: Stuart Bennett <sb476@cam.ac.uk> 11721Date: Tue Feb 12 15:19:58 2008 +0000 11722 11723 randr12: use integer math for scaling 11724 11725 No floats in modesetting path 11726 11727commit 4a44468c29c37b5ad4828439f37d023865a9d457 11728Author: Stuart Bennett <sb476@cam.ac.uk> 11729Date: Tue Feb 12 15:03:46 2008 +0000 11730 11731 randr12: tidy up some mode retrieval stuff 11732 11733commit 50d77c4199a3a5d2f3ead8327341e91ac2ec5684 11734Author: Stuart Bennett <sb476@cam.ac.uk> 11735Date: Mon Feb 11 16:27:27 2008 +0000 11736 11737 Trim useless nv_type members 11738 11739 Also, crtc_active isn't used on randr12 path 11740 11741commit 0c1e48a2192555856894d7e2b3025cd342c2f448 11742Author: Stuart Bennett <sb476@cam.ac.uk> 11743Date: Mon Feb 11 01:42:04 2008 +0000 11744 11745 Remove some DDX cruft 11746 11747commit 5a8e246fcab3e349f48d0ce0c4da812a411767f2 11748Author: Stuart Bennett <sb476@cam.ac.uk> 11749Date: Mon Feb 11 00:34:27 2008 +0000 11750 11751 Use mmio access wrappers and reorder some variable declarations in nv_bios.c 11752 11753commit 2ffcd89bfb0383fb32e8ec41f1cd472764b9b99d 11754Author: Stuart Bennett <sb476@cam.ac.uk> 11755Date: Mon Feb 11 00:03:50 2008 +0000 11756 11757 randr12: Use absolute regs for 8 bit regs 11758 11759commit c9b1f020d1c5be069dae19f99b3c26bb126052ae 11760Author: Stuart Bennett <sb476@cam.ac.uk> 11761Date: Fri Feb 8 19:44:37 2008 +0000 11762 11763 Move non-crtc specific hw funcs from nv_crtc to nv_hw 11764 11765commit 6cb8fb6cc63bf55f18b4dde53c393336e817474e 11766Author: Stuart Bennett <sb476@cam.ac.uk> 11767Date: Thu Feb 7 02:04:20 2008 +0000 11768 11769 Ordering mechanism for BIT table parsing, and (hopefully) automagic laptop detection 11770 11771commit 4f690235d70ae249323439380a69d8309a8c9981 11772Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11773Date: Wed Feb 6 22:18:46 2008 +0100 11774 11775 Replace a const with its name. 11776 11777commit 75c5912fffde88bfe2ddd158a446588b76ef44d9 11778Author: Maarten Maathuis <madman2003@gmail.com> 11779Date: Wed Feb 6 19:06:14 2008 +0100 11780 11781 Fix bad debugging in NVWritePVIO(). 11782 11783commit 50da8b8f5b5feb6787ed50f221529730d25b5467 11784Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11785Date: Wed Feb 6 17:44:52 2008 +0100 11786 11787 Fix UV swapping on PPC. 11788 11789commit 4ff11d13be6e8050e0b726dc7af8e4bc11bd9d0d 11790Author: Stuart Bennett <sb476@cam.ac.uk> 11791Date: Mon Feb 4 22:34:21 2008 +0000 11792 11793 Missed out "DEBUG" part of the name in the define 11794 11795commit 181ee3bcecfc778c9f671853a696ab3224ac4747 11796Author: Stuart Bennett <sb476@cam.ac.uk> 11797Date: Mon Feb 4 22:31:02 2008 +0000 11798 11799 Load correct PLL limits for single stage PLL cards with blank PLL tables 11800 11801commit cbcb1070db6fbb4d13ddcc35739d2d3e49f3766d 11802Author: Maarten Maathuis <madman2003@gmail.com> 11803Date: Mon Feb 4 07:47:06 2008 +0100 11804 11805 Once again kill usage of an exa private function. 11806 11807 - Must have creeped back in during all the texture adapter changes recently. 11808 11809commit f14d27d638e75faa5bbda903f65a4d5479222ead 11810Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11811Date: Sun Feb 3 17:15:50 2008 +0100 11812 11813 Remove include guards & add copyright. 11814 11815commit 7522640ee8d342c5ebb62989b051f73e230f5ce7 11816Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11817Date: Sun Feb 3 17:01:50 2008 +0100 11818 11819 Last round of fixes for nv30/40 bicubic Xv. 11820 11821commit 78553ab9a0309c7d27632fe7184f3233cfde6610 11822Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11823Date: Sun Feb 3 06:07:35 2008 +0100 11824 11825 Fix tearing. 11826 11827commit 7240f861a98c5f8d9779a4f3a743b748af775337 11828Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11829Date: Sun Feb 3 05:15:41 2008 +0100 11830 11831 Understood and fixed some NV30 FP_CONTROL bits. 11832 11833commit bb2a7bd3461eec37f179748a9bdb9375b1c3da04 11834Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11835Date: Sat Feb 2 05:54:47 2008 +0100 11836 11837 Fixes to nv30/nv40 textured video. 11838 11839commit c10d30dfefe93a9911d89eaffe3d29d3cff66a96 11840Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11841Date: Thu Jan 31 06:15:02 2008 +0100 11842 11843 Misc textured video fixes. 11844 11845commit cfdfd5a99bb7ac959a1188994db4c75a97de2e34 11846Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11847Date: Thu Jan 31 06:00:59 2008 +0100 11848 11849 Of course, add the nv30 video texture file. 11850 11851commit 970a8e474c666d6e33351f7ca6a3a5273024baf4 11852Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11853Date: Thu Jan 31 05:59:08 2008 +0100 11854 11855 nv30 video texture. Doesn't work with bicubic yet, only bilinear. 11856 11857commit c1eba822f1579637f59933b04e31591e86b975fc 11858Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11859Date: Wed Jan 30 02:38:14 2008 +0100 11860 11861 Remove (void)ing that's not necessary any more. 11862 11863commit 7356ad90b387d01c2bf25aa653c41ca9365c5c20 11864Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11865Date: Wed Jan 30 02:30:39 2008 +0100 11866 11867 Remove unneeded stuff. 11868 11869commit e06dfd2964f9bd7f0855a101f5e6971020dfa6be 11870Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11871Date: Wed Jan 30 02:19:08 2008 +0100 11872 11873 Separate the shaders from the rest of the code. 11874 11875commit a69c50780cacf0d0f2948208cfa7e0558a8c3644 11876Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11877Date: Wed Jan 30 02:18:26 2008 +0100 11878 11879 Macros for the PME range. 11880 11881commit 47c8ed472f37d68f3cc241a58ee5b7b8643e537d 11882Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11883Date: Wed Jan 30 02:17:22 2008 +0100 11884 11885 Add PME range. 11886 11887commit 63f47c9bf59ccb9f1b6adbefd55deaec1435faf7 11888Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11889Date: Tue Jan 29 21:25:28 2008 +0100 11890 11891 Small cleanups. 11892 11893commit c98e9fa5c572deeafd7f605bb29d6c83cd38de9d 11894Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11895Date: Tue Jan 29 21:24:39 2008 +0100 11896 11897 nv40 video texture: first pass at bicubic video. 11898 11899commit 10967a4dac8c3eaf828359dcba7a6e1272561aa3 11900Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11901Date: Mon Jan 28 04:52:01 2008 +0100 11902 11903 Update to newer nouveau_class.h 11904 11905commit 82728b3df45e8a5c0a45462d2ce847a41fd31f07 11906Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 11907Date: Sat Jan 26 19:02:50 2008 +0100 11908 11909 Update to latest nouveau_class.h 11910 11911commit 9d9a5acae1deae8c76b512362634066e0c32a817 11912Author: Jaime Velasco Juan <jsagarribay@gmail.com> 11913Date: Sun Feb 3 15:45:32 2008 +0100 11914 11915 Don't FIRE_RING() when in NoAccel mode. 11916 11917commit 11c1ee1cb0ee9c8096ea371d95d188c538ac3fb2 11918Author: Maarten Maathuis <madman2003@gmail.com> 11919Date: Sun Feb 3 15:43:35 2008 +0100 11920 11921 Some minor reindenting. 11922 11923commit 0db347294e09d3d17200ca130e719df2d22f69b6 11924Author: Ben Skeggs <skeggsb@gmail.com> 11925Date: Mon Feb 4 01:19:23 2008 +1100 11926 11927 exa: those limits were a bit conservative on some hw. 11928 11929 AFAIK nv2x up should be able to handle 4096x4096 textures and 11930 render targets. 11931 11932commit eb72e67641215b710868da7bb66b466f6ccbbe25 11933Author: Ben Skeggs <skeggsb@gmail.com> 11934Date: Mon Feb 4 01:07:07 2008 +1100 11935 11936 exa: more accurate coordinate limits 11937 11938commit 8645d2d9554ee46397240fbd9904fd4f905aefb2 11939Author: Maarten Maathuis <madman2003@gmail.com> 11940Date: Sun Feb 3 14:54:41 2008 +0100 11941 11942 Fix NVExaPixmapMap() for NOUVEAU_EXA_PIXMAPS case. 11943 11944commit dd81efd0cc64a070f7489decbac345cc1b4fa9ce 11945Author: Maarten Maathuis <madman2003@gmail.com> 11946Date: Sun Feb 3 12:03:43 2008 +0100 11947 11948 Fix undefined symbol. 11949 11950commit 2a1116cbf61e84b16366076366f4bbd5f550fb9f 11951Author: Maarten Maathuis <madman2003@gmail.com> 11952Date: Sat Feb 2 20:34:57 2008 +0100 11953 11954 Remove a few leftovers to actually make the last commits work. 11955 11956commit 714bea6449aab47a9f2211718183ee84a3c70129 11957Author: Maarten Maathuis <madman2003@gmail.com> 11958Date: Sat Feb 2 19:53:32 2008 +0100 11959 11960 Kill NVShowHideCursor and use a wrapper. 11961 11962commit 741acded643945c5a2da7bef088ed1ff7f5fa85e 11963Author: Maarten Maathuis <madman2003@gmail.com> 11964Date: Sat Feb 2 19:26:13 2008 +0100 11965 11966 Remove nvRead/WriteVGA in favor of nvRead/WriteCurVGA wrappers. 11967 11968commit d429cabd9ae9865a45cc88f43ab6d9d61b3fcf36 11969Author: Maarten Maathuis <madman2003@gmail.com> 11970Date: Sat Feb 2 19:17:32 2008 +0100 11971 11972 Kill NVLockUnlock and make it redirect to NVLockUnlockHead. 11973 11974commit dc2aee0ef69c85aaffdc3c1da5a228642d049a30 11975Author: Maarten Maathuis <madman2003@gmail.com> 11976Date: Sat Feb 2 15:12:00 2008 +0100 11977 11978 More wrapper death. 11979 11980commit a57fd67a2a6ae66af218fedd704a04d855260a2f 11981Author: Maarten Maathuis <madman2003@gmail.com> 11982Date: Sat Feb 2 15:06:02 2008 +0100 11983 11984 Let some wrappers die. 11985 11986commit b9a4eb6f6ea4f8f0747baa50037e33a0584cfd29 11987Author: Maarten Maathuis <madman2003@gmail.com> 11988Date: Sat Feb 2 12:47:32 2008 +0100 11989 11990 Undo last commit and move it to drm. 11991 11992commit 288b56545a8da1e7b5aa64b1093316ca2f28f868 11993Author: Maarten Maathuis <madman2003@gmail.com> 11994Date: Sat Feb 2 12:28:44 2008 +0100 11995 11996 NV40: Fix longstanding issue with nouveau crashing after using blob. 11997 11998 - Took me a while to track down, but for me this is definately it. 11999 - In my case i got the X cross and then it would freeze and i would get a fifo dump. 12000 - Don't be shy, let me know if this works for you too. 12001 12002commit 0ec1b10a82c411181ff7a8643bb2390cfe08e4e4 12003Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12004Date: Sat Feb 2 04:04:58 2008 +0100 12005 12006 Don't allocate the whole AGP gart as a scratch buffer, since we still need to allocate the fifo afterwards. 12007 12008commit 5b79b0a9e54fe99eaae5b411f46a601b6944b773 12009Author: Maarten Maathuis <madman2003@gmail.com> 12010Date: Fri Feb 1 23:34:32 2008 +0100 12011 12012 Don't use functions that are not supposed to be used in randr12 mode. 12013 12014 - Also add NVLockUnlockHead() and NVSetOwner() functions. 12015 12016commit cedb604ee79cd73a9ec3940c7b056109811ba670 12017Author: Maarten Maathuis <madman2003@gmail.com> 12018Date: Fri Feb 1 22:41:09 2008 +0100 12019 12020 Remove usage of "illegal" wrappers in code that also used for randr12 mode. 12021 12022 - I've got something prettier in mind to clean this up, which will likely follow. 12023 12024commit 1a5247856929877442e1ec00f190c6d497ca64fe 12025Author: Maarten Maathuis <madman2003@gmail.com> 12026Date: Fri Feb 1 19:14:38 2008 +0100 12027 12028 randr12: Remove a hack, confirmed on 7600GS that it is unneeded. 12029 12030 - This was one of the cards that did need it in the past. 12031 12032commit b6972e7bec0455250851c06d142336cb53be1a74 12033Author: Maarten Maathuis <madman2003@gmail.com> 12034Date: Fri Feb 1 14:47:32 2008 +0100 12035 12036 randr12: Some minor fixes. 12037 12038commit 988dce0f452f6b80b2d02e1a0f78f826674cc3c0 12039Author: Arthur Huillet <arthur.huillet@free.fr> 12040Date: Fri Feb 1 10:04:32 2008 +0100 12041 12042 NV10 EXA: limit regcomb state re-emission, fix logic for A8 + A8 yielding a 3% perf improvement :p 12043 12044commit a84852c2e0b19cf848495dc7e4bde4426b7bd199 12045Author: Maarten Maathuis <madman2003@gmail.com> 12046Date: Wed Jan 30 22:57:09 2008 +0100 12047 12048 (hopefully) Fix build on powerpc. 12049 12050commit e8a975e6a8afe5ae9c77d20f4d59d3d10221f7d9 12051Author: Arthur Huillet <arthur.huillet@free.fr> 12052Date: Wed Jan 30 18:37:39 2008 +0100 12053 12054 Xv: NV30 overlay can not scale down by more than 0.5x 12055 12056commit adc26892f6e711f08a5ed189a643e3fe9646e15c 12057Author: Stuart Bennett <sb476@cam.ac.uk> 12058Date: Wed Jan 30 17:43:16 2008 +0000 12059 12060 Fail gracefully for too-big resolutions / colour depths 12061 12062commit 09c9d7c3c50b630e1509f787ff946cc0656f7cba 12063Author: Maarten Maathuis <madman2003@gmail.com> 12064Date: Wed Jan 30 18:50:37 2008 +0100 12065 12066 randr12: Misc change. 12067 12068commit 6a46bf59f15d68404b536d436bf70337cd88e33d 12069Author: Maarten Maathuis <madman2003@gmail.com> 12070Date: Wed Jan 30 18:35:18 2008 +0100 12071 12072 Check if the framebuffer can fit into the offscreen memory. 12073 12074commit 9607d7828b16b0cb4a428bc29e2ce7c9bfd95371 12075Author: Arthur Huillet <arthur.huillet@free.fr> 12076Date: Wed Jan 30 18:24:44 2008 +0100 12077 12078 Xv: NV04 overlay can not scale down at all, as confirmed by DirectFB 12079 12080commit 7edfb473533ce41db9e2b3709d32bb8ca7da85a4 12081Author: Stuart Bennett <sb476@cam.ac.uk> 12082Date: Wed Jan 30 14:44:14 2008 +0000 12083 12084 PBUS define additions 12085 12086commit 6e090591bd2dab051362d8528a3bc76f30418d94 12087Author: Stuart Bennett <sb476@cam.ac.uk> 12088Date: Wed Jan 30 14:35:25 2008 +0000 12089 12090 PCRTC define additions 12091 12092commit e51799382e40c033b2d6d09dd65dd7f7c1e5e4d6 12093Author: Stuart Bennett <sb476@cam.ac.uk> 12094Date: Wed Jan 30 15:03:06 2008 +0000 12095 12096 Missed these in the ->absolute conversion 12097 12098commit ee0d557a26d326af27445bd0b283a5c6ead7c1cd 12099Author: Arthur Huillet <arthur.huillet@free.fr> 12100Date: Tue Jan 29 18:46:16 2008 +0100 12101 12102 Xv: detection of composite for the overlay 12103 12104commit 3a5f92d48e32d251e41bab561e52082033d26d9d 12105Author: Stuart Bennett <sb476@cam.ac.uk> 12106Date: Wed Jan 30 01:31:43 2008 +0000 12107 12108 Make bios port io use PVIO as appropriate, and have harsh validity checks 12109 12110commit 92c0d9630843957212d8ce296fea6bca8d802069 12111Author: Stuart Bennett <sb476@cam.ac.uk> 12112Date: Wed Jan 30 00:36:59 2008 +0000 12113 12114 Make PLL setting quieter 12115 12116commit f58d174bd50943c3dfb2d6c909d0a98dbbd35dae 12117Author: Stuart Bennett <sb476@cam.ac.uk> 12118Date: Tue Jan 29 23:10:27 2008 +0000 12119 12120 Move some regs from nv_bios.c to nvreg.h 12121 12122 And use more symbolic names in nv_bios 12123 12124commit d0022c35f39fde74ee5f3978ea78e053988fb608 12125Author: Stuart Bennett <sb476@cam.ac.uk> 12126Date: Tue Jan 29 22:41:40 2008 +0000 12127 12128 Tighten bios reg checks a little 12129 12130commit b1b1d76eb187f4ab3020bbd69c2b1cc9b39d0d83 12131Author: Stuart Bennett <sb476@cam.ac.uk> 12132Date: Wed Jan 30 00:30:46 2008 +0000 12133 12134 randr12: make nv4x plls less special 12135 12136commit 8f05d66bad8e74129cffa2918f9ecf6824c9f0b9 12137Author: Stuart Bennett <sb476@cam.ac.uk> 12138Date: Tue Jan 29 22:33:34 2008 +0000 12139 12140 Don't attempt to parse BIT D and L tables on non-mobile cards 12141 12142commit 8e834ece6592df13bd3eb7e9f28c01b4eb0c9791 12143Author: Stuart Bennett <sb476@cam.ac.uk> 12144Date: Tue Jan 29 18:57:28 2008 +0000 12145 12146 Add some mobile pci-ids, and reorder numerically 12147 12148commit 0b586ae0a2998339a9d5d3590e91dfa62af9ab6a 12149Author: Maarten Maathuis <madman2003@gmail.com> 12150Date: Tue Jan 29 19:04:25 2008 +0100 12151 12152 randr12: Remove excessive writing of VTOwner. 12153 12154commit c522ebb293a1c37142e29bf02bb82524e99336b0 12155Author: Stuart Bennett <sb476@cam.ac.uk> 12156Date: Tue Jan 29 17:30:32 2008 +0000 12157 12158 Make sure nv04 has some defaults (as the bios parsing is non-existant) 12159 12160commit 62b6c5fe490578990c249042657f20bb0cf49a01 12161Author: Stuart Bennett <sb476@cam.ac.uk> 12162Date: Sun Jan 27 22:11:31 2008 +0000 12163 12164 Use absolute regs in the DDX 12165 12166 Due to having to make a few defines for regs that were hardcoded, there could 12167 be breakage (nv04 overlay, this means you) 12168 Hopefully not. 12169 12170commit f5c9f9910a46cfa41d817ef7ca345bfea278b358 12171Author: Stuart Bennett <sb476@cam.ac.uk> 12172Date: Tue Jan 29 14:14:26 2008 +0000 12173 12174 Reorganise pll limit retrieval 12175 12176commit 26ff67f03be38925905a572dab3ec61653cd8286 12177Author: Maarten Maathuis <madman2003@gmail.com> 12178Date: Tue Jan 29 10:53:14 2008 +0100 12179 12180 NV30EXA: Always init texture origin, please report if your viewport setup needs to be different. 12181 12182commit 38df9a95740e934b9691dff1ed1b597cd2254cfa 12183Author: Maarten Maathuis <madman2003@gmail.com> 12184Date: Mon Jan 28 20:55:47 2008 +0100 12185 12186 Forgot to be paranoid. 12187 12188commit 2ea0314859569c3ae4356272a35f0b316abf4df7 12189Author: Maarten Maathuis <madman2003@gmail.com> 12190Date: Mon Jan 28 20:51:20 2008 +0100 12191 12192 Small improvement to nouveau_dma_wait, at least makes it show up in profiling in a clear way. 12193 12194 - This may also slightly reduce the cost of a very short wait, but not by much. 12195 12196commit dd483e226519bc4d2c088e97490039613014dfac 12197Author: Stuart Bennett <sb476@cam.ac.uk> 12198Date: Sat Jan 26 20:22:08 2008 +0000 12199 12200 randr12: 2nd attempt on nv11 console restore 12201 12202commit 5b0fa02101c82a83e11f7d279d366689d54bfacb 12203Author: Stuart Bennett <sb476@cam.ac.uk> 12204Date: Sat Jan 26 18:09:10 2008 +0000 12205 12206 Use NV_{WR,RD}08 to avoid double logging io 12207 12208 And one less bios FIXME 12209 12210commit a099bbff8bb3766201a7deb9c4a718fff7edbe51 12211Author: Stuart Bennett <sb476@cam.ac.uk> 12212Date: Mon Jan 21 23:54:51 2008 +0000 12213 12214 randr12: remove unused PLL code 12215 12216commit 0eb428e5a8b60e52d18b3bdffed46ae3f07b7bc0 12217Author: Stuart Bennett <sb476@cam.ac.uk> 12218Date: Fri Jan 25 16:05:59 2008 +0000 12219 12220 randr12: attempt to fix brokenness of head setting / getting on nv11 12221 12222commit eea2fd41ebc17f72b43c776a0391df0733b8d6e4 12223Author: Stuart Bennett <sb476@cam.ac.uk> 12224Date: Sat Jan 26 14:20:01 2008 +0000 12225 12226 randr12: don't do load detection on nv11 12227 12228commit a2c0facefbc878815e00c734464b3c87b5cce842 12229Author: Stuart Bennett <sb476@cam.ac.uk> 12230Date: Sat Jan 26 01:46:59 2008 +0000 12231 12232 Assume 18 bit laptop panels by default, add a message that may trigger on 24 bit panels 12233 12234 Revert "Invert 18/24 bit interface flag, so that the default value (0) does not imply dithering" 12235 12236 This reverts commit 5b9dc7ad6eb2f16c4ca8824c2a19c85bbe1f126b. 12237 12238commit ec548d20239a49f8e9eb0399317d4c68df24f4a3 12239Author: Stuart Bennett <sb476@cam.ac.uk> 12240Date: Sat Jan 26 01:36:41 2008 +0000 12241 12242 Detect mobile BMP biosen 12243 12244 I'd really love to know how where this info is in BIT 12245 12246commit 9f932eb684814e2a04c83d5aee172b9e020d82a3 12247Author: Maarten Maathuis <madman2003@gmail.com> 12248Date: Fri Jan 25 23:31:58 2008 +0100 12249 12250 NV30EXA: Fix viewport setup + switch to triangle based composite. 12251 12252commit afca5f2665a62ef2d025c15f07fe1cdc2b40d8d5 12253Author: Stuart Bennett <sb476@cam.ac.uk> 12254Date: Fri Jan 25 01:18:50 2008 +0000 12255 12256 randr12: fix / annotate a couple of ddc thinkos 12257 12258 catch a longstanding source of error too 12259 12260commit 3e6ea79c3292c3ed5bd676653c4c40532772ae5f 12261Author: Stuart Bennett <sb476@cam.ac.uk> 12262Date: Fri Jan 25 00:33:07 2008 +0000 12263 12264 Implement opcodes 0x66, 0x67, and 0x68 12265 12266 Courtesy jwstolk's trace 12267 Names taken from nv11 biosmod scps 12268 12269commit cdae2e26cc432ba572f92522f1b3454264d38f43 12270Author: Maarten Maathuis <madman2003@gmail.com> 12271Date: Fri Jan 25 00:10:08 2008 +0100 12272 12273 randr12: Rework native modes for TMDS. 12274 12275 - Choose a preferred ddc mode when available, otherwise the one with the highest refresh. 12276 - Fall back on cvt modes, only when needed. 12277 12278commit 46636052498d1e33985e3d98a6ce9462639bd4ff 12279Author: Stuart Bennett <sb476@cam.ac.uk> 12280Date: Wed Jan 23 23:02:46 2008 +0000 12281 12282 oops 12283 12284commit e067a0eee42324ec7c01e4d84a33554054817dd9 12285Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12286Date: Wed Jan 23 23:40:51 2008 +0100 12287 12288 Use proper version. 12289 12290commit 324c19acf6b506aae47e3699dd0fcefb72473590 12291Author: Stuart Bennett <sb476@cam.ac.uk> 12292Date: Wed Jan 23 01:13:58 2008 +0000 12293 12294 Fix C51 refclk 12295 12296commit 178b8bbf0e09c190fef8b2f85acddd3172ace629 12297Author: Stuart Bennett <sb476@cam.ac.uk> 12298Date: Wed Jan 23 20:59:50 2008 +0000 12299 12300 randr12: calculate (and set, for nv40) sel_clk before calculating plls 12301 12302commit 8067bd08d9a928c97b83f2b6ebff996b320c5813 12303Author: Maarten Maathuis <madman2003@gmail.com> 12304Date: Wed Jan 23 19:43:42 2008 +0100 12305 12306 Fix big bug in commit "Mostly log message changes". 12307 12308 - Please don't hide such important changes in a commit like that ;-) 12309 12310commit c5329a42c509efe9336573ff7e32978082ba9355 12311Author: Stuart Bennett <sb476@cam.ac.uk> 12312Date: Wed Jan 23 16:37:31 2008 +0000 12313 12314 Redo sel_clk setting and update its documentation 12315 12316 My apologies if this breaks stuff. 12317 12318commit f07ab92e7bb419df5473e1ed843a79ef4ff08f30 12319Author: Stuart Bennett <sb476@cam.ac.uk> 12320Date: Wed Jan 23 02:09:56 2008 +0000 12321 12322 Fail on LVDS DCB entry parsing issues 12323 12324commit 12efa8cdfe68c312458368ab876030b02919a922 12325Author: Stuart Bennett <sb476@cam.ac.uk> 12326Date: Wed Jan 23 00:09:11 2008 +0000 12327 12328 Mostly log message changes 12329 12330commit 0faa15d9b84b2cad23424dfc1679f119c5b45108 12331Author: Ben Skeggs <skeggsb@gmail.com> 12332Date: Wed Jan 23 23:45:37 2008 +1100 12333 12334 not an appropriate place for this type of thing.. 12335 12336commit 9e982df106028edd0f7ce0feedbe8e082f29f2ac 12337Author: Maarten Maathuis <madman2003@gmail.com> 12338Date: Wed Jan 23 11:42:55 2008 +0100 12339 12340 randr12: Increase cvt mode to 72 Hz. 12341 12342 - I've had occasions were i did slightly notice something at 60 Hz, and no problems at a higher setting. 12343 - I must admit i was a little bit tired at the time, but i figure it won't hurt (much). 12344 12345commit 71435dde5b2fd1c197ef5dc31b22ba40abcbca7e 12346Author: Maarten Maathuis <madman2003@gmail.com> 12347Date: Wed Jan 23 11:20:47 2008 +0100 12348 12349 NV40EXA: Use the same approach as the texture adapter for rendering. 12350 12351 - Verified to work for abitrary rotation. 12352 - This should eliminate diagional tearing altogether. 12353 12354commit d9149bddc758cc0644630b26fe10fc563ba38ce9 12355Author: Maarten Maathuis <madman2003@gmail.com> 12356Date: Wed Jan 23 10:28:25 2008 +0100 12357 12358 NV40TEX: Switch to a big triangle and clip it to a quad. 12359 12360 - On some systems (NV43, NV46 are known) an artifact shows when 2 triangles are combines and the size is larger than roughly 512x512. 12361 - The trick is draw a single triangle and use scissors to turn it into a quad. 12362 - Someone once asked me if i ever made drawings, well i did in this case and i've included it for future reference. 12363 12364commit e578d6e0a8c0fb8877d8b4b6ba1046dccf28ee6d 12365Author: Stuart Bennett <sb476@cam.ac.uk> 12366Date: Tue Jan 22 18:33:42 2008 +0000 12367 12368 Fix LVDS with DCB 2.0 12369 12370 Also use the X_ERROR facility for errors, not ErrorF 12371 12372commit fd3195f503420591b522249bb423c817db0709e7 12373Author: Maarten Maathuis <madman2003@gmail.com> 12374Date: Tue Jan 22 19:00:49 2008 +0100 12375 12376 Xv: Remove illegal usage of private exa symbols. 12377 12378commit 3a995b06ddb507655279565e992604bd40036b19 12379Author: Maarten Maathuis <madman2003@gmail.com> 12380Date: Tue Jan 22 15:53:38 2008 +0100 12381 12382 NV40TEX: Use width, not (x2, y2). 12383 12384commit abaa8e822be49b9d2129d31c4996dfcf8034ea2a 12385Author: Arthur Huillet <arthur.huillet@free.fr> 12386Date: Tue Jan 22 11:42:19 2008 +0100 12387 12388 Xv: NV12 overlay copy - removed wrong byteswapping on PPC, reported by moondrake 12389 12390commit 782237e4e942f2e8a9ed3dd111d60c665459963c 12391Author: Stuart Bennett <sb476@cam.ac.uk> 12392Date: Mon Jan 21 23:44:47 2008 +0000 12393 12394 randr12: some tidyup 12395 12396commit 91ca67056cb236e5770d4fb39dd7fbb9818ff093 12397Author: Stuart Bennett <sb476@cam.ac.uk> 12398Date: Mon Jan 21 22:35:58 2008 +0000 12399 12400 randr12: more beautiful dithering 12401 12402commit 1d5dc47324ddd1939db166af60df7a3a0e055810 12403Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12404Date: Mon Jan 21 22:19:24 2008 +0100 12405 12406 oops :) 12407 12408commit 7080f93a83e0d680f53a7962df300d527edd121a 12409Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12410Date: Mon Jan 21 21:43:11 2008 +0100 12411 12412 Quickly hacked support for NV6x. 12413 12414commit 2d399af61424cc4b4e0080ea016423f1b22c02f3 12415Author: Stuart Bennett <sb476@cam.ac.uk> 12416Date: Mon Jan 21 20:16:56 2008 +0000 12417 12418 randr12: fix dual head restore 12419 12420commit 8be20d6fc21a3869786e8c19656bf8b6569fee6e 12421Author: Stuart Bennett <sb476@cam.ac.uk> 12422Date: Mon Jan 21 18:51:52 2008 +0000 12423 12424 randr12: save and restore palette 12425 12426commit d32f310afa05ad85d6675348400880506d98ac1e 12427Author: Stuart Bennett <sb476@cam.ac.uk> 12428Date: Mon Jan 21 15:03:59 2008 +0000 12429 12430 Make LVDS bios script logs easier to understand 12431 12432 and fix a backwards comparison 12433 12434commit 7c7f0194678c7bd7c5ce791c07b38ac8eeeef608 12435Author: Stuart Bennett <sb476@cam.ac.uk> 12436Date: Mon Jan 21 14:14:07 2008 +0000 12437 12438 randr12: avoid SIGFPE 12439 12440commit b9a3aab7a7f6c5c4a5c440e46bbca7d76fd8df68 12441Author: Stuart Bennett <sb476@cam.ac.uk> 12442Date: Mon Jan 21 14:09:46 2008 +0000 12443 12444 debug_modes breaks build on old xservers 12445 12446commit d2e078b4ebf11b286e152e0ea10b17c41bf61b67 12447Author: Stuart Bennett <sb476@cam.ac.uk> 12448Date: Mon Jan 21 14:06:42 2008 +0000 12449 12450 randr12: use correct clock for LVDS modesetting part 2 12451 12452commit 52154e97b5a40b014fbee747fc542f765b4390bc 12453Author: Stuart Bennett <sb476@cam.ac.uk> 12454Date: Mon Jan 21 13:46:15 2008 +0000 12455 12456 randr12: use correct clock for LVDS modesetting 12457 12458commit d54a9f4b76f3a8c29c5fce6dfe7cc3fbc20f3952 12459Author: Stuart Bennett <sb476@cam.ac.uk> 12460Date: Mon Jan 21 12:27:36 2008 +0000 12461 12462 Don't log strange characters 12463 12464commit 07e01061e9b90348ea38b8889ff9e8daf207b820 12465Author: Stuart Bennett <sb476@cam.ac.uk> 12466Date: Sun Jan 20 21:53:30 2008 +0000 12467 12468 Use more imaginative log levels than X_INFO 12469 12470commit 18017632cbc96f36bbc72b454bd5b48070985a6f 12471Author: Stuart Bennett <sb476@cam.ac.uk> 12472Date: Sun Jan 20 20:17:28 2008 +0000 12473 12474 Use stdbool.h types in nv_bios.c 12475 12476 It makes vim highlighting work better and reduces shift key wear. 12477 Coincidentally it's what the drm uses too. 12478 12479 bool, true and false are defined in IEEE 1003.1 (2003) and POSIX since C99 12480 (as is stdint.h, which we use already) 12481 12482commit e1714a4f4329728cf897f8953acc480b47a4e5d7 12483Author: root <root@dpish.hayton.korsenowski> 12484Date: Sun Jan 20 18:38:11 2008 +0000 12485 12486 randr12: fix early cards 12487 12488commit 271844d3a761af65c9625d1564e1c08a9f64d159 12489Author: Maarten Maathuis <madman2003@gmail.com> 12490Date: Sun Jan 20 19:06:49 2008 +0100 12491 12492 NV40TEX: Don't sync when compositing, will have bad sideeffects if the compositing manager tries it too. 12493 12494commit c338a14ea688953b03f274d0e436b579d0411f18 12495Author: Maarten Maathuis <madman2003@gmail.com> 12496Date: Sun Jan 20 17:28:13 2008 +0100 12497 12498 Some misc cleanup. 12499 12500commit 2cd6e157cebac663f1b3c88e3653a4c2c9971ff1 12501Author: Maarten Maathuis <madman2003@gmail.com> 12502Date: Sun Jan 20 17:11:27 2008 +0100 12503 12504 randr12: Fix a major screwup i made during a cleanup. 12505 12506commit c3127a0c9cf4599c40b27e24a411a7fe4969152a 12507Author: Maarten Maathuis <madman2003@gmail.com> 12508Date: Sun Jan 20 17:00:58 2008 +0100 12509 12510 NV40TEX: Implement sync to vblank. 12511 12512 - 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). 12513 - This should also work reasonably well for composited situations, but ofcource we can't guarantee that. 12514 12515commit 512f4ba33528dafb505bc2db5f9bb4d1b92c3a7b 12516Author: Stuart Bennett <sb476@cam.ac.uk> 12517Date: Sun Jan 20 14:47:52 2008 +0000 12518 12519 randr12: init some more Xv state 12520 12521commit 3f6a681a38fccbd53dd10aa42cc8d1b9bfe0eb71 12522Author: Stuart Bennett <sb476@cam.ac.uk> 12523Date: Sat Jan 19 14:02:43 2008 +0000 12524 12525 minor debug correction 12526 12527commit efd3cd086036cd5f8817aee771ee630066a92830 12528Author: Stuart Bennett <sb476@cam.ac.uk> 12529Date: Sun Jan 20 01:56:00 2008 +0000 12530 12531 INIT_8E opcode 12532 12533 again, from pq's trace 12534 12535commit f0bb436796a2d4dc693ec92b73c7abb27d428cda 12536Author: Stuart Bennett <sb476@cam.ac.uk> 12537Date: Sat Jan 19 01:37:34 2008 +0000 12538 12539 INIT_IO opcode 12540 12541 Based on pq's g8x trace 12542 12543commit c1b69fdaa089898821338b14c1f72eda354c2caa 12544Author: Maarten Maathuis <madman2003@gmail.com> 12545Date: Sat Jan 19 19:24:04 2008 +0100 12546 12547 randr12: hide cursor before locking + misc cleanup. 12548 12549commit dfa8901e847e1fbcbcb6de0c0726f53531b15b34 12550Author: Maarten Maathuis <madman2003@gmail.com> 12551Date: Sat Jan 19 16:39:26 2008 +0100 12552 12553 randr12: Remove unneeded vgahw stuff. 12554 12555commit 47452756724007318eb384912c40302b15523998 12556Author: Maarten Maathuis <madman2003@gmail.com> 12557Date: Sat Jan 19 16:29:57 2008 +0100 12558 12559 randr12: Move away from some of the nv_hw wrappers. 12560 12561commit 9e3a2d7c8c36d4dc43396be6b742b6137dfef455 12562Author: Maarten Maathuis <madman2003@gmail.com> 12563Date: Sat Jan 19 15:59:48 2008 +0100 12564 12565 randr12: Remove usage of nvRead/WriteVGA0/1. 12566 12567commit 936e9fe8adb2660cf75959265971c60f378cd7d6 12568Author: Maarten Maathuis <madman2003@gmail.com> 12569Date: Sat Jan 19 11:28:41 2008 +0100 12570 12571 randr12: Some cleanup. 12572 12573 - framebuffer consoles can use most of the normal stuff, so change it back. 12574 - some cursor deobfuscation 12575 12576commit a9bae6ba734882308ac29a9fe2403eaa027bd518 12577Author: Stuart Bennett <sb476@cam.ac.uk> 12578Date: Fri Jan 18 20:49:58 2008 +0000 12579 12580 More detailed modesetting debug (both randr12 and oldstyle) 12581 12582commit a28216639c3cf01d8f7cc85030d69fd58be86ed9 12583Author: Stuart Bennett <sb476@cam.ac.uk> 12584Date: Fri Jan 18 18:10:40 2008 +0000 12585 12586 Remove no longer needed panel quirk 12587 12588commit 59fec415ef32c291363408d5c8a24a2041450434 12589Author: Stuart Bennett <sb476@cam.ac.uk> 12590Date: Fri Jan 18 17:02:32 2008 +0000 12591 12592 Use bios PLL functions on nv4x 12593 12594 And a minor completeness correction 12595 12596commit 7efaf3d97a51d2447310954c9224fd7ec888caf9 12597Author: Maarten Maathuis <madman2003@gmail.com> 12598Date: Fri Jan 18 23:45:51 2008 +0100 12599 12600 randr12: Refine CR4B, anyone know what this does? 12601 12602 - There is more to this register. 12603 12604commit 41646042ab9d9d0c3bc8a76b25a4bff45f039922 12605Author: Stuart Bennett <sb476@cam.ac.uk> 12606Date: Fri Jan 18 16:50:50 2008 +0000 12607 12608 Rerefactor getting pll limits for nv4x 12609 12610commit 174d8f7e015250af4c0b27e044f5088f5465d851 12611Author: Stuart Bennett <sb476@cam.ac.uk> 12612Date: Fri Jan 18 14:24:48 2008 +0000 12613 12614 Use pll limits infrastructure on single stage plls 12615 12616 And add default PLL limits on old cards 12617 12618commit b3ca42d8589bed843ce5e772a1807c4c95377b92 12619Author: Stuart Bennett <sb476@cam.ac.uk> 12620Date: Fri Jan 18 01:47:05 2008 +0000 12621 12622 Don't speculate on the unknown limit field, and call the others log2p, not p 12623 12624commit d9db305e2d4bfb017a8542a7407ad4df27c86121 12625Author: Stuart Bennett <sb476@cam.ac.uk> 12626Date: Fri Jan 18 01:18:42 2008 +0000 12627 12628 Better setPLL_single 12629 12630commit 2a94184112cf06225672ef34836e19723761140a 12631Author: Stuart Bennett <sb476@cam.ac.uk> 12632Date: Fri Jan 18 14:33:01 2008 +0000 12633 12634 Bios parsing safety checks 12635 12636commit 6251f2fa774b913f5622ff9d07f56b2a5b9d1888 12637Author: Maarten Maathuis <madman2003@gmail.com> 12638Date: Fri Jan 18 12:17:50 2008 +0100 12639 12640 Some misc fixes. 12641 12642commit b21789f93c7e7df9db320dea093deab0f1056955 12643Author: Maarten Maathuis <madman2003@gmail.com> 12644Date: Fri Jan 18 09:23:39 2008 +0100 12645 12646 randr12: Actually using SavedReg does tend to help ;-) 12647 12648commit f15ea75b88b68fadb64fdeef75a23329e2a3f903 12649Author: Maarten Maathuis <madman2003@gmail.com> 12650Date: Fri Jan 18 09:13:24 2008 +0100 12651 12652 randr12: Fix a huge gaping hole in NewRestore. 12653 12654 - Restore CR5758 in a better place and actually restore something proper (use SavedReg instead of ModeReg). 12655 - Minor other fix. 12656 12657commit cd427da27d69db000f07ec50d27ca56ded97994e 12658Author: Stuart Bennett <sb476@cam.ac.uk> 12659Date: Thu Jan 17 23:37:23 2008 +0000 12660 12661 Invent a DVI-A output for the DVI-D output, on DCB1.4/1.5 12662 12663commit fbcb57827a1c4ac4b3c7ce66ca935f6b095f020d 12664Author: Stuart Bennett <sb476@cam.ac.uk> 12665Date: Thu Jan 17 22:49:37 2008 +0000 12666 12667 And another DCB 1.4 entry 12668 12669commit a355e5b0dcd5f5c78da20bd07f581b5841b3a2ba 12670Author: Maarten Maathuis <madman2003@gmail.com> 12671Date: Thu Jan 17 22:25:12 2008 +0100 12672 12673 randr12: Forgot to clear a few state variables on restore. 12674 12675commit ba0d0e8571b657b5196d0508347f7641cd7f04cb 12676Author: Stuart Bennett <sb476@cam.ac.uk> 12677Date: Thu Jan 17 20:48:16 2008 +0000 12678 12679 Add me 12680 12681commit 9cfc736ea4b089c74daaf1b0fac6393fec459bc0 12682Author: Stuart Bennett <sb476@cam.ac.uk> 12683Date: Thu Jan 17 20:29:30 2008 +0000 12684 12685 That warning wasn't there a moment ago 12686 12687commit 7eded6883404ce0cff83051497518a99c1d8a832 12688Author: Stuart Bennett <sb476@cam.ac.uk> 12689Date: Thu Jan 17 17:07:24 2008 +0000 12690 12691 Fix for situations with fixed second stage gain and hook code in to init scripts 12692 12693 And make sure bad PLL values are easily seen 12694 12695commit 075a14ac2525b364edc583caac50e03d171f67a7 12696Author: Stuart Bennett <sb476@cam.ac.uk> 12697Date: Thu Jan 17 19:59:55 2008 +0000 12698 12699 PLL limits reg off-by-four is dealt with elsewhere 12700 12701 Also some more imaginative pll limit member naming 12702 and minor get_pll_limits debugging corrections 12703 12704commit a3ef2cb34ad9de4567d30625a3bf87720a5ed8da 12705Author: Stuart Bennett <sb476@cam.ac.uk> 12706Date: Thu Jan 17 17:30:19 2008 +0000 12707 12708 setPLL for nv40 lowreg PLLs 12709 12710commit c3bef786b5291a638791b8a5125b3ff60cf9d1b1 12711Author: Stuart Bennett <sb476@cam.ac.uk> 12712Date: Thu Jan 17 17:30:36 2008 +0000 12713 12714 setPLL for nv40 highreg PLLs 12715 12716commit 996b93cdc73e3d6e581a766cbbf4a29bb34b8eb2 12717Author: Maarten Maathuis <madman2003@gmail.com> 12718Date: Thu Jan 17 18:27:51 2008 +0100 12719 12720 randr12: Some misc fixes. 12721 12722commit aa561c487754210ca22a1fc1d17c54d8e199e7a1 12723Author: Maarten Maathuis <madman2003@gmail.com> 12724Date: Wed Jan 16 22:42:18 2008 +0100 12725 12726 Some misc fixes, mostly related to setting the right crtc for overlay (randr12). 12727 12728commit 276d4e35673bb71410c882badf03550bcee48571 12729Author: Maarten Maathuis <madman2003@gmail.com> 12730Date: Wed Jan 16 08:03:51 2008 +0100 12731 12732 randr12: Fix mode privates again, hopefully ;-) 12733 12734commit f89243e4c2ba33a822b15de9136736f44b4c1579 12735Author: Stuart Bennett <sb476@cam.ac.uk> 12736Date: Wed Jan 16 00:25:08 2008 +0000 12737 12738 Minor reg adjustment 12739 12740commit df0f66750d1d893b2d91b0cfc91ecd4f0a1ba80e 12741Author: Stuart Bennett <sb476@cam.ac.uk> 12742Date: Tue Jan 15 16:30:00 2008 +0000 12743 12744 Refactor pll table parsing 12745 12746 And correct table reg matching on version 0x21 tables, which is off-by-4 12747 12748commit 3171b470f00a11d3528067c7d91e751257aa603c 12749Author: Stuart Bennett <sb476@cam.ac.uk> 12750Date: Tue Jan 15 14:59:49 2008 +0000 12751 12752 Use pll_lims in getMNP_double 12753 12754 Also move quirks elsewhere, and optimize 12755 12756commit 7bc921485c63232fecb59e488ef203166c48c6e1 12757Author: Stuart Bennett <sb476@cam.ac.uk> 12758Date: Tue Jan 15 15:14:46 2008 +0000 12759 12760 Store PLL limit frequencies in kHz, since that's what we use them in 12761 12762commit 51a739771b59a4725e75660b2c8edb54aa763ba5 12763Author: Stuart Bennett <sb476@cam.ac.uk> 12764Date: Tue Jan 15 01:32:25 2008 +0000 12765 12766 Two stage PLL limits parsing corrections 12767 12768 And some corrections to getMNP_double 12769 12770commit 7013116596ce8b065df265f16b3fdb9ac9e3df37 12771Author: Stuart Bennett <sb476@cam.ac.uk> 12772Date: Tue Jan 15 09:53:58 2008 +0000 12773 12774 randr12: Oh no! More pNv->twoHeads 12775 12776commit c7081039bf27aad12e17063d1a9becf160e7ee49 12777Author: Maarten Maathuis <madman2003@gmail.com> 12778Date: Tue Jan 15 21:05:08 2008 +0100 12779 12780 randr12: PrivFlags are not so private, switch to a real mode Private. 12781 12782 - This hopefully fixes the obscure issues people have had these last few days. 12783 12784commit cd14cd8c520361a15f5f8d255171c85810d83033 12785Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 12786Date: Tue Jan 15 20:44:48 2008 +0100 12787 12788 Order the reg ranges, add some. 12789 12790commit 17fa42166fb4e8102cbe880be6021f1145268d16 12791Author: Patrice Mandin <pmandin@caramail.com> 12792Date: Tue Jan 15 18:45:30 2008 +0100 12793 12794 nv30: set VIEWPORT_TX_ORIGIN to 0 for all cards, except real nv30 12795 12796commit 777a3df246feb364d440282db0864fb9b0908872 12797Author: Maarten Maathuis <madman2003@gmail.com> 12798Date: Tue Jan 15 17:52:19 2008 +0100 12799 12800 NV30EXA: Chipset should be masked by 0xFFF0, switch to NVArch while i'm at it. 12801 12802commit b55608bac3f4f909f1ef8380a1ac69ca2f262ea2 12803Author: Maarten Maathuis <madman2003@gmail.com> 12804Date: Tue Jan 15 08:10:46 2008 +0100 12805 12806 randr12: Reenable cvtmode. 12807 12808commit 0db297bb6199878c0f77935acc447c568a87c900 12809Author: Maarten Maathuis <madman2003@gmail.com> 12810Date: Mon Jan 14 22:54:42 2008 +0100 12811 12812 randr12: Undo some changes of the past + always set vpll on modeset. 12813 12814commit 2879f4518e6830cf0b490cde5b4daca3e931383d 12815Author: Patrice Mandin <pmandin@caramail.com> 12816Date: Mon Jan 14 23:26:14 2008 +0100 12817 12818 nv30: Only change VIEWPOR_TX_ORIGIN on real nv30 12819 12820commit 405fd62ee8b56e3b1d6cc78df7ecfa654cd54dec 12821Author: Maarten Maathuis <madman2003@gmail.com> 12822Date: Mon Jan 14 20:17:05 2008 +0100 12823 12824 randr12: "NewRestore" Always reset some state regs after restore. 12825 12826commit 8093b83c3d1393ba225f9def1ce055b04cba5a8f 12827Author: Maarten Maathuis <madman2003@gmail.com> 12828Date: Mon Jan 14 19:29:28 2008 +0100 12829 12830 randr12: "NewRestore" proper depth vs bpp awareness. 12831 12832commit 8733ea89d9acece8721a2ae2d62a68916746c374 12833Author: Stuart Bennett <sb476@cam.ac.uk> 12834Date: Mon Jan 14 18:21:47 2008 +0000 12835 12836 randr12: yet more pre nv10 fixes 12837 12838commit c0d1117782673771b0490fe4d19abd83c6620033 12839Author: Stuart Bennett <sb476@cam.ac.uk> 12840Date: Mon Jan 14 11:54:28 2008 +0000 12841 12842 Possible fix for C51's misaligned regs 12843 12844commit 6ac824446d65a28519f378b3c01b1a6683a14d1b 12845Author: Stuart Bennett <sb476@cam.ac.uk> 12846Date: Sun Jan 13 21:36:53 2008 +0000 12847 12848 randr12: better load detection (enabled) 12849 12850commit ef28e91b24ee34911b3238e681064a95be7afd3a 12851Author: Maarten Maathuis <madman2003@gmail.com> 12852Date: Mon Jan 14 00:48:25 2008 +0100 12853 12854 randr12: We didn't copy the Flags to the adjusted mode, very bad. 12855 12856commit d41d5ae34a7d7f4658a1d86635fb8c59b80a1355 12857Author: Stuart Bennett <sb476@cam.ac.uk> 12858Date: Sun Jan 13 21:35:33 2008 +0000 12859 12860 Be more flexible on init table length 12861 12862commit 4744e5410c27d8bd3c2f92bee4554801639dba29 12863Author: Stuart Bennett <sb476@cam.ac.uk> 12864Date: Sun Jan 13 19:37:28 2008 +0000 12865 12866 More DCB 1.4/1.5 support 12867 12868commit c043b3fa7cf6297e010dfa6fcff24f263b8a8fd8 12869Author: Maarten Maathuis <madman2003@gmail.com> 12870Date: Sun Jan 13 17:09:04 2008 +0100 12871 12872 randr12: Minor fix. 12873 12874commit 3f7f0cab91416f6f4f4378ee6bdabeb9e75cf230 12875Author: Maarten Maathuis <madman2003@gmail.com> 12876Date: Sun Jan 13 16:05:22 2008 +0100 12877 12878 randr12: Some "NewRestore" fixes for framebuffer modes. 12879 12880 - This is mostly it for framebuffer modes. 12881 12882commit d8e7c5068835004741b74577344bd4defad4d139 12883Author: Maarten Maathuis <madman2003@gmail.com> 12884Date: Sun Jan 13 15:05:15 2008 +0100 12885 12886 nvbios: Fix a bmp bug for malc0. 12887 12888commit 5c01f96caa2b3b7223383f37d6903fbcaf3643cd 12889Author: Maarten Maathuis <madman2003@gmail.com> 12890Date: Sun Jan 13 14:12:00 2008 +0100 12891 12892 randr12: Some "NewRestore" fixes. 12893 12894 - Improvements to restoring framebuffer modes, still a few minor bugs to fix. 12895 - VGA modes work partially, i doubt this will make mainline though, since it's fragile. 12896 - This is a work in progress, only for testing. 12897 - Added some other functions to NOUVEAU_MODESET_TRACE. 12898 12899commit 364497a4234410adea25e4e51e0bdb17ccd3ba4a 12900Author: Stuart Bennett <sb476@cam.ac.uk> 12901Date: Sat Jan 12 00:39:59 2008 +0000 12902 12903 randr12: more fixes aimed at nv0x 12904 12905commit ac546e77fe71ffbbc76d9c48c5ab0b6faac832d7 12906Author: Stuart Bennett <sb476@cam.ac.uk> 12907Date: Fri Jan 11 22:05:11 2008 +0000 12908 12909 Remove some nv_bios TODOs and shut up some warnings 12910 12911commit fc04d71de6ec36158040617fb973218a8bdd0903 12912Author: Maarten Maathuis <madman2003@gmail.com> 12913Date: Fri Jan 11 23:23:43 2008 +0100 12914 12915 randr12: Add new experimental restore mode. 12916 12917 - Option "NewRestore" 12918 - Only tested on my 16bpp 1280x1024 vesafb console. 12919 - It may work on text consoles. 12920 - This should eventually replace the somewhat frail restore system that we currently have. 12921 12922commit 361bbe074a0d674012615b05fd3da81e8e1ce34e 12923Author: Maarten Maathuis <madman2003@gmail.com> 12924Date: Fri Jan 11 22:30:14 2008 +0100 12925 12926 randr12: Intermediate commit. 12927 12928commit 3b6e551e1afefe86338ab830505dc08412b2e80b 12929Author: Maarten Maathuis <madman2003@gmail.com> 12930Date: Fri Jan 11 18:59:53 2008 +0100 12931 12932 randr12: Intermediate commit. 12933 12934commit 5a989b23322e6ba1abe6456246300067c3bf42cb 12935Author: Stuart Bennett <sb476@cam.ac.uk> 12936Date: Fri Jan 11 21:33:47 2008 +0000 12937 12938 Tidy up and correct DCB merging 12939 12940commit ec7889a5a0787929c8c8ae08aaf729929c483035 12941Author: Stuart Bennett <sb476@cam.ac.uk> 12942Date: Thu Jan 10 23:44:59 2008 +0000 12943 12944 Fix bios opcode 0x56 and add reg alignment check 12945 12946commit 9b356d08f9169e35bdbff079c3351c475e53ec9b 12947Author: Stuart Bennett <sb476@cam.ac.uk> 12948Date: Fri Jan 11 16:34:28 2008 +0000 12949 12950 randr12: undo overzealous code disablement 12951 12952commit 44295b59f57be8956a5226415b5fdfbf49e175c1 12953Author: Stuart Bennett <sb476@cam.ac.uk> 12954Date: Fri Jan 11 12:28:16 2008 +0000 12955 12956 randr12: twoHeads and other fixes for pre nv10 (nv_crtc.c) 12957 12958commit 80fa1e1aef1b093b0310c51817ee9685e4d9d251 12959Author: Stuart Bennett <sb476@cam.ac.uk> 12960Date: Fri Jan 11 11:16:21 2008 +0000 12961 12962 randr12: some tidyup to output save/restore functions, and some twoHeads fixes 12963 12964commit 04f64725b5784ecfd7a5c3218d4710c2ad0f7f0f 12965Author: Stuart Bennett <sb476@cam.ac.uk> 12966Date: Fri Jan 11 11:20:45 2008 +0000 12967 12968 randr12: tidy up dpms functions 12969 12970 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 12971 12972commit cc6794abb637e5ac8c98d7c6385bd36aa43d1ebc 12973Author: Stuart Bennett <sb476@cam.ac.uk> 12974Date: Thu Jan 10 20:25:50 2008 +0000 12975 12976 randr12: use clocks in kHz throughout 12977 12978commit 8337b77b40da9c3bba106837b4553433fa4e8a76 12979Author: Stuart Bennett <sb476@cam.ac.uk> 12980Date: Thu Jan 10 19:09:16 2008 +0000 12981 12982 The bios transition freq is in 10s kHz - so x10 12983 12984commit d65f59144f8a79116bca2f09de41d5786a7a4f84 12985Author: Maarten Maathuis <madman2003@gmail.com> 12986Date: Thu Jan 10 18:50:47 2008 +0100 12987 12988 randr12: Some minor things for supporting vga modes (in the future). 12989 12990commit 0e646b0332b52e23ef13301765f7f1e8f881e165 12991Author: Maarten Maathuis <madman2003@gmail.com> 12992Date: Thu Jan 10 17:41:39 2008 +0100 12993 12994 randr12: Intermediate commit. 12995 12996commit a5122460cfa07d45cf91ae112db9170fecee6966 12997Author: Stuart Bennett <sb476@cam.ac.uk> 12998Date: Thu Jan 10 16:21:49 2008 +0000 12999 13000 Remove weirdo special case handling on bios reg writes 13001 13002 I don't think these ever get used, and the code only seems to be on gf6 anyway 13003 13004commit 31b1a894079ca3983d17ac7a81d6ecd420f7d377 13005Author: Stuart Bennett <sb476@cam.ac.uk> 13006Date: Thu Jan 10 14:14:24 2008 +0000 13007 13008 randr12: dtrt wrt dual link on lvds when !straps 13009 13010commit e02d2cc8b77443fde4e267ce4d9691ed680eef01 13011Author: Stuart Bennett <sb476@cam.ac.uk> 13012Date: Thu Jan 10 12:03:43 2008 +0000 13013 13014 randr12: improve setting of fp_control 13015 13016commit d8eb924a43576c0e360965a43f5363d0ba2aecd0 13017Author: Arthur Huillet <arthur.huillet@free.fr> 13018Date: Thu Jan 10 12:03:30 2008 +0100 13019 13020 Xv: cleanup. 13021 13022commit 1f727083cfafa9097ed98266420a2fd16905ae10 13023Author: Stuart Bennett <sb476@cam.ac.uk> 13024Date: Thu Jan 10 00:12:52 2008 +0000 13025 13026 randr12: enable LVDS and refactor output creation 13027 13028 Heavily based on initial patch by seventhguardian 13029 13030commit c08c6de0f452c7f5cd1bac8bf974aaac872c8e2c 13031Author: Stuart Bennett <sb476@cam.ac.uk> 13032Date: Wed Jan 9 16:18:30 2008 +0000 13033 13034 deifdefication - we requre xserver 1.3, so randr 1.2 is guaranteed 13035 13036commit 1556144a1af3c89eaa14cbfe8bdc9dc966fef8be 13037Author: Stuart Bennett <sb476@cam.ac.uk> 13038Date: Wed Jan 9 15:47:50 2008 +0000 13039 13040 randr12: optimize away excessive LVDS_RESETing 13041 13042commit 55e6750038edd7010ae8304fe3c3b4ac9e7b963c 13043Author: Maarten Maathuis <madman2003@gmail.com> 13044Date: Wed Jan 9 22:08:49 2008 +0100 13045 13046 randr12: Fix minor bug, related to output resource conflicts. 13047 13048commit c1fe3766bd181d9ed273850e6c0d1939c0efc8aa 13049Author: Maarten Maathuis <madman2003@gmail.com> 13050Date: Wed Jan 9 20:20:03 2008 +0100 13051 13052 randr12: Reset crtc when changing output routes. 13053 13054commit 01b9a081c288c69fa0bbc0d3829a0026796e731a 13055Author: Maarten Maathuis <madman2003@gmail.com> 13056Date: Wed Jan 9 19:30:17 2008 +0100 13057 13058 randr12: Don't change vpll's twice on restore. 13059 13060commit 3643b2635dcaba3e6ec969a3cd6eda43623c8992 13061Author: Stuart Bennett <sb476@cam.ac.uk> 13062Date: Wed Jan 9 15:12:30 2008 +0000 13063 13064 Detect an LVDS panel if there's a hardcoded EDID 13065 13066commit 64d8032c419ef8cf14cdf3f83228d3e0f5714909 13067Author: Stuart Bennett <sb476@cam.ac.uk> 13068Date: Wed Jan 9 15:11:24 2008 +0000 13069 13070 If no PROM, and no PRAMIN, use the PCI rom image 13071 13072commit 99a64d31979a8c83ac9d52fabe3114c576c94bba 13073Author: Stuart Bennett <sb476@cam.ac.uk> 13074Date: Tue Jan 8 22:58:37 2008 +0000 13075 13076 fp bios edid oops commit 13077 13078commit b470cf257433dad174d62cdbd4331ada2809334e 13079Author: Maarten Maathuis <madman2003@gmail.com> 13080Date: Tue Jan 8 23:54:51 2008 +0100 13081 13082 randr12: More fixes for strange output routes. 13083 13084commit cfbdbd6ac846af79d9ddf2b4597736cba74d5916 13085Author: Stuart Bennett <sb476@cam.ac.uk> 13086Date: Tue Jan 8 20:57:10 2008 +0000 13087 13088 randr12: try to use bios fp edid, if nothing else works 13089 13090commit d4e4892244c90b481bfd8c6d28d2390fe696e160 13091Author: Stuart Bennett <sb476@cam.ac.uk> 13092Date: Tue Jan 8 20:07:10 2008 +0000 13093 13094 Read EDID from BIOS if appropriate 13095 13096commit 6fab536aa13b8639d9b419a37fccfb30a4313b77 13097Author: Stuart Bennett <sb476@cam.ac.uk> 13098Date: Tue Jan 8 16:18:09 2008 +0000 13099 13100 Darktama's C51 is a mobile card 13101 13102commit 921f2e226ccbe7468cc8e51919872c3e8cf28c4e 13103Author: Stuart Bennett <sb476@cam.ac.uk> 13104Date: Tue Jan 8 15:37:51 2008 +0000 13105 13106 BIT cards use the init scripts to do the power sequencing 13107 13108commit 33ea2cdef8c46ee9837b6fc9809df82d4bdca339 13109Author: Maarten Maathuis <madman2003@gmail.com> 13110Date: Tue Jan 8 22:36:12 2008 +0100 13111 13112 randr12: Small fix for NV3x, more will be needed. 13113 13114commit 175b91d48644bdbfc4e48f4c2fe6c9cf936802b5 13115Author: Maarten Maathuis <madman2003@gmail.com> 13116Date: Tue Jan 8 20:23:38 2008 +0100 13117 13118 randr12: Fix reverse pll reading code for NV30. 13119 13120commit 4add8cfb68404e9e2764451c4e48ab4d0cf04482 13121Author: Maarten Maathuis <madman2003@gmail.com> 13122Date: Tue Jan 8 19:07:50 2008 +0100 13123 13124 randr12: Some minor things for NV30. 13125 13126commit 74b03f7d4f5506222b6a95ccf8b5c9e0ff69e4dc 13127Author: Stuart Bennett <sb476@cam.ac.uk> 13128Date: Tue Jan 8 13:52:00 2008 +0000 13129 13130 Assorted small bios/randr12 bits and pieces 13131 13132 Make bios execution a bit faster 13133 Better self documenting code for DCB dual link criterion 13134 Tidy up some ineffectual LVDS mode code 13135 13136commit 76f3c47736661df86490b0d133ac82c371cab73d 13137Author: Maarten Maathuis <madman2003@gmail.com> 13138Date: Mon Jan 7 23:38:08 2008 +0100 13139 13140 randr12: Handle NV30 vpll's correctly. 13141 13142 - This only concerns the real NV30, not the other NV3x cards. 13143 13144commit 1a25def0a64ac6437c6ba5f51ddb8743d4a88d00 13145Author: Maarten Maathuis <madman2003@gmail.com> 13146Date: Mon Jan 7 19:06:16 2008 +0100 13147 13148 randr12: Clear dpms cache when needed. 13149 13150commit 3f0008128e2afd2b1a1b595829c6324e46a4bf1d 13151Author: Arthur Huillet <arthur.huillet@free.fr> 13152Date: Mon Jan 7 19:03:53 2008 +0100 13153 13154 Xv: overlay BW workaround applied to NV40 as well 13155 13156commit d5dabd8c316371605d81be55a5c6c82e6351b591 13157Author: Arthur Huillet <arthur.huillet@free.fr> 13158Date: Mon Jan 7 19:01:07 2008 +0100 13159 13160 Xv: removed useless #includes 13161 13162commit 510f3575df87733857dbb5bfe398ce04aebadfd4 13163Author: Arthur Huillet <arthur.huillet@free.fr> 13164Date: Mon Jan 7 17:13:43 2008 +0100 13165 13166 Xv: added NV04 overlay brightness attribute. Original patch by Andrew Randrianasulu 13167 13168commit a71de657e1e2718800ef1c319dab5dafcc9ea0cd 13169Author: Ben Skeggs <skeggsb@gmail.com> 13170Date: Tue Jan 8 02:18:59 2008 +1100 13171 13172 avoid symbol clash with 3d driver. 13173 13174commit 0463dc0682fb192ce82037601289f75913f65e3c 13175Author: Ben Skeggs <skeggsb@gmail.com> 13176Date: Tue Jan 8 02:16:26 2008 +1100 13177 13178 nv50: support hostdata UTS 13179 13180commit 9fb186c57bdad07281f1a0bdebac98a4b18dc6e3 13181Author: Ben Skeggs <skeggsb@gmail.com> 13182Date: Mon Jan 7 18:33:03 2008 +1100 13183 13184 nv50: small fix 13185 13186commit b679d6a8539403f075a57d882bb4d0eb33b180d9 13187Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13188Date: Mon Jan 7 02:39:19 2008 +0100 13189 13190 nv40 video texture: sometimes less is more. 13191 13192commit b9a364a985bb23ee30dc094ba13e19ea2f4f6bdf 13193Author: Maarten Maathuis <madman2003@gmail.com> 13194Date: Sun Jan 6 20:44:56 2008 +0100 13195 13196 NV40EXA: Remove stair shaped tearing i get. 13197 13198commit 80ac301acaf8dba6a93f5b04b97f8dca2748b92c 13199Author: Pierre Ossman <drzeus@drzeus.cx> 13200Date: Sun Jan 6 20:04:10 2008 +0100 13201 13202 We do not get a valid CRTC configuration structure if we're not using RandR 1.2, 13203 so make sure we can handle the old mode with some form of grace. 13204 13205 Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> 13206 13207commit f1aaf3fe616f5a0633e685867cf33b37f2c3f07b 13208Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13209Date: Sun Jan 6 19:14:03 2008 +0100 13210 13211 nv40 video texture: bilinear filtering for UV. 13212 13213commit 57fc0631428f29af0d24036c939826349e3018b5 13214Author: Arthur Huillet <arthur.huillet@free.fr> 13215Date: Sun Jan 6 17:41:50 2008 +0100 13216 13217 Xv: overlay auto CRTC switch with randr12, blitter fallback 13218 13219 Now switching the overlay to the right CRTC when displaying video with the overlay and dual head, with a nice fallback 13220 to the blitter when the window is on both CRTCs. 13221 Fixed a bug preventing the overlay from working on CRTC1. 13222 13223commit b6ba53ee1cbda5cb91e43ae6b84e1737ebc367f4 13224Author: Jeremy Kolb <jkolb@glorfindel.hsd1.ma.comcast.net> 13225Date: Sun Jan 6 12:58:45 2008 -0500 13226 13227 port "G80: Reduce load detection false positives." from xf86-video-nv commit d483ecd851bb84014f1fa86f0ada4540b3ad801e 13228 13229commit b4fa9b060308090f4bab3f8716f7e2ecaf234be7 13230Author: Jeremy Kolb <jkolb@glorfindel.hsd1.ma.comcast.net> 13231Date: Sun Jan 6 12:51:55 2008 -0500 13232 13233 Return NULL not FALSE. 13234 13235commit 47dde8283bcc409037682098cad8f0a0c3f9e3b2 13236Author: Pierre Ossman <drzeus@drzeus.cx> 13237Date: Sun Jan 6 17:48:48 2008 +0100 13238 13239 Xv: don't wait for vblank on CRTC0 _and_ CRTC1 13240 13241commit c8a9b4d0c2145d13c74a00cb24e1310e247a2718 13242Author: Pierre Ossman <drzeus@drzeus.cx> 13243Date: Sun Jan 6 17:45:37 2008 +0100 13244 13245 wait for correct crtc vsync 13246 13247 Make sure we wait for the CRTC that will actually display the video 13248 frame we're blitting. 13249 13250commit 25fac91dfc7072405243d2891f9ec1f0cef49a3d 13251Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13252Date: Sun Jan 6 16:20:43 2008 +0100 13253 13254 Switch to latest nouveau_class.h 13255 13256commit bc82548514daab356fe0e0ee942ff75018fbc383 13257Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13258Date: Sun Jan 6 16:19:50 2008 +0100 13259 13260 Use clamp to edge to avoid the thin black lines. 13261 13262commit acaf2501d17030097761b3f8d369f14874261f6d 13263Author: Maarten Maathuis <madman2003@gmail.com> 13264Date: Sun Jan 6 13:17:49 2008 +0100 13265 13266 randr12: Some fixes for NV31M. 13267 13268commit 7b1521c263511016538286806f54221721c60608 13269Author: Maarten Maathuis <madman2003@gmail.com> 13270Date: Sat Jan 5 19:43:08 2008 +0100 13271 13272 randr12: NV11 and NV20 stop at CR52. 13273 13274commit 9441ca0fd579cb648577f107777236d22a2b1ead 13275Author: Maarten Maathuis <madman2003@gmail.com> 13276Date: Sat Jan 5 19:32:32 2008 +0100 13277 13278 randr12: NV11 and NV20 don't have CR57 and CR58. 13279 13280commit 8f520754459c363313353605207f7598e259ea77 13281Author: Maarten Maathuis <madman2003@gmail.com> 13282Date: Sat Jan 5 18:54:14 2008 +0100 13283 13284 Add a missing function to NOUVEAU_MODESET_TRACE. 13285 13286commit d5bf6a0149dc80d5d76ab8857415d20b42188656 13287Author: Stuart Bennett <sb476@cam.ac.uk> 13288Date: Sat Jan 5 17:22:33 2008 +0000 13289 13290 randr12: fix PLL breaking typo 13291 13292commit 21f02f5f248bce5f49e0fcee5594c83155b532b5 13293Author: Stuart Bennett <sb476@cam.ac.uk> 13294Date: Sat Jan 5 03:10:21 2008 +0000 13295 13296 Need to restore EXTDEV before fp table parsing 13297 13298 and a nice hwsq message 13299 13300commit 4e4819f6722a120d3a22eb9829fe73780a0c1087 13301Author: Maarten Maathuis <madman2003@gmail.com> 13302Date: Sat Jan 5 18:30:08 2008 +0100 13303 13304 randr12: Minor cleanup. 13305 13306commit 758e1cf14d61725d69ca75b7268f22e11a32a5ba 13307Author: Maarten Maathuis <madman2003@gmail.com> 13308Date: Sat Jan 5 18:27:10 2008 +0100 13309 13310 randr12: Fix a thinko, generate data before restoring, not at the beginning. 13311 13312commit f315ce85fa33894767892772c1e7a0966150ba6b 13313Author: Maarten Maathuis <madman2003@gmail.com> 13314Date: Sat Jan 5 14:05:55 2008 +0100 13315 13316 randr12: Some NV40 quirks. 13317 13318commit 08b1a2622708be9f714c27fd31372e28277d7c5b 13319Author: Maarten Maathuis <madman2003@gmail.com> 13320Date: Sat Jan 5 13:03:40 2008 +0100 13321 13322 randr12: Small quirk for NV11. 13323 13324commit 73101dbcfac68688914e2a3f46008ddd69d0dc62 13325Author: Stuart Bennett <sb476@cam.ac.uk> 13326Date: Sat Jan 5 02:46:52 2008 +0000 13327 13328 Load NV17 power sequencing microcode 13329 13330commit 2ec6cf4a6e59b861c1672471872fc4ca75cfce27 13331Author: Maarten Maathuis <madman2003@gmail.com> 13332Date: Sat Jan 5 01:22:42 2008 +0100 13333 13334 randr12: Cache dpms calls to avoid unnecesary blinking and such. 13335 13336commit 4f586ac169e7acd0e0bfa4139bd74e718d7598e2 13337Author: Arthur Huillet <arthur.huillet@free.fr> 13338Date: Sat Jan 5 01:38:52 2008 +0200 13339 13340 Xv: linearly interpolate U and V samples when converting from YV12 to YUY2 13341 13342 Original patch by ahuillet, pq did one last fix. 13343 13344commit 5f1a721070c20a4287d17a8797ef1aabe19a579e 13345Author: Stuart Bennett <sb476@cam.ac.uk> 13346Date: Fri Jan 4 17:59:54 2008 +0000 13347 13348 More DCB 1.4/1.5 fixes 13349 13350commit 95485646eb61aaa84a8d3b6550552ab417be8e16 13351Author: Maarten Maathuis <madman2003@gmail.com> 13352Date: Fri Jan 4 18:33:31 2008 +0100 13353 13354 randr12: Forgot to switch to vpll1_a, etc in one place. 13355 13356commit c43bb4990f44d50d91785f8c9860e27c3357c0a3 13357Author: Stuart Bennett <sb476@cam.ac.uk> 13358Date: Fri Jan 4 01:14:40 2008 +0000 13359 13360 randr12: fix BIT bios LVDS dpms 13361 13362commit 5d9e42bbb5878f52cf7fd6d96532253d868b2a27 13363Author: Stuart Bennett <sb476@cam.ac.uk> 13364Date: Fri Jan 4 13:26:38 2008 +0000 13365 13366 Better guesses at DCB 1.4/1.5 13367 13368commit 73da4362cd7e2918bd066528a9feb157019edb5e 13369Author: Maarten Maathuis <madman2003@gmail.com> 13370Date: Fri Jan 4 11:54:27 2008 +0100 13371 13372 randr12: Remove unnecesary usleep. 13373 13374 - I once did this thinking it may solve a bug, but it turned out a palette issue. 13375 13376commit c35f532fdee6141e871560f8a400040c2eb82891 13377Author: Maarten Maathuis <madman2003@gmail.com> 13378Date: Fri Jan 4 11:43:16 2008 +0100 13379 13380 NV40: Improve VCO2 detection in nvGetClocks() 13381 13382commit 9369c03788d7410150044d2e3a83f0bcb876af42 13383Author: Maarten Maathuis <madman2003@gmail.com> 13384Date: Fri Jan 4 11:39:37 2008 +0100 13385 13386 randr12: Improve speed of mode switches. 13387 13388 - Moved pre-NV40 to vpll1_a, vpll1_b, etc variables. 13389 - Only change vpll when needed. 13390 13391commit ec0fe5294fdee7a79e9bfaf21ea42cfd3f52ec75 13392Author: Stuart Bennett <sb476@cam.ac.uk> 13393Date: Fri Jan 4 02:31:21 2008 +0000 13394 13395 Infra for regs stored over suspend and a sort-of implementation of INIT_COMPUTE_MEM 13396 13397commit 786e133577edcf91b519dd8dede24250ec6fdcdf 13398Author: Stuart Bennett <sb476@cam.ac.uk> 13399Date: Thu Jan 3 02:21:35 2008 +0000 13400 13401 Better bios register read function prototype and a ReadEXTDEV purge 13402 13403commit 951f95ba553f301de2a540ef67cf04152cf72344 13404Author: Stuart Bennett <sb476@cam.ac.uk> 13405Date: Thu Jan 3 00:52:12 2008 +0000 13406 13407 Refactor NVParseBios 13408 13409commit 8b82f24e8a526c0483120f9979a3b9370da3b297 13410Author: Stuart Bennett <sb476@cam.ac.uk> 13411Date: Thu Jan 3 00:32:24 2008 +0000 13412 13413 Revert "randr12: LVDS screens use center mode." 13414 13415 This reverts commit 1142b15c56a0b9dab8b929fc196a825815457374. 13416 13417 They don't, necessarily 13418 13419commit 876d7b11c754dd66738bcc26a07e0d707b81a99f 13420Author: Maarten Maathuis <madman2003@gmail.com> 13421Date: Thu Jan 3 22:45:00 2008 +0100 13422 13423 NV40: Handle broken VCO2 values. 13424 13425commit 50eb355e44017a51636c1e7b8c140bc3b48813af 13426Author: Maarten Maathuis <madman2003@gmail.com> 13427Date: Thu Jan 3 22:36:04 2008 +0100 13428 13429 NV40: A better attempt at YUV->RGB conversion constants + remove vblank sync. 13430 13431 - The vblank sync didn't work (made things worse actually), someone needs to reverse engineer the proper way for the 3d engine. 13432 13433commit 22cdfec9b0858c186ab37ff649248a2a825eb513 13434Author: Maarten Maathuis <madman2003@gmail.com> 13435Date: Thu Jan 3 12:48:43 2008 +0100 13436 13437 NV40: Avoid a SIGFPE in nvGetClocks() when VCO2 is off. 13438 13439commit 5015e2cefcf2069ee0054c433c7ae1763d2f95eb 13440Author: Maarten Maathuis <madman2003@gmail.com> 13441Date: Thu Jan 3 12:37:10 2008 +0100 13442 13443 NV40: Actually add the attribute. 13444 13445commit 5b60344486c8ddeba28204dbea6f1e11704cf951 13446Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 13447Date: Thu Jan 3 05:56:23 2008 +0100 13448 13449 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. 13450 13451commit f7a356250a9a0cb214dbb1871696506c04fab946 13452Author: Maarten Maathuis <madman2003@gmail.com> 13453Date: Wed Jan 2 12:15:21 2008 +0100 13454 13455 randr12: Hopefully these were all the function declerations that need updating. 13456 13457 - Build didn't even show any errors, so that's why i missed them. 13458 13459commit aa608573918ed34968054fb5a93b11fc5c8aa1a8 13460Author: Maarten Maathuis <madman2003@gmail.com> 13461Date: Wed Jan 2 00:19:12 2008 +0100 13462 13463 Dump some CARD8 and CARD32 in favour of uintX_t. 13464 13465commit b44af66323b622411d5ffa4a78a210abefdb1e2f 13466Author: Maarten Maathuis <madman2003@gmail.com> 13467Date: Tue Jan 1 22:38:34 2008 +0100 13468 13469 randr12: Small fix for NV4x cards with strange output routes. 13470 13471commit 6b204d5ef3ff61236ef86eadcc7e137a722aef72 13472Author: Maarten Maathuis <madman2003@gmail.com> 13473Date: Tue Jan 1 21:51:31 2008 +0100 13474 13475 randr12: Improve output routing. 13476 13477commit 64546788e50ae3482698f9505869e06f727c0e50 13478Author: Maarten Maathuis <madman2003@gmail.com> 13479Date: Tue Jan 1 21:07:36 2008 +0100 13480 13481 randr12: Really hopefully fix output resource conflict detection now. 13482 13483commit b71a52ae9689026e7d96d2c2752eec0c9854b0c3 13484Author: Maarten Maathuis <madman2003@gmail.com> 13485Date: Tue Jan 1 20:38:24 2008 +0100 13486 13487 randr12: Hopefully fix output resource conflict detection. 13488 13489commit 9ac2765ff13f82746991c85649f45c13475e851d 13490Author: Maarten Maathuis <madman2003@gmail.com> 13491Date: Tue Jan 1 19:41:07 2008 +0100 13492 13493 Forgot the NOUVEAU_EXA_PIXMAPS case. 13494 13495commit 53565fc3e854abc0b5e7614da251024a60ddfd9e 13496Author: Maarten Maathuis <madman2003@gmail.com> 13497Date: Tue Jan 1 19:36:28 2008 +0100 13498 13499 Stricter alignment requirements for offscreenBase, to avoid framebuffer corruption. 13500 13501commit c9cedb7712719e3dee450245ebeb7db18cd40770 13502Author: Maarten Maathuis <madman2003@gmail.com> 13503Date: Tue Jan 1 17:36:20 2008 +0100 13504 13505 randr12: Time to let some routing insanity die. 13506 13507 - I hope nvidia is just crazy sometimes when setting CRTC1 on both output resources. 13508 - Or is it some override used on load detect? 13509 13510commit 9f1494ebf1ec1957f362366ab4abfc31c2227092 13511Author: Maarten Maathuis <madman2003@gmail.com> 13512Date: Tue Jan 1 17:28:41 2008 +0100 13513 13514 randr12: Always set bit 26 in FP_DEBUG_0 if already present. 13515 13516commit a83c71244b8dceb2cac968195777636bd5c5f639 13517Author: Maarten Maathuis <madman2003@gmail.com> 13518Date: Tue Jan 1 17:01:19 2008 +0100 13519 13520 randr12: Minor tweak to flatpanel regs. 13521 13522commit afe174cd57173c22011718d3290db5d939076ce6 13523Author: Maarten Maathuis <madman2003@gmail.com> 13524Date: Tue Jan 1 14:25:54 2008 +0100 13525 13526 Remove AM_MAINTAINER_MODE from configure.ac 13527 13528commit ef1a613e0f1a1fffb54a50fd14c10069ed9eac4b 13529Author: Maarten Maathuis <madman2003@gmail.com> 13530Date: Mon Dec 31 20:24:41 2007 +0100 13531 13532 randr12: Fix a bug in an earlier commit. 13533 13534 - This was local, but i wanted to keep some things seperate. 13535 13536commit 01313e3dca07615fa3b2a2b09f6d45489cc8d796 13537Author: Maarten Maathuis <madman2003@gmail.com> 13538Date: Mon Dec 31 20:15:03 2007 +0100 13539 13540 randr12: Add a quirk for 1280x800 panel on 7300go. 13541 13542commit 78bf63088d5805762460801c59f0f93b43ec96a7 13543Author: Maarten Maathuis <madman2003@gmail.com> 13544Date: Mon Dec 31 19:34:33 2007 +0100 13545 13546 randr12: Duplicate native modes, to avoid hitting an invalid pointer. 13547 13548commit 83aad1ad6e8a5e48ee91346b4c7037ddc8456a73 13549Author: Maarten Maathuis <madman2003@gmail.com> 13550Date: Mon Dec 31 18:57:49 2007 +0100 13551 13552 randr12: Set the adjusted mode in output code. 13553 13554commit 23d9d05a68cf2eac51b500d48d31bae3b484bbe8 13555Author: Maarten Maathuis <madman2003@gmail.com> 13556Date: Mon Dec 31 14:20:41 2007 +0100 13557 13558 randr12: Deal with output resources in a better way. 13559 13560commit a4d973214158efa90a1a23da879630d2b53ad313 13561Author: Maarten Maathuis <madman2003@gmail.com> 13562Date: Mon Dec 31 13:18:16 2007 +0100 13563 13564 randr12: Disable crt load detect again, until i know how to use it properly. 13565 13566commit 59346e15688186b4c00ee5348413ae8312ac9a30 13567Author: Maarten Maathuis <madman2003@gmail.com> 13568Date: Sun Dec 30 19:11:48 2007 +0100 13569 13570 Revert "randr12: Another quirk for the 7300GO cards." 13571 13572 This reverts commit 2f2921e6c33a0482f1f30e4d69820dc82690310a. 13573 It was unneeded after all. 13574 13575commit 2f2921e6c33a0482f1f30e4d69820dc82690310a 13576Author: Maarten Maathuis <madman2003@gmail.com> 13577Date: Sun Dec 30 17:07:13 2007 +0100 13578 13579 randr12: Another quirk for the 7300GO cards. 13580 13581commit 642baacdab215f6ad7173757b8d7e00f716d6dbe 13582Author: Maarten Maathuis <madman2003@gmail.com> 13583Date: Sun Dec 30 16:44:23 2007 +0100 13584 13585 randr12: Fix quad view on some 7300GO cards. 13586 13587commit df36ea6d9cd2a22b51a0386bbfe4f6760ed98d97 13588Author: Maarten Maathuis <madman2003@gmail.com> 13589Date: Sun Dec 30 15:01:47 2007 +0100 13590 13591 Add some headerfiles to Makefile.am 13592 13593commit 29851581b2420570efd4fca2d4f6a19113ea6947 13594Author: Maarten Maathuis <madman2003@gmail.com> 13595Date: Sun Dec 30 13:35:47 2007 +0100 13596 13597 randr12: Only load palette's when appropriate. 13598 13599commit c3359789d8f288b403aedbcdfa8795391fc13deb 13600Author: Maarten Maathuis <madman2003@gmail.com> 13601Date: Sun Dec 30 13:26:24 2007 +0100 13602 13603 NV40: Some fixes and safeties. 13604 13605commit a7c922b58af72e3a48b92056c2fcd71c22477c2f 13606Author: Maarten Maathuis <madman2003@gmail.com> 13607Date: Sun Dec 30 11:36:10 2007 +0100 13608 13609 NV40: Fix some comments and a damage reporting bug. 13610 13611commit b6cd9964f9c20c40eda4283a93e447601beddb96 13612Author: Maarten Maathuis <madman2003@gmail.com> 13613Date: Sun Dec 30 02:31:38 2007 +0100 13614 13615 NV40: Fix the texturing adapter when not rendering offscreen. 13616 13617 - Now clip restrictions are taken into consideration. 13618 - No streching when clipping the border of a screen anymore. 13619 13620commit 4efdd1b560228aae7f6f5d6ed549461f8fdf0d00 13621Author: Maarten Maathuis <madman2003@gmail.com> 13622Date: Sat Dec 29 22:34:32 2007 +0100 13623 13624 randr12: Minor cleanup. 13625 13626commit 5af6cd8dea2fa51b362201961191a17b0813fa30 13627Author: Maarten Maathuis <madman2003@gmail.com> 13628Date: Sat Dec 29 21:46:18 2007 +0100 13629 13630 randr12: Micro cleanup. 13631 13632commit 4f91dd1ae08d348b2977b8ede0908ddd2add1cb4 13633Author: Maarten Maathuis <madman2003@gmail.com> 13634Date: Sat Dec 29 20:15:25 2007 +0100 13635 13636 NVBIOS: Fix duallink detection. 13637 13638commit 559a640a542a89238afba02a78cf6399b8edc2fc 13639Author: Maarten Maathuis <madman2003@gmail.com> 13640Date: Sat Dec 29 19:34:12 2007 +0100 13641 13642 randr12: Do not remove bits in DITHER register. 13643 13644commit 4b980011742a6fa0bdeb312a7b367d6a56675fcb 13645Author: Maarten Maathuis <madman2003@gmail.com> 13646Date: Sat Dec 29 15:09:08 2007 +0100 13647 13648 NV40: Preliminary Xv Texture Adaptor. 13649 13650 - Only supports YV12. 13651 - No attributes. 13652 - Only the Y component gets bilinear filtering. 13653 - You're welcome to improve it ;-) 13654 13655commit a4c045aa14b471fcfe29cdbec0cd846b2c5be2a6 13656Author: Peter Winters <peter@whoei.org> 13657Date: Sat Dec 29 12:15:40 2007 +0100 13658 13659 Xv: nforce2 overlay can do yv12 13660 13661commit 1142b15c56a0b9dab8b929fc196a825815457374 13662Author: Maarten Maathuis <madman2003@gmail.com> 13663Date: Fri Dec 28 21:11:49 2007 +0100 13664 13665 randr12: LVDS screens use center mode. 13666 13667commit 8215e970445d99312c8fbbc31944466f70f3e186 13668Author: Andrew Randrianasulu <randrianasulu@yahoo.com> 13669Date: Fri Dec 28 20:59:17 2007 +0100 13670 13671 Fix IFC on nv4/5 by using the proper object. 13672 13673commit c6ae3fe9f077c38f616fd3ad07275dcf8cb65bbc 13674Author: Stuart Bennett <sb476@cam.ac.uk> 13675Date: Fri Dec 28 05:45:10 2007 +0000 13676 13677 Make sure the CRTC regs are unlocked when doing bios init 13678 13679 Also make the single stage PLL setter less exploitable by the whims of the hardware 13680 13681commit bb467ad4baa30fc46a05bbce11d6aa4e3dac89a9 13682Author: Stuart Bennett <sb476@cam.ac.uk> 13683Date: Fri Dec 28 08:23:17 2007 +0000 13684 13685 Fake a DCB entry for cards from the pre-DCB era 13686 13687 Also, drop DCB parsing to after the init parsing again; having an INIT_TMDS in 13688 the init scripts would be silly (the original reason for bumping DCB parsing up) 13689 13690commit cdfe4fef9bd7d0a69d9ba19a79779152baef5489 13691Author: Stuart Bennett <sb476@cam.ac.uk> 13692Date: Fri Dec 28 07:36:58 2007 +0000 13693 13694 Madness. Bios parsing for NV05 13695 13696commit d4e12684617d07dc859e774f3eff9b944bc4c89e 13697Author: Maarten Maathuis <madman2003@gmail.com> 13698Date: Thu Dec 27 20:01:14 2007 +0100 13699 13700 randr12: Minor change. 13701 13702commit ab9dc943dd5036545e3396868c0332e9b727f31f 13703Author: Maarten Maathuis <madman2003@gmail.com> 13704Date: Thu Dec 27 19:50:27 2007 +0100 13705 13706 randr12: Small change. 13707 13708commit 66d343ad594f1019eb8f4d23308eb97dd1bbd94d 13709Author: Maarten Maathuis <madman2003@gmail.com> 13710Date: Thu Dec 27 19:25:00 2007 +0100 13711 13712 randr12: minor change 13713 13714commit cf5072e0c1d9dbee4f22ef190082aa1db78dbb0d 13715Author: Maarten Maathuis <madman2003@gmail.com> 13716Date: Thu Dec 27 18:37:30 2007 +0100 13717 13718 randr12: Undo unnecesary change. 13719 13720commit a7c643601073de5a63f718ddcdc9eb9f4873f2bf 13721Author: Maarten Maathuis <madman2003@gmail.com> 13722Date: Thu Dec 27 17:12:17 2007 +0100 13723 13724 randr12: Some fixes for LVDS and an odd 7300GO. 13725 13726commit b17f8ca13604f6b085b474219843d740b31918e8 13727Author: Stuart Bennett <sb476@cam.ac.uk> 13728Date: Wed Dec 26 20:59:36 2007 +0000 13729 13730 Fix the setPLL optional code to actually compile 13731 13732commit 05b929ccd9c7cd50f60b84bf987fc5220ee83008 13733Author: Stuart Bennett <sb476@cam.ac.uk> 13734Date: Wed Dec 26 21:31:16 2007 +0000 13735 13736 Fix up getting modes for both TMDS and LVDS 13737 13738commit ba92eb062aaf8b53c7f5c1858eb876d3e2f9af3e 13739Author: Maarten Maathuis <madman2003@gmail.com> 13740Date: Wed Dec 26 21:21:15 2007 +0100 13741 13742 randr12: Remove this, since it's not essential and can cause problems. 13743 13744commit 150d3362c5e0a300c35f1cb0c7da0c98cdd6b4de 13745Author: Maarten Maathuis <madman2003@gmail.com> 13746Date: Wed Dec 26 20:28:43 2007 +0100 13747 13748 randr12: Some minor fixed for dvi and lvds. 13749 13750commit 076f86dd67d6e69bd7d2a68f372cbbbb35785a3c 13751Author: Maarten Maathuis <madman2003@gmail.com> 13752Date: Wed Dec 26 14:51:49 2007 +0100 13753 13754 randr12: Some assorted fixes for dual link outputs. 13755 13756commit 15489f15e8130ffa74bee7c52086857554a69a6b 13757Author: Stuart Bennett <sb476@cam.ac.uk> 13758Date: Tue Dec 25 23:50:10 2007 +0000 13759 13760 On some chips we shouldn't look for a 27MHz crystal 13761 13762commit 8fa59a6231e293a8b669517bf11d35dcc15f34ff 13763Author: Maarten Maathuis <madman2003@gmail.com> 13764Date: Tue Dec 25 19:43:47 2007 +0100 13765 13766 randr12: Some minor changes. 13767 13768commit 80bdd0e9f4bd664e217722a57a8db79d56968194 13769Author: Maarten Maathuis <madman2003@gmail.com> 13770Date: Tue Dec 25 11:58:09 2007 +0100 13771 13772 randr12: Restrict TMDS register backup to digital outputs. 13773 13774 - The NV11 locks up when accessing these and it has no digital outputs, so ;-) 13775 13776commit 5574e96ae3e4608b95b5dd5f2dd5676386bb4ffe 13777Author: Stuart Bennett <sb476@cam.ac.uk> 13778Date: Mon Dec 24 22:33:21 2007 +0000 13779 13780 Better (not complete) support for DCB1.1/1.2 13781 13782commit 2aa6a2347fa283dbd9b10258053602bd37880c26 13783Author: Stuart Bennett <sb476@cam.ac.uk> 13784Date: Mon Dec 24 21:00:31 2007 +0000 13785 13786 "type1" bios scripts 13787 13788commit e0c5f65c0091b0f0ac7715fbf399a1f6fea60dc6 13789Author: Stuart Bennett <sb476@cam.ac.uk> 13790Date: Mon Dec 24 18:13:47 2007 +0000 13791 13792 Rehabilitate BMP parsing 13793 13794commit 2789da6b34c9495a88d349b73cb838f4626fb152 13795Author: Stuart Bennett <sb476@cam.ac.uk> 13796Date: Mon Dec 24 22:51:51 2007 +0000 13797 13798 Fix BMP length for version 5.16 13799 13800commit 93448b40627d35fd89d8fd5629dae5f487082f43 13801Author: Stuart Bennett <sb476@cam.ac.uk> 13802Date: Mon Dec 24 15:23:41 2007 +0000 13803 13804 randr12: use new PLL code on < NV40 13805 13806commit 3d90e13c26e389f43253a5d2721ce93a628f156d 13807Author: Stuart Bennett <sb476@cam.ac.uk> 13808Date: Mon Dec 24 05:31:37 2007 +0000 13809 13810 setPLL routines for single and two stage plls 13811 13812 plus some parsing fixes 13813 13814commit eabe1e02504467c7425e62673a68f4dc7dd83aab 13815Author: Stuart Bennett <sb476@cam.ac.uk> 13816Date: Mon Dec 24 02:29:54 2007 +0000 13817 13818 Two stage nv31 PLL mnp calculator and bios limits parsing 13819 13820commit c8b50bc7dc146e01ceb67ee3633b5c8958345fcd 13821Author: Stuart Bennett <sb476@cam.ac.uk> 13822Date: Sun Dec 23 03:09:26 2007 +0000 13823 13824 Single stage PLL MNP calculator 13825 13826commit 935f809f4bc9dab37e80c59007141d7b9ad673a8 13827Author: Maarten Maathuis <madman2003@gmail.com> 13828Date: Sun Dec 23 22:05:10 2007 +0100 13829 13830 Reading into the -1 index of array is a bad idea, this should fix subchannel binding issues. 13831 13832commit f357ba26b7f560cdec03f70a2c3b79b65d70172b 13833Author: Maarten Maathuis <madman2003@gmail.com> 13834Date: Sun Dec 23 15:48:24 2007 +0100 13835 13836 randr12: Add modesetting debug option (showing most register writes). 13837 13838 - Contribution of ahuillet. 13839 13840commit 95387b9779173cc3e51a7fffc60975010253b391 13841Author: Maarten Maathuis <madman2003@gmail.com> 13842Date: Sun Dec 23 15:35:24 2007 +0100 13843 13844 NV40EXA: Suport as many of the repeat types as possible + random cleanup(randr12). 13845 13846commit 8e80f7504f872166a811b6ce20663aaf97fd7181 13847Author: Arthur Huillet <arthur.huillet@free.fr> 13848Date: Sun Dec 23 13:49:24 2007 +0100 13849 13850 Revert a manifestation of my stupidity. 13851 13852commit 86a3a5fd40005a4860d11f0046444ba232db0d1e 13853Author: Arthur Huillet <arthur.huillet@free.fr> 13854Date: Sun Dec 23 13:47:08 2007 +0100 13855 13856 Xv: added an attribute to change the CRTC the overlay is on - useful with dualhead 13857 13858commit 129f04612cdbad756dbe213f77d2f12482b62c47 13859Author: Arthur Huillet <arthur.huillet@free.fr> 13860Date: Sat Dec 22 23:32:36 2007 +0100 13861 13862 aunedsoau~ 13863 13864commit 26953280895698a94c1f886cf7c0d2f389167b1c 13865Author: Maarten Maathuis <madman2003@gmail.com> 13866Date: Sun Dec 23 11:46:17 2007 +0100 13867 13868 randr12: Extend dvi clock setting to nv3x also + cleanup. 13869 13870commit 063d1bd50b164e841e3a725b75ac243827aede50 13871Author: Maarten Maathuis <madman2003@gmail.com> 13872Date: Sun Dec 23 10:46:09 2007 +0100 13873 13874 randr12: Actually load the default palette on modeset. 13875 13876commit 810901abb50a54b8f1eb73029f5348805a53531d 13877Author: Maarten Maathuis <madman2003@gmail.com> 13878Date: Sun Dec 23 10:32:18 2007 +0100 13879 13880 randr12: Simplify code a bit by using the more sane code for NV4x also. 13881 13882commit eb8441824ea2a7dc9a1d7a86a4305fae48a26a0c 13883Author: Maarten Maathuis <madman2003@gmail.com> 13884Date: Sun Dec 23 01:02:18 2007 +0100 13885 13886 Minor cleanup. 13887 13888commit 9eef67abaf8beb9ed93eb5b6ecdf7255f5b06e4c 13889Author: Maarten Maathuis <madman2003@gmail.com> 13890Date: Sun Dec 23 00:18:13 2007 +0100 13891 13892 randr12: Always enable MPLL and NVPLL on pre-NV41 cards. 13893 13894commit fa82eb23904bc1a70209778d2aafcbef6f27cfa1 13895Author: Maarten Maathuis <madman2003@gmail.com> 13896Date: Sun Dec 23 00:07:01 2007 +0100 13897 13898 randr12: Put all NV2x (and lower) cards into restricted mode. 13899 13900commit 33d7313d7dca4501b7ac2e078a87f3a10ab1b501 13901Author: Maarten Maathuis <madman2003@gmail.com> 13902Date: Sat Dec 22 23:55:19 2007 +0100 13903 13904 randr12: Correct CRTC selection for pre-NV40 cards. 13905 13906commit d6243fe33223d2934c1a819c58bb58b9ebe15c25 13907Author: Maarten Maathuis <madman2003@gmail.com> 13908Date: Sat Dec 22 23:39:51 2007 +0100 13909 13910 randr12: Older cards do have switchable CRTC's, i was again wrong. 13911 13912commit a96553544ae76239e394ab34b33814a57252d31c 13913Author: Maarten Maathuis <madman2003@gmail.com> 13914Date: Sat Dec 22 23:23:32 2007 +0100 13915 13916 randr12: Minor cleanup to clock writing for pre-NV40 cards. 13917 13918commit 9b63f42bc7da9b45ecbbd32ef81cae55d2a57220 13919Author: Arthur Huillet <arthur.huillet@free.fr> 13920Date: Sat Dec 22 18:44:36 2007 +0100 13921 13922 NV10EXA: disabled A8+A8 hack on PPC machines. 13923 13924commit 308fec0111d182fb17536ff2746e079c1af32d5a 13925Author: Ben Skeggs <skeggsb@gmail.com> 13926Date: Sat Dec 22 23:18:57 2007 +1100 13927 13928 nv30: Don't touch 0x1a4 13929 13930commit 62916c7c8c6b467436e4628c7d08a4e0de1f21f3 13931Author: Maarten Maathuis <madman2003@gmail.com> 13932Date: Sat Dec 22 12:02:31 2007 +0100 13933 13934 randr12: Undo a previous mistake for NV1x/NV2x. 13935 13936commit 6f9eb17637e2c3b8d49a07332f06a0102d2fe016 13937Author: Stuart Bennett <sb476@cam.ac.uk> 13938Date: Fri Dec 21 20:18:57 2007 +0000 13939 13940 Beginnings of PLL limits for BMP bioses 13941 13942 And the correct way to use the debug_modes member (still disabled for now) 13943 13944commit 73bc1db51e9431c5d1861d8a753aa8dd9abe9882 13945Author: Stuart Bennett <sb476@cam.ac.uk> 13946Date: Sat Dec 22 02:57:40 2007 +0000 13947 13948 On demand PLL limit parsing for NV40 13949 13950 Also some nv_bios message formatting consistancy pedantry 13951 13952commit 57b5dbfac4ff65258e94a17717815156a54cc273 13953Author: Maarten Maathuis <madman2003@gmail.com> 13954Date: Sat Dec 22 01:29:38 2007 +0100 13955 13956 NV40EXA: Fix borders of images that recieved arbitrary rotation. 13957 13958 - It was getting padded up to the edge of the smallest square that could fit the rotated image. 13959 - Please try this on older cards as well. 13960 13961commit 39ef0262be49feaed2ba1c6caeab5134181ef0b9 13962Author: Maarten Maathuis <madman2003@gmail.com> 13963Date: Sat Dec 22 01:26:44 2007 +0100 13964 13965 randr12: Some minor changes. 13966 13967commit 371b6e52bef743f14003e3783ea3dbc624050594 13968Author: Maarten Maathuis <madman2003@gmail.com> 13969Date: Fri Dec 21 18:02:33 2007 +0100 13970 13971 randr12: Restrict crtc's on nv1x and nv2x. 13972 13973 - 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. 13974 13975commit c2ac36927827439cf92ff53bbf2414bfaf45a6c3 13976Author: Maarten Maathuis <madman2003@gmail.com> 13977Date: Fri Dec 21 00:05:37 2007 +0100 13978 13979 randr12: Detect switchable crtc's. 13980 13981commit 33a2cf86520f42d549d03c46134b818e90d51a41 13982Author: Peter Winters <peter@whoei.org> 13983Date: Thu Dec 20 23:47:11 2007 +0100 13984 13985 NV10 EXA: use the proper variable 13986 13987commit 71c3b8ff09adcadb10d800d3696762c3ef58be3d 13988Author: Stuart Bennett <sb476@cam.ac.uk> 13989Date: Wed Dec 19 23:44:23 2007 +0000 13990 13991 randr12: fix old and new style scaling for LVDS, and use an enum for the scaling modes 13992 13993commit 6bea51b905a461b4e703053082ab45d9e1074112 13994Author: Maarten Maathuis <madman2003@gmail.com> 13995Date: Thu Dec 20 00:07:29 2007 +0100 13996 13997 randr12: Fix secondary (analog) outputs with ffs(or) != 3 on some NV4x cards. 13998 13999commit e0e04eb561f4b127087befc4e3768d8012a82bfe 14000Author: Stuart Bennett <sb476@cam.ac.uk> 14001Date: Wed Dec 19 04:29:34 2007 +0000 14002 14003 randr12: don't use invalid crtc pointer for lvds dpms 14004 14005commit a68ac97979a3178ea210470bbb3d64f3f9325e07 14006Author: Stuart Bennett <sb476@cam.ac.uk> 14007Date: Wed Dec 19 04:00:14 2007 +0000 14008 14009 Turn LVDS panel on again, after resetting, when we're shutting down 14010 14011commit 1cfd659fc1a5f8dc2faba30155fca46bbe31f3a4 14012Author: Stuart Bennett <sb476@cam.ac.uk> 14013Date: Tue Dec 18 16:58:57 2007 +0000 14014 14015 minor link_head_and_output cleanup 14016 14017commit 73a5d09b3e9fa13d04d6696ca38b6402795acc3d 14018Author: Stuart Bennett <sb476@cam.ac.uk> 14019Date: Wed Dec 19 03:43:59 2007 +0000 14020 14021 randr12: CRTC member wasn't big enough 14022 14023 yay gcc. could fix console colour breakage 14024 14025commit 0a63198195f689b32388b99db61ff942e16fbc6d 14026Author: Maarten Maathuis <madman2003@gmail.com> 14027Date: Tue Dec 18 23:43:57 2007 +0100 14028 14029 NV10EXA: Fix rotation. 14030 14031commit f2a3807618cfeac01d7d28e9d76721ad61495f7f 14032Author: Maarten Maathuis <madman2003@gmail.com> 14033Date: Tue Dec 18 23:23:59 2007 +0100 14034 14035 randr12: Add new pll calculation for NV4x cards (from NVClock). 14036 14037commit ebf96c8b651d1a0dc5a19576cf57efcbb989d51d 14038Author: Maarten Maathuis <madman2003@gmail.com> 14039Date: Tue Dec 18 21:38:56 2007 +0100 14040 14041 randr12: Hopefully reset outputs better between mode changes. 14042 14043commit 5561f54f94e0b31394ecaf461e342470ca768281 14044Author: Maarten Maathuis <madman2003@gmail.com> 14045Date: Tue Dec 18 07:49:05 2007 +0100 14046 14047 Some endianess fixes for the previously committed code. 14048 14049commit 11104ce9c499f30fb5abe29e65ba1918c563f4cd 14050Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14051Date: Tue Dec 18 07:40:08 2007 +0100 14052 14053 Rename NV30TCL to NV34TCL in preparation of the merge. 14054 14055commit 3e6ea7af5b1613b9e0e4e29433910d998def4899 14056Author: Maarten Maathuis <madman2003@gmail.com> 14057Date: Mon Dec 17 23:13:12 2007 +0100 14058 14059 Add pll limits bios detection code for NV4x cards. 14060 14061commit e56512d283f401a75c6165a0a02e8a7a5905fc4c 14062Author: Maarten Maathuis <madman2003@gmail.com> 14063Date: Mon Dec 17 19:45:42 2007 +0100 14064 14065 NV30EXA: Fix rotation. 14066 14067commit 9ff42b7a83da06a3b9b7076ca888ea447eaa16f3 14068Author: Maarten Maathuis <madman2003@gmail.com> 14069Date: Mon Dec 17 17:50:11 2007 +0100 14070 14071 randr12: Fixes + cleanup. 14072 14073commit 83d99bc3e15d11d3476c54053f6bbe0ff9f094be 14074Author: Maarten Maathuis <madman2003@gmail.com> 14075Date: Mon Dec 17 00:40:24 2007 +0100 14076 14077 randr12: Some minor additions. 14078 14079commit 60c08fedec09dd036b4165881b3001874c4d349a 14080Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14081Date: Sun Dec 16 23:40:26 2007 +0100 14082 14083 nv30 exa : handle gart case. 14084 14085commit efb10849e136048c9c49cce752d4073402219c8c 14086Author: Maarten Maathuis <madman2003@gmail.com> 14087Date: Sun Dec 16 23:26:49 2007 +0100 14088 14089 Undo a bad change. 14090 14091commit dd8beae22883822ea3555122b0352d4e3cf2c266 14092Author: Maarten Maathuis <madman2003@gmail.com> 14093Date: Sun Dec 16 21:35:18 2007 +0100 14094 14095 A little more cleanup. 14096 14097commit 9ff169ba62dcb2eeefce8a020060de731b72cb6c 14098Author: Maarten Maathuis <madman2003@gmail.com> 14099Date: Sun Dec 16 21:32:32 2007 +0100 14100 14101 More cleanup. 14102 14103commit 2d03d4b999a0a37ff2f9fc87bd20959e789a152e 14104Author: Maarten Maathuis <madman2003@gmail.com> 14105Date: Sun Dec 16 21:19:13 2007 +0100 14106 14107 randr12: Select sensible maximum heights and widths for framebuffer. 14108 14109commit 0e47fa4ab35e529926f5fdccdb44f9d054e1886a 14110Author: Maarten Maathuis <madman2003@gmail.com> 14111Date: Sun Dec 16 21:17:04 2007 +0100 14112 14113 Some reindenting and minor cleanups. 14114 14115commit 2be4b73905dc5767e593bf4753607144fe67b7ab 14116Author: Maarten Maathuis <madman2003@gmail.com> 14117Date: Sun Dec 16 20:24:26 2007 +0100 14118 14119 Some cleanup. 14120 14121commit 6686adbea6638dd894eef697e044941352cc2674 14122Author: Maarten Maathuis <madman2003@gmail.com> 14123Date: Sun Dec 16 20:10:39 2007 +0100 14124 14125 randr12: Restrict digital outputs with ffs(or) == 1 to primary crtc + some cleanup. 14126 14127 - The blob does not reveal what the possible way is (so far), and guesswork didn't help either. 14128 14129commit 9c8da2f562ca571a56224d7fecfb9c3fb3a8d3d0 14130Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14131Date: Sun Dec 16 18:33:52 2007 +0100 14132 14133 And of course, that comment has to go. 14134 14135commit 02e9a01064930a7081569474be9544fa1f20a0f4 14136Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14137Date: Sun Dec 16 18:32:52 2007 +0100 14138 14139 Fix front buffer alignment issues (probably needed because of tiling). 14140 14141commit b134b8f1552066b6706521a9c85d9241d99b3ccc 14142Author: Maarten Maathuis <madman2003@gmail.com> 14143Date: Sun Dec 16 13:41:38 2007 +0100 14144 14145 randr12: Fix compile error. 14146 14147commit ec0c9cc9a69c00a960e98e796c00d35d996cf360 14148Author: Maarten Maathuis <madman2003@gmail.com> 14149Date: Sun Dec 16 12:55:29 2007 +0100 14150 14151 randr12: A minor change to OUTPUT register. 14152 14153commit 69782a57285bb53df73c7f45d29882ae990f6054 14154Author: Patrice Mandin <pmandin@caramail.com> 14155Date: Sun Dec 16 00:09:45 2007 +0100 14156 14157 nv30: revert viewport clip change, add myself, add unknown command 0x2b8 (viewport origin?) 14158 14159commit 8dd238f3ce2e7eda7151670ea50a75abdb5b6217 14160Author: Maarten Maathuis <madman2003@gmail.com> 14161Date: Sat Dec 15 23:49:58 2007 +0100 14162 14163 randr12: Some minor changes. 14164 14165commit 08a50d878571f7c9579b15703a08c5c2e52924f2 14166Author: Maarten Maathuis <madman2003@gmail.com> 14167Date: Sat Dec 15 19:54:11 2007 +0100 14168 14169 randr12: Some minor reordering of load/save functions + don't lock crtc when leaving X. 14170 14171commit 4209c06800b97e98261c10e0a625a68f7352ca6c 14172Author: Maarten Maathuis <madman2003@gmail.com> 14173Date: Sat Dec 15 14:48:04 2007 +0100 14174 14175 randr12: Also support accelerated rotation on older xservers (and default code). 14176 14177commit 933b40a2911486a78615984fb17e9ea6757fcfa8 14178Author: Ben Skeggs <skeggsb@gmail.com> 14179Date: Sat Dec 15 23:45:03 2007 +1100 14180 14181 nv40: just for stillunknown... 14182 14183 Fix composite transforms. This is getting to a point where it may be 14184 worth doing this in the vertex program perhaps. For now this works, 14185 it'll do. 14186 14187commit 7212400070264e27a53564a7f5fc95dd9c99f82e 14188Author: Ben Skeggs <skeggsb@gmail.com> 14189Date: Sat Dec 15 23:44:17 2007 +1100 14190 14191 Revert "NV40EXA: Fix composite rotation." 14192 14193 This reverts commit 02d4538b207cf318737ace8c3d8ded76a54e5886. 14194 14195commit 1a622257687a499ce74b3a608618d957784dccf0 14196Author: Maarten Maathuis <madman2003@gmail.com> 14197Date: Sat Dec 15 13:39:23 2007 +0100 14198 14199 randr12: Avoid a vram/memory leak in some situations. 14200 14201commit 02d4538b207cf318737ace8c3d8ded76a54e5886 14202Author: Maarten Maathuis <madman2003@gmail.com> 14203Date: Sat Dec 15 13:35:45 2007 +0100 14204 14205 NV40EXA: Fix composite rotation. 14206 14207 - Thanks to radeon (code) for inspiration and sample code. 14208 14209commit 77d47348dfe01ca3972a683d3c478f910301e910 14210Author: Maarten Maathuis <madman2003@gmail.com> 14211Date: Sat Dec 15 12:02:36 2007 +0100 14212 14213 randr12: Add some ifdefs to make compiling better on older xserver's. 14214 14215commit dbb7efc5b81145ad61d8e6502b918a1e909f3cfb 14216Author: Patrice Mandin <pmandin@caramail.com> 14217Date: Sat Dec 15 11:44:41 2007 +0100 14218 14219 nv30: need to set default depth range 14220 14221commit 6ab8436df0865aab7f12cd8527600353b4728df7 14222Author: Patrice Mandin <pmandin@caramail.com> 14223Date: Sat Dec 15 11:37:43 2007 +0100 14224 14225 nv30: only 4 texture units 14226 14227commit 370d97a4578528c26c3f1546a9522caf40aa2151 14228Author: Patrice Mandin <pmandin@caramail.com> 14229Date: Sat Dec 15 10:34:26 2007 +0100 14230 14231 nv30: fix viewport clipping setup 14232 14233commit 1190d046dfef97dea04d72c993f90a203d81d86c 14234Author: Maarten Maathuis <madman2003@gmail.com> 14235Date: Sat Dec 15 02:00:37 2007 +0100 14236 14237 Fix ugly bug, that creeped in. 14238 14239commit 46f321985ae57457edcedf80f82ba23e53fd9cd2 14240Author: Maarten Maathuis <madman2003@gmail.com> 14241Date: Sat Dec 15 01:44:59 2007 +0100 14242 14243 randr12: Preliminary support for rotation, please read notes. 14244 14245 - It works, but it's slow, very slow. 14246 - Each crtc now has it's own cursor map (fixing the bugs you never saw). 14247 - Dualhead with one rotated screen may show minor corruption near the edges, this will disappear if a fullscreen app opens. 14248 - Acceleration is possible, BUT: 14249 - You need a git xserver. 14250 - Enable NOUVEAU_EXA_PIXMAPS in nouveau_local.h (*maybe* this will become default later). 14251 - Most of the composite hooks have problems with rotation, so left and right won't work, inverted does work for me. 14252 - So please fix the composite hooks ;-) 14253 - Note: No slowdowns are apparent when using proper acceleration. 14254 14255commit 0f07ec3f681b87762fbe7328f47b628711bdbaae 14256Author: Stuart Bennett <sb476@cam.ac.uk> 14257Date: Sat Dec 15 00:01:04 2007 +0000 14258 14259 Better restoration of TMDS regs on LVDS 14260 14261commit 34be8d005fbfff373cc7fe52ca2fa09f5cd5ef00 14262Author: Maarten Maathuis <madman2003@gmail.com> 14263Date: Fri Dec 14 23:58:25 2007 +0100 14264 14265 randr12: It seems DVI on laptops wasn't as strange after all. 14266 14267commit d678932a1818c5c5f4a4f3097992626ce9620c0e 14268Author: Stuart Bennett <sb476@cam.ac.uk> 14269Date: Fri Dec 14 01:40:14 2007 +0000 14270 14271 INIT_COPY_NV_REG and INIT_ZM_REG_GROUP_ADDRESS_LATCHED opcodes 14272 14273 Thanks to RAOF for the trace with these 14274 14275 Also correct a doc oopsy, and a bunch of superfluous whitespace 14276 14277commit 5b9dc7ad6eb2f16c4ca8824c2a19c85bbe1f126b 14278Author: Stuart Bennett <sb476@cam.ac.uk> 14279Date: Thu Dec 13 02:30:06 2007 +0000 14280 14281 Invert 18/24 bit interface flag, so that the default value (0) does not imply dithering 14282 14283commit a878b48c7b5a7aafac9aaa877706f5c7570d3057 14284Author: Stuart Bennett <sb476@cam.ac.uk> 14285Date: Thu Dec 13 01:10:12 2007 +0000 14286 14287 Name bios opcodes 4f and 50 14288 14289 Extrapolating from previous names, but marked as non canon 14290 14291commit 59b46e695b1badbf00f2c03bc78ce58f6887f739 14292Author: Stuart Bennett <sb476@cam.ac.uk> 14293Date: Thu Dec 13 01:03:25 2007 +0000 14294 14295 Get VBIOS from pNv (cleanup) 14296 14297 And a minor doc correction 14298 14299commit c45930d0819668612547b4bf1a8d963bfe40e38b 14300Author: Stuart Bennett <sb476@cam.ac.uk> 14301Date: Thu Dec 13 00:15:21 2007 +0000 14302 14303 randr12: some minor cleanups, no actual changes 14304 14305commit 0e778b2d6970f761e5c0b5eb3054e91589cd2c46 14306Author: Stuart Bennett <sb476@cam.ac.uk> 14307Date: Wed Dec 12 15:54:53 2007 +0000 14308 14309 Setup NV40 LVDS 14310 14311commit 269d83cb46075971fd8dc5402589d4da3eb92f22 14312Author: Stuart Bennett <sb476@cam.ac.uk> 14313Date: Wed Dec 12 22:20:43 2007 +0000 14314 14315 INIT_CONDITION_TIME opcode 14316 14317commit 9b3072d195aae383a993526b3ab4350c500c4277 14318Author: Stuart Bennett <sb476@cam.ac.uk> 14319Date: Wed Dec 12 18:08:07 2007 +0000 14320 14321 Opcode 4F 14322 14323commit 8ee100ced7da347904e45ce590350d7b7c47ed36 14324Author: Stuart Bennett <sb476@cam.ac.uk> 14325Date: Mon Dec 10 22:50:40 2007 +0000 14326 14327 FP BIOS mode finding for nv40 14328 14329commit 9131985f5c359bdb077eb52649369a5c06831544 14330Author: Stuart Bennett <sb476@cam.ac.uk> 14331Date: Tue Dec 11 23:23:27 2007 +0000 14332 14333 CR57 doc addition 14334 14335commit d595eb86790432f6a75dec3388080ffc9ffff8d8 14336Author: Maarten Maathuis <madman2003@gmail.com> 14337Date: Wed Dec 12 22:12:33 2007 +0100 14338 14339 randr12: A good guess at the lower bits of SEL_CLK (i hope ;-)). 14340 14341commit c5bc9899c218abe801e024919c89896e8183dff2 14342Author: Maarten Maathuis <madman2003@gmail.com> 14343Date: Wed Dec 12 21:03:34 2007 +0100 14344 14345 randr12: Add some extra safeties (to mode checking). 14346 14347commit 43c05d306485eb5d8c8b9b39f9bd4a3f470f20a2 14348Author: Maarten Maathuis <madman2003@gmail.com> 14349Date: Tue Dec 11 21:43:02 2007 +0100 14350 14351 randr12: Enable dithering on lvds when needed. 14352 14353commit 8752f18d27a6095485e36f4fb20e9252f27a1e1b 14354Author: Maarten Maathuis <madman2003@gmail.com> 14355Date: Tue Dec 11 20:22:23 2007 +0100 14356 14357 randr12: SEL_CLK attempt 10, return to simplicity, which may actually work ;-) 14358 14359commit c1227d3a2b9194d50a4274a48fa0b3bcf2628e36 14360Author: Maarten Maathuis <madman2003@gmail.com> 14361Date: Tue Dec 11 17:52:39 2007 +0100 14362 14363 randr12: (mostly) Some fixes for NV40. 14364 14365 - The NV40 is a strange card, as it partially behaves like an NV3x. 14366 14367commit 34d9e971e17e763aee96b823bb34da54a281339c 14368Author: Maarten Maathuis <madman2003@gmail.com> 14369Date: Tue Dec 11 11:50:28 2007 +0100 14370 14371 randr12: Fix SEL_CLK assignment again (for non-mobile cards) + fix crosswiring. 14372 14373 - I made a good guess for mobile cards, but i need more mmio-traces. 14374 - I accidentally broke crosswiring for my card (and other's like it). 14375 14376commit bf28c3e7d9976f8695198a938397f001de62836b 14377Author: Maarten Maathuis <madman2003@gmail.com> 14378Date: Tue Dec 11 00:04:38 2007 +0100 14379 14380 randr12: Fix an earlier mistake, make a decent guess about dvi on laptops. 14381 14382 - I could use some more mmiotraces of LVDS+DVI on NV4x. 14383 14384commit 58531ebd4a72368b13d3c1564110ef85fb6d6644 14385Author: Maarten Maathuis <madman2003@gmail.com> 14386Date: Mon Dec 10 20:43:26 2007 +0100 14387 14388 randr12: Improve crosswiring for digital outputs + minor changes and cleanup. 14389 14390commit a388cc5fe21f8692e8ee1dbd71caea88ea2ca5df 14391Author: Maarten Maathuis <madman2003@gmail.com> 14392Date: Mon Dec 10 16:31:47 2007 +0100 14393 14394 randr12: Properly set SEL_CLK based on bus, not based on output. 14395 14396 - This hopefully fixes non-working dvi on some desktop cards and on mobile cards. 14397 14398commit f96a6c2d5d251af560de673ccd91b88b3f5cc535 14399Author: Maarten Maathuis <madman2003@gmail.com> 14400Date: Mon Dec 10 00:03:49 2007 +0100 14401 14402 randr12: Add config option for scaling mode. 14403 14404commit fc73ddad60c551289629be5f2f87b39e26f42674 14405Author: Maarten Maathuis <madman2003@gmail.com> 14406Date: Sun Dec 9 22:46:39 2007 +0100 14407 14408 randr12: Some cleanup. 14409 14410commit 2543e301402b04ae94f349e21a7760beb6f5bdc6 14411Author: Stuart Bennett <sb476@cam.ac.uk> 14412Date: Sun Dec 9 19:58:58 2007 +0000 14413 14414 Bios register write function special case and some INIT_RESET improvements 14415 14416 nv32_wr weirdness only seen on NV40+, but it shouldn't hurt for earlier cards 14417 14418commit 4408ce8d2f902a9ace550a045e6022df2936fbce 14419Author: Stuart Bennett <sb476@cam.ac.uk> 14420Date: Sun Dec 9 17:09:03 2007 +0000 14421 14422 Some renaming for bios indexed port io 14423 14424commit 9eb4294e3f5814f675b403078761bf002540868b 14425Author: Maarten Maathuis <madman2003@gmail.com> 14426Date: Sun Dec 9 18:36:26 2007 +0100 14427 14428 randr12: Revert dither value to that used by nv. 14429 14430commit cfbe4bdef7f4ba958462743dc28bf253b456c1a3 14431Author: Maarten Maathuis <madman2003@gmail.com> 14432Date: Sun Dec 9 18:34:10 2007 +0100 14433 14434 randr12: Set FP_CONTROL correctly for NV2x cards. 14435 14436commit d5dd3afc50e491689f765a5e6a72892efa1768a3 14437Author: Maarten Maathuis <madman2003@gmail.com> 14438Date: Sun Dec 9 18:10:29 2007 +0100 14439 14440 randr12: Improve output selection. 14441 14442 - Now detect if there is a dual link capable output at all. 14443 - NV2x cards can't switch crtc on analog outputs. 14444 14445commit fda83a3c489469d2bb4cbd20c205016b19dfdec5 14446Author: Stuart Bennett <sb476@cam.ac.uk> 14447Date: Sun Dec 9 15:51:02 2007 +0000 14448 14449 Additional LVDS bios script sanity check 14450 14451 Avoids current incorrect situation when LVDS attempted on NV40 14452 14453commit 9932e36d4cf2988d1f6f40d615cd247acc21b592 14454Author: Maarten Maathuis <madman2003@gmail.com> 14455Date: Sun Dec 9 16:29:14 2007 +0100 14456 14457 randr12: Fix minor (potentional) bug. 14458 14459commit 3f83d7308f3b0aca4943262b0ba2715a32b61d58 14460Author: Maarten Maathuis <madman2003@gmail.com> 14461Date: Sun Dec 9 12:47:55 2007 +0100 14462 14463 randr12: Add noscale mode and some misc fixes. 14464 14465commit d688008b38609814de9c5c36a2c8bc569455d14e 14466Author: Maarten Maathuis <madman2003@gmail.com> 14467Date: Sat Dec 8 18:34:04 2007 +0100 14468 14469 randr12: Fix typo, it's "our" not "or". 14470 14471commit 0f7c018af0c7f929c2bf8efb12c510d6e3170885 14472Author: Maarten Maathuis <madman2003@gmail.com> 14473Date: Sat Dec 8 18:25:41 2007 +0100 14474 14475 randr12: Assuming an output always has a crtc is a bad idea. 14476 14477 - Don't rely on current crtc to restore mode. 14478 14479commit 86f248cc2e52de652b1768e15a4ba62eefefd81c 14480Author: Maarten Maathuis <madman2003@gmail.com> 14481Date: Sat Dec 8 16:49:21 2007 +0100 14482 14483 randr12: Avoid that two outputs have the same clock selected. 14484 14485commit 6be67d6cf0f047ceba0aa62989dc44bb58b0db87 14486Author: Maarten Maathuis <madman2003@gmail.com> 14487Date: Sat Dec 8 15:50:39 2007 +0100 14488 14489 randr12: Fix bug in sel_clk assignment. 14490 14491commit ddfec2f1c749af227dd57dbde6751320ba72adb6 14492Author: Stuart Bennett <sb476@cam.ac.uk> 14493Date: Sat Dec 8 02:18:41 2007 +0000 14494 14495 Base error :) 14496 14497commit dff95ae101f701d737c8d2134181693f36178beb 14498Author: Stuart Bennett <sb476@cam.ac.uk> 14499Date: Fri Dec 7 16:56:26 2007 +0000 14500 14501 Fix failure to cope with varying table lengths 14502 14503commit 10731d2a8fe06fa8675c26d201615c2a019de737 14504Author: Stuart Bennett <sb476@cam.ac.uk> 14505Date: Fri Dec 7 02:54:36 2007 +0000 14506 14507 Add a new valid register range, which appears in some gf7 biosen. 14508 14509 NVClock has it down as appearing in gf8 as a new PBUS range, 14510 but the use on gf7 looks PBUS-like too 14511 14512commit b25049233613eff99d767a8ec0c97b5140088213 14513Author: Stuart Bennett <sb476@cam.ac.uk> 14514Date: Fri Dec 7 03:13:52 2007 +0000 14515 14516 Some more bios script opcodes 14517 14518 Thanks to swany for the trace for these 14519 14520commit 6da4923088e8ca1d2de464030205b41d893e65b3 14521Author: Stuart Bennett <sb476@cam.ac.uk> 14522Date: Fri Dec 7 02:17:37 2007 +0000 14523 14524 Some M table parsing, and defer I table execution 14525 14526commit 7e5e477b67279e00d1e56736f9c953972bda4dec 14527Author: Stuart Bennett <sb476@cam.ac.uk> 14528Date: Fri Dec 7 00:18:25 2007 +0000 14529 14530 Improve TMDS04 setting for LVDS 14531 14532commit dd757910f546a97bb42dbefdc7eae058980b1ffb 14533Author: Stuart Bennett <sb476@cam.ac.uk> 14534Date: Thu Dec 6 23:37:01 2007 +0000 14535 14536 TMDS regs setting for pre NV40 14537 14538commit 38f139d473eb3201daaac47e655516f65c7528a6 14539Author: Stuart Bennett <sb476@cam.ac.uk> 14540Date: Fri Dec 7 00:30:14 2007 +0000 14541 14542 BIOS version parsing 14543 14544commit 20b6be6c95a71a41456c4c9b5cb1a1e0238f2e70 14545Author: Stuart Bennett <sb476@cam.ac.uk> 14546Date: Thu Dec 6 17:01:49 2007 +0000 14547 14548 Refactor BIT specific details out of TMDS setting 14549 14550commit f665b4737f1fbbd5e4a6495b561e723f17bc6137 14551Author: Stuart Bennett <sb476@cam.ac.uk> 14552Date: Thu Dec 6 18:48:04 2007 +0000 14553 14554 The 'T' table is clearly a TMDS table, call it as such 14555 14556commit 3759cc9d602b0cd933a0ee7e6f64626822383e19 14557Author: Stuart Bennett <sb476@cam.ac.uk> 14558Date: Thu Dec 6 05:03:49 2007 +0000 14559 14560 The TMDS scripts being non-stubs does not seem to matter - they're still not executed 14561 14562 Message left as log clutter in case there's some future case of broken TMDS when the scripts might be useful 14563 14564commit d6e896dac1018fc3190a5a5283a405c4b031d1ba 14565Author: Stuart Bennett <sb476@cam.ac.uk> 14566Date: Thu Dec 6 04:14:56 2007 +0000 14567 14568 Test for LVDS_INIT script 14569 14570commit c50bc602861fdcdb238e1a4db1146b4870ce83ba 14571Author: Maarten Maathuis <madman2003@gmail.com> 14572Date: Thu Dec 6 21:48:13 2007 +0100 14573 14574 randr12: Small fix for dual link dvi. 14575 14576commit 457d4217624cc73df22ca7f7db0134c54ebac5e5 14577Author: Maarten Maathuis <madman2003@gmail.com> 14578Date: Thu Dec 6 19:54:08 2007 +0100 14579 14580 randr12: Improve compatibility with DCB 2.0 14581 14582commit 5046cb7b3d1af89b72327660932ae06c06d0869b 14583Author: Stuart Bennett <sb476@cam.ac.uk> 14584Date: Thu Dec 6 02:28:18 2007 +0000 14585 14586 randr12: oops, lost the restore case 14587 14588commit 54c7bdf0f3e53c23c0853eac8243407d280d0732 14589Author: Stuart Bennett <sb476@cam.ac.uk> 14590Date: Thu Dec 6 01:54:45 2007 +0000 14591 14592 randr12: a common function to fix TMDS04, and new use of LVDS_RESET 14593 14594 Plus some corrections/additions to call_lvds_script, and a minor CR5758 doc update 14595 14596commit a7811521ed5d227a18af23e2e761ea39fb7eb86f 14597Author: Maarten Maathuis <madman2003@gmail.com> 14598Date: Thu Dec 6 00:28:49 2007 +0100 14599 14600 randr12: Fix comment. 14601 14602commit 4771b4bd4b30f404fb087dd1fd6eac0e12fdd041 14603Author: Maarten Maathuis <madman2003@gmail.com> 14604Date: Thu Dec 6 00:25:48 2007 +0100 14605 14606 randr12: Some assorted fixes, which hopefully improve things for dual link dvi. 14607 14608commit 4d3a015631a0d95392daeec6fd8e99c65c83cb53 14609Author: Maarten Maathuis <madman2003@gmail.com> 14610Date: Wed Dec 5 20:41:27 2007 +0100 14611 14612 randr12: replace preferred_ramdac with preferred_output. 14613 14614commit d3036012db63f9a386d4c1fd8e624b86bcd6c48b 14615Author: Maarten Maathuis <madman2003@gmail.com> 14616Date: Wed Dec 5 20:27:57 2007 +0100 14617 14618 randr12: Clean up the unneeded ramdac variable. 14619 14620commit 37f3a06be4f50c34ee8b82617e5e6eca3a4d66fe 14621Author: Maarten Maathuis <madman2003@gmail.com> 14622Date: Wed Dec 5 19:03:52 2007 +0100 14623 14624 randr12: Pick right register set, to correctly "guess" the bios/VT clock. 14625 14626 - A wrong register set leads to improper detection of crosswiring, thus selecting the wrong clock. 14627 - I noticed a 0.675 MHz difference in the clock (which is vpll2), when instead i should have had vpll1. 14628 14629commit b843dbddbd496ab7d374018e6e05ac1a05ea00e2 14630Author: Maarten Maathuis <madman2003@gmail.com> 14631Date: Wed Dec 5 16:51:04 2007 +0100 14632 14633 randr12: Small fix. 14634 14635commit 4b049994f32058e380543cee81b1d0b76658ea9e 14636Author: Maarten Maathuis <madman2003@gmail.com> 14637Date: Wed Dec 5 16:47:07 2007 +0100 14638 14639 randr12: Final commit, restore TMDS regs before everything else. 14640 14641 - Use the bios to program the tmds registers. 14642 - Restore TMDS registers in nv_crtc_restore, to make sure it's early enough (see code note). 14643 - It works for me, let me know if it breaks stuff ;-) 14644 14645commit 6ff8c1cb2014c7984503a8481cf6ad4f9cccf79a 14646Author: Maarten Maathuis <madman2003@gmail.com> 14647Date: Wed Dec 5 07:57:30 2007 +0100 14648 14649 randr12: Intermediate bios based flat panel init commit, still a few minor issues. 14650 14651commit c14c7deb725c2509c804bae72faa584109f3021c 14652Author: Stuart Bennett <sb476@cam.ac.uk> 14653Date: Wed Dec 5 00:35:35 2007 +0000 14654 14655 Add LVDS script function, and use it for DPMS 14656 14657commit c587731d08bbfd58ff5c2725b7aed4e6477e9f7f 14658Author: Stuart Bennett <sb476@cam.ac.uk> 14659Date: Wed Dec 5 00:22:22 2007 +0000 14660 14661 Parse the LVDS Manufacturer table 14662 14663 Use dual link flag to set bit 31 of FP_CONTROL properly 14664 14665commit affcf6988f1af2c3ea8c47a2f1fdf608cbafcfce 14666Author: Stuart Bennett <sb476@cam.ac.uk> 14667Date: Tue Dec 4 20:31:06 2007 +0000 14668 14669 Modify DCB dual link flag, and DCB config parsing for LVDS 14670 14671 The DCB duallink flag indicates that this setup may be used for duallink; 14672 it obviously can't know whether a duallink display is plugged or not 14673 14674 Use LVDS DCB conf flags for mode detection / selection 14675 14676commit c822e32d95a7afa3d5ef076f97179a1843835f12 14677Author: Maarten Maathuis <madman2003@gmail.com> 14678Date: Tue Dec 4 09:06:10 2007 +0100 14679 14680 randr12: Add fullscreen gpu scaling (only as randr property for the moment). 14681 14682commit a1054c7bef3594f6876d611dde1cf3f0528fb8e1 14683Author: Stuart Bennett <sb476@cam.ac.uk> 14684Date: Tue Dec 4 01:31:24 2007 +0000 14685 14686 Better T table stuff. 14687 14688 Hopefully now usable by calling parse_t_table(...) at the appropriate place 14689 14690 Also collapse some messages, and add an array bound check 14691 14692commit edb9a59ac8d3b16cccd52bde24606c43ae7d36d0 14693Author: Stuart Bennett <sb476@cam.ac.uk> 14694Date: Tue Dec 4 01:40:37 2007 +0000 14695 14696 Allow BIOS execution at runtime, if wanted 14697 14698 And comment the opcodes I haven't double checked yet 14699 14700commit 82fdd3f76e20fc7dd10fcf00cf1c13520dc56364 14701Author: Stuart Bennett <sb476@cam.ac.uk> 14702Date: Tue Dec 4 01:31:24 2007 +0000 14703 14704 Make the bios a bit more accessible 14705 14706 And make a few things use the new structure 14707 14708commit d15bfdfb7e09dce85c3817036ced9efa6ac4522c 14709Author: Stuart Bennett <sb476@cam.ac.uk> 14710Date: Tue Dec 4 00:00:40 2007 +0000 14711 14712 randr12: set CR58 appropriately for 0 and 2 cases 14713 14714commit 02a4f498d903bda55ac38a6e19b1beca0d128e8a 14715Author: Stuart Bennett <sb476@cam.ac.uk> 14716Date: Mon Dec 3 23:35:01 2007 +0000 14717 14718 randr12: refactor dcb usage 14719 14720 heads is also a better name than head 14721 14722commit 1571f81210b48407c9d20264437406d79dfcc784 14723Author: Stuart Bennett <sb476@cam.ac.uk> 14724Date: Mon Dec 3 22:26:33 2007 +0000 14725 14726 randr12: some code economy 14727 14728 Only addition is adding call to output2->funcs->commit when stealing a ramdac, 14729 no logical changes otherwise AFAICT 14730 14731commit 7debf566c7a88258ac8ca925d7138187c1ed8755 14732Author: Stuart Bennett <sb476@cam.ac.uk> 14733Date: Tue Dec 4 00:06:05 2007 +0000 14734 14735 randr12: Improve CR57 and CR58 infrastructure and saving/restoration 14736 14737commit dab828c4793fd7e48e4d8e1d7f8d0a2f8198484c 14738Author: Maarten Maathuis <madman2003@gmail.com> 14739Date: Mon Dec 3 20:55:26 2007 +0100 14740 14741 randr12: A few minor comment changes. 14742 14743commit d959d880b6808adc153c752ea01f3a228879fe3c 14744Author: Maarten Maathuis <madman2003@gmail.com> 14745Date: Mon Dec 3 20:51:16 2007 +0100 14746 14747 randr12: Select CRTC 1 on pre-nv40 (stupid bug) + initial support choosing scaling method on tmds. 14748 14749 - The output property SCALING_MODE accepts "gpu" and "panel". 14750 - The first obeys aspect ratio, the second always goes fullscreen. 14751 - This is just a first attemp at exposing an output property. 14752 14753commit 1d2ea797704d55f63cfe8c00cc000a6b13f1093d 14754Author: Maarten Maathuis <madman2003@gmail.com> 14755Date: Sun Dec 2 22:10:56 2007 +0100 14756 14757 Show the id's of unknown bit structures in the bios. 14758 14759commit fc98b11eb70f1dd7dfb4e7c6eb8d888dfebdc890 14760Author: Maarten Maathuis <madman2003@gmail.com> 14761Date: Sun Dec 2 12:02:08 2007 +0100 14762 14763 randr12: dual-dvi cards need extra consideration. 14764 14765commit 2beece0c634c2c60996da1f1d15b24c5f231a6be 14766Author: Stuart Bennett <sb476@cam.ac.uk> 14767Date: Sun Dec 2 02:33:57 2007 +0000 14768 14769 Fix endian bug on BIT biosen 14770 14771commit d3563cccb43355927d4ba355bc31a957ea01587f 14772Author: Stuart Bennett <sb476@cam.ac.uk> 14773Date: Sun Dec 2 02:14:32 2007 +0000 14774 14775 Don't use PROM if the checksum is bad 14776 14777commit 4097af9bad85031fa1da9c3d21b084f587412604 14778Author: Stuart Bennett <sb476@cam.ac.uk> 14779Date: Sat Dec 1 09:55:31 2007 +0000 14780 14781 randr12: print "or" _pre_ ffs-ing 14782 14783commit a8faa53355f9ba3851f47e290c821bc1b9a03e85 14784Author: Stuart Bennett <sb476@cam.ac.uk> 14785Date: Sat Dec 1 09:53:05 2007 +0000 14786 14787 DCB parsed flag for duallink outputs 14788 14789 Light on proof, strong on suspicion with this one 14790 14791commit 63fc1ab4ce597a2f542c9bb7d3edae67551bda29 14792Author: Maarten Maathuis <madman2003@gmail.com> 14793Date: Sun Dec 2 02:08:20 2007 +0100 14794 14795 randr12: Always use vpll2_true on nv4x cards. 14796 14797commit 97a99c42fb24320177bdae884c4c710c5a25ce4f 14798Author: Maarten Maathuis <madman2003@gmail.com> 14799Date: Sun Dec 2 01:48:01 2007 +0100 14800 14801 randr12: A safer bet for TMDS register 0x2e. 14802 14803commit 3358f4eec53845cf90b9f9ef1f2a70c231bac588 14804Author: Maarten Maathuis <madman2003@gmail.com> 14805Date: Sun Dec 2 01:34:49 2007 +0100 14806 14807 randr12: Remove preferred_crtc, since it's probably incorrect. 14808 14809commit 5994655925173a4e8b1c0ac902f7dc6e1ffe64f1 14810Author: Maarten Maathuis <madman2003@gmail.com> 14811Date: Sun Dec 2 01:08:41 2007 +0100 14812 14813 randr12: Improve output register setting. 14814 14815commit df8d6848a004e724e92c3dd63fc608198c7bd940 14816Author: Maarten Maathuis <madman2003@gmail.com> 14817Date: Sat Dec 1 18:40:46 2007 +0100 14818 14819 randr12: Fix up some dvi related issues, thanks to MighMoS. 14820 14821commit 84cc907beffd9e8f91c4333a6db919ee2efa2740 14822Author: Maarten Maathuis <madman2003@gmail.com> 14823Date: Sat Dec 1 11:23:50 2007 +0100 14824 14825 randr12: Fix NV4x dvi clock selection, mostly affects G70 cards. 14826 14827commit c97ad9850da89b1898f125df1796bb1d00d124bb 14828Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 14829Date: Sat Dec 1 10:33:53 2007 +0100 14830 14831 Make the debug variable global to all DMA calls. 14832 14833commit 19d75f5018fd442920378a5083dbe1316cc6f62b 14834Author: Stuart Bennett <sb476@cam.ac.uk> 14835Date: Sat Dec 1 06:29:09 2007 +0000 14836 14837 The BIT bios T table. 14838 14839 T might stand for TMDS. 14840 Parsing once on start may not be the correct answer, could be a runtime thing 14841 14842commit 42a02513a1db7ada586dcaa2eaa5b68e97d67892 14843Author: Stuart Bennett <sb476@cam.ac.uk> 14844Date: Sat Dec 1 06:37:17 2007 +0000 14845 14846 Bump DCB table init so that INIT_50 can use it 14847 14848commit ddc4b0946dfd567fc0ea136db0d8b695c28bc3a2 14849Author: Stuart Bennett <sb476@cam.ac.uk> 14850Date: Sat Dec 1 05:35:40 2007 +0000 14851 14852 "or" can be 0xc 14853 14854 Quite what this means, or why Nvidia couldn't give it a more descriptive 14855 variable name in the g80 driver is anyone's guess 14856 14857commit 384115a5abd756c5e3ee79ba50e15636d159f19c 14858Author: Stuart Bennett <sb476@cam.ac.uk> 14859Date: Sat Dec 1 05:17:47 2007 +0000 14860 14861 Use Nvidia's naming for CRTC_INDEX_COLOR 14862 14863commit 2344b5b5a5a0efa439ba64f92d5b08097178dd6c 14864Author: Stuart Bennett <sb476@cam.ac.uk> 14865Date: Sat Dec 1 05:16:20 2007 +0000 14866 14867 Bios script code 0x50 14868 14869commit 78c6ff292f4c2aa0e06bce095108d0716555104a 14870Author: Stuart Bennett <sb476@cam.ac.uk> 14871Date: Sat Dec 1 00:45:32 2007 +0000 14872 14873 Add dcb "location" field. 0 for on-chip, !0 for external 14874 14875commit 312fb3d65b8db6e3c2d123c0b192da82b7de4f71 14876Author: Maarten Maathuis <madman2003@gmail.com> 14877Date: Fri Nov 30 16:47:26 2007 +0100 14878 14879 randr12: Don't unset bit 8-15 in sel_clk. 14880 14881commit ea10d579fb6053e064a5cd14b47e1da55d4120ac 14882Author: Maarten Maathuis <madman2003@gmail.com> 14883Date: Fri Nov 30 16:43:33 2007 +0100 14884 14885 randr12: Big commit, read message. 14886 14887 - Outputs (on nv4x) should now select vpll2 instead of vpll1 when neccesary (this took a long time to figure out). 14888 - Register 0x00680594 is now set correctly to allow analog secondary outputs to work (for me at least). 14889 - I found the bit that triggers non-VGA modesetting in nv10reg, so in the future we could copy the blob in that area. 14890 - Misc fixes to a lot of things. 14891 14892commit a7a8993f4074e942ec4b3ef58ede0162a2d3c415 14893Author: Maarten Maathuis <madman2003@gmail.com> 14894Date: Mon Nov 26 22:11:03 2007 +0100 14895 14896 randr12: Make sure the vpll is properly set when we steal a ramdac from another output. 14897 14898commit c11d3f68720b698736d5a28a82d3e45b55379bc6 14899Author: Maarten Maathuis <madman2003@gmail.com> 14900Date: Mon Nov 26 19:40:59 2007 +0100 14901 14902 randr12: Fixed a minor cursor bug. 14903 14904commit 59d98374e082c40b57737de56b17173f5b54910e 14905Author: Maarten Maathuis <madman2003@gmail.com> 14906Date: Mon Nov 26 19:24:03 2007 +0100 14907 14908 randr12: Set the value of sel_clk correctly (hopefully) for NV4x. 14909 14910commit 8672d7a33fe369645786c21e130f51560a656d3c 14911Author: Maarten Maathuis <madman2003@gmail.com> 14912Date: Sun Nov 25 22:08:23 2007 +0100 14913 14914 randr12: cleanup + double register assignment (vga CRTC) removed. 14915 14916commit 11809882f24e40b1b8c77f4caca27ce2ebd3ccbf 14917Author: Maarten Maathuis <madman2003@gmail.com> 14918Date: Sun Nov 25 18:15:27 2007 +0100 14919 14920 randr12: Convert premultiplied alpha cursors to normal alpha cursors. 14921 14922commit ece41daabeb0cfd727daec14d9734dac08159c7a 14923Author: Maarten Maathuis <madman2003@gmail.com> 14924Date: Sun Nov 25 16:49:01 2007 +0100 14925 14926 randr12: Fix alpha cursor corruption. 14927 14928commit 5abbf55fb5c957c4be425e9ebd2660ca14d44e27 14929Author: Maarten Maathuis <madman2003@gmail.com> 14930Date: Sun Nov 25 14:15:30 2007 +0100 14931 14932 randr12: alpha cursors don't need background changes. 14933 14934commit 37c36a284508e63af152a9315aa19a729e5516cd 14935Author: Maarten Maathuis <madman2003@gmail.com> 14936Date: Sun Nov 25 13:06:10 2007 +0100 14937 14938 Reindent a few cursor functions. 14939 14940commit 1ad212271cc99b95ff52eb719d24ac58d392c0eb 14941Author: Maarten Maathuis <madman2003@gmail.com> 14942Date: Sun Nov 25 03:20:43 2007 +0100 14943 14944 randr12: Improve TMDS and LVDS registers (and enable for LVDS). 14945 14946commit 39d94139910c53f9092f28ea6d742133666ac18d 14947Author: Maarten Maathuis <madman2003@gmail.com> 14948Date: Sun Nov 25 01:31:39 2007 +0100 14949 14950 randr12: Optimize tmds_regs a little bit. 14951 14952commit c6dce92c47dacfc822315e570bff70a8e42f5dc2 14953Author: Stuart Bennett <sb476@cam.ac.uk> 14954Date: Sat Nov 24 21:51:14 2007 +0000 14955 14956 randr12: use bus field to determine dvi pairs 14957 14958commit 328197b4613f5e25eacfb67888701bb0e298c765 14959Author: Stuart Bennett <sb476@cam.ac.uk> 14960Date: Sat Nov 24 20:44:27 2007 +0000 14961 14962 Remove a load of unnecessary casts, and reorder functions by opcode 14963 14964 Plus a micro opt to checksum thing 14965 14966commit 8cee41bc6112a96f43f242b5178a9c968d2b2d9e 14967Author: Stuart Bennett <sb476@cam.ac.uk> 14968Date: Sat Nov 24 20:25:13 2007 +0000 14969 14970 A bunch more cleaned up bios opcodes 14971 14972 Thanks to stillunknown for the bios trace 14973 14974commit 5d6f214db4cd5f0cdcb6a4395ce2ce4acf322257 14975Author: Maarten Maathuis <madman2003@gmail.com> 14976Date: Sat Nov 24 16:22:04 2007 +0100 14977 14978 randr12: Be more considerate of outputs that can only work on ramdac 1. 14979 14980commit 6e1c37e26f630caa03da9061a5cec200708babbd 14981Author: Maarten Maathuis <madman2003@gmail.com> 14982Date: Sat Nov 24 15:47:04 2007 +0100 14983 14984 randr12: The result of another refinement of dvi crosswiring. 14985 14986commit ce57eb9b34095f2776ef36b09249a4b202824a86 14987Author: Maarten Maathuis <madman2003@gmail.com> 14988Date: Sat Nov 24 13:12:49 2007 +0100 14989 14990 randr12: Disable crt_load_detect for ramdac 1 and set some better valued for test_control. 14991 14992commit 525997f86c5fe0f79cf0fa584b4cb617b83a9386 14993Author: Maarten Maathuis <madman2003@gmail.com> 14994Date: Fri Nov 23 23:12:53 2007 +0100 14995 14996 randr12: add bit30 to vpll register for nv4x cards 14997 14998 - This seems the most common situation, any idea what the bits do? 14999 15000commit f249b3b33c025417d11a85a29848db2112450dce 15001Author: Patrice Mandin <pmandin@caramail.com> 15002Date: Fri Nov 23 22:25:47 2007 +0100 15003 15004 nv30: missing command 15005 15006commit b56ca2ef87fe15132dcbc43361344d8af446c8a7 15007Author: Patrice Mandin <pmandin@caramail.com> 15008Date: Fri Nov 23 22:25:06 2007 +0100 15009 15010 nv30: another reference to an object 15011 15012commit a8af1725ef7ae6c1cd19659d0607e2a702dc148a 15013Author: Patrice Mandin <pmandin@caramail.com> 15014Date: Fri Nov 23 22:24:19 2007 +0100 15015 15016 nv30: rename viewport clip 15017 15018commit 14e631691a2e8704ee016828e94c48de7eb96409 15019Author: Patrice Mandin <pmandin@caramail.com> 15020Date: Fri Nov 23 22:03:21 2007 +0100 15021 15022 nv30: was not using gart handle 15023 15024commit 9648fd259f9906f5db854e8c4b57fd2675f4d5c5 15025Author: Maarten Maathuis <madman2003@gmail.com> 15026Date: Fri Nov 23 21:08:46 2007 +0100 15027 15028 randr12: Reenable a properly working crt load detect. 15029 15030commit 3010847c1ccf14f0b5356aeb05f2c8c0c519ce91 15031Author: Maarten Maathuis <madman2003@gmail.com> 15032Date: Fri Nov 23 18:58:49 2007 +0100 15033 15034 randr12: Remove some unneeded stuff. 15035 15036commit 2b092ca5277405a166ea54de418a8114fb6a8cf6 15037Author: Maarten Maathuis <madman2003@gmail.com> 15038Date: Fri Nov 23 17:32:12 2007 +0100 15039 15040 randr12: fix comment typo 15041 15042commit 5ca53ef57ece7ae547cd5b11e83eb0d15fe69033 15043Author: Maarten Maathuis <madman2003@gmail.com> 15044Date: Fri Nov 23 16:40:02 2007 +0100 15045 15046 randr12: Allow arbitrary ramdac and crtc combinations. 15047 15048 - Support for the misterious ramdac 2 still has to be reverse engineered. 15049 15050commit e16fccde3f817e9eab3a09398a4821566967a86d 15051Author: Maarten Maathuis <madman2003@gmail.com> 15052Date: Fri Nov 23 13:25:38 2007 +0100 15053 15054 randr12: Move a lot of registers from output to crtc. 15055 15056commit cd8293954e1d004ef837d339ae87c4689fd45e1f 15057Author: Maarten Maathuis <madman2003@gmail.com> 15058Date: Fri Nov 23 10:32:08 2007 +0100 15059 15060 randr12: There was more logic to sel_clk than previously thought. 15061 15062commit 0b55ba9f9fbd60044bad880f260e0c70e6f577f0 15063Author: Maarten Maathuis <madman2003@gmail.com> 15064Date: Thu Nov 22 22:18:47 2007 +0100 15065 15066 randr12: revert to old vpll regs on nv4x cards, because the others can't be written 15067 15068 - If anyone knows the bit to allow those registers to be written, then please tell. 15069 - This also fixes db1 vclk ratio issues, hopefully. 15070 15071commit 18117df17ec2ce355344953d70caf33a0272697f 15072Author: Stuart Bennett <sb476@cam.ac.uk> 15073Date: Thu Nov 22 00:30:29 2007 +0000 15074 15075 Bios CRTC head chosing fixed 15076 15077 Also, a slightly tighter limit on values for or, as I don't currently think 15078 bit 4 being set makes any sense 15079 15080commit 425b7cd9dcddf1735d59e9ef60e81bf91db1c65c 15081Author: Stuart Bennett <sb476@cam.ac.uk> 15082Date: Wed Nov 21 20:02:17 2007 +0000 15083 15084 randr12: unbreak LVDS console restore by reverting tmds_regs change 15085 15086commit e3f77b1b4332f5c072be713b5ea6dd234c194bb0 15087Author: Stuart Bennett <sb476@cam.ac.uk> 15088Date: Tue Nov 20 19:02:17 2007 +0000 15089 15090 Complete init_index_addr_latched opcode 15091 15092commit 05f40b2dd3f8c14da2464b19b21aa66defec17e3 15093Author: Stuart Bennett <sb476@cam.ac.uk> 15094Date: Wed Nov 21 01:58:12 2007 +0000 15095 15096 More DCB entry output, and a default for DCB 1.4 15097 15098 The table seems to be the same for all DCB 1.4 biosen I've seen, and 15099 POST seems to make no effort to parse it. I wonder if it is in fact used at all 15100 15101commit d96176c2f07efde4224c35b7c03b8380a73e1831 15102Author: Maarten Maathuis <madman2003@gmail.com> 15103Date: Tue Nov 20 20:41:38 2007 +0100 15104 15105 randr12: better guess for ramdac register 670 (nv44 and up) 15106 15107commit 817b8f1a1af70402c18c45edccec5c746063d4e8 15108Author: Maarten Maathuis <madman2003@gmail.com> 15109Date: Tue Nov 20 19:55:15 2007 +0100 15110 15111 randr12: fix serious bug in vclk calculator for nv4x cards. 15112 15113commit 040e5479344b0f794e79e4ffc6c547c58835401a 15114Author: Maarten Maathuis <madman2003@gmail.com> 15115Date: Tue Nov 20 18:49:39 2007 +0100 15116 15117 randr12: Fix a small mistake that could cause blank screens for NV44 and up. 15118 15119commit 1cc05c9e08a7e4f0c27bb0e08d47265d31123bf9 15120Author: Maarten Maathuis <madman2003@gmail.com> 15121Date: Tue Nov 20 12:56:28 2007 +0100 15122 15123 randr12: I hope i really fixed db1 vclk ratio this time (for nv4x). 15124 15125commit 016f7e84c4ef62840e300d61e5e3b2ddfadd5e32 15126Author: Maarten Maathuis <madman2003@gmail.com> 15127Date: Tue Nov 20 12:44:25 2007 +0100 15128 15129 NV50: Make a small mistake. 15130 15131commit 2cbd24ad579d3e68eaef2f8500b22e101fecd936 15132Author: Maarten Maathuis <madman2003@gmail.com> 15133Date: Tue Nov 20 12:25:21 2007 +0100 15134 15135 NV50: Some deobfuscation. 15136 15137commit ccfc6910f8cd8eb8d4b628cc14ef7db417f576ea 15138Author: Maarten Maathuis <madman2003@gmail.com> 15139Date: Tue Nov 20 09:52:47 2007 +0100 15140 15141 randr12: Also enable DB1 vclk ratio if PLL_SELECT had it enabled. 15142 15143commit 5b3d86562afd35c14d2c8c07618b08bbc98ad775 15144Author: Maarten Maathuis <madman2003@gmail.com> 15145Date: Mon Nov 19 23:55:58 2007 +0100 15146 15147 randr12: Proper support for db1 vclk ratio, thanks to Thunderbird for some info. 15148 15149commit 22d8ba5ebf659f6f126a1380190339d08ee824c6 15150Author: Maarten Maathuis <madman2003@gmail.com> 15151Date: Mon Nov 19 09:23:37 2007 +0100 15152 15153 randr12: Add a gamma_set hook. 15154 15155commit cbd70303a949f387d42497cb4ea52186ed938b9c 15156Author: Maarten Maathuis <madman2003@gmail.com> 15157Date: Sun Nov 18 22:03:03 2007 +0100 15158 15159 randr12: A first attempt at some lvds programming, not hooked up. 15160 15161 - This is a start for someone with a laptop to test and refine. 15162 15163commit 58c3d6a886c5d5557def490ee8c3e75c9f8d2cd7 15164Author: Benjamin Herrenschmidt <benh@kernel.crashing.org> 15165Date: Sun Nov 18 02:50:33 2007 +0100 15166 15167 Enable IFC uploads. 15168 15169commit 619ae1f7a028f24293f9a4e4f7777cc51ef8d16d 15170Author: Maarten Maathuis <madman2003@gmail.com> 15171Date: Sun Nov 18 00:15:34 2007 +0100 15172 15173 randr12: Final commit, switch to nv40 native vclk regs. 15174 15175 - I've also seperated the save load pll functions, to improve clarity. 15176 15177commit 601adb4f431b638d4b711ba01aa2d4c3408a7bd3 15178Author: Maarten Maathuis <madman2003@gmail.com> 15179Date: Sat Nov 17 23:47:12 2007 +0100 15180 15181 randr12: Intermediate commit (using the native nv40 vpll regs). 15182 15183commit a29eca9dec176388b1c4666ad801ae75360a1219 15184Author: Maarten Maathuis <madman2003@gmail.com> 15185Date: Sat Nov 17 20:08:27 2007 +0100 15186 15187 randr12: Some comment fixes. 15188 15189commit 6f3d335f6e3b9866457730660538c5f073862dfe 15190Author: Maarten Maathuis <madman2003@gmail.com> 15191Date: Sat Nov 17 22:23:32 2007 +0100 15192 15193 randr12: Reinstate m-divider limitations. 15194 15195commit e2b7f57cbe7e1080736e6088d2997cbcf966fc3d 15196Author: Maarten Maathuis <madman2003@gmail.com> 15197Date: Sat Nov 17 18:36:24 2007 +0100 15198 15199 randr12: Some minor changes. 15200 15201commit 2c0c7612bd08938496abb47b34498065e668ec34 15202Author: Maarten Maathuis <madman2003@gmail.com> 15203Date: Sat Nov 17 15:57:20 2007 +0100 15204 15205 randr12: Change vpll handling, note that it still is a work in progress. 15206 15207commit caec3d1ab69c523b6c0a7e0019d1a9f115cf5da3 15208Author: Ben Skeggs <skeggsb@gmail.com> 15209Date: Sat Nov 17 20:59:25 2007 +1100 15210 15211 EXA 1.4 pixmap hooks (disabled) 15212 15213 Really, you don't want to turn this on yet... :) 15214 15215commit b8e7c64476948426d5801367bab5cdf15db5ce84 15216Author: Ben Skeggs <skeggsb@gmail.com> 15217Date: Sat Nov 17 17:17:34 2007 +1100 15218 15219 Add a user callback for when a channel hang is detected. 15220 15221commit 293b32d0f66e965b3a31d54859b91210b3e35b3d 15222Author: Ben Skeggs <skeggsb@gmail.com> 15223Date: Sat Nov 17 17:02:23 2007 +1100 15224 15225 Use handles from grobj, instead of hardcoded vals from nv_dma.h 15226 15227commit 84bc37723c2cabe7652050b4cbaf9f5218fdb071 15228Author: Ben Skeggs <skeggsb@gmail.com> 15229Date: Sat Nov 17 16:43:05 2007 +1100 15230 15231 Turn vram/fb handles into "real" grobjs. 15232 15233commit f3cdd5086f410711103c6b3453629d85ef4c2788 15234Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15235Date: Sat Nov 17 01:22:31 2007 +0100 15236 15237 Put back memory barrier and write posting. 15238 15239commit 762f732c7aaa8aa3dd7d54a8734cbcc54cd10494 15240Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15241Date: Fri Nov 16 23:38:49 2007 +0100 15242 15243 Add verbose debugging code to help with fixing push buffer issues. 15244 15245commit c8f7a9fcdcc356b4dc5030112b1532d2fa3eaf0f 15246Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15247Date: Fri Nov 16 23:37:10 2007 +0100 15248 15249 Oops. Correct either the header or the packet but not both. 15250 15251commit 5ce573875387490eb7feaa87a3354b888beb4410 15252Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15253Date: Fri Nov 16 23:32:07 2007 +0100 15254 15255 Unmatched OUT_RING(0). 15256 15257commit cc0c1af932a96cec6aabc72cbe9ca508fbc80a36 15258Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15259Date: Fri Nov 16 21:59:53 2007 +0100 15260 15261 fix typo. 15262 15263commit 4b7601c297fefc46adf3bc37a463575d3caafedb 15264Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15265Date: Fri Nov 16 21:56:14 2007 +0100 15266 15267 fix 32/64 bit ism. 15268 15269commit bee8bc5ce321245362847253b7ccc7530899e514 15270Author: Maarten Maathuis <madman2003@gmail.com> 15271Date: Fri Nov 16 21:29:20 2007 +0100 15272 15273 randr12: Minor change. 15274 15275commit 735fae4bb0b92f097665f675ba5127a9bb11d8fa 15276Author: Maarten Maathuis <madman2003@gmail.com> 15277Date: Fri Nov 16 19:19:23 2007 +0100 15278 15279 randr12: That wasn't supposed to end up there ;-) 15280 15281commit 2848c3e7a4d25e5ca311ea1a88458eb2a77976ed 15282Author: Maarten Maathuis <madman2003@gmail.com> 15283Date: Fri Nov 16 19:16:08 2007 +0100 15284 15285 randr12: Disable changing ramdac reg580, until i know why this causes issues. 15286 15287commit 75222fa199f1f5bc1abd66a4e80a446b5d597523 15288Author: Ben Skeggs <skeggsb@gmail.com> 15289Date: Sat Nov 17 15:31:49 2007 +1100 15290 15291 nouveau: fix valgrind complaint 15292 15293commit 1a98f1ae8298ca3b069b146a2866f96e934afb74 15294Author: Maarten Maathuis <madman2003@gmail.com> 15295Date: Fri Nov 16 17:00:59 2007 +0100 15296 15297 randr12: Restore old timings + misc changes. 15298 15299commit 1b0cd6602cf9d96f41242054efe2f96cc70eaa96 15300Author: Ben Skeggs <skeggsb@gmail.com> 15301Date: Sat Nov 17 09:08:03 2007 +1100 15302 15303 oops, forgot these... 15304 15305commit 9c46ec6833ccfc29e4a67b0ce4226d8b38b772ab 15306Author: Ben Skeggs <skeggsb@gmail.com> 15307Date: Sat Nov 17 07:23:41 2007 +1100 15308 15309 Initial hacky relocation stuff. 15310 15311 Entire DDX ported across to OUT_RELOCx/OUT_PIXMAPx, workable in it's current 15312 state for the current BO backend.. definitely not for TTM yet :) 15313 15314commit ddda33decb42ba2f5f9586e1d5de4533d1d88674 15315Author: Ben Skeggs <skeggsb@gmail.com> 15316Date: Sat Nov 17 06:11:01 2007 +1100 15317 15318 Initial buffer object work. 15319 15320 Implemented on top of the current MM interface, and currently used in the 15321 exact same way NVAllocate/FreeMemory was used. Can transition to something 15322 more ttm-friendly gradually. 15323 15324 The "old mm" bo backend is extremely primitive. Buffers can only be created 15325 in mappable memory, forcibly pinned, and never moved once they're created. 15326 Some of these things could be improved, but probably not much point. 15327 15328commit 9b9d995a517b48cd074030c567f9c78bee19b129 15329Author: Ben Skeggs <skeggsb@gmail.com> 15330Date: Sat Nov 17 03:36:04 2007 +1100 15331 15332 Report engine hangs again, instead of spinning forever. 15333 15334commit 2af4a28ae1df46686e264bcda417a896b7cfa59a 15335Author: Ben Skeggs <skeggsb@gmail.com> 15336Date: Fri Nov 16 09:18:33 2007 +1100 15337 15338 Hook up DMA funcs to channels/grobjs etc etc 15339 15340commit 6e3d05e8c60fd7bab371af86151e45eec0a65b3d 15341Author: Ben Skeggs <skeggsb@gmail.com> 15342Date: Fri Nov 16 07:08:23 2007 +1100 15343 15344 notifiers.. 15345 15346 Lacking timeouts at the moment so if X would've crashed before, it'll spin 15347 forever now. 15348 15349commit 020740d92b5d623bee65e598ac60020187011b04 15350Author: Ben Skeggs <skeggsb@gmail.com> 15351Date: Fri Nov 16 06:07:56 2007 +1100 15352 15353 And grobjs. 15354 15355commit 929e2b7d53435d097b07c23ed1d0caaa47924f8a 15356Author: Ben Skeggs <skeggsb@gmail.com> 15357Date: Fri Nov 16 05:10:58 2007 +1100 15358 15359 And channels.. 15360 15361commit 22909d96b8ea720169b34326b93c7b29eb3db013 15362Author: Ben Skeggs <skeggsb@gmail.com> 15363Date: Fri Nov 16 04:36:08 2007 +1100 15364 15365 Implement nouveau_device struct. 15366 15367commit b96e813773b0705bbac57f2d64adff3aad845622 15368Author: Stuart Bennett <sb476@cam.ac.uk> 15369Date: Fri Nov 16 03:26:56 2007 +0000 15370 15371 Begone, foul g5-bios-hack 15372 15373 also, fix the DCB termination test; I'm amazed nothing broke 15374 15375commit 7eee9585fa8e8c45f4ab4712a3b990664203d72b 15376Author: Maarten Maathuis <madman2003@gmail.com> 15377Date: Thu Nov 15 19:33:13 2007 +0100 15378 15379 randr12: Only NV4x have two seperate PVIO ranges. 15380 15381commit 276892b069fd045b20f44d7888a7971371d73ad3 15382Author: Maarten Maathuis <madman2003@gmail.com> 15383Date: Thu Nov 15 19:27:12 2007 +0100 15384 15385 randr12: Improved values for FP_CONTROL register. 15386 15387commit 4a16f14061c88ed49b05ef8779a2584f5053c3f1 15388Author: Maarten Maathuis <madman2003@gmail.com> 15389Date: Thu Nov 15 18:44:52 2007 +0100 15390 15391 randr12: Some minor register changes. 15392 15393commit b436a6809c62e0fe0696d2c6bad066c3afcf9166 15394Author: Arthur Huillet <arthur.huillet@free.fr> 15395Date: Thu Nov 15 15:01:47 2007 +0100 15396 15397 NV10 EXA: removed left out debug statement 15398 15399commit 98e223ebb01440810e01e902e904524c50b463cb 15400Author: Arthur Huillet <arthur.huillet@free.fr> 15401Date: Thu Nov 15 12:57:20 2007 +0100 15402 15403 NV1x EXA : refactored A8 + A8 code, enabled on NV2x, fix A8 txfmt for NV2x 15404 15405 more compact and more readable A8 + A8 code along with some codestyle fixes 15406 now enabling this acceleration on NV2x cards, with the A8 format value hack 15407 15408commit 3cdc4b274f371f1f524d140fddd79dad2987b06c 15409Author: Ben Skeggs <skeggsb@gmail.com> 15410Date: Fri Nov 16 03:28:45 2007 +1100 15411 15412 nouveau: fix a host of warnings 15413 15414commit 6eba6c7fab534efd15c8e96daeeb9a33972c2b6d 15415Author: Stuart Bennett <sb476@cam.ac.uk> 15416Date: Thu Nov 15 02:09:45 2007 +0000 15417 15418 Big endian bios fix 15419 15420commit 69a3a849e65a022609db3a5f33277b744463a6ae 15421Author: Patrice Mandin <pmandin@caramail.com> 15422Date: Wed Nov 14 23:03:06 2007 +0100 15423 15424 nv30exa: set link with image blit 15425 15426commit 2435836202efe7ea42a7bece71f125fb46aac3ba 15427Author: Stuart Bennett <sb476@cam.ac.uk> 15428Date: Wed Nov 14 19:02:28 2007 +0000 15429 15430 nv_bios indentation 15431 15432commit 7b0ca260f57e92e45d7f48f16642bfcd67b10eaf 15433Author: Stuart Bennett <sb476@cam.ac.uk> 15434Date: Wed Nov 14 18:47:40 2007 +0000 15435 15436 More code and logging beautification - wrap I/O better 15437 15438 Plus some actual fixes 15439 15440commit d00420a1286e368fbc20551cae5260bf65ed1b15 15441Author: Stuart Bennett <sb476@cam.ac.uk> 15442Date: Wed Nov 14 19:07:06 2007 +0000 15443 15444 IO flag conditions, beginnings of init_idx_addr_latched 15445 15446 plus usual whitespace and pointless renaming 15447 15448commit 4e8af31a89b7d732b52706f87e1dc66e29ab717e 15449Author: Stuart Bennett <sb476@cam.ac.uk> 15450Date: Wed Nov 14 03:01:27 2007 +0000 15451 15452 More opcodes, and some monstrous reindenting 15453 15454 all part of an evil plan to have the most lines in the Xorg log 15455 15456commit 89617cfcdfd1ee19b99888cfbcfec1ee0550d26c 15457Author: Stuart Bennett <sb476@cam.ac.uk> 15458Date: Wed Nov 14 00:36:02 2007 +0000 15459 15460 Updating some BIOS parser opcodes 15461 15462 plus various debug / whitespace fixes 15463 15464commit cc5db05bed630350613c7cbfa418d814ed5a5093 15465Author: Stuart Bennett <sb476@cam.ac.uk> 15466Date: Wed Nov 14 19:27:06 2007 +0000 15467 15468 randr12: More DCB abstraction to lessen parsing nastiness for old versions 15469 15470commit d46b61f88225d3e2b28a6c4a4ac4b8a1fe942a39 15471Author: Stuart Bennett <sb476@cam.ac.uk> 15472Date: Tue Nov 13 18:24:46 2007 +0000 15473 15474 Gratuitous code renaming, moving + warning fixes for bios 15475 15476commit c87e3570a198b5d69046387d111a2709a571d5e3 15477Author: Maarten Maathuis <madman2003@gmail.com> 15478Date: Wed Nov 14 22:30:11 2007 +0100 15479 15480 randr12: Reinstate the "magic factor" until a better solution comes along. 15481 15482commit 5b62e77ded9e64d439b70ce0b7dce27a7ae1df4f 15483Author: Arthur Huillet <arthur.huillet@free.fr> 15484Date: Wed Nov 14 20:54:24 2007 +0100 15485 15486 NV1x EXA : implemented A8 + A8 via a dirty hack 15487 15488 it works, but probably needs to be optimized 15489 15490commit 3db89822ba94a94eeb1ab891488d7f203a0dfff8 15491Author: Maarten Maathuis <madman2003@gmail.com> 15492Date: Wed Nov 14 19:48:53 2007 +0100 15493 15494 randr12: Disable ramdac register 0x900, until i know for certain what it does. 15495 15496commit 842b33e2dc82e70a7da992642de4503d4cb0a1fc 15497Author: Maarten Maathuis <madman2003@gmail.com> 15498Date: Wed Nov 14 16:02:56 2007 +0100 15499 15500 randr12: fix comment typo 15501 15502commit c7fc4b9981bb242830ddb830863fb26301429c74 15503Author: Maarten Maathuis <madman2003@gmail.com> 15504Date: Wed Nov 14 08:34:44 2007 +0100 15505 15506 randr12: Enable all pll on pre-nv40 and improve usage of ramdac_670 register. 15507 15508commit 992d079d64369a4a8445012b438ec980968c11d8 15509Author: Maarten Maathuis <madman2003@gmail.com> 15510Date: Tue Nov 13 21:46:23 2007 +0100 15511 15512 NV50: fix stupid type from commit d5dfb82f7f39304eb39dd4b1c34a2a2801d90a25 15513 15514commit 7ad7b6ad453b6401ef0bf5128f7ac9790df95bb2 15515Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15516Date: Tue Nov 13 21:36:13 2007 +0100 15517 15518 Don't use GART on PPC. Workaround DMA bugs there. 15519 15520commit b451a21f77678b1fb1d31f3df7e3b1aea6984876 15521Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15522Date: Tue Nov 13 20:58:51 2007 +0100 15523 15524 Remove ENABLE_NV30EXA, which is not needed any more. 15525 15526commit 9dc1e1e1fc049c7a535da8e1bc8ce79fd2d620b5 15527Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15528Date: Tue Nov 13 20:54:53 2007 +0100 15529 15530 Enable nv30 exa on PPC. 15531 15532commit 4fb7b608cbdf53084da63526c066eb7f772c6c14 15533Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15534Date: Tue Nov 13 20:53:58 2007 +0100 15535 15536 Fix nv30 exa for big endian 15537 15538commit 875960dacda54268fc1d318995c145b2db09ca5b 15539Author: Maarten Maathuis <madman2003@gmail.com> 15540Date: Tue Nov 13 19:43:41 2007 +0100 15541 15542 randr12: Set a few new registers + misc fixes. 15543 15544commit cf9aaa2b074eca67cf0119172c3d15328418416d 15545Author: Stuart Bennett <sb476@cam.ac.uk> 15546Date: Mon Nov 12 19:24:34 2007 +0000 15547 15548 Some type / warning fixes for nv_bios.c 15549 15550commit f00f6d1df06d2671255fd988f514a6f6ab0f8b18 15551Author: Stuart Bennett <sb476@cam.ac.uk> 15552Date: Sun Nov 11 17:50:55 2007 +0000 15553 15554 Misc bios parsing bits 15555 15556commit fdc7f4a353c4dda07fffd9800b477ae5bc43baac 15557Author: Patrice Mandin <pmandin@caramail.com> 15558Date: Mon Nov 12 23:54:22 2007 +0100 15559 15560 Remove disable switches, big cleanup, requires xorgs server 1.3 again 15561 15562commit e93a5d3abe6d637e00bd9c998e9735c9766eecfb 15563Author: Maarten Maathuis <madman2003@gmail.com> 15564Date: Mon Nov 12 21:05:00 2007 +0100 15565 15566 randr12: Improve vclk setting. 15567 15568 - It now considers crosswired TMDS situations. 15569 15570commit d32420c82b1e63bbc84768c92c336391af624952 15571Author: Maarten Maathuis <madman2003@gmail.com> 15572Date: Mon Nov 12 20:17:04 2007 +0100 15573 15574 randr12: Fix bad comment. 15575 15576commit 8a04babb88111ec8ccec9af56c3591d41afba9b3 15577Author: Maarten Maathuis <madman2003@gmail.com> 15578Date: Mon Nov 12 20:14:10 2007 +0100 15579 15580 randr12: Some minor changes. 15581 15582commit 821d4b83ed780d9a0a8d950a2595a0e15ef3f103 15583Author: Maarten Maathuis <madman2003@gmail.com> 15584Date: Mon Nov 12 16:21:14 2007 +0100 15585 15586 randr12: Set SEL_CLK appropriately based on wether a TMDS is crosswired. 15587 15588commit d017ce4879ca755fc6d56f232fe3162864f4b38e 15589Author: Maarten Maathuis <madman2003@gmail.com> 15590Date: Mon Nov 12 10:34:54 2007 +0100 15591 15592 A little code cleanup. 15593 15594commit 16fb5b92dba9a0380d2fdd1ece1b9b0691d79d3a 15595Author: Maarten Maathuis <madman2003@gmail.com> 15596Date: Mon Nov 12 00:17:52 2007 +0100 15597 15598 NV50: Port an LVDS detection fix from nv. 15599 15600commit b01a87f18d122d80fac6daf1dfb1c404d7f3a814 15601Author: Maarten Maathuis <madman2003@gmail.com> 15602Date: Mon Nov 12 00:03:19 2007 +0100 15603 15604 NV50: Port one of the nv patches. 15605 15606commit f22691661f8b72cedb8aa4fc96b41fcff4171e12 15607Author: Maarten Maathuis <madman2003@gmail.com> 15608Date: Sun Nov 11 21:53:10 2007 +0100 15609 15610 randr12: Some code cleanup. 15611 15612commit aceceb22775bb039cb0e207f39f7cbd93c2db194 15613Author: Maarten Maathuis <madman2003@gmail.com> 15614Date: Sun Nov 11 21:32:31 2007 +0100 15615 15616 NV50: Clean up nv50_output.c a bit. 15617 15618 - I did not make wrappers for the i2c stuff, since i do not know what that range does, besides i2c. 15619 15620commit a0835f7c64cf5f62626332ccba21cfe436584275 15621Author: Maarten Maathuis <madman2003@gmail.com> 15622Date: Sun Nov 11 21:17:40 2007 +0100 15623 15624 NV50: cleanup of nv50_sor.c 15625 15626commit f463a7f6213bede18917191546c8cd61cf4612e8 15627Author: Maarten Maathuis <madman2003@gmail.com> 15628Date: Sun Nov 11 20:51:01 2007 +0100 15629 15630 randr12: Make sure we don't set 2 "special" bits in sel_clk. 15631 15632commit 27cbf73bc572f435870decc2017cbf1c4f38264d 15633Author: Maarten Maathuis <madman2003@gmail.com> 15634Date: Sun Nov 11 19:32:26 2007 +0100 15635 15636 randr12: Overhaul vpll set code + misc fixes. 15637 15638 - Hopefully the problematic G70's work again. 15639 15640commit 78e88d1f4e2f058c487978c01e19a828271f3f0b 15641Author: Stuart Bennett <sb476@cam.ac.uk> 15642Date: Fri Nov 9 03:17:12 2007 +0000 15643 15644 vbios fptable v2 parsing (for BIT biosen). Not that I know how to index it. 15645 15646 Plus some fptable v1 fixes, bmp structure length checks, 15647 and support for a weird bios version that may be in some gf2go 15648 15649commit 15c771a6b3ecb9b36f9725c518141cf889aa953c 15650Author: Stuart Bennett <sb476@cam.ac.uk> 15651Date: Fri Nov 9 01:19:04 2007 +0000 15652 15653 G5 6600 DCB improvements, but I'm sure to be some bswaps short 15654 15655 This will all become so much nicer when I can do leNN_to_cpu()... 15656 15657commit 9408fcbbbbab80608c8923ab2b7757dfa76b9767 15658Author: Maarten Maathuis <madman2003@gmail.com> 15659Date: Sat Nov 10 17:02:38 2007 +0100 15660 15661 NV50: Last part of nv50_dac.c 15662 15663commit 85b5e6bfc17c347a9976155a755637f7c8d9304f 15664Author: Maarten Maathuis <madman2003@gmail.com> 15665Date: Sat Nov 10 16:59:49 2007 +0100 15666 15667 NV50: More cleanup (this time nv50_dac.c). 15668 15669commit 23d9f09a4600abf5426cb6d069dc5d9aa876a771 15670Author: Maarten Maathuis <madman2003@gmail.com> 15671Date: Sat Nov 10 16:32:51 2007 +0100 15672 15673 NV50: That's the initial cleanup for nv50_display.c 15674 15675commit 25cef08b183d6406ce065b2b3cd224dd1840525b 15676Author: Maarten Maathuis <madman2003@gmail.com> 15677Date: Sat Nov 10 16:24:32 2007 +0100 15678 15679 NV50: Should have run make first ;-) 15680 15681commit d5dfb82f7f39304eb39dd4b1c34a2a2801d90a25 15682Author: Maarten Maathuis <madman2003@gmail.com> 15683Date: Sat Nov 10 16:23:48 2007 +0100 15684 15685 NV50: Even more cleanup. 15686 15687commit 391c498e676752ac6bf03b668a1cb00094c1a049 15688Author: Maarten Maathuis <madman2003@gmail.com> 15689Date: Sat Nov 10 16:19:32 2007 +0100 15690 15691 NV50: More cleanup, small commits to make bisecting easier. 15692 15693commit 59788f9d4e6c264a6b666918989ad6b778026bd9 15694Author: Maarten Maathuis <madman2003@gmail.com> 15695Date: Sat Nov 10 16:05:42 2007 +0100 15696 15697 NV50: Some initial cleanup. 15698 15699commit 1a7d7ccb4c12f6a10aa5e8b41daee1aae52efa8a 15700Author: Maarten Maathuis <madman2003@gmail.com> 15701Date: Sat Nov 10 15:39:04 2007 +0100 15702 15703 NV50: Another wrapper. 15704 15705commit 3ca3170c8bbd758da81a1bc5b5a84cf3ca642c07 15706Author: Maarten Maathuis <madman2003@gmail.com> 15707Date: Sat Nov 10 15:29:13 2007 +0100 15708 15709 NV50: A new wrapper + a few functions renamed. 15710 15711 - I'm trying to clean up the code a bit, but lack of the hardware prevents me from testing it. 15712 15713commit 77dc99b2621523e20a956a8eaa01a100c992c458 15714Author: Maarten Maathuis <madman2003@gmail.com> 15715Date: Sat Nov 10 00:35:04 2007 +0100 15716 15717 randr12: This may break stuff for some g70 cards, if it does, then please scream. 15718 15719 - I hope i've got most situations covered. 15720 - If there are issues getting the second head to work on nv4x cards, then please tell. 15721 - nv4x is geforce 6 and 7 series for those who do not know. 15722 15723commit c169480b0bb177e8c5efb292d38c55554dcdfcdd 15724Author: Maarten Maathuis <madman2003@gmail.com> 15725Date: Fri Nov 9 20:41:48 2007 +0100 15726 15727 randr12: Disable load detect again, until we can identify it from a DVI monitor. 15728 15729commit 7237a7014b426acc4857d32967e0f10974877819 15730Author: Maarten Maathuis <madman2003@gmail.com> 15731Date: Fri Nov 9 20:40:46 2007 +0100 15732 15733 randr12: Improve detection of DVI-D/DVI-A pairs (for naming). 15734 15735commit a8125c458fa53544625da2071a69e3fd27d7c084 15736Author: Stuart Bennett <sb476@cam.ac.uk> 15737Date: Fri Nov 9 19:27:37 2007 +0000 15738 15739 randr12: Revert "randr12: lose ffs wrapper", it's wrong 15740 15741commit d83cb471cfcc18973eb4a5f319bc17a06e0a883f 15742Author: Stuart Bennett <sb476@cam.ac.uk> 15743Date: Fri Nov 9 19:02:00 2007 +0000 15744 15745 randr12: lose ffs wrapper 15746 15747commit dedf68e10f4b0cde6f9c49d60df737ed7b4148c0 15748Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 15749Date: Wed Oct 31 02:36:41 2007 +0100 15750 15751 More nv30 exa cleaning up. 15752 15753commit d3679e8a5c0ce54ee3ef4de15be5a1fcd353df8e 15754Author: Maarten Maathuis <madman2003@gmail.com> 15755Date: Fri Nov 9 18:44:37 2007 +0100 15756 15757 randr12: Do not mess with ramdac register 580 until it's proven to be neccesary. 15758 15759 - I cannot seem to find out what the conditions are to change this register, except that it's related to VCLK ratio DB1. 15760 15761commit a49d51c638c2004641e58dc0061652553e9a6751 15762Author: Maarten Maathuis <madman2003@gmail.com> 15763Date: Fri Nov 9 18:31:02 2007 +0100 15764 15765 randr12: Fix vertical scaling. 15766 15767commit 2e6f5e18231a327cac7de4a927435585d1eadcee 15768Author: Patrice Mandin <pmandin@caramail.com> 15769Date: Fri Nov 9 18:13:43 2007 +0100 15770 15771 oops, trailing whitespace 15772 15773commit 596f4e6a78900f3cbb3beb4c99da7606dc630179 15774Author: Patrice Mandin <pmandin@caramail.com> 15775Date: Fri Nov 9 18:11:25 2007 +0100 15776 15777 Also disable nv40exa if nv30exa disabled 15778 15779commit d9f80b9d5f4ae1c00e79b9e903c2fc0c23b37a13 15780Author: Patrice Mandin <pmandin@caramail.com> 15781Date: Fri Nov 9 18:10:53 2007 +0100 15782 15783 Reading DFP tables need randr1.2 15784 15785commit 50aaccb5e0d3b9a978701c55ebe6545a6f7b1456 15786Author: Stuart Bennett <sb476@cam.ac.uk> 15787Date: Thu Nov 8 18:59:50 2007 +0000 15788 15789 randr12: invert fpScaler to regain original meaning (see man page) 15790 15791commit 3f6db3ac15b51a58353396fce2126a369b4cfd89 15792Author: Stuart Bennett <sb476@cam.ac.uk> 15793Date: Thu Nov 8 20:30:28 2007 +0000 15794 15795 randr12: Do scaling / native fixup in the fixup function 15796 15797 Nuke the LVDS specific fixup code 15798 Then use adjusted_mode accordingly 15799 15800commit 51a874a59d82678bbb790b708f9ba62985d99344 15801Author: Stuart Bennett <sb476@cam.ac.uk> 15802Date: Wed Nov 7 18:37:57 2007 +0000 15803 15804 randr12: rename DIGITAL and PANEL to TMDS and LVDS 15805 15806 Following on from earlier renaming, this is less confusing, at least to me. 15807 15808commit 61c92f10e1182403fc6fc8a666ed3d8b14795481 15809Author: Stuart Bennett <sb476@cam.ac.uk> 15810Date: Thu Nov 8 17:00:44 2007 +0000 15811 15812 randr12: blank screen before we're ready to show it 15813 15814commit da64328dd7be7f0e7ee1dd0dd774174fc126948b 15815Author: Maarten Maathuis <madman2003@gmail.com> 15816Date: Thu Nov 8 20:11:25 2007 +0100 15817 15818 randr12: Some outputs are only valid on secondary output. 15819 15820commit fe3d49ccb24ff20fba79ee97cceba64850d9387f 15821Author: Maarten Maathuis <madman2003@gmail.com> 15822Date: Thu Nov 8 19:20:41 2007 +0100 15823 15824 randr12: Improve output naming scheme. 15825 15826commit 42542b36d771142d38f72b3365da8b53e9d25c55 15827Author: Maarten Maathuis <madman2003@gmail.com> 15828Date: Thu Nov 8 19:13:03 2007 +0100 15829 15830 randr12: Add ramdac assignment code to the lvds dpms function. 15831 15832commit 2f1bf8138ba970ad18afe1ba9ee10228ea213926 15833Author: Maarten Maathuis <madman2003@gmail.com> 15834Date: Thu Nov 8 18:42:35 2007 +0100 15835 15836 randr12: Misc fixes. 15837 15838commit 8b733ab61e0b9eb375783e986de776eef5fd49ff 15839Author: Ben Skeggs <skeggsb@gmail.com> 15840Date: Fri Nov 9 03:29:21 2007 +1100 15841 15842 get rid of ALLOCATE_LOCAL etc. 15843 15844commit bfb78d2090ee5c189cf00e6af5107a756e864e98 15845Author: Maarten Maathuis <madman2003@gmail.com> 15846Date: Thu Nov 8 00:20:53 2007 +0100 15847 15848 randr12: It seems the situation was a bit easier to handle, luckily. 15849 15850 - I've tied ramdac and crtc number together. 15851 - Switching crtc's doesn't cause a problem anymore (even when crtc0 is not in use). 15852 15853commit d56e6e498ed9acc35bfa540881243acf03981571 15854Author: Maarten Maathuis <madman2003@gmail.com> 15855Date: Wed Nov 7 22:25:40 2007 +0100 15856 15857 randr12: Intermediate commit. 15858 15859commit f13659a8c8e855dc0b871173ccfdd0b70236be71 15860Author: Arthur Huillet <arthur.huillet@free.fr> 15861Date: Wed Nov 7 23:03:54 2007 +0100 15862 15863 NV10EXA: added support for R5G6B5 as source and destination (tested only with rendercheck) 15864 added A8 + A8 via ARGB + ARGB hack, disabled by default because it cannot work 15865 updated instrumentation to dump pixmap sizes and repeat flag 15866 15867commit 3d671bf3b06e64b49254db666980be3a3b3652cc 15868Author: Stuart Bennett <sb476@cam.ac.uk> 15869Date: Wed Nov 7 15:08:48 2007 +0000 15870 15871 randr12: remove some duplication and reduce mem leaks 15872 15873commit cdbec606e4ec398d6bef87d635499100559e3a19 15874Author: Stuart Bennett <sb476@cam.ac.uk> 15875Date: Wed Nov 7 14:54:18 2007 +0000 15876 15877 randr12: refactor ddc stuff for convenience 15878 15879commit ed8473b228579024a4fdc9c2a9ecf4cb71135378 15880Author: Stuart Bennett <sb476@cam.ac.uk> 15881Date: Wed Nov 7 14:33:50 2007 +0000 15882 15883 randr12: micro-optimization on use of "or" 15884 15885commit f6d0b446eda687bb55649599e1aedfa231feaaa9 15886Author: Stuart Bennett <sb476@cam.ac.uk> 15887Date: Tue Nov 6 21:20:10 2007 +0000 15888 15889 randr12: LVDS warning 15890 15891commit 62f8fed79f1617ffd0289123045fda0a3c0e92b2 15892Author: Stuart Bennett <sb476@cam.ac.uk> 15893Date: Tue Nov 6 01:29:33 2007 +0000 15894 15895 randr12: Use NV_RAMDAC_PLL_SELECT_PLL_SOURCE_ALL for LVDS 15896 15897 Using only VPLL seems to be broken for LVDS. Traces show consistent use of ALL. 15898 15899commit 0b958dc66a5533a7db61b7b2f456df876e9905ff 15900Author: Maarten Maathuis <madman2003@gmail.com> 15901Date: Wed Nov 7 09:33:40 2007 +0100 15902 15903 randr12: Also save flatpanel regs on analog monitors. 15904 15905commit c8ac3f0c7cfd6eca85f332e11e280f715e80283e 15906Author: Stuart Bennett <sb476@cam.ac.uk> 15907Date: Tue Nov 6 21:09:51 2007 +0000 15908 15909 Various minor fixes 15910 15911 Now that ramdac selection uses sensible numbers, it turns out writing to TMDS regs is a bad move on LVDS. 15912 Also, change FP_CONTROL handling a bit for LVDS (bit31 needs preserving) 15913 15914commit d7be5bdc27fee0758df33feb3a331c9c79dd94e0 15915Author: Stuart Bennett <sb476@cam.ac.uk> 15916Date: Tue Nov 6 19:53:08 2007 +0000 15917 15918 Start using OUTPUT_PANEL where appropriate 15919 15920commit f1160ac702a251708f2385b78c1657f95c2916ab 15921Author: Stuart Bennett <sb476@cam.ac.uk> 15922Date: Thu Nov 1 00:24:13 2007 +0000 15923 15924 Beautify DCB 1.2 weirdness, hopefully fixup G5 and use dcb_table more simply 15925 15926commit 38829fa5cdac1469a6a71a092a42885ea048a1ba 15927Author: Stuart Bennett <sb476@cam.ac.uk> 15928Date: Tue Nov 6 19:41:47 2007 +0000 15929 15930 Implement lvds_output_{get_modes, mode_valid, mode_fixup} 15931 15932commit 29c578bfe9415aa86910cf6d5cd44787b4fdf44d 15933Author: Stuart Bennett <sb476@cam.ac.uk> 15934Date: Fri Oct 26 03:01:17 2007 +0100 15935 15936 Reindentation, renaming, adding debug, and assume LVDS always connected 15937 15938commit 7aeae6cdc99ab633361f107752ef1bfa3e0492e0 15939Author: Stuart Bennett <sb476@cam.ac.uk> 15940Date: Wed Oct 31 17:29:16 2007 +0000 15941 15942 LVDS VBIOS FP mode finding 15943 15944commit cd806f92e29573ea968ab2fddb454eb1513e37dd 15945Author: Maarten Maathuis <madman2003@gmail.com> 15946Date: Wed Nov 7 00:16:33 2007 +0100 15947 15948 randr12: Fix ugly alligment. 15949 15950commit 88faf35179b9af8060c35a7a95e9a6baaae552be 15951Author: Maarten Maathuis <madman2003@gmail.com> 15952Date: Wed Nov 7 00:11:51 2007 +0100 15953 15954 randr12: Improve hotplugging of outputs. 15955 15956commit 4aa3acbd5410c8dda57a483cf7967258440888dc 15957Author: Peter Winters <peter@whoei.org> 15958Date: Tue Nov 6 23:40:07 2007 +0100 15959 15960 NV10 EXA: Implement a8 1x1 repeat 15961 15962commit 524e555c468fbab32b515ecd2c1e9cccf6c48443 15963Author: Peter Winters <peter@whoei.org> 15964Date: Tue Nov 6 23:29:03 2007 +0100 15965 15966 NV10 EXA: setup viewport like nv40 exa 15967 15968commit 2f2298f0ae3777c775b3ab81356adebf4f52ed77 15969Author: Maarten Maathuis <madman2003@gmail.com> 15970Date: Tue Nov 6 22:15:20 2007 +0100 15971 15972 randr12: Readd crt load detect + misc changes + restrictions (see full log) 15973 15974 - Crt load detect has been readded, but only for the primary output (the other gives false positives). 15975 - Misc changes to ramdac management. 15976 - Until i know how to trigger a full mode change, i cannot allow adding an output which requires ramdac0 during runtime. 15977 15978commit a6244c25a5c7efc633c74f506ca121e10a5642c0 15979Author: Maarten Maathuis <madman2003@gmail.com> 15980Date: Tue Nov 6 16:11:43 2007 +0100 15981 15982 randr12: Reasonably complete TMDS programming, see notes. 15983 15984 - Please file a bug and make a mmio-trace when it fails for you. 15985 - I can now hotplug TMDS, so that makes both types hotpluggable on nv4x. 15986 - I have no clue what happens on pre-nv40 hardware, so please try. 15987 15988commit 5f6912f083048f01a33582d45bc6b22f0ac27d4e 15989Author: Maarten Maathuis <madman2003@gmail.com> 15990Date: Tue Nov 6 10:56:22 2007 +0100 15991 15992 randr12: Associate VPLL's with ramdac instead of crtc. 15993 15994commit 8241710c94f6df0bf683bc3c93f7ea1ca14d118c 15995Author: Maarten Maathuis <madman2003@gmail.com> 15996Date: Tue Nov 6 10:34:56 2007 +0100 15997 15998 randr12: Put TEST_CONTROL into neutral position. 15999 16000commit 19533d8ba549965dedd9083330b217270efaa49b 16001Author: Maarten Maathuis <madman2003@gmail.com> 16002Date: Mon Nov 5 23:32:16 2007 +0100 16003 16004 NV50: Don't hit pre-NV50 codepath. 16005 16006commit 5ca10da0c7dd2fd689cc4369e37ed385a0c10d21 16007Author: Maarten Maathuis <madman2003@gmail.com> 16008Date: Mon Nov 5 21:28:22 2007 +0100 16009 16010 randr12: Remove incorrect (and hopefully redundant) output initialisation check. 16011 16012commit fcacad59d9233a66111d1c434e14cc4b2a08961e 16013Author: Maarten Maathuis <madman2003@gmail.com> 16014Date: Mon Nov 5 21:18:13 2007 +0100 16015 16016 randr12: Do not remove any bits from crtc register 580. 16017 16018commit e58c6735c73cc3a94a7a139e235b1dff9220e507 16019Author: Maarten Maathuis <madman2003@gmail.com> 16020Date: Mon Nov 5 20:30:41 2007 +0100 16021 16022 randr12: Only use VPLL as timing source. 16023 16024commit 1071aeef24b349bac08a2ac091733c23cad1cb44 16025Author: Maarten Maathuis <madman2003@gmail.com> 16026Date: Mon Nov 5 20:04:26 2007 +0100 16027 16028 randr12: Only enable crtc at the very last stage, should avoid mode setting "blinking". 16029 16030commit 1ac7798bdec75d9336afd1cfbe7fa177f5fe1465 16031Author: Maarten Maathuis <madman2003@gmail.com> 16032Date: Mon Nov 5 10:03:15 2007 +0100 16033 16034 randr12: Add a native mode for TMDS and make that preferred + some ddc related fixes. 16035 16036commit bfb75679e504b335be0de4384830cc8129f92c1b 16037Author: Ben Skeggs <skeggsb@gmail.com> 16038Date: Mon Nov 5 11:44:58 2007 +1100 16039 16040 Fix a thinko from commit 62294d9be8ec6f1159e3c2ad273649f937b7aa7e. 16041 16042commit bf8a2dfa7f83956d100316ed7450669795ea47d2 16043Author: Maarten Maathuis <madman2003@gmail.com> 16044Date: Sat Nov 3 22:03:18 2007 +0100 16045 16046 randr12; Forgot a small thing. 16047 16048commit 19b0971d0c1d03896bfaee2b833194ef1e4d7566 16049Author: Maarten Maathuis <madman2003@gmail.com> 16050Date: Sat Nov 3 21:54:48 2007 +0100 16051 16052 randr12: A legitimate DPMS call could reset the ramdac and effectively disable the mouse. 16053 16054commit a29839c718fd6bf3003081299017536dd9f8223e 16055Author: Maarten Maathuis <madman2003@gmail.com> 16056Date: Sat Nov 3 10:00:06 2007 +0100 16057 16058 randr12: Hopefully improve the native flatpanel mode finder. 16059 16060commit bd20ff5b8c9467ca913c00d3ec946e7e975ad3d4 16061Author: Maarten Maathuis <madman2003@gmail.com> 16062Date: Fri Nov 2 23:17:16 2007 +0100 16063 16064 randr12: We cannot reset ramdacs during detect, there may not be a modesetting after it. 16065 16066commit 7054de29c589a7be0a6b027f3067ae2c02e2fc45 16067Author: Maarten Maathuis <madman2003@gmail.com> 16068Date: Fri Nov 2 21:44:40 2007 +0100 16069 16070 randr12: Futher refine crtc timings, hoping to solve the "pink line" issue. 16071 16072commit 39ced4abb536993249e55a72eceeba26d577724c 16073Author: Maarten Maathuis <madman2003@gmail.com> 16074Date: Thu Nov 1 17:54:26 2007 +0100 16075 16076 randr12: Improved ramdac choosing, based on bios information (or value). 16077 16078commit 28ba9ed765d9956b2f07c6a405fca675a71012db 16079Author: Maarten Maathuis <madman2003@gmail.com> 16080Date: Thu Nov 1 17:01:53 2007 +0100 16081 16082 randr12: Remove redundant output setup + don't print full edid. 16083 16084commit 609f7b9c2962ccf04861d2164a0ff12c58e84010 16085Author: Maarten Maathuis <madman2003@gmail.com> 16086Date: Thu Nov 1 13:00:45 2007 +0100 16087 16088 randr12: Cursor fixes(probably only affects nv4x). 16089 16090commit 6945dfdc5e6b2540432805e845cb8540dc00d326 16091Author: Maarten Maathuis <madman2003@gmail.com> 16092Date: Thu Nov 1 11:10:24 2007 +0100 16093 16094 randr12: Improve analog monitor allignment + misc fixes. 16095 16096commit 5bd8ba52788b3b3b8f91ba59c29e154e38482481 16097Author: Ben Skeggs <skeggsb@gmail.com> 16098Date: Thu Nov 1 18:35:33 2007 +1100 16099 16100 nv40: what can I say? oops! 16101 16102commit f59e596bcd90ef824cd41e0c37952e574d6914bb 16103Author: Ben Skeggs <skeggsb@gmail.com> 16104Date: Thu Nov 1 18:17:20 2007 +1100 16105 16106 nv40: completely untested fix for composite on ppc 16107 16108 Thanks go to ps3rsx guys for finding the issue. 16109 16110commit 59c4fdb650ff2e6b6948d1bdd6bb22aa94195a32 16111Author: Maarten Maathuis <madman2003@gmail.com> 16112Date: Wed Oct 31 22:59:54 2007 +0100 16113 16114 randr12: Some misc cleanup to make malc0's patches work. 16115 16116commit f165d4f2ca90916b1334cdc18d62b82ea71d9f62 16117Author: Maarten Maathuis <madman2003@gmail.com> 16118Date: Wed Oct 31 21:30:36 2007 +0100 16119 16120 randr12: The "easy" TMDS registers, please report regressions. 16121 16122commit 860c4bdd38fd259ae51e32e4873a2aa8b1e6883e 16123Author: Maarten Maathuis <madman2003@gmail.com> 16124Date: Wed Oct 31 19:00:28 2007 +0100 16125 16126 randr12: Misc register fixes. 16127 16128commit d758e8f4c1a7d4effe1298a0a41d4e0b96496ab9 16129Author: Maarten Maathuis <madman2003@gmail.com> 16130Date: Wed Oct 31 13:22:29 2007 +0100 16131 16132 randr12: Some changes to VCLK ratio handling. 16133 16134commit 899559921b0e46db010fa1e771203c2edefb7ade 16135Author: Maarten Maathuis <madman2003@gmail.com> 16136Date: Wed Oct 31 09:18:59 2007 +0100 16137 16138 randr12: some blob copying 16139 16140commit b5ecadb73335d934a8cb1c106983d219c9d8d399 16141Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16142Date: Wed Oct 31 02:09:08 2007 +0100 16143 16144 Fix bugs in nv30 exa (kde text seems back) 16145 16146commit f7b553a87e7f67138e06e74877145a1f83e9d188 16147Author: Peter Winters <peter@whoei.org> 16148Date: Tue Oct 30 23:04:28 2007 +0100 16149 16150 NV10 EXA: implement repeat for 1x1 textures 16151 16152commit bf7b0231db1f7e45cee60d7d2e04b1b006aec2b0 16153Author: Peter Winters <peter@whoei.org> 16154Date: Sun Oct 28 23:52:22 2007 +0100 16155 16156 NV10 EXA: Fix viewport setup 16157 16158commit f8f9c8789b89a02886702c46c5feafec169ae78a 16159Author: Maarten Maathuis <madman2003@gmail.com> 16160Date: Tue Oct 30 21:00:54 2007 +0100 16161 16162 randr12: Flatpanel scaling is finally working, read full message. 16163 16164 - The option FPScale is now obeyed and will cause scaling to happen in the monitor. 16165 - The default is scaling is using the GPU. 16166 - When the aspect ratio is very different(>0.10 diff), it will obey aspect ratio and create bands around it. 16167 16168commit e73aa148d965abbf73392c6ffef3993dc26c31fd 16169Author: Maarten Maathuis <madman2003@gmail.com> 16170Date: Tue Oct 30 13:54:25 2007 +0100 16171 16172 randr12: Some copyright stuff. 16173 16174commit c1508e1448e3822e8b6bb2604c09a9d766a64a93 16175Author: Maarten Maathuis <madman2003@gmail.com> 16176Date: Tue Oct 30 13:44:44 2007 +0100 16177 16178 randr12: Disable some panel scaling stuff, because it is broken. 16179 16180commit 3bf8110b61ef854af803a45f0faf1eaffbbcfac9 16181Author: Maarten Maathuis <madman2003@gmail.com> 16182Date: Tue Oct 30 11:44:58 2007 +0100 16183 16184 randr12: Lots of misc fixes. 16185 16186 - This does not fix the issue with -hsync, +vsync modelines (or the other way around) yet. 16187 - There are two PVIO ranges, i'm surprised noone noticed this. 16188 - Some misc fixes. 16189 16190commit 894f9aacce3d685b811f8961275a9f225b964159 16191Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16192Date: Tue Oct 30 01:49:38 2007 +0100 16193 16194 Disable nv30 exa no big endian until we fix the endianness bugs related to the 3D engine. 16195 16196commit 482cbcb9efdfbdd4bbe998c09f7d29033aeca09b 16197Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16198Date: Tue Oct 30 01:37:45 2007 +0100 16199 16200 Use the new header with license. 16201 16202commit a9908dbb70df0d0abb586b9774efdc10adf4d74f 16203Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16204Date: Mon Oct 29 23:00:14 2007 +0100 16205 16206 More copyrights I remember... 16207 16208commit 67e142394edcb553a40c6c8b0ef091bd4dad2bdd 16209Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16210Date: Mon Oct 29 22:57:30 2007 +0100 16211 16212 Add some copyrights... not all files are covered yet, but I did the ones I recalled. 16213 16214commit f75e36a901fd47bbd9164242c408e9f8b0e03e2c 16215Author: Maarten Maathuis <madman2003@gmail.com> 16216Date: Mon Oct 29 18:37:34 2007 +0100 16217 16218 randr12: My suspicion was incorrect, i2c buses are swapped for all nv4x 16219 it seems. 16220 16221commit e741ac76ac45e8ea959792810670abdf2afbc6bd 16222Author: Maarten Maathuis <madman2003@gmail.com> 16223Date: Mon Oct 29 13:40:30 2007 +0100 16224 16225 randr12: Show NV_RAMDAC_FP_DEBUG_0 of both ramdac's when output is refused. 16226 16227commit c53754162087a7b66d40b7c3982cdc5b6d160ea1 16228Author: Maarten Maathuis <madman2003@gmail.com> 16229Date: Mon Oct 29 13:34:20 2007 +0100 16230 16231 randr12: Minor change, turning on bit 18 of NV_RAMDAC_SEL_CLK. 16232 16233commit fef872bd999b430a41bdfae8d408f8dfed0010a2 16234Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16235Date: Fri Oct 26 15:50:40 2007 +0200 16236 16237 nv30 exa : add A8 dst (requires new drm), add some dst formats, handle 1x1 repeat, enable by default. 16238 16239commit 1d7354cbb5875eb13ed88e6aaab69aff615f82b2 16240Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16241Date: Fri Oct 26 04:37:51 2007 +0200 16242 16243 Fix nv30 exa. 16244 16245commit 2cd3d47713cf3eb0d36124902a2c66b689acba51 16246Author: Arthur Huillet <arthur.huillet@free.fr> 16247Date: Thu Oct 25 16:55:18 2007 +0200 16248 16249 s/#define ABC ;/#define ABC do { ; } while(0);/ 16250 16251commit 228b91d3da445fc58bfe6b13e792bbdff3728301 16252Author: Arthur Huillet <arthur.huillet@free.fr> 16253Date: Thu Oct 25 16:40:34 2007 +0200 16254 16255 NV10 EXA: implemented masking via register combiners and added (disabled by default) statistics displaying 16256 16257 masking works for ARGB, XRGB (it's a nop), A8 - no component alpha for now, but it will come soon hopefully 16258 16259commit 7d77ab0692126cea9248b7ee61b001e138b4e47c 16260Author: Arthur Huillet <arthur.huillet@free.fr> 16261Date: Thu Oct 25 10:52:59 2007 +0200 16262 16263 NV10 EXA: fixed A8 as pointed out by p0g 16264 16265commit cdb54271837564bb4a5afd2dc4cf7e7169138975 16266Author: Arthur Huillet <arthur.huillet@free.fr> 16267Date: Thu Oct 25 10:38:42 2007 +0200 16268 16269 NV10 EXA: added support for A8 as source 16270 16271commit 220acbe07e84015e489257a9b9dae8e8f1be8268 16272Author: Peter Winters <peter@whoei.org> 16273Date: Thu Oct 25 10:03:39 2007 +0200 16274 16275 NV10 EXA: use proper XRGB format and use correct RC setup 16276 16277commit 6034387ea96816d34b627c306998342136ecb01b 16278Author: Peter Winters <peter@whoei.org> 16279Date: Thu Oct 25 09:59:01 2007 +0200 16280 16281 NV10 EXA: always use an even width for NPOT_SIZE 16282 16283commit f7f17b789e89aadafa2734cba0f4464c5f317a68 16284Author: Jeremy Kolb <jkolb@brandeis.edu> 16285Date: Wed Oct 24 19:34:49 2007 -0400 16286 16287 nv30: Fix some corruption. Give us some semblance of icons (still messed up though) 16288 16289commit bafa34a7bd7a9136a95c8ced25c5b80556c78c0c 16290Author: Maarten Maathuis <madman2003@gmail.com> 16291Date: Wed Oct 24 20:28:46 2007 +0200 16292 16293 Fix a few NV_IMAGE_BLIT offsets. 16294 16295commit 09f4b66d35543037c4f50910d0265751dded66c0 16296Author: Arthur Huillet <arthur.huillet@free.fr> 16297Date: Wed Oct 24 10:40:17 2007 +0200 16298 16299 NV10EXA : enabled by default for NV1x. Waiting for pq before doing the same for NV2x. 16300 16301commit 6c978164a212ddf4f60f82cdc72b11ebbc96efbb 16302Author: Arthur Huillet <arthur.huillet@free.fr> 16303Date: Wed Oct 24 09:37:34 2007 +0200 16304 16305 Xv: disabled YV12 overlay for NV20 chipsets that do not seem to have it 16306 16307commit 9f48bd410f8cf9aa700e03db807cef2e7cc07e34 16308Author: Maarten Maathuis <madman2003@gmail.com> 16309Date: Wed Oct 24 09:08:41 2007 +0200 16310 16311 randr12: The last step to make lower flatpanel resolutions working. 16312 16313 - Note: the previous randr12 commit also contained some fixes in this area. 16314 16315commit 2bf8bbd1764979d194ff2dbac4a6529cbcbdbc1d 16316Author: Maarten Maathuis <madman2003@gmail.com> 16317Date: Wed Oct 24 00:00:59 2007 +0200 16318 16319 randr12: Misc changes. 16320 16321commit 5841664c82126058e582f215af2323cc80a6150d 16322Author: Arthur Huillet <arthur.huillet@free.fr> 16323Date: Tue Oct 23 22:53:46 2007 +0200 16324 16325 x8r8g8b8 now seems to work (it passes rendercheck) with format 0x380 16326 16327commit 27a713057f0fd2d3c8a77f5eff86393059b60511 16328Author: Arthur Huillet <arthur.huillet@free.fr> 16329Date: Tue Oct 23 22:53:21 2007 +0200 16330 16331 Remove NV10 texture formats that are all wrong. 16332 16333commit 78a0d5a42f96816889f1c9294f11c637dfcba486 16334Author: Arthur Huillet <arthur.huillet@free.fr> 16335Date: Tue Oct 23 19:12:19 2007 +0200 16336 16337 NV10 EXA: A8R8G8B8 without mask works with rendercheck now 16338 16339commit 7543e65cecab510f6bea8b6efc5cdf3cc9d261ae 16340Author: Maarten Maathuis <madman2003@gmail.com> 16341Date: Tue Oct 23 18:41:38 2007 +0200 16342 16343 randr12: actually add scaling factor's 16344 16345 - This was forgotten when i first added this from the haiku driver. 16346 16347commit a11faa794c5dd24cd74d949006c8e86c6c3f0310 16348Author: Maarten Maathuis <madman2003@gmail.com> 16349Date: Tue Oct 23 16:22:56 2007 +0200 16350 16351 randr12: Add a few debug statements that should explain why an output is refused. 16352 16353commit 2d842c39bf210b4b8294a447ec9ac194ec3e2e47 16354Author: Maarten Maathuis <madman2003@gmail.com> 16355Date: Tue Oct 23 16:19:10 2007 +0200 16356 16357 randr12: Check if output is needed before creating it. 16358 16359 - This hopefully fixes a problem some NV30 people have. 16360 16361commit 5c884a188296c9a026f110f272dff5d88d58c0b6 16362Author: Maarten Maathuis <madman2003@gmail.com> 16363Date: Tue Oct 23 15:47:49 2007 +0200 16364 16365 Revert a G70 workaround, this may BREAK your setup. 16366 16367 - Please report if you have issues, but be prepared to help out to find a real fix. 16368 16369commit 0fb93b45378c9d0fbee9bb96bd60d7a995c667b9 16370Author: Arthur Huillet <arthur.huillet@free.fr> 16371Date: Mon Oct 22 19:02:17 2007 +0200 16372 16373 added (disabled) NV10 EXA hooks 16374 16375commit 78af60e798f5b91cc128cd2f84ddae7d0a1523cd 16376Author: Arthur Huillet <arthur.huillet@free.fr> 16377Date: Mon Oct 22 19:00:20 2007 +0200 16378 16379 added NV10 EXA functions to proto header 16380 16381commit cf053adacabaee887ecedaa9967b07b3185095b5 16382Author: Peter Winters <peter@whoei.org> 16383Date: Mon Oct 22 17:04:23 2007 +0200 16384 16385 Fix some blending stuff for NV10 EXA 16386 16387commit b0605fbeef0765e39554a15ea9f871c19258f72c 16388Author: Peter Winters <peter@whoei.org> 16389Date: Mon Oct 22 17:01:26 2007 +0200 16390 16391 Add basic RC setup for NV10 EXA 16392 16393commit 8dea36f6533c5fc35dcb3c24e2fe0c1d009b6693 16394Author: Peter Winters <peter@whoei.org> 16395Date: Mon Oct 22 16:50:47 2007 +0200 16396 16397 Fix NV10 EXA transform 16398 16399commit b9f97583979d7dbbf0058de9f807a97812362c71 16400Author: Peter Winters <peter@whoei.org> 16401Date: Mon Oct 22 16:48:53 2007 +0200 16402 16403 Fix NV10 EXA list of supported formats 16404 16405commit 3dc9778902d9412c469d79e3d437838a6c9da7a5 16406Author: Peter Winters <peter@whoei.org> 16407Date: Mon Oct 22 16:44:08 2007 +0200 16408 16409 Various NV10 EXA fixes 16410 16411commit 391e2dd1216f598538524fdc52a14bfdd4451567 16412Author: Ben Skeggs <skeggsb@gmail.com> 16413Date: Mon Oct 22 22:48:13 2007 +1100 16414 16415 Fix bad s/ 16416 16417commit 162edc70769b24b39f432cb79f5959eff363c564 16418Author: Pekka Paalanen <pq@iki.fi> 16419Date: Sun Oct 21 19:55:41 2007 +0300 16420 16421 Revert "EXA: now caching BLIT_OPERATION and RECT_OPERATION..." 16422 16423 This reverts commit 6d8caf5e0dd915809152c52c2c56a39d76e2ed8c. 16424 16425 Conflicts: 16426 16427 src/nv_exa.c 16428 16429 The above mentioned commit broke EXA copy and solid operations on nv20 16430 after display mode change. Triggered by running freedroid in fullscreen. 16431 (Not freedroidRPG) 16432 16433commit cc04b651348768dc214f59211ba396343aaa6a17 16434Author: Maarten Maathuis <madman2003@gmail.com> 16435Date: Sat Oct 20 20:30:02 2007 +0200 16436 16437 Add back comment. 16438 16439commit 6fd262027c74d5008e484bb5f09edbf5f657470b 16440Author: Maarten Maathuis <madman2003@gmail.com> 16441Date: Sat Oct 20 00:26:02 2007 +0200 16442 16443 randr12: Fix critical bug and minor change. 16444 16445 - The previous code could allow the TMDS[0x4] register of both heads to be set to 0x88. 16446 - This caused problems and freaked out my monitor and scared me as well :-( 16447 - Until further notice, the usage of this swap bit is restricted to very specific situations. 16448 16449commit 377f69172b4935372538d7bbf26852bf8a1fe1c4 16450Author: Maarten Maathuis <madman2003@gmail.com> 16451Date: Fri Oct 19 20:57:58 2007 +0200 16452 16453 randr12: Some changes to crtc regs. 16454 16455commit 85dac1041b38127d41832a6a322d01f87d70f28f 16456Author: Maarten Maathuis <madman2003@gmail.com> 16457Date: Fri Oct 19 08:06:33 2007 +0200 16458 16459 randr12: Some changes to output detection. 16460 16461 - I'm aware that we still can't fully program modes. 16462 16463commit 8320f4f61ca72ee0101c1d552ea3ef28e573d21d 16464Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16465Date: Thu Oct 18 01:56:17 2007 +0200 16466 16467 Remove xaa includes. 16468 16469commit 86855f03945d3bad90da0b28311bece484cbfce7 16470Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16471Date: Thu Oct 18 01:55:06 2007 +0200 16472 16473 Handle -minline-all-stringops properly 16474 16475commit 53ee9726eeda8cf844d32a9563c82b7549ba6c03 16476Author: Ben Skeggs <skeggsb@gmail.com> 16477Date: Wed Oct 17 23:28:50 2007 +1100 16478 16479 re-align nv40exa after ring macro changes 16480 16481commit a5c4786aaeadce6103fcc9b3a6f4e6f25a66730f 16482Author: Ben Skeggs <skeggsb@gmail.com> 16483Date: Wed Oct 17 23:22:05 2007 +1100 16484 16485 Switch to *_RING instead of NVDma* 16486 16487commit 0d1835d67e38ca12347a7965ac43fbfc29063b87 16488Author: Ben Skeggs <skeggsb@gmail.com> 16489Date: Wed Oct 17 16:29:01 2007 +1100 16490 16491 Switch to header generated from XML + other cleanups. 16492 16493 - Renamed object header to nouveau_class.h, so it's not confused with mmio 16494 - Removed usage of method defines in nv_dma.h 16495 - Removed 2D engine EXA composite hook, it was broken, useless and soon to 16496 be obsoleted by card-specific versions. 16497 - Use names in a few places that magic values were previously used. 16498 16499commit b36fbf174849b04928efda2909c461b6c1688cdc 16500Author: Dave Airlie <airlied@optimus.(none)> 16501Date: Tue Oct 16 09:28:58 2007 +1000 16502 16503 nouveau: missing include 16504 16505commit 8425d93f7f932281a1b9b420e676acba2a2b5ecd 16506Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16507Date: Sun Oct 14 17:10:59 2007 +0200 16508 16509 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). 16510 16511commit 212a4cd8884ff9276f64bdd0a0115782d146e36a 16512Author: Maarten Maathuis <madman2003@gmail.com> 16513Date: Sat Oct 13 23:02:27 2007 +0200 16514 16515 randr12: Some fallback defaults for dual-dvi cards, please submit dumps when you can. 16516 16517commit 6d8caf5e0dd915809152c52c2c56a39d76e2ed8c 16518Author: Arthur Huillet <arthur.huillet@free.fr> 16519Date: Sat Oct 13 22:28:39 2007 +0200 16520 16521 EXA: now caching BLIT_OPERATION and RECT_OPERATION (0x2FC) to limit the number of IRQs on NV04 16522 16523commit ceaf8df424651e0f20d63f817864f3e8657f2c21 16524Author: Maarten Maathuis <madman2003@gmail.com> 16525Date: Sat Oct 13 21:45:50 2007 +0200 16526 16527 randr12: Revert a small unnecesary change. 16528 16529commit 7171acbe7f174dcbe8c28c7f1fcb7481f2fafd90 16530Author: Maarten Maathuis <madman2003@gmail.com> 16531Date: Sat Oct 13 21:33:07 2007 +0200 16532 16533 randr12: Hopefully fix panel size detection and allow negative hsync/vsync polarities. 16534 16535commit be08f09ad1ba6aeebf4491727052d246d5568fd2 16536Author: Maarten Maathuis <madman2003@gmail.com> 16537Date: Sat Oct 13 17:26:32 2007 +0200 16538 16539 randr12: Some debug stuff. 16540 16541commit 418e6117a25e51d5b0dbcd87c17f78f9b04fa588 16542Author: Maarten Maathuis <madman2003@gmail.com> 16543Date: Sat Oct 13 12:52:10 2007 +0200 16544 16545 randr12: Remove a double reg and misc changes. 16546 16547commit e30e21ed0ee8b1bd112780badc933dc4552a2e81 16548Author: Maarten Maathuis <madman2003@gmail.com> 16549Date: Fri Oct 12 19:49:32 2007 +0200 16550 16551 randr12: Some misc changes. 16552 16553commit 9425f7a3ea2d80f4df79239e1ca8000bd729c772 16554Author: Jeremy Kolb <jkolb@brandeis.edu> 16555Date: Thu Oct 11 20:32:47 2007 -0400 16556 16557 Remove division in NV30EXATransformCoord. We want coords between 0 and texture width, height. 16558 16559commit 879e653867552f6bb595160670c8325bcb5a0d3b 16560Author: Maarten Maathuis <madman2003@gmail.com> 16561Date: Wed Oct 10 21:40:13 2007 +0200 16562 16563 randr12: Misc fix. 16564 16565commit 99dd9da140a5750b7c4d6030a0e8e1f7fca44033 16566Author: Maarten Maathuis <madman2003@gmail.com> 16567Date: Wed Oct 10 20:08:28 2007 +0200 16568 16569 randr12: Fix switch mode function, so fullscreen apps don't screw up your screen by definition ;-) 16570 16571commit 0c80565e2cb7fa5ff359f57cc3d7016a78a43ac2 16572Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16573Date: Wed Oct 10 14:43:34 2007 +0200 16574 16575 Oops. 16576 16577commit 761ef4bd32f42fb77a3e48985fd6dda81aa081f5 16578Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16579Date: Wed Oct 10 14:42:46 2007 +0200 16580 16581 Try to do something for our desastrous UTS/DFS performance. My PCI card is really hurting. 16582 16583commit 254f9b075034c86e5936954b52f499d573880039 16584Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16585Date: Wed Oct 10 02:34:06 2007 +0200 16586 16587 Still more work on nv30 exa... now starts but nothing works. 16588 16589commit 79dc3ad2c89eef74596a4c8e5714c2c661f56fee 16590Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16591Date: Wed Oct 10 00:48:46 2007 +0200 16592 16593 Don't swap the registers from user space. This is very wrong, and the drm will handle that soon. 16594 16595commit 2c08930f0b2bf06282976d6a357daf7f45405cdc 16596Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16597Date: Wed Oct 10 00:48:06 2007 +0200 16598 16599 Revert back to the other shaders. The terminator instruction doesn't seem to help, and breaks the A8 hack. 16600 16601commit 90d2457125b059916f9b9dd5ddb7cec73a554c55 16602Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16603Date: Tue Oct 9 04:38:29 2007 +0200 16604 16605 Cleanup some nv30 exa issues, add debbuging info to the composite hook. 16606 16607commit e184fc802c7f9103bbc8ee8c036cfe5a9ddd9513 16608Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16609Date: Tue Oct 9 03:28:39 2007 +0200 16610 16611 Some fixes to nv30_exa. Now goes through a couple of composite() calls without crashing. 16612 16613commit 708f28dc8175375713cd9ae4d07b2cfcea3b106c 16614Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16615Date: Tue Oct 9 03:28:11 2007 +0200 16616 16617 Use terminators on the nv30/40 shaders. 16618 16619commit 43d5f747103721b3e0ccf4fe73494729ed34986c 16620Author: Maarten Maathuis <madman2003@gmail.com> 16621Date: Mon Oct 8 19:53:56 2007 +0200 16622 16623 randr12: Small changes makes finding regressions easy ;-) 16624 16625commit 62294d9be8ec6f1159e3c2ad273649f937b7aa7e 16626Author: Maarten Maathuis <madman2003@gmail.com> 16627Date: Sat Oct 6 19:04:51 2007 +0200 16628 16629 EXA: Starting from version 2.4 we can't use devPrivate.ptr anymore. 16630 16631commit 721de8da8fccd6f7b6e5a3044ce82616cdb689e8 16632Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16633Date: Fri Oct 5 23:50:18 2007 +0200 16634 16635 some more work on nv30 exa... 16636 16637commit 80bcbf493b6b2ad927c7a3826cc6e5fa46bca76e 16638Author: Maarten Maathuis <madman2003@gmail.com> 16639Date: Fri Oct 5 22:29:07 2007 +0200 16640 16641 randr12: Misc changes. 16642 16643commit 63ad301baab5803329ba0f192f12c917b435594e 16644Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16645Date: Fri Oct 5 17:20:05 2007 +0200 16646 16647 mandatory oops commit. 16648 16649commit 3773e0e5045a6c347bf26eff71e6bdd4c592cebc 16650Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16651Date: Fri Oct 5 17:18:40 2007 +0200 16652 16653 Split nv30 exa and nv40 exa. 16654 16655commit 37900537c0f8b8dfa3dc80300d6809f1f4ac9423 16656Author: Jeremy Kolb <jkolb@brandeis.edu> 16657Date: Thu Oct 4 23:15:38 2007 -0400 16658 16659 NV30 texture changes. Commented out table that appears to work for nv35 at least. 16660 16661commit 44eb015e88caba82c8d84fee4ea71768c9a6b2a3 16662Author: Jeremy Kolb <jkolb@brandeis.edu> 16663Date: Thu Oct 4 20:37:35 2007 -0400 16664 16665 Fix NV30 arch check. 16666 16667commit 5a76e5a751cd66021565ab92b2fc3c61204c7d73 16668Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16669Date: Thu Oct 4 23:46:43 2007 +0200 16670 16671 fix nv30_exa for nv40. 16672 16673commit d7b767fc951287a1c87965db3c236e05cc94d8f6 16674Author: Maarten Maathuis <madman2003@gmail.com> 16675Date: Thu Oct 4 21:49:33 2007 +0200 16676 16677 NV50: Fix a minor mistake. 16678 16679commit 926e887a4b374768648fe772b1b3d7730096e45f 16680Author: Maarten Maathuis <madman2003@gmail.com> 16681Date: Wed Oct 3 22:57:56 2007 +0200 16682 16683 randr12: Some reindenting. 16684 16685commit 7ee3f670077641e14a0ff024443805564d5be599 16686Author: Patrice Mandin <pmandin@caramail.com> 16687Date: Thu Oct 4 19:54:40 2007 +0200 16688 16689 nv10exa: init link between tcl and image blit for >=nv11 16690 16691commit 6510e75ada6fb921e417588d98afdc58b2c14972 16692Author: Jeremy Kolb <jkolb@brandeis.edu> 16693Date: Wed Oct 3 23:34:23 2007 -0400 16694 16695 nv30_exa: send down pitch correctly 16696 16697commit b7fc7b63eec4a5e23879120284c882e19e095471 16698Author: Jeremy Kolb <jkolb@brandeis.edu> 16699Date: Wed Oct 3 20:54:28 2007 -0400 16700 16701 Fill in some regs. 16702 16703commit 46facb7c29d2737f1cc414655de8e09ee0aea22f 16704Author: Maarten Maathuis <madman2003@gmail.com> 16705Date: Wed Oct 3 22:16:13 2007 +0200 16706 16707 randr12: Actually borrow some timing stuff from Haiku correctly ;-) + new crtc reg 16708 16709commit 9d6b3216ed519e89386480d04070b1c1e4702921 16710Author: Matthieu Castet <castet.matthieu@free.fr> 16711Date: Wed Oct 3 21:21:41 2007 +0200 16712 16713 abort on Init table command not found when parsing bios 16714 16715commit b6351c0efa3629a448557fc7e597ba14fbf057fb 16716Author: Maarten Maathuis <madman2003@gmail.com> 16717Date: Wed Oct 3 19:54:40 2007 +0200 16718 16719 NV50: Fix small mistake. 16720 16721commit f00ea962e549934965100dc6d2806709129995e8 16722Author: Maarten Maathuis <madman2003@gmail.com> 16723Date: Wed Oct 3 19:03:38 2007 +0200 16724 16725 randr12 + NV50: Misc changes. 16726 16727 - Switched everything back to head variable instead of pcio. 16728 - Removed ugly C() macro for NV50. 16729 - Probably some other stuff too. 16730 - Please test NV5x users ;-) 16731 16732commit 5d7f06c2a205004b78692b4dfad477ade3947fd5 16733Author: Maarten Maathuis <madman2003@gmail.com> 16734Date: Tue Oct 2 19:31:10 2007 +0200 16735 16736 NV50: Some infrastructure and minor changes. 16737 16738commit 7680648c9ddb81e2a1c6295431d7074366fb7b9a 16739Author: Maarten Maathuis <madman2003@gmail.com> 16740Date: Tue Oct 2 16:55:07 2007 +0200 16741 16742 NV50: The beginning of moving some code around. 16743 16744 - Please contact me if something breaks, i don't have an NV5x card. 16745 16746commit b812ecaef75216cc76557e6a3a080efa870d189f 16747Author: Maarten Maathuis <madman2003@gmail.com> 16748Date: Tue Oct 2 10:35:37 2007 +0200 16749 16750 NV30EXA: Minor code cleanup. 16751 16752commit 5b974b3bed86d53ccf6915c46aeb310a2bba3519 16753Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16754Date: Mon Oct 1 17:19:41 2007 +0200 16755 16756 Remove those useless casts. 16757 16758commit 734785c05357455a7ae7181fd7326f02e0bd0478 16759Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16760Date: Mon Oct 1 02:01:30 2007 +0200 16761 16762 Some work on nv10 exa. 16763 16764commit 0cfcbcc9d64bfd47b765f4f2ff41d7ad467990bd 16765Author: Matthieu Castet <castet.matthieu@free.fr> 16766Date: Sun Sep 30 22:41:15 2007 +0200 16767 16768 enable bios PINS parsing on post nv10 cards 16769 16770commit 9ac6d0e9d46abdf867fd06f7ca24b718a340bb74 16771Author: Pekka Paalanen <pq@iki.fi> 16772Date: Sun Sep 30 23:09:33 2007 +0300 16773 16774 nv20 inits nv10tcl. 16775 16776commit c3439aebe000a3c6dd716bd4739ce01321bee26b 16777Author: Maarten Maathuis <madman2003@gmail.com> 16778Date: Sun Sep 30 21:43:41 2007 +0200 16779 16780 Fix detection of NV04 and NV05 when using pci-rework. 16781 16782commit 9e070c09f68b0e3e41109360c455b3e2cc1dbb9c 16783Author: Maarten Maathuis <madman2003@gmail.com> 16784Date: Sun Sep 30 19:37:53 2007 +0200 16785 16786 randr12: Switch to proper cursor api + minor changes + small nv50 fix 16787 16788 - Remove the ugly cursor hack. 16789 - A function name on nv50 was still g80, this caused an implicit decleration. 16790 16791commit c7de03556a51009ce69b073d7ecfd01919d24c5f 16792Author: Maarten Maathuis <madman2003@gmail.com> 16793Date: Sun Sep 30 12:40:50 2007 +0200 16794 16795 NV30EXA: Fix rendering issues. 16796 16797 - Full non-composite tests using rendercheck. 16798 - The full test suite of composite has been run (it takes ~15 hours). 16799 - A partial cacomposite has been run (a8, a8r8g8b8, x8r8g8b8). 16800 - All the rendering tests work fine, as does the cairo-knockout demo. 16801 - Thanks to doener for reporting this issue. 16802 16803commit 0574dc5a8bd09216e41656c943c92a437bcf020b 16804Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16805Date: Sat Sep 29 20:20:47 2007 +0200 16806 16807 A little more work on nv10 exa. 16808 16809commit aae155f149af522e1a83168ed4ec5b7b5a40bb73 16810Author: Maarten Maathuis <madman2003@gmail.com> 16811Date: Sat Sep 29 17:28:10 2007 +0200 16812 16813 randr12: Some more CRTC regs. 16814 16815commit 8b03086ee36ca9c3e77f9df9eb4a1805072d2103 16816Author: Maarten Maathuis <madman2003@gmail.com> 16817Date: Sat Sep 29 14:33:38 2007 +0200 16818 16819 randr12: make crtc owner beheaviour consistent with blob + minor changes 16820 16821commit c572315a974746224dba1213e956a1b6189f175d 16822Author: Maarten Maathuis <madman2003@gmail.com> 16823Date: Fri Sep 28 19:58:39 2007 +0200 16824 16825 randr12: Minor changes and more debugging output. 16826 16827commit db36a1df4ba3dddf3669f491bfe6461e4fd490b6 16828Author: Maarten Maathuis <madman2003@gmail.com> 16829Date: Fri Sep 28 18:52:47 2007 +0200 16830 16831 randr12: Some more debugging output and some other minor changes. 16832 16833commit 2d21405c9c0bff36f47e28a5e4086dacae557d17 16834Author: Maarten Maathuis <madman2003@gmail.com> 16835Date: Fri Sep 28 13:02:51 2007 +0200 16836 16837 randr12: Preperation to allow differentation between crtc and pcio in the future. 16838 16839commit f235cf896c1da098ff635d5a882561f16f5fb4f7 16840Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 16841Date: Thu Sep 27 18:21:25 2007 +0200 16842 16843 Import nv10 exa code. Does not work yet. 16844 16845commit 74a243d8e188432854c15849ad1ab6e893e48f0a 16846Author: Maarten Maathuis <madman2003@gmail.com> 16847Date: Wed Sep 26 09:04:43 2007 +0200 16848 16849 randr12: Some registers were not constants, so changed it back with a note about the values i had seen. 16850 16851commit a3c71495097f8d745110aad06c9f8e2f6f03baad 16852Author: Maarten Maathuis <madman2003@gmail.com> 16853Date: Tue Sep 25 22:05:36 2007 +0200 16854 16855 randr12: Getting closer, doing a decent attempt at detecting the proper ramdac. 16856 16857 - crtc detection may need to be added 16858 - When i boot up with both analog and dvi attached, my dvi is misprogrammed, maybe some sharing is happening somewhere? 16859 16860commit 4a57ebb9c2098ce5d568a2da6e0640cdcc18d3f0 16861Author: Maarten Maathuis <madman2003@gmail.com> 16862Date: Tue Sep 25 21:06:03 2007 +0200 16863 16864 randr12: detection changes, more to come later 16865 16866 - Detection of crtc's (or a way to program them effectively) still has to be done/fixed. 16867 - It now detects if tmds controls is on another ramdac, for a non-dual dvi setup. 16868 - Disabled TMDS stuff for the moment, since it's incorrect somehow. 16869 - Dumps for single dvi, dual dvi, etc are appreciated. 16870 16871commit 41df1ff6ce348dc6a38e34ce63887c66b0300c09 16872Author: Maarten Maathuis <madman2003@gmail.com> 16873Date: Tue Sep 25 16:22:38 2007 +0200 16874 16875 randr12: Some reindenting. 16876 16877commit 334a9b065c4973876b894eadf05ce86ca439e08f 16878Author: Maarten Maathuis <madman2003@gmail.com> 16879Date: Tue Sep 25 16:17:03 2007 +0200 16880 16881 randr12: simplification of the swapped i2c buses "workaround" for nv4x and some code reindenting 16882 16883commit c40559dacd6fe20f35710111330dee37fb2b9a58 16884Author: Maarten Maathuis <madman2003@gmail.com> 16885Date: Sun Sep 23 01:16:55 2007 +0200 16886 16887 randr12: A frail attempt at some TMDS programming, i have not figured out yet what switches DVI from one RAMDAC to the other. 16888 16889commit 50bc4dbff6df80f5d80f731fe42b06768c429dc0 16890Author: Maarten Maathuis <madman2003@gmail.com> 16891Date: Sun Sep 23 00:57:18 2007 +0200 16892 16893 randr12: Reindenting and minor changes. 16894 16895commit 1a3303a5b6f261470c1c56f84f9b89af950a0b35 16896Author: Maarten Maathuis <madman2003@gmail.com> 16897Date: Sat Sep 22 22:21:37 2007 +0200 16898 16899 randr12: Assign ramdac's in more sane way, otherwise two outputs may end up on the same ramdac. 16900 16901commit 9b62853dfe1664f3624f6be8aa86f6ca15ca8392 16902Author: Maarten Maathuis <madman2003@gmail.com> 16903Date: Sat Sep 22 20:37:32 2007 +0200 16904 16905 randr12: Add some TMDS register infrastructure, so i can try some stuff in the future. 16906 16907commit a445cbcd71ee51d7680a6eb13cd037e06d59b0ba 16908Author: Maarten Maathuis <madman2003@gmail.com> 16909Date: Sat Sep 22 15:55:01 2007 +0200 16910 16911 randr12: hardcoding a base value for debug_0 register. 16912 16913commit f89a3217a18261424e212b355628ce5f5b8b9142 16914Author: Maarten Maathuis <madman2003@gmail.com> 16915Date: Fri Sep 21 23:16:40 2007 +0200 16916 16917 randr12: Some minor changes. 16918 16919commit 5ea59f8f01dbbd4211aee1a0e46a6529cddc016c 16920Author: Maarten Maathuis <madman2003@gmail.com> 16921Date: Fri Sep 21 20:37:50 2007 +0200 16922 16923 randr12: hardcode more stuff + actually use a few previous regs 16924 16925 - I'm going to try and do full modesetting, before tackling the problems that dual monitor setups face (i tried, it wasn't pretty). 16926 16927commit 0f66c725cb8806041faddf94cceb88009f7e9f06 16928Author: Dave Airlie <airlied@redhat.com> 16929Date: Thu Sep 20 08:29:43 2007 +1000 16930 16931 make distcheck pass 16932 16933commit bf3cceeb9c72c16a1cf601c8bd0dedd8c676e3cd 16934Author: Maarten Maathuis <madman2003@gmail.com> 16935Date: Mon Sep 17 18:58:31 2007 +0200 16936 16937 randr12: Add some CRTC regs which the blob sets. 16938 16939commit e3346c17c1ead9619206a5921994b5de7ed72739 16940Author: Maarten Maathuis <madman2003@gmail.com> 16941Date: Mon Sep 17 18:22:53 2007 +0200 16942 16943 randr12: Change the way CRTC register 59 is set. 16944 16945 - Small change, i suspect the original author had a dfp on the second crtc. 16946 - Information taken from a mmio trace of a nv28. 16947 16948commit 6c3aee9d68abdb9303cf03d9024f4f0deb5f1e3e 16949Author: Ben Skeggs <skeggsb@gmail.com> 16950Date: Mon Sep 17 00:01:22 2007 +1000 16951 16952 Make use of exaGetPixmapOffset(). 16953 16954commit 4d9e5d451a516aac64c4b95a4478f252c0c9eafb 16955Author: Ben Skeggs <skeggsb@gmail.com> 16956Date: Sun Sep 16 23:54:14 2007 +1000 16957 16958 Fix randr1.2 with driver-provided modes (ie. LVDS native mode) 16959 16960 Fixes #12368 16961 16962commit 5e58e74435da2071aab9f21386ac6dabdf3f8e7d 16963Author: Ben Skeggs <skeggsb@gmail.com> 16964Date: Sun Sep 16 19:44:42 2007 +1000 16965 16966 NV30EXA: Support PICT_a8 dest surfaces 16967 16968 Quick hack for now, shader handling will get a rework one day and clean all 16969 this up. 16970 16971commit d6d3ddfafaece2d153942ec37e3a8c3127c7c3fa 16972Author: Ben Skeggs <skeggsb@gmail.com> 16973Date: Sun Sep 16 19:01:21 2007 +1000 16974 16975 Bring G8x modesetting into sync with xf86-video-nv. 16976 16977commit 53e35a1d42070fd683eb6d0f169ac3ce482a45b0 16978Author: Ben Skeggs <skeggsb@gmail.com> 16979Date: Sun Sep 16 17:27:22 2007 +1000 16980 16981 Move G80 VBIOS download into nv_bios.c. 16982 16983commit 02d5443d650e628256ebed1f331ad32b0f642a38 16984Author: Arthur Huillet <arthur.huillet@free.fr> 16985Date: Fri Sep 14 21:13:26 2007 +0200 16986 16987 Xv: NV04 overlay now has one "colorkey" attribute 16988 16989 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 16990 to do it only if someone actually needs it. 16991 16992commit 0fa042e5123066ca2d9f36ff05cf64d0f68289a8 16993Author: Arthur Huillet <arthur.huillet@free.fr> 16994Date: Fri Sep 14 14:17:32 2007 +0200 16995 16996 Xv: NV04 overlay now almost functionnal 16997 16998commit a7ff07f4ab63c5a574e549326f022f84c2b9bab4 16999Author: Arthur Huillet <arthur.huillet@free.fr> 17000Date: Fri Sep 14 12:27:45 2007 +0200 17001 17002 Xv: quick imple of NV04 overlay 17003 17004commit 77076a391647f6111f38b10192d78ea7560ca9e8 17005Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17006Date: Wed Sep 12 13:10:37 2007 +0200 17007 17008 Try to fix nv4/tnt1 17009 17010commit e03fabf7e14599c1619673430ec3d81db90ffd1e 17011Author: Maarten Maathuis <madman2003@gmail.com> 17012Date: Tue Sep 11 20:15:11 2007 +0200 17013 17014 Restore PRAMDAC1 and PCRTC1 offsets, in proper format (0x2000/4) and move them to their proper place. 17015 17016commit 564043d9c1c9b5023f1b69a79d80742338256b83 17017Author: Maarten Maathuis <madman2003@gmail.com> 17018Date: Mon Sep 10 21:14:24 2007 +0200 17019 17020 Fix the memory adresses of the secondary crtc and ramdac + minor change. 17021 17022commit 5672842381a0e8f605cd482563c5d9ea02118647 17023Author: Patrice Mandin <pmandin@caramail.com> 17024Date: Mon Sep 10 18:29:10 2007 +0200 17025 17026 make randr 1.2 disableable for xorg server < 1.3 17027 17028commit 2778d3a9041ec62462585f623f84b1ed05b4ebad 17029Author: Patrice Mandin <pmandin@caramail.com> 17030Date: Mon Sep 10 18:28:03 2007 +0200 17031 17032 make randr 1.2 disableable for xorg server < 1.3 17033 17034commit 9bb76f73f0e648fda79a9c84d6e78469752a4eac 17035Author: Maarten Maathuis <madman2003@gmail.com> 17036Date: Mon Sep 10 07:57:01 2007 +0200 17037 17038 randr12: Apply the same pll restrictions to a two stage design. 17039 17040commit b46bbab81cc9f2093406fa8b53f9ffaf6f7fd0fc 17041Author: Maarten Maathuis <madman2003@gmail.com> 17042Date: Mon Sep 10 07:25:25 2007 +0200 17043 17044 randr12: Some more pll timer restrictions from Haiku. 17045 17046commit 77b424415d31428e113688ec27a405966d5080e6 17047Author: Maarten Maathuis <madman2003@gmail.com> 17048Date: Sun Sep 9 23:11:18 2007 +0200 17049 17050 randr12: Some new pll clock restrictions. 17051 17052commit a1bbfe17cc863497644b58a9206ae3876a654543 17053Author: Maarten Maathuis <madman2003@gmail.com> 17054Date: Sun Sep 9 22:50:19 2007 +0200 17055 17056 Some reindenting. 17057 17058commit dedb80d1237ebacf7531938d627328a20453d5d0 17059Author: Maarten Maathuis <madman2003@gmail.com> 17060Date: Sun Sep 9 22:12:38 2007 +0200 17061 17062 randr12: Modify dcb table for nv40 to make it look more like older hardware. Remove i2c bus reverse. 17063 17064commit 7aa96706ef428f1390d8e938d0bf26b8c046a67d 17065Author: Maarten Maathuis <madman2003@gmail.com> 17066Date: Sun Sep 9 20:40:20 2007 +0200 17067 17068 Removed a check for > 1 active crtc's, which seems really odd, no regressions occured for me. 17069 17070 - I cannot plug in both the vga and dvi connector of my monitor, so i cannot verify that. 17071 - The seperate monitor, on crtc0 and crtc1 work as they did (the afp being slightly shifted). 17072 - Also did a little reindenting. 17073 17074commit 228cb177242be053595b959dedfdfbfa77b1c54f 17075Author: Maarten Maathuis <madman2003@gmail.com> 17076Date: Sun Sep 9 18:49:08 2007 +0200 17077 17078 randr12: Fix a nasty regression from 6ba7e83f8cf2da84dd796ee59cb24c15bc36b746. 17079 17080 - For non-flatpanels the dac was never initialized. 17081 17082commit 0a56cb53d7e2a58ef044c9090f48fd46a2b251d9 17083Author: Maarten Maathuis <madman2003@gmail.com> 17084Date: Sun Sep 9 00:39:41 2007 +0200 17085 17086 randr12: Some missing init. 17087 17088commit 80bfb59a1f1c3968f8e116de611975df4acf5618 17089Author: Maarten Maathuis <madman2003@gmail.com> 17090Date: Sat Sep 8 23:58:39 2007 +0200 17091 17092 Some much needed indenting and readability improvements. 17093 17094commit 20aaacdd69c427f6c75b80f5f206b3187262f3a1 17095Author: Maarten Maathuis <madman2003@gmail.com> 17096Date: Sat Sep 8 21:00:45 2007 +0200 17097 17098 Hopefully fix bridged chip detection, such as the 7800GS AGP. 17099 17100commit b99549b5cb4f4cba2d60292994b2db483f8d4a8c 17101Author: Maarten Maathuis <madman2003@gmail.com> 17102Date: Sat Sep 8 14:25:39 2007 +0200 17103 17104 Remove list that is incorrect and no longer needed. 17105 17106commit b104314a11d3cf3bbb23095ff5805c1d5d8d9775 17107Author: Maarten Maathuis <madman2003@gmail.com> 17108Date: Sat Sep 8 14:24:54 2007 +0200 17109 17110 Fix previous commit, change the way Digital Flat Panels are programmed. 17111 17112 - This is mostly taken from the Haiku driver. 17113 - It works for me, please report any issues you have. 17114 - Added scaling, for running 4:3 resolutions on widescreen for example (untested). 17115 17116commit a867d6912456a5e15a965050bf784687e60634ee 17117Author: Maarten Maathuis <madman2003@gmail.com> 17118Date: Sat Sep 8 00:46:20 2007 +0200 17119 17120 Hopefully this will improve flatpanel beheaviour. 17121 17122 - I looked at Haiku and copied as much as i could. 17123 - I removed the htiming and vtiming hack. 17124 - Let's hope this works. 17125 17126commit 6ba7e83f8cf2da84dd796ee59cb24c15bc36b746 17127Author: Maarten Maathuis <madman2003@gmail.com> 17128Date: Fri Sep 7 23:11:51 2007 +0200 17129 17130 Some more indenting and such. 17131 17132commit d8d835dfb61f437b3eaede0a6ec188835f6eb5ff 17133Author: Maarten Maathuis <madman2003@gmail.com> 17134Date: Fri Sep 7 22:58:56 2007 +0200 17135 17136 Removing a hack in the hopes of finding a better way and some minor changes. 17137 17138commit dd7e568bd101ed34dcdd7d3b6d8169740499d593 17139Author: Maarten Maathuis <madman2003@gmail.com> 17140Date: Fri Sep 7 22:27:18 2007 +0200 17141 17142 Indenting and minor code style changes. 17143 17144commit 8ed256e94dae884b723c172320b15b0d6ae00a1b 17145Author: Maarten Maathuis <madman2003@gmail.com> 17146Date: Fri Sep 7 14:37:40 2007 +0200 17147 17148 randr12: Fix Xv blitter, please see full changelog for other implications. 17149 17150 - Removed the CRTCNumber variable, instead just store if crtc0 and crtc1 are active. 17151 - This coule break old style setups (picking the wrong monitor for example). 17152 - CRTCNumber option temporarily removed, because the piece of code surrounding it is ugly and needs a rework. 17153 17154commit eb595b2e06ec33d5fe2af43bc7ad107f551d99c8 17155Author: Maarten Maathuis <madman2003@gmail.com> 17156Date: Thu Sep 6 23:26:04 2007 +0200 17157 17158 randr-1.2: Only the NV4x have these busses swapped, revert for other architectures. 17159 17160 - If this is also true for NV3x, then please contact me. 17161 17162commit dd146a074fff575e18a41fd386e2a2ce5a1ec847 17163Author: Maarten Maathuis <madman2003@gmail.com> 17164Date: Thu Sep 6 22:55:16 2007 +0200 17165 17166 Update to latest pciaccess api, this now requires libpciaccess 0.10.0. 17167 17168commit 2f37d249605d6f0b80c290683ca35a9431b1078c 17169Author: Maarten Maathuis <madman2003@gmail.com> 17170Date: Thu Sep 6 22:00:30 2007 +0200 17171 17172 NV03 is dead. 17173 17174commit 2b2c99f2581e14d3f1726bc503951b1fe7760c95 17175Author: Maarten Maathuis <madman2003@gmail.com> 17176Date: Thu Sep 6 21:43:55 2007 +0200 17177 17178 randr12: A prettier hack for DFP, that uses several known htiming and vtiming modes. 17179 17180 - I'm fairly sure these modes are tied to resolution. 17181 - You are welcome to supply additional modes. 17182 - A final solution would be even better ;-) 17183 17184commit ab7d37d61a01afea218321d336664896eaec5651 17185Author: Arthur Huillet <arthur.huillet@free.fr> 17186Date: Thu Sep 6 15:09:59 2007 +0200 17187 17188 Xv: work around some overlay bandwidth problems - may break things though 17189 17190 extended nv workaround from bug 4686 in nv_dac.c to NV1x and NV2x cards, as it fixed problems on someone's NV17. 17191 17192commit f46bc9ad5558e9ecf6b174e24658e812811e94ce 17193Author: Maarten Maathuis <madman2003@gmail.com> 17194Date: Wed Sep 5 23:15:57 2007 +0200 17195 17196 Workaround for flatpanels. 17197 17198 - Remove the hardcoded values. 17199 - This should probably work for monitors whose mode is already set. 17200 17201commit 1825031465fc614a2a972ea7a8b44ac32aed8ea3 17202Author: Maarten Maathuis <madman2003@gmail.com> 17203Date: Wed Sep 5 21:23:25 2007 +0200 17204 17205 Fix minor issue. 17206 17207commit c0eefaba3f3706eb62e172bc57ac2795bd16bd56 17208Author: Maarten Maathuis <madman2003@gmail.com> 17209Date: Wed Sep 5 21:22:05 2007 +0200 17210 17211 Fix DPMS, patch by Bernhard Kaindl <bk@suse.de>. 17212 17213commit d4dda6bb972003394dd3326f8042fa5b759fc063 17214Author: Maarten Maathuis <madman2003@gmail.com> 17215Date: Wed Sep 5 21:18:51 2007 +0200 17216 17217 Reverse DDC1 and DDC2. 17218 17219 - I need them reversed. 17220 - I also found this: http://www.mail-archive.com/git-commits-head@vger.kernel.org/msg12009.html 17221 - If you need them otherwise, then please consult and hopefully we can solve it. 17222 17223commit da89d5a4e0263b8a89c549496d10ab43c7f1f230 17224Author: Maarten Maathuis <madman2003@gmail.com> 17225Date: Wed Sep 5 21:16:11 2007 +0200 17226 17227 randr-1.2 clients have their DDC's initialized elsewhere. 17228 17229commit 2b209d9b8907fad3bbaaf7297ff3c340f086bd24 17230Author: Maarten Maathuis <madman2003@gmail.com> 17231Date: Wed Sep 5 21:12:18 2007 +0200 17232 17233 LockUnlock CRTC's when going back to X (EnterVT), patch by Bernhard Kaindl <bk@suse.de>. 17234 17235commit ba7aa5a1525bb3fbc2ae7fbfce3e42a2e945626e 17236Author: Maarten Maathuis <madman2003@gmail.com> 17237Date: Wed Sep 5 18:34:27 2007 +0200 17238 17239 Xv: improved behavior with NoAccel by disabling blitter and overlay 17240 17241commit 42fd07b25d9abece034e972d1413b31fe78eba4c 17242Author: Ben Skeggs <skeggsb@gmail.com> 17243Date: Wed Sep 5 11:58:19 2007 +1000 17244 17245 Avoid segv. 17246 17247commit e74d58cdef0a0ee561e54f3d7d8afdfac030e04a 17248Author: Ben Skeggs <skeggsb@gmail.com> 17249Date: Wed Sep 5 11:53:48 2007 +1000 17250 17251 Add back DCB table parsing from randr-1.2 branch. 17252 17253commit 8a12758a6b7e4313e0269585b6f64eaffe54c74c 17254Author: Ben Skeggs <skeggsb@gmail.com> 17255Date: Wed Sep 5 11:51:35 2007 +1000 17256 17257 Add LVDS panels when found in DCB. 17258 17259commit b01fbbfa2b6be793dbd7695624699ed703ff4424 17260Author: Ben Skeggs <skeggsb@gmail.com> 17261Date: Wed Sep 5 11:34:14 2007 +1000 17262 17263 Nuke "comparison is always false..." warning. 17264 17265commit c53f495ec2994f013406d9738764ab124ed32061 17266Author: Ben Skeggs <skeggsb@gmail.com> 17267Date: Wed Sep 5 10:59:33 2007 +1000 17268 17269 Fix pciid detect on non-8800 cards (they identify as NV8x, not NV5x) 17270 17271 Actually, use 0x88000 to get pciid on all chipsets since NV40. Evidence 17272 suggests that NV4x has both the 0x88xxx regs and 0x18xx regs. 17273 17274commit 17d1a65296ae4fc524a31cd2fe4b9fe9484c0452 17275Author: Ben Skeggs <skeggsb@gmail.com> 17276Date: Wed Sep 5 10:53:32 2007 +1000 17277 17278 Neither overlay or blit adaptor work on G8x. 17279 17280commit 9ce1115cf26a7cf3212fdf446b83907f5795913a 17281Author: Ben Skeggs <skeggsb@gmail.com> 17282Date: Wed Sep 5 10:51:02 2007 +1000 17283 17284 Nuke riva_* files + bits of NV03 that got reincarnated. 17285 17286commit 51e3855104ff7b68559d37e774cde306424399d8 17287Author: Ben Skeggs <skeggsb@gmail.com> 17288Date: Wed Sep 5 10:46:54 2007 +1000 17289 17290 Nuke XAA. 17291 17292commit a0cb03d32b0da3ad2b4e03515926a3d616f487bc 17293Author: Maarten Maathuis <madman2003@gmail.com> 17294Date: Tue Sep 4 23:04:59 2007 +0200 17295 17296 There was some redundant arch checking code left, must have been missed after the randr merge. 17297 17298commit 13aeb83d7e5fcb3f051f95faa48a2ef636d67260 17299Author: Maarten Maathuis <madman2003@gmail.com> 17300Date: Tue Sep 4 22:54:28 2007 +0200 17301 17302 I unknowingly broke CRT's i think. 17303 17304commit a57fe870e49b2e7a3a6caf17fea8c8c878b1024c 17305Author: Maarten Maathuis <madman2003@gmail.com> 17306Date: Tue Sep 4 22:17:52 2007 +0200 17307 17308 Fix several problems. 17309 17310 - Implement a temporary NVSetMode(), suggestion and code by: Bernhard Kaindl <bk@suse.de>. 17311 Note: I've left his comment intact, just a minor change. 17312 - Fix last commit, i forgot to store the last mode. 17313 - Move some header stuff around, which i created without knowing the true purpose of nv_proto.h ;-) 17314 17315commit be468069b752a3a3c595f62eda40e90719496c90 17316Author: Maarten Maathuis <madman2003@gmail.com> 17317Date: Tue Sep 4 20:45:25 2007 +0200 17318 17319 Fix DVI/Digital alligment with some (magic?) values discovered by Matthew Garrett <mjg59@srcf.ucam.org>. 17320 17321commit 9b54aac1641c35ca3edb2d208d8a9a9c55737894 17322Author: Maarten Maathuis <madman2003@gmail.com> 17323Date: Tue Sep 4 20:20:02 2007 +0200 17324 17325 Add suggestion/patch by Bernhard Kaindl <bk@suse.de> and fix NVRestore(). 17326 17327 - When a monitor comes out of DPMS sleep the old state is restored. 17328 - NVRestore() was not ported from randr-1.2 branch, meaning that going from X to console resulted in a unacceptable mode. 17329 17330commit 186e3b551da6e37e0860d06e9265c3c58b763e27 17331Author: Maarten Maathuis <madman2003@gmail.com> 17332Date: Tue Sep 4 18:39:44 2007 +0200 17333 17334 Add pci-rework compatibility and remove the pci-id list. 17335 17336 - Detection is now done by probing registers. 17337 - Nforce/Nforce2 have special "hacks", they have been converted, but are untested. 17338 - NV5x detection should work, but has seen no testing. 17339 17340commit 6f860d6d7637f4eba49636d2bab11ac62da279cf 17341Author: Ben Skeggs <skeggsb@gmail.com> 17342Date: Tue Sep 4 11:38:39 2007 +1000 17343 17344 Badness. 17345 17346commit 54ca35e7379fdb375c0d7be2f8c3ad1513be2a59 17347Author: Ben Skeggs <skeggsb@gmail.com> 17348Date: Mon Sep 3 22:06:27 2007 +1000 17349 17350 Hook up G8x accel code. 17351 17352commit 8c6fd43f63e450acbfd8de563580db715e72f90b 17353Author: Ben Skeggs <skeggsb@gmail.com> 17354Date: Mon Sep 3 22:06:09 2007 +1000 17355 17356 Fix G8x hwcursor 17357 17358commit f6d0e2dde750436090f50f442e3e0f1aa226a7f3 17359Author: Ben Skeggs <skeggsb@gmail.com> 17360Date: Mon Sep 3 21:35:06 2007 +1000 17361 17362 Fix up M2MF code for G8x. 17363 17364commit fe8788da8cd5aca90bbe85e1c975b79ff02682ba 17365Author: Ben Skeggs <skeggsb@gmail.com> 17366Date: Mon Sep 3 21:30:16 2007 +1000 17367 17368 Init grobjs we need on G8x. 17369 17370commit f450a4d0ab9c199db0a99a5e78642a0d66ca2915 17371Author: Ben Skeggs <skeggsb@gmail.com> 17372Date: Mon Sep 3 21:14:59 2007 +1000 17373 17374 Allocate some VRAM for G8x palette. 17375 17376commit dfcfc9a8dac7f1fdf7b31ebdd2bca4c5f33313e0 17377Author: Ben Skeggs <skeggsb@gmail.com> 17378Date: Mon Sep 3 21:06:15 2007 +1000 17379 17380 Don't pound PMC_ENABLE on startup, this is DRM's job. 17381 17382 Fixes resetting parts of G8x that shouldn't be. 17383 17384commit c8a32bab34ffe74a4a323de3885fae87bd916218 17385Author: Ben Skeggs <skeggsb@gmail.com> 17386Date: Mon Sep 3 21:05:08 2007 +1000 17387 17388 Detect unknown G8x chips in NVProbe() + Force randr12 on G8x 17389 17390commit 087fd31d6a5d6a835fc318549a12faa916cf5ed0 17391Author: Dave Airlie <airlied@linux.ie> 17392Date: Mon Sep 3 16:46:34 2007 +1000 17393 17394 fix distcheck after randr-1.2 brought in 17395 17396commit 423f95c02c5b018d6fc78f501ea8b546d73f33fb 17397Author: Dave Airlie <airlied@linux.ie> 17398Date: Mon Sep 3 16:42:32 2007 +1000 17399 17400 merge in the nv50 code from the randr 1.2 branch 17401 17402commit 39e8b6c7c0a159f7a06d786abc0f9c5c30ae6793 17403Author: Dave Airlie <airlied@linux.ie> 17404Date: Mon Sep 3 16:22:47 2007 +1000 17405 17406 randr12: bring over cursor code 17407 17408commit ffd87b9bf2712311e197063a7c4b65b7c06a5ebb 17409Author: Dave Airlie <airlied@linux.ie> 17410Date: Mon Sep 3 16:16:43 2007 +1000 17411 17412 randr12: try and bring over most of the randr12 code into master 17413 17414 This currently shouldn't break master, and randr-1.2 more than likely doesn't actually work 17415 17416commit 708cb3f9d9b66030dd0bfc4beaa657fcdfded784 17417Author: Arthur Huillet <arthur.huillet@free.fr> 17418Date: Fri Aug 31 21:42:51 2007 +0200 17419 17420 Xv: now "powercycling" the overlay using PMC_ENABLE in order to workaround some lock up problems 17421 17422commit 3a5095db9fd33d2feeb4bcfcb8453848998ce04b 17423Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17424Date: Fri Aug 31 01:36:11 2007 +0200 17425 17426 Cut remains of NV03 support. 17427 17428commit 54a922dffaa1a4a7c29c2cf8d73449e6fe9058ed 17429Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17430Date: Fri Aug 31 01:35:52 2007 +0200 17431 17432 Good ol' nv04 doesn't seem to support dithering type for SIFM. 17433 17434commit b680a9652508e0d0e660fd924937870cd4ad3530 17435Author: Arthur Huillet <arthur.huillet@free.fr> 17436Date: Thu Aug 30 23:19:13 2007 +0200 17437 17438 Xv: nv NV30 arbitration patch for DFPs - fixes (some?) bw problems 17439 17440commit f29c9d3fc95f160ded64b911266a479ad0a2fc1a 17441Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17442Date: Wed Aug 29 00:56:05 2007 +0200 17443 17444 Silence more warnings. 17445 17446commit 663bf3cbc881631e54e7d63932f59e1b4289979f 17447Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17448Date: Wed Aug 29 00:20:19 2007 +0200 17449 17450 Silence a warning. 17451 17452commit 5937ace8e2376f0b38249e38d1f97a88f4aca99f 17453Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17454Date: Tue Aug 28 11:18:54 2007 +0200 17455 17456 Some small fixes. 17457 17458commit 30d2b3f0dd4a9b6be5d3ad7a38993e5b84baf90a 17459Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17460Date: Thu Aug 23 22:54:53 2007 +0200 17461 17462 Oops I forgot to enable the nv35 object on nv35... 17463 17464commit 761d25eb9afd4be34f00ff7eff44dac0c2f9d9a2 17465Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17466Date: Thu Aug 23 22:39:34 2007 +0200 17467 17468 Don't enable that non-working nv30 EXA just yet. 17469 17470commit 7e7dec68969db5dfc15a96f6dbe78edbcd1ab5ab 17471Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17472Date: Thu Aug 23 22:33:58 2007 +0200 17473 17474 Add nv30 exa code, doesn't work yet. 17475 17476commit e1789ac879d474015c87c36847f0e2777486d6ad 17477Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17478Date: Wed Aug 22 22:38:08 2007 +0200 17479 17480 Update to the latest nouveau_reg.h file. 17481 17482commit 4fc38aeb54da1cba9d5e231a5151e6429af0ea7e 17483Author: Matthieu Castet <castet.matthieu@free.fr> 17484Date: Tue Aug 21 20:03:15 2007 +0200 17485 17486 init SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION to COLOR_CONVERSION_TYPE_DITHER. 17487 riva and blob init it. 17488 17489commit c63b5a3740dfe3ff5c6b77412e3666a79137c120 17490Author: Arthur Huillet <arthur.huillet@free.fr> 17491Date: Tue Aug 21 14:55:07 2007 +0200 17492 17493 Fixed blending in NVComposite by actually creating ContextBeta1 and 4 objects 17494 17495commit 4454b3d0104c14890b9b5ead33823ffd0362315c 17496Author: Arthur Huillet <arthur.huillet@free.fr> 17497Date: Mon Aug 20 23:50:43 2007 +0200 17498 17499 Workaround for NVComposite bug #11949 17500 17501 Accepting only PictOpSrc now, PictOpOver causing crashes. 17502 17503commit 450cf465bd850d70ba00711e7d85e1e8eaeff502 17504Author: Arthur Huillet <arthur.huillet@free.fr> 17505Date: Mon Aug 20 13:18:15 2007 +0200 17506 17507 Xv: fixed wrong fix of big endian NV12 copy, as explained by Daniel Chassot 17508 17509 No sleepless coding ever again. <- big lie 17510 17511commit b8780f3d9a7e1bd596f19cbb4867908dd6be53db 17512Author: Arthur Huillet <arthur.huillet@free.fr> 17513Date: Mon Aug 20 00:46:00 2007 +0200 17514 17515 Xv: patch from Daniel Chassot to do 32bit memory writes in NVCopyNV12ColorPlanes, with minor reworking of mine 17516 17517commit 690b4b7adc02e7170451bd5bc6616bc03823d2e5 17518Author: Arthur Huillet <arthur.huillet@free.fr> 17519Date: Sun Aug 19 21:04:00 2007 +0200 17520 17521 Xv: this time a correct matching ? :) 17522 17523commit 6b6505bc54fc29fc22d2be995f34b24ddb9dbaa0 17524Author: Arthur Huillet <arthur.huillet@free.fr> 17525Date: Sun Aug 19 20:18:49 2007 +0200 17526 17527 Xv: stupid build error. blah. 17528 17529commit 28b66c26f85f7730ba9a54db3f778bfd5b24915d 17530Author: Arthur Huillet <arthur.huillet@free.fr> 17531Date: Sun Aug 19 20:14:38 2007 +0200 17532 17533 Xv: now catching all chips < NV17 17534 17535commit 94ae23e2a1ebe9fe3f4bf2039ad3b2e5f0e3e55e 17536Author: Arthur Huillet <arthur.huillet@free.fr> 17537Date: Sun Aug 19 19:50:57 2007 +0200 17538 17539 Xv: disabled YV12 overlay on < NV17 17540 17541commit 1f83dbfa6ef774276e0da3dc4f74cbabe55f76fa 17542Author: Arthur Huillet <arthur.huillet@free.fr> 17543Date: Fri Aug 17 00:45:47 2007 +0200 17544 17545 Xv: now only uploading the part of source image that is used to workaround bandwidth problems 17546 17547commit ffa62dc9f573448c8a832324973513f7ba985b33 17548Author: Arthur Huillet <arthur.huillet@free.fr> 17549Date: Wed Aug 15 02:27:15 2007 +0200 17550 17551 Cleaner DMA and CPU copy upload of color plane for overlay. Fixes a few bugs and is necessary for the bandwidth problem workaround. 17552 17553commit 72c62c48faf2acffae1bc311051537f46972ae58 17554Author: Patrice Mandin <pmandin@caramail.com> 17555Date: Tue Aug 14 22:26:02 2007 +0200 17556 17557 Can not setup dfp modes with xorg-server-1.1 also 17558 17559commit 54eadd624282ae6d0493a3cb54afda7600c7e12b 17560Author: Patrice Mandin <pmandin@caramail.com> 17561Date: Tue Aug 14 22:12:37 2007 +0200 17562 17563 Make NV30 EXA disablable 17564 17565commit da6522dbfcff10081ce2ad866ba4afdd18b413d7 17566Author: Arthur Huillet <arthur.huillet@free.fr> 17567Date: Tue Aug 14 15:01:58 2007 +0200 17568 17569 Implemented CPU copy fallback for native YV12 overlay as well. 17570 17571commit e417307bfc8610f010728d82bb80fced7d0d7aa7 17572Author: Arthur Huillet <arthur.huillet@free.fr> 17573Date: Tue Aug 14 14:47:44 2007 +0200 17574 17575 Native YV12 overlay support, cleaner Xv code 17576 17577 Added support for a native YV12 overlay for NV10+ cards. 17578 Cleaned up Xv code. 17579 CPU copy fallback does not do native YV12 yet. 17580 Bandwidth problem with YV12. 17581 17582commit b3e4da61e8c846d8d3f01b015cb7155da4e266e9 17583Author: Carlos Martín Nieto <carlos@cmartin.tk> 17584Date: Sat Aug 11 12:27:56 2007 +0200 17585 17586 Don't dereference the uninitialised pNv->FB pointer. 17587 17588 Opps, mea culpa. I accidentally commited a debug statement that 17589 dereferences an uninitialised pointer. 17590 17591commit a7d29fd932fe14ca5b82cda64341704164fb7e09 17592Author: Carlos Martín Nieto <carlos@cmartin.tk> 17593Date: Fri Aug 10 20:01:27 2007 +0200 17594 17595 Move DRI's FB to the higher half of VRAM 17596 17597 If we don't, DRM's push buffer takes the map away from us. 17598 17599 This is just a workaround until that useless DRI mapping goes away. 17600 17601commit f9e7849e8736d1477e867a3a1262f0f82baefbcb 17602Author: Arthur Huillet <arthur.huillet@free.fr> 17603Date: Fri Aug 10 20:59:12 2007 +0200 17604 17605 of course, we don't need Xv debug messages upstream 17606 17607commit ee098308c6aca7615bc6ee597e9ca531520f4119 17608Author: Arthur Huillet <arthur.huillet@free.fr> 17609Date: Fri Aug 10 19:28:22 2007 +0200 17610 17611 "smart" overlay with composite, and a tentative fix of flickering when dropping frames 17612 17613 added "smart overlay" when composite is enabled. not extensively tested 17614 now not changing the buffer when skipping frames - not sure it even has an impact. 17615 17616commit 9cc11cbc9ce10b99f72d7c08584bf61d179cdbda 17617Author: Ben Skeggs <skeggsb@gmail.com> 17618Date: Thu Aug 9 01:46:46 2007 +1000 17619 17620 Fix blit adaptor + NVWaitVBlank() (ie. replace old magic 0x400710 hack) 17621 17622commit 22e965038bbc64c7b5118fc9a03ecf5f467d1665 17623Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17624Date: Wed Aug 8 12:45:59 2007 +0200 17625 17626 And of course, we don't really need these ErrorFs. Not any more than last time. 17627 17628commit 1c5a3e271ca628c61fce0bcef24d0bda15d06d7e 17629Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17630Date: Wed Aug 8 12:38:14 2007 +0200 17631 17632 Oh, and of course we need a new object. 17633 17634commit a9b44880924ee814f0bd4b0015ab152f2d0b9051 17635Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17636Date: Wed Aug 8 12:37:31 2007 +0200 17637 17638 Use IMAGE_FROM_CPU for smaller UTS. This is async and helps a lot with glyphs especially. 17639 17640commit 9cb4c95a4fbf38fcb8249e765ff71b2e24912244 17641Author: Ben Skeggs <skeggsb@gmail.com> 17642Date: Wed Aug 8 11:48:48 2007 +1000 17643 17644 Add forgotten prototype 17645 17646commit 089ff874e0a798c1b2693b5ab01cfa04c939f758 17647Author: Ben Skeggs <skeggsb@gmail.com> 17648Date: Wed Aug 8 10:32:08 2007 +1000 17649 17650 Timeouts got lost somewhere along the way.. 17651 17652commit 15a680a6d715f87910b07133e1b98e2d4be9a108 17653Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17654Date: Tue Aug 7 23:42:09 2007 +0200 17655 17656 Fix some overlooked hardcoded subchannels... 17657 17658commit 3f0a52c44697787d84d4f2cf61872e13d630f62a 17659Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17660Date: Mon Aug 6 23:30:04 2007 +0200 17661 17662 Fix explicit usage of subchannels, and remove subchannel defines altogether. 17663 17664commit 17b65f1c2be3e609d387066d72dd8f5f7e2a6d92 17665Author: Matthieu Castet <castet.matthieu@free.fr> 17666Date: Mon Aug 6 19:55:52 2007 +0200 17667 17668 make XAA work on nv17 17669 17670commit bf5684ba05e50fe48cce1e634caf03725fa907e6 17671Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17672Date: Mon Aug 6 18:27:19 2007 +0200 17673 17674 oops remove the debugging ErrorFs. 17675 17676commit 2eab8453d73b4e7fd6c2d772d595ca5e8fa8c975 17677Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17678Date: Mon Aug 6 18:13:13 2007 +0200 17679 17680 Fix UTS/DFS when gart is smaller than transfer size. 17681 17682commit 71076f7947ec71b7a0f363c23f5a51ef09cdd9c0 17683Author: Ben Skeggs <skeggsb@gmail.com> 17684Date: Tue Aug 7 02:09:30 2007 +1000 17685 17686 NVDmaSetObjectFromSubchannel doesn't exist anymore! 17687 17688commit 4a6c2bd2bedcf9f67c3e498b1411ad58cd66199c 17689Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 17690Date: Mon Aug 6 17:29:41 2007 +0200 17691 17692 Add subchannel handling code 17693 17694commit c7b16f6fff96ffcff8049feed2a0a9ef6de4209f 17695Author: Ben Skeggs <skeggsb@gmail.com> 17696Date: Mon Aug 6 21:45:50 2007 +1000 17697 17698 Adapt to drm 0.0.10 17699 17700commit 59d073c9b01a8f61675b8d74f5c55f134ddfb8bf 17701Author: Arthur Huillet <arthur.huillet@free.fr> 17702Date: Mon Aug 6 01:37:17 2007 +0200 17703 17704 Xv: waiting for last transfers to finish before freeing notifiers 17705 17706commit 047aa7e0a6ecce59c9be8d36c51f082c0ddaafe8 17707Author: Ben Skeggs <skeggsb@gmail.com> 17708Date: Mon Aug 6 00:13:35 2007 +1000 17709 17710 Clamp NV_MEMORY_TO_MEMORY_FORMAT_LINE_COUNT to 2047 lines. 17711 17712 At least NV40 can't handle values larger than this. Patch fixes hang 17713 when visiting opengl.org. 17714 17715commit 68070ff7309c8b1cf149490dcf537892b0bf44bc 17716Author: Arthur Huillet <arthur.huillet@free.fr> 17717Date: Mon Jul 30 03:27:55 2007 +0200 17718 17719 Xv now manages a pool of 6 notifiers for its double buffering. Also improved the memory allocation logic. 17720 17721commit bceef7210e44dc643a5f7a5b5683d5c434a07565 17722Author: Arthur Huillet <arthur.huillet@free.fr> 17723Date: Sun Jul 29 01:54:42 2007 +0200 17724 17725 Xv: fixed bugs when displayed only part of the source image (tvtime with overscan) 17726 Xv: fixed bug with overlay behaving badly when window is partly out of screen 17727 Xv: clean up NVPutImage code 17728 17729commit a434cc6dd38ffa658bacf5547ec0384ec5351e9c 17730Author: Dave Airlie <airlied@ppcg5.localdomain> 17731Date: Sat Jul 28 16:34:49 2007 +1000 17732 17733 exa: disable compositing on big endian machines 17734 17735 This at least allows me to see what I'm typing for now :-) 17736 17737commit 175c2b7f7b9e45924e1de7f7ea1130fda76d02fd 17738Author: Arthur Huillet <arthur.huillet@free.fr> 17739Date: Fri Jul 27 19:50:48 2007 +0200 17740 17741 no overlay with composite 17742 17743commit 200c82634971b32bcc308b5e07c113048cf37aa4 17744Author: Arthur Huillet <arthur.huillet@free.fr> 17745Date: Fri Jul 27 16:28:48 2007 +0200 17746 17747 Xv: gotos are evil 17748 17749commit 8544c0ce64780be1bb5f66550d9d6f1e3c87865c 17750Author: Arthur Huillet <arthur.huillet@free.fr> 17751Date: Fri Jul 27 15:11:31 2007 +0200 17752 17753 Removed comments in preparation for upstream push 17754 17755commit 2c60f6e9fc5260eba5b7ddaf67085781f35bfc58 17756Author: Arthur Huillet <arthur.huillet@free.fr> 17757Date: Thu Jul 26 23:00:02 2007 +0200 17758 17759 re-added CPU copy code as a second fallback option (first being to use X GARTScratch) 17760 17761commit c4dfad770d380dacddd3be025e96f867047327cc 17762Author: Arthur Huillet <arthur.huillet@free.fr> 17763Date: Thu Jul 26 16:08:40 2007 +0200 17764 17765 Completely removed notifier wait, when using double buffered stuff. 17766 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. 17767 17768commit 8ba6a9c7494ebd53a3fe775d4d9b402e918a6598 17769Author: Arthur Huillet <arthur.huillet@free.fr> 17770Date: Thu Jul 26 15:21:08 2007 +0200 17771 17772 Preliminary implementation of "host-side double buffering" to improve performance of Xv 17773 17774commit 4f4721f1b8a76a0bf9938e3c614ba7166d5f3dab 17775Author: Arthur Huillet <arthur.huillet@free.fr> 17776Date: Wed Jul 25 22:23:37 2007 +0200 17777 17778 removed pointless sleep in notifier wait 17779 17780commit 290e71edfbc6297c63989d5c21a67717b4ca5f76 17781Author: Arthur Huillet <arthur.huillet@free.fr> 17782Date: Fri Jul 20 17:46:18 2007 +0200 17783 17784 cleaner Xv code - fallback on CPU copy yet to be implemented 17785 17786commit e760235a0596895b726220366c50d4e7c244006e 17787Author: Arthur Huillet <arthur.huillet@free.fr> 17788Date: Fri Jul 20 01:33:49 2007 +0200 17789 17790 Now using GART as the source for the blitter - preliminary implementation, gotta clean it up 17791 17792commit a97181f95a1f5da6180b8a72f3ca307079b92079 17793Author: Arthur Huillet <arthur.huillet@free.fr> 17794Date: Fri Jul 20 01:22:11 2007 +0200 17795 17796 now yielding in the wait for notifier for Xv only 17797 17798commit 81cc744eb31343a509f9ca0d37993d462f162d80 17799Author: Arthur Huillet <arthur.huillet@free.fr> 17800Date: Sun Jul 15 01:00:19 2007 +0200 17801 17802 VERY EXPERIMENTAL now EXA waits for sync before its operations - this removed the text corruption and didn't affect performance here, please report. 17803 17804commit 74ed14e1d27903f0647fe650da666cacb1e2e940 17805Author: Arthur Huillet <arthur.huillet@free.fr> 17806Date: Sun Jul 15 00:35:46 2007 +0200 17807 17808 VERY EXPERIMENTAL moved the notifier wait at the beginning of NvPutImage 17809 17810commit 590e385cb5e4f26532ec5ee380f2aaae1cd69894 17811Author: Arthur Huillet <arthur.huillet@free.fr> 17812Date: Thu Jul 12 03:19:21 2007 +0200 17813 17814 new structure for PutImage, and DMA transfers 17815 17816commit d4abe1fb011d414fda1871f052dda5b860f0820b 17817Author: Ben Skeggs <skeggsb@gmail.com> 17818Date: Tue Jul 17 13:09:34 2007 +1000 17819 17820 Emit NOTIFY+NOP sequence after M2MF. 17821 17822commit 36396aeaeabfd00c7014fa52c17261c3da8b6a82 17823Author: Ben Skeggs <skeggsb@gmail.com> 17824Date: Fri Jul 13 15:28:56 2007 +1000 17825 17826 Play "nuke the typedef" 17827 17828commit 99e0fbc1a34f535abf41c6f4566901c326dfa4b5 17829Author: Ben Skeggs <skeggsb@gmail.com> 17830Date: Thu Jul 12 10:47:53 2007 +1000 17831 17832 Match drm 0.0.9 interface changes. 17833 17834commit e88b20b392c6972088d88f52b2da83b82b821be5 17835Author: Arthur Huillet <arthur.huillet@free.fr> 17836Date: Wed Jul 11 02:42:24 2007 +0200 17837 17838 added support for PCI GART when no AGP is available - requires DRM interface version 8 17839 17840commit dff1cce299df636813e8f85109f4556f520620c0 17841Author: Ben Skeggs <skeggsb@gmail.com> 17842Date: Sun Jul 1 18:22:37 2007 +1000 17843 17844 Always provide UTS, fallback to memcpy if no GART. 17845 17846commit 2e0e7e3856573fbbcb5fe5c96cadcde4d33db68f 17847Author: Ben Skeggs <skeggsb@gmail.com> 17848Date: Sun Jul 1 18:19:44 2007 +1000 17849 17850 Always provide DFS, use memcpy fallback if no GART. 17851 17852commit ba0d3fbba7c1a83ddc509414772199862a4a1d03 17853Author: Ben Skeggs <skeggsb@gmail.com> 17854Date: Sat Jun 30 15:27:07 2007 +1000 17855 17856 Remove some unused cruft 17857 17858commit 3e2677040937fda1cd6e6ea26c238049bd9f99ba 17859Author: Ben Skeggs <skeggsb@gmail.com> 17860Date: Sat Jun 30 04:26:48 2007 +1000 17861 17862 No need to call exaMarkSync() in UTS/DFS. 17863 17864commit e81c9a29e6d1c6573892df8601f0361c2b09c659 17865Author: Ben Skeggs <skeggsb@gmail.com> 17866Date: Thu Jun 28 15:16:35 2007 +1000 17867 17868 Bail if GlxSetVisualConfigs isn't found. 17869 17870commit fce3edda42d10a9c3249c6eae4218a51a981493f 17871Author: Ben Skeggs <skeggsb@gmail.com> 17872Date: Mon Jun 25 12:45:31 2007 +1000 17873 17874 Bump required xorg-server version to 1.3 17875 17876commit 8f1c9af02651404f8b4800b150a86bb47062fd68 17877Author: Ben Skeggs <skeggsb@gmail.com> 17878Date: Mon Jun 25 12:44:12 2007 +1000 17879 17880 Check PRAMIN for BIOS image if not found in PROM. 17881 17882commit 824331e3fce36098e8dec31746204f7c13038abb 17883Author: Ben Skeggs <skeggsb@gmail.com> 17884Date: Sun Jun 24 17:48:33 2007 +1000 17885 17886 Implement NV40 EXA composite hooks with 3D engine. 17887 17888 Named NV30EXA, but won't work on NV30 just yet. This should change at some 17889 point in the future. 17890 17891 Will likely break non-voodoo'd NV4X cards (if the latest drm changes didn't 17892 already break them). Use EXANoComposite xorg.conf option to disable the hook 17893 if that's the case. 17894 17895commit 2e2e95fc3b650ca633294bf4c11c9ba28f45b743 17896Author: Ben Skeggs <skeggsb@gmail.com> 17897Date: Sun Jun 24 17:34:10 2007 +1000 17898 17899 Slightly saner UploadToScreen implementation 17900 17901commit 35806975047aa8c0dbc059709bb823f475ee7368 17902Author: Ben Skeggs <skeggsb@gmail.com> 17903Date: Sun Jun 24 17:27:42 2007 +1000 17904 17905 Wait on notifier instead of PGRAPH_STATUS 17906 17907 When multiple channels are in use, PGRAPH_STATUS may report busy even if the 17908 ddx's channel is idle. 17909 17910commit c39089b3d686eecef11db2b5a2d606ba1ca2dc0c 17911Author: Ben Skeggs <skeggsb@gmail.com> 17912Date: Sun Jun 24 17:21:27 2007 +1000 17913 17914 Match drm 0.0.7 interface changes 17915 17916commit 45dccb99a541a0e1e7be7b4e5aab12c3d8d9f30d 17917Author: Ben Skeggs <skeggsb@gmail.com> 17918Date: Sun Jun 24 16:47:36 2007 +1000 17919 17920 Hide the allocator's use of physical addresses 17921 17922commit d41cf4febd555cca1c65df7aa981be64a6ae4219 17923Author: Ben Skeggs <skeggsb@gmail.com> 17924Date: Sun Jun 24 16:46:40 2007 +1000 17925 17926 Pass pScrn instead of pNv in a few places 17927 17928commit d59fbb4725602c409beee4ab96dca1eab5d73b2a 17929Author: Ben Skeggs <skeggsb@gmail.com> 17930Date: Mon Jun 11 20:36:28 2007 +1000 17931 17932 don't nuke user-specified CFLAGS 17933 17934commit 7af7d95eb8826fa3fb9914a8c6ad4b6f4867095e 17935Author: Henry Zhao <henryz@localhost.localdomain> 17936Date: Mon Apr 23 01:38:09 2007 +0200 17937 17938 Import from nv : Need to inject a mode corresponding panel width/height for validation 17939 17940commit 896fe62233f62d5e1f874ed0eba3a200fa5ef14b 17941Author: Richard Hughes <richard@hughsie.com> 17942Date: Sun Apr 15 23:01:52 2007 +0200 17943 17944 Fix make dist. 17945 17946commit e0e90f427581929fd01c96f1958a1292982dee83 17947Author: Ben Skeggs <skeggsb@gmail.com> 17948Date: Mon Mar 26 01:04:15 2007 +1000 17949 17950 nouveau: rip out card init, everything except modesetting. 17951 17952commit 23fdec37c580c3b5de263dfd48bd80fa9f21bc19 17953Author: Ben Skeggs <skeggsb@gmail.com> 17954Date: Wed Mar 21 17:55:38 2007 +1100 17955 17956 nouveau: bump for drm interface changes (v0.0.5) 17957 17958commit 1fddcfe6680148ed2edd8017217734a1f812298c 17959Author: Matthieu Castet <castet.matthieu@free.fr> 17960Date: Sun Mar 18 11:30:54 2007 +0100 17961 17962 Fix "Fix NoAccel mode" commit : NVAccelCommonInit return a bool 17963 17964commit 113c6837a6515d533bfa15daf49f6cd2c4c95ac4 17965Author: Matthieu Castet <castet.matthieu@free.fr> 17966Date: Sun Mar 18 11:28:04 2007 +0100 17967 17968 Fix NoAccel mode 17969 17970commit d1b75251a3f225890f1e25b11038389d71b67611 17971Author: Ben Skeggs <skeggsb@gmail.com> 17972Date: Wed Mar 7 21:41:22 2007 +1100 17973 17974 Rip out nv30_exa.c, we have other means to play with the 3D engine now. 17975 17976commit adb2df9a9c88bc9646b65a235aa36416c3064c9f 17977Author: Ben Skeggs <skeggsb@gmail.com> 17978Date: Wed Mar 7 16:46:27 2007 +1100 17979 17980 Xv: Make the blit adaptor play nice with EXA 17981 17982 Previously the blit adaptor assumed that all drawing (ie. XAA) would occur to 17983 the screen pixmap, so it didn't bother touching surface offsets. Now, with 17984 EXA this isn't true and the card complained about exceeding the colour buffer 17985 limits when attempting to play video. 17986 17987 This patch kills 2 birds with one stone; instead of pointing the GPU back at 17988 the screen pixmap when playing video, we point it at the destination drawable. 17989 So, Xv will also hopefully play nicely with redirected windows now. 17990 17991commit f28abbedfc7deeb90317dd24c7ec5dfe1ae94fdf 17992Author: Ben Skeggs <skeggsb@gmail.com> 17993Date: Wed Mar 7 13:58:48 2007 +1100 17994 17995 Only use Y32 for Solid(). 17996 17997 It's the only place the workaround is needed at this point, and in some places 17998 we need to use the "proper" ARGB format (Xv for instance). 17999 18000commit 6441253d34d118befe8950781ba012fc58bb5158 18001Author: Ben Skeggs <skeggsb@gmail.com> 18002Date: Wed Mar 7 04:33:44 2007 +1100 18003 18004 Fail configure if xorg-server isn't at least version 1.1 18005 18006 The minimum requirement has been 1.1 for a while now, but would only fail 18007 at compile time when compiling nv_exa.c. This patch makes configure fail, 18008 and removes the remaining conditional support for older servers. 18009 18010 Hopefully the configure.ac is ok, I suck at autofoo. 18011 18012commit e568c2d8e82b1bcf25e495f4a82331803d954234 18013Author: Ben Skeggs <skeggsb@gmail.com> 18014Date: Wed Mar 7 04:22:24 2007 +1100 18015 18016 reindent and move nv_video.c around a bit 18017 18018commit a0a5586836eb87a8c21abb06f9b8afd64eec714a 18019Author: Ben Skeggs <skeggsb@gmail.com> 18020Date: Tue Mar 6 05:42:29 2007 +1100 18021 18022 Use Y32 format instead of A8R8G8B8 for 32-bpp pixmaps 18023 18024 fixes 32-bpp EXA solid-fills, previously alpha was forced to 0xff. 18025 18026commit 2e9976c034b6c310b7ad0fc858250c5e54781a9e 18027Author: Ben Skeggs <skeggsb@gmail.com> 18028Date: Mon Mar 5 14:45:04 2007 +1100 18029 18030 move NVAccel* funcs into nv_accel_common.c 18031 18032commit add6463b848fab274cb5cc190a78aeafc1389203 18033Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18034Date: Sun Mar 4 22:40:48 2007 +0100 18035 18036 Joint patch from Ben Skeggs and me that fixes some (all ?) composite issues. 18037 18038commit 83868bd0a36520da49e40e2b8404e4652de39824 18039Author: Ben Skeggs <darktama@iinet.net.au> 18040Date: Thu Mar 1 08:39:23 2007 +1100 18041 18042 nouveau: avoid attempting an AGP-only alloc 18043 18044 will fail on non-AGP cards, and leave nasty messages in Xorg.log... 18045 18046commit da1dd87acb7061b4772c271dc3c9071a3b160e8a 18047Author: Ben Skeggs <skeggsb@gmail.com> 18048Date: Wed Feb 28 15:30:52 2007 +1100 18049 18050 match drm v4 interface changes 18051 18052 context (gr/dma) object handling: 18053 - remove use of flags/dmaobj when creating objects 18054 - move object creation/setup into nv_accel_common.c 18055 - NV04: make PGRAPH complain a bit more if we program the hardware 18056 incorrectly. 18057 - NV04/NV10: enable PGRAPH_DEBUG_3_CTX_METHODS 18058 This bit seems to enable the use of SET_* methods. 18059 - NV04/NV10/NV40: enable PGRAPH_DEBUG_3_IGNORE_PATCHVALID 18060 Objects no longer get PATCH_CONFIG_VALID set in their context. 18061 Not sure how to get this set other than to intercept the 18062 PATCH_EXCEPTION error and enable the flag. I opted for the 18063 same method NVIDIA use, which makes PGRAPH ignore it. 18064 misc: 18065 - use NV04_SCALED_IMAGE_FROM_MEMORY on all NV_ARCH_04 cards 18066 - fix offScreenBase calculation (EXA) 18067 - move mem alloc/free helpers into nv_mem.c 18068 18069commit 7e5f90b264fdb3081250ff16748164998b6461a6 18070Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18071Date: Tue Feb 27 14:46:20 2007 -0500 18072 18073 Typo fix. 18074 18075commit c85da5d8b346e17e68da68e57d62c3f77029b680 18076Author: Damien Thebault <damien.thebault@laposte.net> 18077Date: Wed Feb 14 00:35:50 2007 +0100 18078 18079 Don't output the chipset list to the log file, silence some warnings. 18080 18081commit f650cb126e042b44126df6a298e996726356ec5b 18082Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18083Date: Wed Feb 14 00:29:52 2007 +0100 18084 18085 Fix the workaround (or workaround the fix). 18086 18087commit ac2784d38634bc6d8aec3a94d609b60cd49b21b6 18088Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18089Date: Wed Jan 24 20:39:40 2007 +0100 18090 18091 Make NV_DMA_DEBUG print the fifo position. 18092 18093commit d54d441df4294bf4fed26635a738f4111087e06d 18094Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18095Date: Wed Jan 24 19:13:05 2007 +0100 18096 18097 Increase the fifo dump size. 18098 18099commit b21dbb170aa49c83ef450c2ab8c34614277e7fbc 18100Author: B. Rathmann <koala_br@users.sourceforge.net> 18101Date: Wed Jan 24 13:46:16 2007 +0100 18102 18103 Fix the G70 issues. 18104 18105commit e683979666a4c07590b7bade2f62cca33c19a3b2 18106Author: Ben Skeggs <darktama@iinet.net.au> 18107Date: Fri Jan 19 15:40:22 2007 +1100 18108 18109 bump drm patchlevel 18110 18111commit feff7cb67ae61987146a21dad535702f3db2264c 18112Author: Jeremy Kolb <jkolb@brandeis.edu> 18113Date: Thu Jan 18 21:28:51 2007 -0500 18114 18115 Fill in some more nv30 magic values. Not sure what they do yet but they don't hurt anything. 18116 18117 Apply names to other registers. 18118 18119commit 31462c30bb79e8245edee0cf57c46b889d2f259b 18120Author: Jeremy Kolb <jkolb@brandeis.edu> 18121Date: Wed Jan 17 08:34:56 2007 -0500 18122 18123 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. 18124 18125commit 4583312ba72047e6bc65bfc576a0bcf90e04b2de 18126Author: David Jeannot <djeannot24@gmail.com> 18127Date: Tue Jan 16 00:03:56 2007 +0100 18128 18129 Indent nv_bios.c properly. 18130 18131commit 6246fba5a54dc7af9a8b16c5a14131180831562d 18132Author: Patrice Mandin <patrice@manoir.racoon.city> 18133Date: Fri Jan 12 20:25:16 2007 +0100 18134 18135 Add missing include for malloc/free 18136 18137commit 37937980ec7b21c40539daee029886c4f4a0f0cd 18138Author: Jeremy Kolb <jkolb@brandeis.edu> 18139Date: Fri Jan 12 00:26:20 2007 -0500 18140 18141 NV30: Set DEBUG3 reg bit 1. Turns on automatic hw context switching. 18142 18143commit d5617e91ff13f9e19d9e5d421fd081f59dec685c 18144Author: jkolb@brandeis.edu <jkolb@brandeis.edu> 18145Date: Thu Nov 2 20:23:36 2006 -0500 18146 18147 Just a superficial cleaning up. Nothing exciting. 18148 18149commit 1f6239de8d7618de6aee402eaf1d8552524a996e 18150Author: Ben Skeggs <darktama@iinet.net.au> 18151Date: Tue Jan 2 15:08:36 2007 +1100 18152 18153 NV4x changes to work with latest drm. 18154 18155commit f9ba29a07581ede8c409b0eb8b549db3b446f490 18156Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18157Date: Wed Dec 27 21:52:15 2006 +0100 18158 18159 Output the driver date to the logs on startup. 18160 18161commit 2f1d14fe1c03c32ad60776e0d0c2ae41a42ea4be 18162Author: Ben Skeggs <darktama@iinet.net.au> 18163Date: Tue Dec 12 00:13:05 2006 +1100 18164 18165 Remove final remaining PRAMIN access (NV04-specific), the drm handles it now 18166 18167commit de7255d5420c64a2707f5e78a4157d93618e6c17 18168Author: Ben Skeggs <darktama@iinet.net.au> 18169Date: Fri Dec 8 18:09:26 2006 +1100 18170 18171 Provide some visuals with a stencil buffer, and actually call NVDRIInitVisualConfigs. 18172 18173commit e64dcc59b607ae5ad7049c35fed6d6a300cd5f6e 18174Merge: 0f7957d 656dfcd 18175Author: Matthieu Castet <mat@mat-pc.(none)> 18176Date: Wed Dec 6 22:09:23 2006 +0100 18177 18178 Merge branch 'master' of git+ssh://matc@git.freedesktop.org/git/nouveau/xf86-video-nouveau/ 18179 18180commit 0f7957da9ce856ef0accc922ab368ac10171b5e6 18181Author: Matthieu Castet <mat@mat-pc.(none)> 18182Date: Wed Dec 6 22:07:26 2006 +0100 18183 18184 More pgraph regs 18185 18186commit 656dfcd635551245b2f58835c5ea87474d3eb60d 18187Merge: ed307d5 224578b 18188Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18189Date: Sun Dec 3 10:20:04 2006 +0100 18190 18191 Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/nouveau/xf86-video-nouveau 18192 18193commit ed307d559be72e06f64566574beb36200ebe47e2 18194Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18195Date: Sun Dec 3 10:14:04 2006 +0100 18196 18197 Introduce lock step versioning with the drm. 18198 Fix the MEM_ALLOC issue. 18199 18200commit 224578b74645fe3624669dc3521fe6deb1cc4aae 18201Author: Matthieu Castet <mat@mat-pc.(none)> 18202Date: Tue Nov 28 19:12:55 2006 +0100 18203 18204 Don't alloc fifo if it is not needed. 18205 18206commit 146eb74cb7d1da1da55247a04e7a969d98601e42 18207Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18208Date: Mon Nov 27 00:03:11 2006 +0100 18209 18210 Mandatory oops commit. 18211 18212commit bdfa6776128f4bc7e2f3caa57296571acb9bd661 18213Author: Andrew Mitchell <ajmitch@ubuntu.com> 18214Date: Sun Nov 26 23:59:06 2006 +0100 18215 18216 Remove XF86DRI defines from the driver. It's already mandatory anyway. 18217 18218commit 7ebc8c4327d0b50f60c4cd4423414d4cfbb8b7d8 18219Author: airlied <airlied@optimus.localdomain> 18220Date: Fri Nov 17 16:23:38 2006 +1100 18221 18222 add VGA CRTC registers from haiku 18223 18224commit 7150a4357dff0a2e4468190e2fd228ed07d367f9 18225Author: Dave Airlie <airlied@linux.ie> 18226Date: Fri Nov 17 12:55:37 2006 +1100 18227 18228 remove nvvga.h unused 18229 18230commit 64a1c5bb90fd13ce1c191873a4f4afc2a9ede09b 18231Author: Dave Airlie <airlied@linux.ie> 18232Date: Fri Nov 17 12:51:11 2006 +1100 18233 18234 find and version DRM earlier in startup sequence so it is loaded firstup 18235 18236commit 659b5de8200d9022e7616f03b20a306fff2af0fe 18237Author: Matthieu Castet <castet.matthieu@free.fr> 18238Date: Fri Nov 17 00:59:58 2006 +0100 18239 18240 Cleanup of PVIDEO. 18241 18242commit 370b83eb3347d14003f2878737d25de7dacaeec1 18243Author: Matthieu Castet <castet.matthieu@free.fr> 18244Date: Wed Nov 15 22:10:27 2006 +0100 18245 18246 Use objects from nouveau_reg.h. 18247 18248commit 2ffeb45a953a2ff52abe6f78dacfb9c53f873dbb 18249Author: Ben Skeggs <darktama@iinet.net.au> 18250Date: Wed Nov 15 01:22:18 2006 +1100 18251 18252 Set SURFACE_FORMAT in NVExaPrepareCopy. Fixes one of the many issues with xorg-server-1.2 18253 18254commit 85bda095107558846fe6fb803b6df412213b27f4 18255Author: Ben Skeggs <darktama@iinet.net.au> 18256Date: Wed Nov 15 00:47:04 2006 +1100 18257 18258 nv_exa.c tab goodness 18259 18260commit 8b733a25c30fb9e499d678c26b777d072d1ac187 18261Author: Ben Skeggs <darktama@iinet.net.au> 18262Date: Tue Nov 14 08:31:21 2006 +1100 18263 18264 Fix type. 0x84 is DEBUG_1 18265 18266commit 030eb38dd1fe767807aab0447ed4fab4ec8c368a 18267Author: Ben Skeggs <darktama@iinet.net.au> 18268Date: Tue Nov 14 03:09:05 2006 +1100 18269 18270 Fill in front_offset/front_pitch 18271 18272commit 589bb37ff37bb7d4775f5dca0301c5d97ea73b06 18273Author: Ben Skeggs <darktama@iinet.net.au> 18274Date: Sun Nov 12 16:04:32 2006 +1100 18275 18276 Add NVDRIFinishScreenInit. 18277 18278commit d0c09a1bd0e1c26cc591a3d8738b94b1efe576ec 18279Author: Dave Airlie <airlied@linux.ie> 18280Date: Sun Nov 12 14:08:45 2006 +1100 18281 18282 add some names to registers 18283 18284commit 84928fd946b4f02d8a943226481304417475c4f9 18285Author: Ben Skeggs <darktama@iinet.net.au> 18286Date: Sun Nov 12 07:43:24 2006 +1100 18287 18288 Import nouveau_dri.h from the 3D driver as nv_dri.h, and setup DRIInfo->devPrivate. 18289 18290commit cdb9e3acf0aa5cdf6e5aa33fb499ea8e93f7f1f2 18291Author: Ben Skeggs <darktama@iinet.net.au> 18292Date: Sun Nov 12 07:33:53 2006 +1100 18293 18294 Temporary workaround for DRI drmMap problem, not sure of what we actually need to do here yet. 18295 18296commit d3babbfbed898921e1a167df08eef92d381d6aa0 18297Author: Ben Skeggs <darktama@iinet.net.au> 18298Date: Sun Nov 12 07:28:31 2006 +1100 18299 18300 nv_dri.c still had some space-indented functions, not anymore :) 18301 18302commit bad4e6c674ac4fdc0aebbbc6d36fc2854ee8f885 18303Merge: 1b14821 c096565 18304Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18305Date: Mon Nov 6 03:14:07 2006 +0100 18306 18307 Merge branch 'master' of git+ssh://marcheu@git.freedesktop.org/git/nouveau/xf86-video-nouveau 18308 18309commit 1b14821ecd67a62a34a902e62c0b229bb9ed97ca 18310Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18311Date: Mon Nov 6 03:13:50 2006 +0100 18312 18313 Added a DRI visual configs functions. It should work but I can't test it... 18314 18315commit c096565a0f6e6c12255e57eaefb878904ce04971 18316Author: Ben Skeggs <darktama@iinet.net.au> 18317Date: Mon Nov 6 11:54:19 2006 +1100 18318 18319 Fix TEX0_IN_TEX1 fragprog.. I must've been asleep when I did that.. 18320 18321commit 47f32cfe6e2f513f86b7a8f02a8872c134e2327d 18322Author: Dave Airlie <airlied@ppcg5.localdomain> 18323Date: Mon Nov 6 11:45:53 2006 +1100 18324 18325 use pagesize to work out the sarea size 18326 18327commit e6c4d40e247939f677e285db15a78ccc33b92b41 18328Author: Dave Airlie <airlied@ppcg5.localdomain> 18329Date: Mon Nov 6 08:39:49 2006 +1100 18330 18331 don't fail dri module load if loaded already 18332 18333commit 4cc4a1f7ef559f1ce56706f16ee24a3b6879d28d 18334Merge: b95f8aa b4e4307 18335Author: Dave Airlie <airlied@linux.ie> 18336Date: Sun Nov 5 18:00:29 2006 +1100 18337 18338 Merge ssh://10.1.1.200/home/airlied/git/xf86-video-nouveau 18339 18340commit b4e4307af982b50aff191983d209cb855a377f80 18341Author: Dave Airlie <airlied@ppcg5.localdomain> 18342Date: Sun Nov 5 17:59:17 2006 +1100 18343 18344 fix G5 endianness issue with panel size regs 18345 18346commit b95f8aac9e6dcbf4d10a5e26bde6a0f3595608cb 18347Merge: ba71154 e6b1f68 18348Author: Dave Airlie <airlied@linux.ie> 18349Date: Sun Nov 5 17:53:53 2006 +1100 18350 18351 Merge branch 'master' of ssh://git.freedesktop.org/git/nouveau/xf86-video-nouveau 18352 18353commit ba711545a0fd091c05b514f30c1e904370026499 18354Author: Dave Airlie <airlied@ppcg5.localdomain> 18355Date: Sun Nov 5 17:51:10 2006 +1100 18356 18357 set the PPC use BE MMIO 18358 18359commit e6b1f687e3bf127d8dba1871d67eff9d83ac284e 18360Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18361Date: Sat Nov 4 16:57:30 2006 +0100 18362 18363 Remove the context object flags handling from the DDX since it's now in the DRM. 18364 18365commit ead77e0ec1d0c62829fa973db3d62937b44781e5 18366Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18367Date: Sat Nov 4 04:47:57 2006 +0100 18368 18369 Add the NV44A 3D object class. 18370 18371commit 87463666ab23e047f355cfcd7016aa9c7cd8ad76 18372Author: Ben Skeggs <darktama@iinet.net.au> 18373Date: Fri Nov 3 04:00:09 2006 +1100 18374 18375 Use "do { blah; } while(0)" instead of just braces. (suggestion from megari on irc) 18376 18377commit 68682238b36292409ce7f41ed90bd3be860e77f3 18378Author: Ben Skeggs <darktama@iinet.net.au> 18379Date: Thu Nov 2 16:07:26 2006 +1100 18380 18381 Install NV30_TCL EXA hooks if NV_ENABLE_3D is defined. 18382 18383 Ok.. Firstly I don't recommend using this code, it is not ready for general 18384 usage. We probably only want to keep the Composite hook, but the others are 18385 useful to test things with. 18386 18387 1. You will most likely (read: definitely) need to start X with the binary 18388 driver before starting X with nouveau/NV30_TCL.. If you don't PGRAPH will 18389 yell at you and X will crash. 18390 2. Copy() is bad when the src and dest are the same, so scrolling and moving 18391 windows around will fall back to software rendering.. 18392 3. Composite() is slightly better than the one in nv_exa.c, but it's buggy in 18393 a few cases and not complete yet. Particularly, transforms are missing. 18394 4. There are some correctness problems that I haven't bothered to fix yet, so 18395 you'll probably see bits of windows left behind when moving them around.. 18396 5. Don't be surprised if it's horribly broken :) 18397 18398commit c371d90935d6baf2f1dd0073741637d14b506f59 18399Author: Ben Skeggs <darktama@iinet.net.au> 18400Date: Thu Nov 2 15:57:47 2006 +1100 18401 18402 Put braces around NVDmaSetObjectOnSubchannel... 18403 18404commit b45aea22a8da69ad4a2493f7f33fa65186a83ba3 18405Author: Ben Skeggs <darktama@iinet.net.au> 18406Date: Thu Nov 2 14:52:24 2006 +1100 18407 18408 Merge >=NV30-specific EXA code.. hard-disabled pending testing on my C51, and a proper commit message.. 18409 18410commit e79b0befe92110c1cd2e0e1ae69fced1cd5acba3 18411Author: Ben Skeggs <darktama@iinet.net.au> 18412Date: Thu Nov 2 01:29:34 2006 +1100 18413 18414 Reformat NVExaInit 18415 18416commit 6a77e5bf2e58b19df67c029ad7bffd92f8cf652f 18417Author: Ben Skeggs <darktama@iinet.net.au> 18418Date: Thu Nov 2 01:18:14 2006 +1100 18419 18420 First part of preparation for NV30_TCL EXA code merge. 18421 18422commit 1d6e911ab5391277b403ef6f7b095203cfd19a53 18423Author: Ben Skeggs <darktama@iinet.net.au> 18424Date: Thu Nov 2 00:38:53 2006 +1100 18425 18426 Reindent nv_dma.c with tabs.. 18427 18428commit 06748f74f639242fd690a3dda7e685ae4fa1f95e 18429Author: Ben Skeggs <darktama@iinet.net.au> 18430Date: Wed Oct 11 11:06:16 2006 +1100 18431 18432 s/init/alloc/ 18433 18434commit a2d55603db8c01cc4b9f3404c282b1e4963a152c 18435Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18436Date: Wed Oct 11 00:39:36 2006 +0200 18437 18438 Remove the PFIFO_REINIT hack, and enable the irq by default. This commit requires the matching drm commit, and will probably break stuff. 18439 18440commit 78537b3342bbf1c16dc78f8f06cb3f989ce8f03f 18441Author: Ben Skeggs <darktama@iinet.net.au> 18442Date: Thu Sep 14 12:56:28 2006 +1000 18443 18444 It usually helps to wait on a notifier, and not on a NVAllocRec.. Oops. 18445 18446commit 01dde28611238cf2d81b087b371cc67296d1b581 18447Author: Ben Skeggs <darktama@iinet.net.au> 18448Date: Thu Sep 14 12:17:32 2006 +1000 18449 18450 Allocate notifiers with NVAllocateMemory. 18451 Fix some warnings. 18452 Return success/fail for DMA and Context object creation. 18453 18454commit 3d5c560f509646853cc863e35ed2412db39cd8a3 18455Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18456Date: Tue Sep 5 07:39:10 2006 +0200 18457 18458 Port some of the least intrusive nv03 code to the nouveau driver. 18459 18460commit 6fb7a63bf5d4f046583f9d14862c16ec5979a318 18461Author: Ben Skeggs <darktama@iinet.net.au> 18462Date: Sun Sep 3 06:41:52 2006 +1000 18463 18464 Config options for cmdbuf location/size. 18465 18466 Will default to putting the cmdbuf in AGP (except for PowerPC) if an AGP card 18467 is detected. Won't currently be detected because something is wrong DRM-size. 18468 18469 If you have an AGP card you can manually specify 'FBLocation "AGP"' in 18470 xorg.conf to make it work. 18471 18472 Needs an updated DRM to have any effect. 18473 18474commit e49d561d2328eeac7691661e28955a882bba2192 18475Author: Ben Skeggs <darktama@iinet.net.au> 18476Date: Sun Sep 3 01:51:23 2006 +1000 18477 18478 Copy+Paste a workaround for a NV40 hardware bug from NVShowHideCursor() into 18479 LoadStateExt(). This should fix the problem of the HW-cursor still being 18480 enabled when VT-switching back to a framebuffer console. 18481 18482commit 69ace0c4388cb1a66ea74f627fe02fe89e7d35c0 18483Author: Ben Skeggs <darktama@iinet.net.au> 18484Date: Sat Sep 2 22:17:55 2006 +1000 18485 18486 Kill off one of the M2MF objects, and use the engine's SET_OBJECT_{IN_OUT} to 18487 swap between AGP->VRAM and VRAM->AGP. 18488 18489commit 72cf79b9e5dc0d97e933f540d063161129bbebf7 18490Author: Ben Skeggs <darktama@iinet.net.au> 18491Date: Sat Sep 2 21:59:26 2006 +1000 18492 18493 Don't create objects that aren't needed. This frees up a couple of subchannels 18494 for EXA, use one of them for MEMORY_TO_MEMORY_FORMAT. 18495 18496commit 6a06d9022f3c0bc845f02091d83faf95f69f81bd 18497Author: Ben Skeggs <darktama@iinet.net.au> 18498Date: Sat Sep 2 18:15:15 2006 +1000 18499 18500 Move code out of nv_xaa.c that doesn't belong there. 18501 18502commit 46ac77d524dd183c6b50a7a0e77990514ff28840 18503Author: Ben Skeggs <darktama@iinet.net.au> 18504Date: Sat Sep 2 17:57:38 2006 +1000 18505 18506 Add back some setup that went missing during PFB reg cleanup. 18507 Should fix corruption on NV40. 18508 18509commit 03b86f08667a10c44420d60787fe9e17b5d20ab8 18510Author: Ben Skeggs <darktama@iinet.net.au> 18511Date: Thu Aug 31 15:53:25 2006 +1000 18512 18513 Rename module from nv_drv.so to nouveau_drv.so to allow both nv and nouveau 18514 to coexist. Also disabled building of riva128.so, as we plan on merging it 18515 with the rest of the nv code. 18516 18517commit 17c871a44987af04d1688798e2e7802a5f5ba522 18518Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18519Date: Wed Aug 30 06:24:23 2006 +1000 18520 18521 clean up FB register names 18522 18523commit 7d3c12424fd79daf831b7c28780586e8bd9c3574 18524Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18525Date: Wed Aug 30 04:23:43 2006 +1000 18526 18527 add some names for the RAMDAC registers 18528 18529commit 0e70296ce9f7a921c4b971919d12c262202d8d48 18530Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18531Date: Wed Aug 30 02:18:02 2006 +1000 18532 18533 add some names for some of the CRTC registers - some names not very meaningful 18534 yet 18535 18536commit 9a5e2c5be96eaced3aadd153fb2f9b1928173af7 18537Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18538Date: Wed Aug 30 01:48:07 2006 +1000 18539 18540 remove select head registers PCIO and PDIO 18541 18542commit dec0691db79b1ded2942c1cbfa97434fa8693f9b 18543Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18544Date: Wed Aug 30 01:13:05 2006 +1000 18545 18546 remove unused pointers after macroisation 18547 18548commit 9444b692607895572c8199a60d6968fbc374d51e 18549Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18550Date: Wed Aug 30 01:02:45 2006 +1000 18551 18552 missed 2x PGRAPHs in XAA 18553 18554commit f73cb8ef4f4fbb588bfe9ca767286153b2565a37 18555Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18556Date: Wed Aug 30 00:59:39 2006 +1000 18557 18558 remove PCRTC via macros 18559 18560commit 6d5b1765e10856a7dfa75c27ad96f547dc26b23a 18561Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18562Date: Wed Aug 30 00:48:23 2006 +1000 18563 18564 remove PEXTDEV and PTIMER using macros 18565 18566commit 6140bdfe6959cd0f6ce8e06d34b6e838d8cef046 18567Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18568Date: Wed Aug 30 00:43:07 2006 +1000 18569 18570 remove PMC using macros 18571 18572commit 28d9befa6308462a6bc1809b894ebe389873fd6a 18573Author: Ben Skeggs <darktama@iinet.net.au> 18574Date: Wed Aug 30 01:26:58 2006 +1000 18575 18576 Make EXA the default 18577 18578commit fa9209f77df3d835ebad43dc82988c000398f650 18579Merge: ab2b550 2f7caf6 18580Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18581Date: Tue Aug 29 13:42:49 2006 +0200 18582 18583 Merge branch 'master' of ssh://marcheu@git.freedesktop.org/git/nouveau/xf86-video-nouveau 18584 18585commit ab2b5509e82a646ac187b020c91234e33f81065d 18586Author: Stephane Marchesin <marchesin@icps.u-strasbg.fr> 18587Date: Tue Aug 29 13:42:34 2006 +0200 18588 18589 Make use of NV5_SCALED_IMAGE_FROM_MEMORY on NV05. 18590 18591commit 9911eb726f99166968165710a9e2f540388cd42a 18592Author: Stephane Marchesin marchesin@icps.u-strasbg.fr <steph@tubular-brain.localdomain> 18593Date: Tue Aug 29 03:18:27 2006 +0200 18594 18595 Enable the composite hooks. 18596 18597 After changing NV_SCALED_IMAGE_FROM_MEMORY for NV10_SCALED_IMAGE_FROM_MEMORY it seems the composite hook works. 18598 Also, add a more complete list of desktop pci ids. 18599 18600commit 2f7caf6eb5eb6a3991720fc413bd20723473212f 18601Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18602Date: Tue Aug 29 08:13:59 2006 +1000 18603 18604 remove PGRAPH direct accesses 18605 18606commit 51f0b67d9064fffc6b357d2923188a030e85eace 18607Author: Dave Airlie <airlied@starflyer-ubuntu.(none)> 18608Date: Tue Aug 29 07:51:49 2006 +1000 18609 18610 remove PFB usage with macros 18611 18612commit b50736d1583b960ab70f3e113294db8c2da69e31 18613Author: Ben Skeggs <darktama@iinet.net.au> 18614Date: Mon Aug 28 17:07:06 2006 +1000 18615 18616 Use NVAllocateMemory for AGP scratch buffer. 18617 18618commit a5ddd8fcf4278c35d71605794d0d5711e7c0ebb7 18619Author: Dave Airlie <airlied@linux.ie> 18620Date: Mon Aug 28 16:41:20 2006 +1000 18621 18622 remove legacy crap from nvreg.h add cursor reg defines 18623 18624commit f035bc63c34bce49e1c2619f14ab98b4b1922beb 18625Author: Dave Airlie <airlied@linux.ie> 18626Date: Mon Aug 28 16:23:32 2006 +1000 18627 18628 missed some vga routines 18629 18630commit 0b45a9f725442d5bd784ee67b7473929993f6082 18631Author: Dave Airlie <airlied@linux.ie> 18632Date: Mon Aug 28 16:19:56 2006 +1000 18633 18634 add RAMDAC register read/write 18635 18636commit 24267d7e39383930c589bc80e2bbd4e5cf66ec2a 18637Merge: 349496c c0154e6 18638Author: Ben Skeggs <darktama@iinet.net.au> 18639Date: Mon Aug 28 14:46:51 2006 +1000 18640 18641 Merge branch 'master' of git+ssh://git.freedesktop.org/git/nouveau/xf86-video-nouveau 18642 18643commit 349496c97fafed04806c01bd9d4386b0fcaa9fd2 18644Author: Ben Skeggs <darktama@iinet.net.au> 18645Date: Mon Aug 28 14:45:42 2006 +1000 18646 18647 More cleanups from DRM memory alloc changes. 18648 18649commit c0154e615c091c7bb483fcfd07e216b21618d0f2 18650Author: Dave Airlie <airlied@linux.ie> 18651Date: Mon Aug 28 14:07:05 2006 +1000 18652 18653 use nvReadVGA and nvWriteVGA in more places 18654 18655commit e0f1479773c1a00ec69edbece98e5e2b66c0c2c9 18656Author: Ben Skeggs <darktama@iinet.net.au> 18657Date: Sun Aug 27 22:45:36 2006 +1000 18658 18659 Fix ShadowFB for FB alloc changes, should fix RandR rotation also. 18660 18661commit 0de4d0b8b79e2238f2c4b374b5012a25ae985502 18662Author: Ben Skeggs <darktama@iinet.net.au> 18663Date: Sun Aug 27 22:27:17 2006 +1000 18664 18665 Slash UseFBDev and DGA support. 18666 18667commit e49d08ff482755e9f95c4c3b3cf065e6f0d2bc23 18668Author: Dave Airlie <airlied@linux.ie> 18669Date: Sun Aug 27 10:04:50 2006 +1000 18670 18671 add some read/write NV VGA register wrappers 18672 18673commit c64c55b3133221462980b934a308daf2cc0e473d 18674Author: Dave Airlie <airlied@linux.ie> 18675Date: Sun Aug 27 09:56:36 2006 +1000 18676 18677 remove all U0* types in favour of more standard CARD* types 18678 18679commit 9c294b962379a955d2e8e2cb2c54f845fd4c5740 18680Author: Ben Skeggs <darktama@iinet.net.au> 18681Date: Sat Aug 26 00:43:21 2006 +1000 18682 18683 Wow I suck tonight.. another oops. 18684 18685commit b8411ae92b6833c9336f82ed86dc8755ca8b9dcc 18686Author: Ben Skeggs <darktama@iinet.net.au> 18687Date: Sat Aug 26 00:39:36 2006 +1000 18688 18689 Whoa, how did that happen... 18690 18691commit d458cdac152a49eec9acdfe5081f6d426e712bf2 18692Author: Ben Skeggs <darktama@iinet.net.au> 18693Date: Sat Aug 26 00:33:47 2006 +1000 18694 18695 Initial work in porting the DDX to use the DRM for memory allocations. 18696 This is enough to make it work, but there's still a *lot* of cleanups 18697 to do. 18698 18699commit 83ae039b8f8ea08ae9436201014c7e1ba25a4839 18700Author: Dave Airlie <airlied@linux.ie> 18701Date: Fri Aug 25 19:33:08 2006 +1000 18702 18703 fixup compile for git 18704 18705commit ea2bc33d32bf9abeb23b3fe8cb6c9d28ddccef01 18706Author: Dave Airlie <airlied@linux.ie> 18707Date: Fri Aug 25 19:17:51 2006 +1000 18708 18709 updated git tree from changes that got lost on way from CVS 18710 18711commit 07b81112ba4678085a148e5ffaadd4684f74d64d 18712Author: marcheu <marcheu> 18713Date: Thu Aug 24 21:00:42 2006 +0000 18714 18715 Make NVInitAGP fail if there is no AGP area. Maybe that function shouldn't be called for PCI(-e) cards in the first place. 18716 18717commit 109b5abed6c0c701a1fb84ec63ff8f5914eee8e3 18718Author: marcheu <marcheu> 18719Date: Wed Aug 23 21:32:47 2006 +0000 18720 18721 If you stare at nv_hw.c long enough, things start to make sense. I swear ! 18722 18723commit 80ba1cfec290dbb82c4a1042255a21b626512e84 18724Author: marcheu <marcheu> 18725Date: Wed Aug 23 17:11:22 2006 +0000 18726 18727 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. 18728 18729 Also, add code to dump fifo in case of crashes. 18730 18731commit 9b19daa55c7770a3e66b2374da0212c75ed21260 18732Author: marcheu <marcheu> 18733Date: Tue Aug 22 01:16:18 2006 +0000 18734 18735 Remove debug message. 18736 18737commit b44b54e4c369c612a692eabb8662b3db97758a83 18738Author: marcheu <marcheu> 18739Date: Mon Aug 21 13:19:06 2006 +0000 18740 18741 Fill more fields in the DRIInfo struct. 18742 18743commit aaf13d0e7cc5c76ee81b4234dc2c55bbedac1faa 18744Author: darktama_ <darktama_> 18745Date: Sun Aug 20 15:11:06 2006 +0000 18746 18747 Oops, this shouldn't be here still... 18748 18749commit 00fd86dea8d2eaa561cc89a35046d15bcf92bb82 18750Author: darktama_ <darktama_> 18751Date: Sun Aug 20 14:40:43 2006 +0000 18752 18753 - Allocate notifiers with the DRM 18754 18755 - Rename agpMemory and friends to agpScratch and friends 18756 18757commit d5c68d3f83f84ca67ee9df269b778bbed50851a0 18758Author: darktama_ <darktama_> 18759Date: Sun Aug 20 12:51:49 2006 +0000 18760 18761 Alloc AGP through the DRM 18762 18763commit 6d0924c272954f44b2a9b6b11be8c209dd67de8e 18764Author: marcheu <marcheu> 18765Date: Sat Aug 19 16:04:56 2006 +0000 18766 18767 Begginings of PINS parsing code I had laying around... 18768 18769commit 59e2d852d6f10ba26a394ff7ea5d3e7b30f2be71 18770Author: darktama_ <darktama_> 18771Date: Mon Jul 31 07:32:57 2006 +0000 18772 18773 Need.To.Pay.More.Attention... 18774 18775commit 9a314361fd004afe7129ae2d41f58ddd7fe6f56a 18776Author: darktama_ <darktama_> 18777Date: Mon Jul 31 03:24:17 2006 +0000 18778 18779 Updates for DRM changes, and a few cleanups 18780 18781commit 11fbb14876e7873a863de16b01fb5778e841b4bd 18782Author: erikwaling <erikwaling> 18783Date: Thu Jul 13 04:13:07 2006 +0000 18784 18785 Added more opcodes and some TODOs. 18786 18787commit dd54fea7562b8c9a6d26b645a03c9644c08090cc 18788Author: erikwaling <erikwaling> 18789Date: Thu Jul 13 03:09:11 2006 +0000 18790 18791 Changed INIT_MACRO to haiku-like implementation. 18792 18793commit b7e68083f3bf6b0943b58cfed0b82de61eeaac33 18794Author: marcheu <marcheu> 18795Date: Mon Jul 10 00:36:31 2006 +0000 18796 18797 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. 18798 18799commit fe2a1360d72385ad0f61f381a296820d02a60e79 18800Author: marcheu <marcheu> 18801Date: Mon Jul 10 00:30:54 2006 +0000 18802 18803 Use -Wall by default 18804 18805commit ca38f1d9d61393915515e1042204b35aeac863ba 18806Author: darktama_ <darktama_> 18807Date: Sat Jul 8 13:53:00 2006 +0000 18808 18809 Remove FIFO and object handling out of the DDX. This commit makes the DDX dependant on the DRM to operate at all.. 18810 18811commit b9b880b83896defe06ce61c9aef2f5ae4eb4f37e 18812Author: lumag <lumag> 18813Date: Mon Jun 12 20:21:11 2006 +0000 18814 18815 Fix exa acceleration by filling versioning fields. 18816 18817commit 0bbc0bcfe33c2625ea6175c3b052d231cc3b7c8f 18818Author: darktama_ <darktama_> 18819Date: Sat Jun 10 18:34:14 2006 +0000 18820 18821 Quick hack to make sure CRTC 0x44 contains it's original value when VT switching back to the console (also on server shutdown). 18822 18823 Should fix the problem of one display having scrolling issues, and losing 18824 it's text-mode cursor. 18825 18826commit 18e65f4e0604c744ea905319348c688141e14bbf 18827Author: marcheu <marcheu> 18828Date: Thu Jun 8 01:10:01 2006 +0000 18829 18830 Remove xf86ReadPciBIOS, use the bios from the reg aperture instead (that will probably work on more archs anyway) 18831 18832commit 2f5fcd131dbea5cb9873cc8a4aad44ae1bcf1340 18833Author: darktama_ <darktama_> 18834Date: Fri Jun 2 21:54:48 2006 +0000 18835 18836 Remove some XFree86LOADER conditionals 18837 18838commit 7889cc0241450aaa8e9dafc65f9f7976df3cd99b 18839Author: darktama_ <darktama_> 18840Date: Sat Apr 22 02:26:53 2006 +0000 18841 18842 Need to include nv_include.h before checking that XF86DRI is definied. XF86DRI lives in xorg-server.h - included from config.h 18843 18844commit 3083263eb40f57e4c529473c5e9f935109a1719f 18845Author: marcheu <marcheu> 18846Date: Fri Apr 21 22:15:59 2006 +0000 18847 18848 Don't include config.h in all files but in the *_include.h files. That's what they're here for after all. 18849 18850commit 864e2c6936a37005112a3c6f3f7db5a16100b96c 18851Author: darktama_ <darktama_> 18852Date: Fri Apr 21 02:46:31 2006 +0000 18853 18854 Include config.h in all source files 18855 18856commit 74ff8fc182c6f728a1b5e8a0415c25b8b7a4af94 18857Author: marcheu <marcheu> 18858Date: Thu Apr 20 18:54:12 2006 +0000 18859 18860 Added a fixme about laptop chips 18861 18862commit ad38154a7e075207d8f462ffb90489efe9cf01f1 18863Author: erikwaling <erikwaling> 18864Date: Thu Apr 20 18:50:11 2006 +0000 18865 18866 Ported nv_exa.c to work with EXA >=2.0.0 18867 18868commit 7c25d338e0c79a288fa192d9a2d4ac6eb59996c1 18869Author: Dave Airlie <airlied@linux.ie> 18870Date: Fri Aug 25 18:51:03 2006 +1000 18871 18872 initial import of nouveau code 18873 18874commit 98372d0f94a9d658a7257d2199ef37a2449b9961 18875Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18876Date: Fri Aug 11 16:02:28 2006 -0400 18877 18878 Replace panel message + MODE_BAD with MODE_PANEL. 18879 18880commit 43ec66396f805aba87017d193d97a03372c29909 18881Author: Aaron Plattner <aplattner@nvidia.com> 18882Date: Fri Jun 30 12:54:44 2006 -0700 18883 18884 Bump version to 1.2.0 for release. 18885 18886commit 6265b77dc8878e36abd76b73e209a2d76d70ba22 18887Author: Mark Vojkovich <markv@xfree86.org> 18888Date: Thu Jun 29 18:41:44 2006 -0700 18889 18890 New chip support and new PCI IDs. 18891 18892commit 5114639dff73c22845451acffed94f1da284a7df 18893Author: Aaron Plattner <aplattner@nvidia.com> 18894Date: Mon Jun 19 09:32:11 2006 -0700 18895 18896 Generate the ChangeLog from git history for dist. 18897 18898commit 04d344dfcbb9928cf33943a880de333557e14be9 18899Author: Aaron Plattner <aplattner@nvidia.com> 18900Date: Fri Jun 16 18:03:21 2006 -0700 18901 18902 Delete the ChangeLog. The git history is just as good. 18903 18904commit eda3bac20dce2d5584ac07cc6b28a08ec55aa798 18905Author: Aaron Plattner <aplattner@nvidia.com> 18906Date: Wed May 24 15:05:22 2006 -0700 18907 18908 Derive the module version numbers from the package version. This idea was 18909 lifted from Michel Dänzer's similar code in xf86-video-ati. 18910 18911 Also, make the riva and nv driver versions match. 18912 18913commit 1a40c4a79b79034d191496726a27af8b0805dba6 18914Author: Aaron Plattner <aplattner@nvidia.com> 18915Date: Thu Apr 27 18:10:37 2006 -0700 18916 18917 Add the libcwrapper back, conditionalized on the server version. 18918 18919commit 425e30d58b7b62fff01fbb58585ee69b2df6fec1 18920Author: Aaron Plattner <aplattner@nvidia.com> 18921Date: Thu Apr 27 10:32:10 2006 -0700 18922 18923 Determine whether PutImage hooks take a DrawablePtr by server version. Remove 18924 dependency on xorg-server >= 1.0.99.901. 18925 18926commit c34a93265cb42168376ebdf0746b3ccded9f126c 18927Author: Aaron Plattner <aplattner@nvidia.com> 18928Date: Tue Apr 25 14:38:43 2006 -0700 18929 18930 Bump to 1.1.2 for new product names. 18931 18932commit f70247ade9eac8fa6115889662abb8e678a182dc 18933Author: Aaron Plattner <aplattner@nvidia.com> 18934Date: Tue Apr 25 14:29:44 2006 -0700 18935 18936 Add names for Quadro FX 5500, 3500, 1500, 560, 550, and 350. 18937 18938commit ca4c8af624e87e5c6a2927092a9c230ae0e60c0e 18939Author: Aaron Plattner <aplattner@nvidia.com> 18940Date: Wed Apr 12 02:04:52 2006 -0700 18941 18942 Add .gitignores. 18943 18944commit fb3faeb6073cef5a6a1b094f3d3bf020ceba9db6 18945Author: Adam Jackson <ajax@nwnk.net> 18946Date: Sat Apr 8 01:38:33 2006 +0000 18947 18948 Bump to 1.1.1 for Xv changes. 18949 18950commit f793182898c4d844e9861a60a945f53ab7071adc 18951Author: Aaron Plattner <aplattner@nvidia.com> 18952Date: Fri Apr 7 23:11:06 2006 +0000 18953 18954 Add a DrawablePtr argument to the XV functions to pave the way for 18955 redirected video. 18956 18957commit cb6b4073df7404822e2b553519c3a101f2ab0524 18958Author: Adam Jackson <ajax@nwnk.net> 18959Date: Fri Apr 7 19:40:34 2006 +0000 18960 18961 Unlibcwrap. Bump server version requirement. Bump to 1.1.0. 18962 18963commit 3f140052f891a4dc674b82e438c9595e59b4676b 18964Author: Aaron Plattner <aplattner@nvidia.com> 18965Date: Mon Mar 27 21:40:24 2006 +0000 18966 18967 Bump version to 1.0.2.0 for release. 18968 18969commit 84c007b426d321786f9aec1d9fda14b5baa35561 18970Author: Aaron Plattner <aplattner@nvidia.com> 18971Date: Fri Mar 10 02:29:03 2006 +0000 18972 18973 Coverity nos. 868 and 869: Free the result of xf86GetEntityInfo. 18974 18975commit 61e237eec7193701ce1236e67ebdfe7465b5db8a 18976Author: Aaron Plattner <aplattner@nvidia.com> 18977Date: Tue Jan 24 16:45:29 2006 +0000 18978 18979 Fix typo in PCI ID (reported by Stefan Dirsch). Patch from Mark Vojkovich 18980 to XFree86 CVS on 2006-01-23. 18981 18982commit 5064f8a903923ca4b819bdf345f8f4c9254bdf3b 18983Author: Aaron Plattner <aplattner@nvidia.com> 18984Date: Mon Jan 23 00:04:41 2006 +0000 18985 18986 New chip support from Mark Vojkovich's 2006-01-20 and 2006-01-21 XFree86 18987 CVS updates. 18988 18989commit e8fd45625f2e09830136bde6bc70d51f25892450 18990Author: Aaron Plattner <aplattner@nvidia.com> 18991Date: Mon Jan 2 01:54:19 2006 +0000 18992 18993 Preliminary RandR rotation support. Bug #4708 18994 <https://bugs.freedesktop.org/show_bug.cgi?id=4708> 18995 18996commit 5ec53e759c5233a26a6c80901b9f31b51153f756 18997Author: Kevin E Martin <kem@redhat.com> 18998Date: Wed Dec 21 02:30:01 2005 +0000 18999 19000 Update package version for X11R7 release. 19001 19002commit b0c8ca8c03c8ad1648b4597f7825bac7531100a7 19003Author: Adam Jackson <ajax@nwnk.net> 19004Date: Mon Dec 19 16:25:54 2005 +0000 19005 19006 Stub COPYING files 19007 19008commit 4fd25919c2a217d355419efdfbf0fe148af6c146 19009Author: Kevin E Martin <kem@redhat.com> 19010Date: Thu Dec 15 00:24:18 2005 +0000 19011 19012 Update package version number for final X11R7 release candidate. 19013 19014commit e4194bab2a790af10581ea2842717623db8998a2 19015Author: Kevin E Martin <kem@redhat.com> 19016Date: Tue Dec 6 22:48:36 2005 +0000 19017 19018 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 19019 19020commit baf60566b505fdf4387ec25789584b3f6ad72ce8 19021Author: Kevin E Martin <kem@redhat.com> 19022Date: Sat Dec 3 05:49:34 2005 +0000 19023 19024 Update package version number for X11R7 RC3 release. 19025 19026commit 4df200ea93b0a072f29057eeaf7a09e5a3a1dfe2 19027Author: Kevin E Martin <kem@redhat.com> 19028Date: Fri Dec 2 02:16:09 2005 +0000 19029 19030 Remove extraneous AC_MSG_RESULT. 19031 19032commit d4d5d7325fab1ea81f71d1ffc1fbbcc2d2253a65 19033Author: Adam Jackson <ajax@nwnk.net> 19034Date: Tue Nov 29 23:30:00 2005 +0000 19035 19036 Only build dlloader modules by default. 19037 19038commit d76f3f776bdab920d050542da45ec2871d4b84e6 19039Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19040Date: Mon Nov 28 22:04:10 2005 +0000 19041 19042 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 19043 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 19044 19045commit d4e306b585f737b4c1287c520470425b0c11dc32 19046Author: Kevin E Martin <kem@redhat.com> 19047Date: Wed Nov 9 21:15:19 2005 +0000 19048 19049 Update package version number for X11R7 RC2 release. 19050 19051commit dde6dd1c7f95f9dccabfd919ad4ced795fe3fbd1 19052Author: Kevin E Martin <kem@redhat.com> 19053Date: Tue Nov 1 15:08:53 2005 +0000 19054 19055 Update pkgcheck depedencies to work with separate build roots. 19056 19057commit 92b1bfcc8fd0f34e636a1e9955d5236334f78cd3 19058Author: Kevin E Martin <kem@redhat.com> 19059Date: Wed Oct 19 02:48:03 2005 +0000 19060 19061 Update package version number for RC1 release. 19062 19063commit eda1cbc29cb0b2193a5bfb0eb620c740d9aef7c6 19064Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19065Date: Tue Oct 18 00:01:53 2005 +0000 19066 19067 Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro 19068 substitutions to work better with BSD make 19069 19070commit 6c58a05e405cbc87fbe0497123d9b82d2480bdd3 19071Author: Adam Jackson <ajax@nwnk.net> 19072Date: Mon Oct 17 22:57:34 2005 +0000 19073 19074 More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead 19075 of indirectly 19076 19077commit fc20886c28c465578e6bd3ef2d9fe62bd993382b 19078Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19079Date: Mon Oct 17 00:09:04 2005 +0000 19080 19081 Use sed & cpp to substitute variables in driver man pages 19082 19083commit 1e3c84f332b7b9a4b320b370b8b2ecafbbdd8f8a 19084Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19085Date: Tue Oct 4 21:36:51 2005 +0000 19086 19087 Link nvidida readme file into nvidia driver, Exclude duplicated neomagic 19088 readme 19089 19090commit d8be62ab175a013f78d4944036da284ffad34d96 19091Author: Aaron Plattner <aplattner@nvidia.com> 19092Date: Thu Sep 29 21:47:29 2005 +0000 19093 19094 Add entries for GeForce Go 7800. (Change went into XFree86 on 2005-09-28). 19095 Don't hang if j is zero. This should never happen, but it's better to be 19096 safe than sorry. 19097 19098commit e39eb8b8c1a79d04f90a195351c4eec3dba0d612 19099Author: Aaron Plattner <aplattner@nvidia.com> 19100Date: Wed Sep 28 17:18:02 2005 +0000 19101 19102 Bug #3333 <https://bugs.freedesktop.org/show_bug.cgi?id=3333> Patch #3417 19103 <https://bugs.freedesktop.org/attachment.cgi?id=3417> 19104 Fix a hang during screen-to-screen blits on certain GeForce 6xxx and Quadro 19105 FX 540 graphics cards. 19106 19107commit dc5acc2e477edb85f468f8d46862ca138426cfd9 19108Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19109Date: Fri Sep 23 16:25:28 2005 +0000 19110 19111 Bug #4558 <https://bugs.freedesktop.org/show_bug.cgi?id=4558> Patch #3551 19112 <https://bugs.freedesktop.org/attachment.cgi?id=3381> 19113 22-Sep-2005 nv driver update from Mark Vojkovich: Fix possible cause of 19114 some acceleration instability on some GeForce6xxx parts. 19115 19116commit b0ea43a51d2a6983559eecdb7dbb73c5e585697c 19117Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19118Date: Sat Sep 17 01:37:18 2005 +0000 19119 19120 Bugzilla #4480 <https://bugs.freedesktop.org/show_bug.cgi?id=4480> Patch 19121 #3305 <https://bugs.freedesktop.org/attachment.cgi?id=3305> 19122 13-Sep-2005 nv driver update from Mark Vojkovich: 19123 - Adds PCI ids for GeForce 6800 XT cards 19124 - Adds names for existing PCI ids for some GeForce 6xxx & 7xxx cards 19125 - Fix a potential problem with pixmap cache corruption on GeForce 6xxx and 19126 7xxx parts. (Mark Vojkovich, NVIDIA) 19127 19128commit cdf20033e2cfc9e8634876dd42613f7719340a5a 19129Author: Eric Anholt <anholt@freebsd.org> 19130Date: Fri Sep 16 01:36:45 2005 +0000 19131 19132 Put the riva_* files in the riva128.so subdriver, like monolithic. 19133 19134commit 9b1b3184cd586f6f8bf65ebd6f3c1afb1ae64d64 19135Author: Daniel Stone <daniel@fooishbar.org> 19136Date: Thu Aug 18 09:03:47 2005 +0000 19137 19138 Update autogen.sh to one that does objdir != srcdir. 19139 19140commit 75a0deb6e9d1a5bc698ea67b338c56bc99c1b2c0 19141Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19142Date: Fri Aug 5 03:52:28 2005 +0000 19143 19144 Bug #3987 <https://bugs.freedesktop.org/show_bug.cgi?id=3987> Patch #3264 19145 <https://bugs.freedesktop.org/attachment.cgi?id=3264> Workaround for 19146 512 Meg video cards (can only map 256 Meg of it). (Mark Vojkovich) 19147 19148commit fb4033bd2662c199d7e4f0e3df7c4a0fb9870984 19149Author: Kevin E Martin <kem@redhat.com> 19150Date: Fri Jul 29 21:22:44 2005 +0000 19151 19152 Various changes preparing packages for RC0: 19153 - Verify and update package version numbers as needed 19154 - Implement versioning scheme 19155 - Change bug address to point to bugzilla bug entry form 19156 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 19157 reenable it) 19158 - Fix makedepend to use pkgconfig and pass distcheck 19159 - Update build script to build macros first 19160 - Update modular Xorg version 19161 19162commit 6ea22f19210448605b9a18bf500c33168a77e77c 19163Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19164Date: Tue Jul 26 18:40:29 2005 +0000 19165 19166 Build system for nv 19167 19168commit 74772a7dc49e34229497441fbbf2631bfb259b39 19169Author: Adam Jackson <ajax@nwnk.net> 19170Date: Mon Jul 11 02:29:58 2005 +0000 19171 19172 Prep for modular builds by adding guarded #include "config.h" everywhere. 19173 19174commit 80ac36ec4fbbd9a4aae1bde01fe6ebc1088fa8cb 19175Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19176Date: Sat Jul 9 16:51:58 2005 +0000 19177 19178 Bug #3740 <https://bugs.freedesktop.org/show_bug.cgi?id=3740> Patch #3058 19179 <https://bugs.freedesktop.org/attachment.cgi?id=3058> 19180 08-Jul-2005 nv driver updates from Mark Vojkovich: 19181 Change some console restore code for NV11. Hopefully, we can more reliably 19182 restore the console for desktop systems using DVI. This may correct a 19183 recent regression on NV11. 19184 Also, new PCI IDs. 19185 Add new nVidia PCI ids to match nv_driver.c changes. 19186 19187commit 6b75bc13462f1cfb735fe1de359ed9e45b5f4415 19188Author: Daniel Stone <daniel@fooishbar.org> 19189Date: Fri Jul 1 22:43:12 2005 +0000 19190 19191 Change all misc.h and os.h references to <X11/foo.h>. 19192 19193commit 270f5269a08da8ed0186e8a2223b673e0433a771 19194Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19195Date: Wed Jun 29 15:56:23 2005 +0000 19196 19197 Bugzilla #3657 <https://bugs.freedesktop.org/show_bug.cgi?id=3657> Patch 19198 #2992 <https://bugs.freedesktop.org/attachment.cgi?id=2992> 19199 Experimental DPMS support for GeForce4 and later laptops. (Mark 19200 Vojkovich) 19201 19202commit bf73c0716e9e4be0540d2ee7340bd5833831a434 19203Author: Adam Jackson <ajax@nwnk.net> 19204Date: Sun Jun 26 04:38:12 2005 +0000 19205 19206 Bug #3628: Fix video driver submodule visibility. 19207 19208commit 175766a44ceb0a5d4226e9088d8e3e6d73815b4f 19209Author: Adam Jackson <ajax@nwnk.net> 19210Date: Sat Jun 25 21:16:55 2005 +0000 19211 19212 Bug #3626: _X_EXPORT tags for video and input drivers. 19213 19214commit 8759399a3744f0eb1e0cdc83ed23aaaafb9be444 19215Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19216Date: Thu Apr 21 22:25:47 2005 +0000 19217 19218 programs/Xserver/hw/xfree86/drivers/nv/nv_driver.c 19219 programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c 19220 //bugs.freedesktop.org/show_bug.cgi?id=3095> Patch #2501 19221 <https://bugs.freedesktop.org/attachment.cgi?id=2501> nv DPMS panel 19222 fixes (Mark Vojkovich) 19223 19224commit 2db214d7cf5336fbea36d83bc9b089f70a494614 19225Author: Daniel Stone <daniel@fooishbar.org> 19226Date: Wed Apr 20 12:25:29 2005 +0000 19227 19228 Fix includes right throughout the Xserver tree: 19229 change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; 19230 change "foo.h", "extensions/foo.h" and "X11/foo.h" to 19231 <X11/extensions/foo.h> for extension headers, e.g. Xv.h; 19232 change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files. 19233 19234commit 3fe983d254f1ffe3c285548013be677ed4a67137 19235Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19236Date: Mon Feb 14 03:37:20 2005 +0000 19237 19238 Bugzilla #2533 (https://bugs.freedesktop.org/show_bug.cgi?id=2533) Feb. 3, 19239 2005 "nv" driver update from Mark Vojkovich (Mainly driver updates for 19240 nVidia cards with ((pNv->Chipset & 0xfff0) == 0x0090) ) 19241 19242commit 8c95fdc889b56a76497f5194bafd06edfc962387 19243Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19244Date: Wed Jan 26 01:36:04 2005 +0000 19245 19246 Jan. 2005 nv chipset update from Mark Vojkovich Bug #2380 19247 <https://bugs.freedesktop.org/show_bug.cgi?id=2380> Patch #1752 19248 <https://bugs.freedesktop.org/attachment.cgi?id=1752> 19249 19250commit 67c89797f62ea53b37927c64e0403e7e7c42de56 19251Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19252Date: Fri Dec 10 03:56:42 2004 +0000 19253 19254 Bugzilla #1985 <https://bugs.freedesktop.org/show_bug.cgi?id=1985> sync to 19255 12/08/04 version of Nvidia driver from Mark Vojkovich, including these 19256 fixes since last sync: Fix some DAC/Graphics memory contention issues 19257 on newer NVIDIA chips (specifically, NV40). More PCI IDs. Also, I've 19258 had trouble getting some panels to work automagically so I expose an 19259 FPTweak option to let the user adjust a troublesome register. 19260 19261commit 7c34d051168eba499beb20c40fd95703375f4c7b 19262Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 19263Date: Wed Nov 10 02:53:44 2004 +0000 19264 19265 (Bugzilla #1777) Import Mark Vojkovich's changes to NV driver since last 19266 sync with XFree86, including: Support for new NVIDIA chips. Egbert has 19267 a laptop that needs some DPMS ordering reversed. New chip support and 19268 workaround for Toshiba M30 laptop issue. PCI-Xpress chip support. DPMS 19269 support for DVI. Cursor changes for NV11 so that alpha blended cursors 19270 will work in conjunction with dithering (laptop panels). It previously 19271 did not. HW support for alpha blended stretch blits on NV5 and higher, 19272 though nothing is using them at this point. Add support for VBlank 19273 syncing the Xv Blit adaptor on hardware that supports it (NV11 and 19274 higher). Make console restoration a little more robust. We were making 19275 an assumption that failed on a newer laptop. Workaround for some NV31 19276 DVI artifacts. 19277 Also add nVidia license statement to nv man page to comply with requirement 19278 that it appear in "user documentation" 19279 19280commit fcd6d7b57edb4e396189a0a2683bcf08974f3b59 19281Author: Egbert Eich <eich@suse.de> 19282Date: Tue Oct 12 19:13:44 2004 +0000 19283 19284 Set fbdev mode as the default mode on PPC (Olaf Hering). 19285 Added support for IBM space saver keyboard (Stefan Dirsch). Added support 19286 for Cherry CyMotion Master XPress (Marcus Schaefer). 19287 Change order of SetDisplayDevice(), HWRestore(), UnbindGART() and 19288 RestoreBIOSMemSize() to be exactly opposite to the Save procedure in 19289 EnterVT() (Matthias Hopf, Alan Hourihane). 19290 Fix text mode restauration by removing the assumption that the register 19291 which determines which head is programmed is set. to the active head by 19292 the BIOS (Mark Vojkovich). 19293 When I wrote the resource code 5 years ago I made some assumptions which 19294 turned out to be false: I've assumed that the bus number of the PCI 19295 hostbridge would be the PCI bus the bridge links to. This is not 19296 correct. Fixing this assumption is not easy. However I hope that the 19297 attached patch will make the system work regardless as it 'ignores' 19298 host bridges from which the target bus is not known. This should not 19299 matter at all as we really don't care about host bridges (unless we 19300 have bridge specific code which retrieves information about the 19301 bridge). 19302 Fixed server crash on reset when a structure allocated in PreInit() was 19303 freed on CloseScreen(). 19304 Fixed ring buffer lock ups that happened because the structure that 19305 contained ringbuffer data was not zeroed after allocation. 19306 Fixed numerous warnings due to signed unsigned comparisons. 19307 programs/Xserver/hw/xfree86/drivers/nv/nv_driver.c: 19308 (NVBacklightEnable): Changed the order in which the sequencer registers 19309 and the backlight control registers are written. The sequencer control 19310 register need to be written first otherwise DPMS screen blanking 19311 produces vertical bars on a mobile device. lib/Xau/Imakefile: Build 19312 libXau static library PIC so it can be linked into toolkits that would 19313 like to wrap its functionality. 19314 19315commit 65e13fc61141b36a74c7a0e696d274574641ba20 19316Author: Adam Jackson <ajax@nwnk.net> 19317Date: Fri Sep 17 03:04:52 2004 +0000 19318 19319 Bug #1192: Remove cfb support from drivers where its use is an option. 19320 Delete xf24_32bpp, as s3virge was the last user. Fix up some comments 19321 to refer to fb rather than cfb. 19322 19323commit bbafc6d2fcb21671de3cfb4ff973409405162e7a 19324Author: Adam Jackson <ajax@nwnk.net> 19325Date: Mon Aug 16 09:13:14 2004 +0000 19326 19327 Bug #1087: Make sure all the *Weak symbols are documented in the import 19328 list, so the loader knows not to complain about unresolved symbols when 19329 an optional module isn't loaded. This typically manifests as warnings 19330 about fbdevHW symbols when the user isn't using the framebuffer 19331 console. 19332 19333commit 8b6de7d388b7ae5169b2e38ad1a40981bc406cfc 19334Author: Adam Jackson <ajax@nwnk.net> 19335Date: Sat Jul 31 01:21:19 2004 +0000 19336 19337 Change several LoaderSymbol calls introduced by the bug #400 patch to 19338 *Weak() resolver functions. 19339 19340commit f745157f15befebe01552b103c573ccb94b8f388 19341Author: Adam Jackson <ajax@nwnk.net> 19342Date: Fri Jul 30 20:30:53 2004 +0000 19343 19344 Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all 19345 framebuffer formats except cfb and the overlay modes should work, and 19346 r128 and radeon need to be loaded from the ati driver (both issues to 19347 be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga 19348 drivers. elfloader users shouldn't be affected. 19349 19350commit b9a6776bc04eb19343882bddb371b705677cfc14 19351Author: Eric Anholt <anholt@freebsd.org> 19352Date: Wed Jun 16 09:23:29 2004 +0000 19353 19354 DRI XFree86-4_3_99_12-merge import 19355 19356commit cbf040deb0ab24425468ed60b3f3edd322ec210f 19357Author: Eric Anholt <anholt@freebsd.org> 19358Date: Wed Jun 16 09:23:29 2004 +0000 19359 19360 Initial revision 19361 19362commit 99a7f7ccce4e012bde57021cafcb132c3d599b96 19363Author: Egbert Eich <eich@suse.de> 19364Date: Fri Apr 23 19:42:10 2004 +0000 19365 19366 Merging XORG-CURRENT into trunk 19367 19368commit 708bb2eb0db3808e3edf94a5f22b3e3f5bb6488d 19369Author: Egbert Eich <eich@suse.de> 19370Date: Sun Mar 14 08:33:30 2004 +0000 19371 19372 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 19373 19374commit fe564263d97e370817fc862e5c8ead09bfb70b58 19375Author: Egbert Eich <eich@suse.de> 19376Date: Wed Mar 3 12:12:23 2004 +0000 19377 19378 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 19379 19380commit 1a0be799ce4c479e39f8af86fcca3d192e83f455 19381Author: Egbert Eich <eich@suse.de> 19382Date: Thu Feb 26 13:35:54 2004 +0000 19383 19384 readding XFree86's cvs IDs 19385 19386commit ee5c9ef51cea88a630ecc652512603c42b39a533 19387Author: Egbert Eich <eich@suse.de> 19388Date: Thu Feb 26 09:23:23 2004 +0000 19389 19390 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 19391 19392commit d176fa338d2d83bcf8d7ec68ff1aec205a258fec 19393Author: Kaleb Keithley <kaleb@freedesktop.org> 19394Date: Mon Feb 23 20:35:04 2004 +0000 19395 19396 Import most of XFree86 4.4RC3. This import excludes files which have the 19397 new license. If we want to, later we can import 4.4RC3 again and pick 19398 up the files that have the new license, but for now the vendor branch 19399 is "pure." 19400 19401commit ea7a90e680a2e9259e471dd6677bcca12aeea79e 19402Author: Egbert Eich <eich@suse.de> 19403Date: Thu Jan 29 08:08:36 2004 +0000 19404 19405 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 19406 19407commit a6c83bd98c34aacdf7a6b82ea83d6ae775479502 19408Author: Kaleb Keithley <kaleb@freedesktop.org> 19409Date: Fri Dec 19 20:55:14 2003 +0000 19410 19411 XFree86 4.3.99.902 (RC 2) 19412 19413commit 935c2adf58a10e6d3caa75823b4e7a0689555c49 19414Author: Kaleb Keithley <kaleb@freedesktop.org> 19415Date: Tue Nov 25 19:28:38 2003 +0000 19416 19417 XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 19418 19419commit d84248580d5b05bb47a2ccdce7badfc884efa6da 19420Author: Kaleb Keithley <kaleb@freedesktop.org> 19421Date: Tue Nov 25 19:28:38 2003 +0000 19422 19423 Initial revision 19424 19425commit dd1a62caaaac6acc35584a2c8c525962d8574c95 19426Author: Kaleb Keithley <kaleb@freedesktop.org> 19427Date: Fri Nov 14 16:48:55 2003 +0000 19428 19429 XFree86 4.3.0.1 19430 19431commit 2f223903fba2bdee1623f3442d7580c809b428cc 19432Author: Kaleb Keithley <kaleb@freedesktop.org> 19433Date: Fri Nov 14 16:48:55 2003 +0000 19434 19435 Initial revision 19436 19437commit 542d57ea12b5461891a13a339e01ca9e1add124d 19438Author: Kaleb Keithley <kaleb@freedesktop.org> 19439Date: Fri Nov 14 15:54:48 2003 +0000 19440 19441 R6.6 is the Xorg base-line 19442