ChangeLog revision b12e5c03
1commit 2beb25bd41508ab5e2af39c696485fcb5f0ca7d6 2Author: Dave Airlie <airlied@redhat.com> 3Date: Tue Jul 17 16:05:09 2012 +1000 4 5 xf86-video-siliconmotion: bump to version 1.7.7 6 7 Signed-off-by: Dave Airlie <airlied@redhat.com> 8 9commit 4b4b8e9c047bd34c516ca8ab2b15fd1c541d05d5 10Author: Dave Airlie <airlied@redhat.com> 11Date: Tue Jul 17 14:53:30 2012 +1000 12 13 smi: convert to new X server screen conversion apis. 14 15 Signed-off-by: Dave Airlie <airlied@redhat.com> 16 17commit 1aad7b44e3e141bd8d3e589b7cd410e791050bd0 18Author: Dave Airlie <airlied@redhat.com> 19Date: Tue Jul 17 02:01:07 2012 +0100 20 21 smi: port to compat-api for new server. 22 23 Signed-off-by: Dave Airlie <airlied@redhat.com> 24 25commit 891ea02395079b1480faf701156185ad01405e6d 26Author: Dave Airlie <airlied@redhat.com> 27Date: Tue Jul 17 01:52:45 2012 +0100 28 29 smi: fix build against XAA-less server 30 31commit e4660be7c12de53cac57c0b7d4e792a071b4fcfc 32Author: Alan Coopersmith <alan.coopersmith@oracle.com> 33Date: Fri Mar 23 19:49:14 2012 -0700 34 35 xf86-video-siliconmotion 1.7.6 36 37 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38 39commit 63afc35a662bc2dc460f6ff6fab65a8462aa5e76 40Author: Matt Turner <mattst88@gmail.com> 41Date: Thu Feb 9 17:14:25 2012 -0500 42 43 Add &component=Driver/siliconmotion to Bugzilla link 44 45 Signed-off-by: Matt Turner <mattst88@gmail.com> 46 47commit 12695ed1edd8c590252e76d530bcecaa0036e109 48Author: Matt Turner <mattst88@gmail.com> 49Date: Thu Feb 9 16:21:59 2012 -0500 50 51 Don't check for randrproto or renderproto 52 53 The driver supports neither randr or render. 54 55 Signed-off-by: Matt Turner <mattst88@gmail.com> 56 57commit 0e7e9cd639196cb42b0a79b2671f6bacc558035f 58Author: Adam Jackson <ajax@redhat.com> 59Date: Mon Dec 19 17:26:34 2011 -0500 60 61 Fix for new vgaHW ABI 62 63 Signed-off-by: Adam Jackson <ajax@redhat.com> 64 65commit 208a703776d6dfbd01babbe2f220a7198dea4f5c 66Author: Adam Jackson <ajax@redhat.com> 67Date: Mon Dec 19 17:25:39 2011 -0500 68 69 Make failure to XAA non-fatal 70 71 No shadowfb support in this driver yet. 72 73 Signed-off-by: Adam Jackson <ajax@redhat.com> 74 75commit 7d9c1a49b87df15cdb78c529db554ea82c77033f 76Author: Adam Jackson <ajax@redhat.com> 77Date: Thu Nov 17 15:53:51 2011 -0500 78 79 Check ABI major not encoded ABI 80 81 Signed-off-by: Adam Jackson <ajax@redhat.com> 82 83commit 037b839c84ad6dcbe9aade420cf0d3bf06f23119 84Author: Adam Jackson <ajax@redhat.com> 85Date: Wed Nov 16 15:03:25 2011 -0500 86 87 Adapt to missing PIOOffset in videoabi 12 88 89 Signed-off-by: Adam Jackson <ajax@redhat.com> 90 91commit 087226bf4e442b83985078f5df481eb91f4f65ed 92Author: Julien Cristau <jcristau@debian.org> 93Date: Sun Feb 27 17:12:58 2011 +0100 94 95 Bump to 1.7.5 96 97commit b20cfa3d4f531b612a28ea88e5f5a6b1df183ea0 98Author: Julien Cristau <jcristau@debian.org> 99Date: Sun Feb 27 15:49:12 2011 +0100 100 101 Replace calls to xalloc/xcalloc/xfree with malloc/calloc/free 102 103 Also don't check for NULL before calling free(). 104 105 Signed-off-by: Julien Cristau <jcristau@debian.org> 106 107commit 312540ac447acaf80db7e341aa75f90f3e821438 108Author: Julien Cristau <jcristau@debian.org> 109Date: Sun Feb 27 15:52:33 2011 +0100 110 111 Fix compiler warning on 64bit 112 113 src/smi_driver.c: In function ‘SMI_MapMem’: 114 src/smi_driver.c:1498: warning: format ‘%08lX’ expects type ‘long unsigned int’, but argument 6 has type ‘CARD32’ 115 116 Signed-off-by: Julien Cristau <jcristau@debian.org> 117 118commit 6008906f0e328180b17e7b604b97dfdfd4280508 119Author: Julien Cristau <jcristau@debian.org> 120Date: Sun Feb 27 15:46:13 2011 +0100 121 122 Fix build with xserver 1.10 123 124 ScrnInfo->pixmapPrivate is gone 125 126 Signed-off-by: Julien Cristau <jcristau@debian.org> 127 128commit 903aac1db82e17954b74581019ebb946d5b43fe3 129Author: Alan Coopersmith <alan.coopersmith@oracle.com> 130Date: Sat Oct 30 09:41:07 2010 -0700 131 132 Sun's copyrights now belong to Oracle 133 134 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 135 136commit 71e61276ac62dfee15b275568084f8b8a55fc661 137Author: Gaetan Nadon <memsize@videotron.ca> 138Date: Wed Jul 21 16:49:04 2010 -0400 139 140 config: add comments for main statements 141 142commit 5cdb9326ab19da691f4a417def47fd0c869cefb7 143Author: Gaetan Nadon <memsize@videotron.ca> 144Date: Wed Jul 21 16:07:00 2010 -0400 145 146 config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES 147 148 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 149 150commit 987c55bc8f69551eea917fba94827ac31c04a49f 151Author: Gaetan Nadon <memsize@videotron.ca> 152Date: Wed Jul 21 14:37:41 2010 -0400 153 154 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 155 156 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 157 158commit f2569300c0f1b5714b4c4f09d07a16e9434bee00 159Author: Gaetan Nadon <memsize@videotron.ca> 160Date: Wed Jul 21 14:05:23 2010 -0400 161 162 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 163 164 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 165 166commit 6b1d1833b38e1d21760174493e4f8f0af4214574 167Author: Gaetan Nadon <memsize@videotron.ca> 168Date: Wed Jul 21 09:27:42 2010 -0400 169 170 config: complete AC_INIT m4 quoting 171 172 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 173 174commit dc67a8e8fe220697c3dcbca63c9ce0608a75888c 175Author: Gaetan Nadon <memsize@videotron.ca> 176Date: Tue Jul 20 20:24:42 2010 -0400 177 178 config: remove unrequired AC_HEADER_STDC 179 180 Autoconf says: 181 "This macro is obsolescent, as current systems have conforming 182 header files. New programs need not use this macro". 183 184 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 185 186commit 64995ca7f1287493e0616cc6469fdc2465900325 187Author: Gaetan Nadon <memsize@videotron.ca> 188Date: Tue Jul 20 19:41:31 2010 -0400 189 190 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 191 192 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 193 AC_PROG_C_C99. This sets gcc with -std=gnu99. 194 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 195 196 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 197 198commit 9520e4e64fa758eef024feda09cb6435e41db705 199Author: Gaetan Nadon <memsize@videotron.ca> 200Date: Tue Jul 20 18:45:19 2010 -0400 201 202 config: update AC_PREREQ statement to 2.60 203 204 Unrelated to the previous patches, the new value simply reflects 205 the reality that the minimum level for autoconf to configure 206 all x.org modules is 2.60 dated June 2006. 207 208 ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 209 210 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 211 212commit 53cddc508ea0026db04f04772c401010d62d6af3 213Author: Gaetan Nadon <memsize@videotron.ca> 214Date: Tue Jul 20 16:15:30 2010 -0400 215 216 config: upgrade to util-macros 1.8 for additional man page support 217 218 Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 219 The value of MAN_SUBST is the same for all X.Org packages. 220 221commit 8087bc23a7662f1426a8bd6febf0d5d3844e6107 222Author: Francisco Jerez <currojerez@riseup.net> 223Date: Wed Jun 16 14:59:37 2010 +0200 224 225 xv: Make sure we have a CRTC before setting up the overlay. 226 227 Fixes a segfault when the destination area is off screen. 228 229 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 230 Tested-by: Krzysztof Halasa <khc@pm.waw.pl> 231 232commit 2de1f7ae0b4441c1501568358acf2b870bb9dcc6 233Author: Alan Coopersmith <alan.coopersmith@oracle.com> 234Date: Tue Apr 27 15:11:35 2010 -0700 235 236 xf86-video-siliconmotion 1.7.4 237 238 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 239 240commit 2dd7cd7508b459638a640905f8793ea85f41af82 241Author: Alan Coopersmith <alan.coopersmith@oracle.com> 242Date: Tue Apr 27 15:11:02 2010 -0700 243 244 Require xorg-macros 1.4 for XORG_INSTALL 245 246 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 247 248commit b6d8a1adec9f780826090fb923c54f16fd7f9ce7 249Author: Alan Coopersmith <alan.coopersmith@oracle.com> 250Date: Tue Apr 27 15:08:36 2010 -0700 251 252 Use $(AM_V_GEN) & $(SED) to generate man pages 253 254 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 255 256commit 7510112f30e33cfb9650ee939564f73ff9633bea 257Author: Gaetan Nadon <memsize@videotron.ca> 258Date: Thu Feb 11 10:08:07 2010 -0500 259 260 config: move CWARNFLAGS from configure.ac to Makefile.am 261 262 Compiler warning flags should be explicitly set in the makefile 263 rather than being merged with other packages compiler flags. 264 265 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 266 267commit 3f2aaabcdfe339908338dff42aabc1fef47e8694 268Author: Cedric Cellier <rixed@happyleptic.org> 269Date: Mon Feb 8 11:44:28 2010 +0100 270 271 Fix lack of precision in video resizing. #26443 272 273 On some videos the last displayed line was wrong. This can 274 be fixed using LynxEM+ VPR68. Code borrowed from siliconmotion's 275 in-house driver. 276 Also fix a typo. 277 278 Signed-off-by: Cedric Cellier <rixed@happyleptic.org> 279 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 280 281commit 6bf8f8d7e13ccbb773765c4fcdcaf6d1d2993122 282Author: Alan Coopersmith <alan.coopersmith@sun.com> 283Date: Fri Jan 15 13:50:43 2010 -0800 284 285 Update Sun license notices to current X.Org standard form 286 287 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 288 289commit 6650644b51947c0c13e71b0fa01f795e997ab750 290Author: Gaetan Nadon <memsize@videotron.ca> 291Date: Tue Dec 15 22:01:02 2009 -0500 292 293 configure.ac: remove unused sdkdir=$(pkg-config...) statement 294 295 The sdkdir variable isn't use, so remove the statement. 296 297 Acked-by: Dan Nicholson <dbn.lists@gmail.com> 298 299 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 300 301commit e8e1d7d22aee2b6aa7caecf910b616a8e39ac061 302Author: Gaetan Nadon <memsize@videotron.ca> 303Date: Mon Nov 23 09:25:05 2009 -0500 304 305 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 306 307 Now that the INSTALL file is generated. 308 Allows running make maintainer-clean. 309 310commit 6acfadf1c541626ce445f5d71438c845f196e37f 311Author: Gaetan Nadon <memsize@videotron.ca> 312Date: Wed Oct 28 14:41:41 2009 -0400 313 314 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 315 316 Automake 'foreign' option is specified in configure.ac. 317 Remove from Makefile.am 318 319commit 638e15adec65c00cf3be68249c8372befe6a12a1 320Author: Gaetan Nadon <memsize@videotron.ca> 321Date: Wed Oct 28 14:09:09 2009 -0400 322 323 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 324 325 Add missing INSTALL file. Use standard GNU file on building tarball 326 README may have been updated 327 Remove AUTHORS file as it is empty and no content available yet. 328 Remove NEWS file as it is empty and no content available yet. 329 330commit dd3ce955349f7545d9aa2aacbb018811d7b9faa3 331Author: Gaetan Nadon <memsize@videotron.ca> 332Date: Mon Oct 26 12:54:22 2009 -0400 333 334 Several driver modules do not have a ChangeLog target in Makefile.am #23814 335 336 The git generated ChangeLog replaces the hand written one. 337 Update configure.ac to xorg-macros level 1.3. 338 Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros 339 Update Makefile.am to add ChangeLog target if missing 340 Remove ChangeLog from EXTRA_DIST or *CLEAN variables 341 This is a pre-req for the INSTALL_CMD 342 343commit b48c3f38767cdcd71eccfa6a0f4a15501a39f83a 344Author: Gaetan Nadon <memsize@videotron.ca> 345Date: Thu Oct 22 12:34:18 2009 -0400 346 347 .gitignore: use common defaults with custom section # 24239 348 349 Using common defaults will reduce errors and maintenance. 350 Only the very small or inexistent custom section need periodic maintenance 351 when the structure of the component changes. Do not edit defaults. 352 353commit 8a4f000f22bbec70193415372cfb478d6e2164d8 354Author: Adam Jackson <ajax@redhat.com> 355Date: Mon Nov 2 16:03:00 2009 -0500 356 357 Change clockRange to ClockRange, not ClockRanges 358 359 ClockRanges is a silly type and I want rid of it, and the one extra 360 field it provides that's not in ClockRange, we're not using. 361 362 Signed-off-by: Adam Jackson <ajax@redhat.com> 363 364commit 52f40e7569bbcc9bce8f5d885b0de2868398e8df 365Author: Dave Airlie <airlied@redhat.com> 366Date: Wed Aug 5 11:09:26 2009 +1000 367 368 fix build after headers moved 369 370commit 9d9bfe0349693b283e5dc1ced6fa882f10619253 371Author: Dave Airlie <airlied@redhat.com> 372Date: Wed Aug 5 11:08:15 2009 +1000 373 374 update for 1.7.3 375 376commit 115b564f78b038baef2d14c037785850efb4e9ca 377Author: Dave Airlie <airlied@redhat.com> 378Date: Tue Jul 28 15:22:41 2009 +1000 379 380 siliconmotion: change to using ABI version check 381 382commit 70f2463faa6d21517d97aa460871e1b5f3fa6505 383Author: Dave Airlie <airlied@redhat.com> 384Date: Tue Jul 28 13:32:36 2009 +1000 385 386 siliconmotion: update for resources/RAC API removal 387 388commit 841df790b5b6700e9a1d6d41ee04b0b913329084 389Author: Peter Hutterer <peter.hutterer@who-t.net> 390Date: Thu Jul 16 11:55:05 2009 +1000 391 392 Update to xextproto 7.1 support. 393 394 DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers 395 need to include dpmsconst.h if xextproto 7.1 is available. 396 397 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 398 399commit d754e9a2954e56a26a94e58d87a450a825c250e6 400Author: Adam Jackson <ajax@redhat.com> 401Date: Thu Jul 2 11:43:52 2009 -0400 402 403 siliconmotion 1.7.2 404 405commit cd9e9f25294abb739c1772e3a9a7a9c0a921ee82 406Author: Francisco Jerez <currojerez@riseup.net> 407Date: Tue Jun 23 13:11:02 2009 +0200 408 409 Fix EXA rotation for SM502 at 32bpp (bug 22432). 410 411commit 97498c048c897e5753e61d3b4ab231025974d67c 412Author: Adam Jackson <ajax@redhat.com> 413Date: Thu May 28 15:17:58 2009 -0400 414 415 Remove useless loader symbol lists. 416 417commit 536e5df957698251206326edc5a13e833f7c72b1 418Author: Francisco Jerez <currojerez@riseup.net> 419Date: Wed May 27 01:23:36 2009 +0200 420 421 Program MCLK/MXCLK on startup for a secondary SM502. 422 423 This should allow using a SM502 as secondary display 424 device (bug 21810). 425 426commit 6a370fa2b6b8fcbd556dd6f9bf92872e9bea23e8 427Author: Alan Coopersmith <alan.coopersmith@sun.com> 428Date: Mon May 11 22:31:30 2009 -0700 429 430 Fill in COPYING file, add SubmittingPatches URL to README 431 432commit 962e0c4f08180ac51994aef8d6d042108d5841c1 433Author: Francisco Jerez <currojerez@riseup.net> 434Date: Sun May 10 01:53:05 2009 +0200 435 436 Widen the pixel clock readjust interval for SM712. 437 438 Set it to 3MHz so that the pixel clock frequency is overridden 439 when it's found to be 49MHz, which is reported to be unstable. 440 441commit 3cc1b9d4bcf1b7a756ea4426c93392ff6d82e9a6 442Author: Francisco Jerez <currojerez@riseup.net> 443Date: Tue May 5 00:45:10 2009 +0200 444 445 Fail gracefully when the specified virtual screen doesn't fit in RAM. 446 447commit 32628d9884d577d7a672c172c12b7097be276700 448Author: Francisco Jerez <currojerez@riseup.net> 449Date: Tue May 5 00:44:17 2009 +0200 450 451 Probe the amount of installed memory by trial and error on SM712. 452 453 In some cases the BIOS hasn't filled in the "scratchpad registers" 454 (SR71) with the right amount of memory installed (e.g. MIPS 455 platform). There seems to be no other way to do it than to test it. 456 457 This should fix bug 21528. 458 459commit 00921b014fa0b5358c22a769cf2450cbd4bdc8a5 460Author: Francisco Jerez <currojerez@riseup.net> 461Date: Tue Apr 28 22:24:03 2009 +0200 462 463 Bump version to 1.7.1. 464 465commit abf1ba79f2bfe61f24cfa43deb0400d7c5f95bd5 466Author: Francisco Jerez <currojerez@riseup.net> 467Date: Tue Apr 21 21:37:45 2009 +0200 468 469 Increase the maximum clock value to 200MHz on SM712. 470 471 The default MCLK setting was higher than the clock limit, and it 472 failed. 473 474commit 41e5c49024d4e27a7be3da02017000a22b59016f 475Author: Francisco Jerez <currojerez@riseup.net> 476Date: Tue Apr 21 21:36:10 2009 +0200 477 478 Don't attempt monitor detection on SM712. 479 480 The databook says nothing about it, and it doesn't work. 481 482commit 6691678b5f04d52a1e08f9eaa6d511df9b7eeb4d 483Author: Jamie Lentin <jm@lentin.co.uk> 484Date: Thu Mar 19 21:54:12 2009 +0000 485 486 Stop clearing of "VESA compliance power down mode" bit 487 488 Clearing this bit causes an OQO 01+ w/SMI720 to power down the LCD, 489 leave it alone. 490 491 Signed-off-by: Jamie Lentin <jm@lentin.co.uk> 492 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 493 494commit 05480382c508bd27c1755405518ce9c339f0f80e 495Author: Matthieu Herrb <matthieu.herrb@laas.fr> 496Date: Fri Mar 13 21:19:16 2009 +0100 497 498 Fix direct access to IO space on chipsets with no IOBase mapping. 499 500 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 501 502commit e62807140ede74e262ed70c846017dc3506b511e 503Author: Niels de Vos <niels.devos@wincor-nixdorf.com> 504Date: Wed Feb 11 10:10:13 2009 +0100 505 506 siliconmotion: Fix disabling of debugging if SMI501_CLI_DEBUG is set to 0 507 508 Due to checking if SMI501_CLI_DEBUG is defined, some debugging will 509 be enabled if SMI501_CLI_DEBUG is set to 0. A single #if should be 510 used instead. Some debugging code already does this. 511 512 Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com> 513 Signed-off-by: Francisco Jerez <currojerez@riseup.net> 514 515commit 0b34c4a29fcf45ac24361b4691cca0fd99cc3a3f 516Author: Francisco Jerez <currojerez@riseup.net> 517Date: Wed Feb 4 03:49:08 2009 +0100 518 519 Wait for vertical retrace before writing registers at SMILynx_CrtcDPMS_* 520 521commit 1d46cca27b0d38d5355b5f93dd0ed0fe4f250d3f 522Author: Francisco Jerez <currojerez@riseup.net> 523Date: Tue Feb 3 22:15:45 2009 +0100 524 525 Drop the outdated configuration options documentation in README. 526 527commit 64f722c3121a8f28cfc5b532ddec0ac83095ac95 528Author: Francisco Jerez <currojerez@riseup.net> 529Date: Tue Feb 3 22:17:33 2009 +0100 530 531 Minor corrections at the man page. 532 533commit 94d9c659b71c84db46fa279d9d8736e1589e155c 534Author: Francisco Jerez <currojerez@riseup.net> 535Date: Tue Feb 3 22:18:14 2009 +0100 536 537 Set dualhead to on by default on SM72x chipsets. 538 539commit 4d98e9c6a6e357ed736cd312a957c1e0a7b1d36b 540Author: Francisco Jerez <currojerez@riseup.net> 541Date: Wed Feb 4 01:56:20 2009 +0100 542 543 Dynamically switch virtual refresh mode. 544 545 Probably this makes dualhead mode more useful because it makes 546 possible displaying video on the LCD as long as the CRT output is 547 disabled or cloned. 548 549commit 1c57cfa814504c33fcad51115d77f2d166fb7903 550Author: Alan Coopersmith <alan.coopersmith@sun.com> 551Date: Fri Jan 30 21:00:17 2009 -0800 552 553 Add README with pointers to mailing list, bugzilla & git repos 554 555commit 2aee107d992cb58bfbb2f527cfa73ea9f6957998 556Author: Alan Coopersmith <alan.coopersmith@sun.com> 557Date: Fri Jan 9 16:33:43 2009 -0800 558 559 Remove xorgconfig & xorgcfg from See Also list in man page 560 561commit fdc2c50682b240e5966e4e5a7b45552ee2043bfc 562Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 563Date: Mon Dec 29 18:41:05 2008 -0200 564 565 Bump release to 1.7.0. 566 567 This driver supports smi 50x chipsets, randr 1.2, exa, dual head, 568 etc. 569 570 Special thanks to Teddy Wang <teddy.wang AT siliconmotion.com.cn> 571 for support and help in responding and/or triaging hardware related 572 questions. 573 574commit 97eb5da1040ca7882e60b86ffaf25b6c021a3df5 575Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 576Date: Mon Dec 29 18:39:54 2008 -0200 577 578 Use util-macros XORG_CHANGELOG and XORG_CWARNFLAGS. 579 580 Also correct only compilation warning about possibly 581 uninitialized variable. 582 583commit deb2f845dd370ba819d02cb21b8a481827497af6 584Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 585Date: Mon Dec 29 18:35:22 2008 -0200 586 587 Simplification and redundancy removal in video code. 588 589 FOURCC_YV12 and FOURCC_I420 handling also was buggy. First it was 590 doing a noop by swapping offset2 and offset3 values twice, and second, 591 swap is not required when using smi 501/502 CSC video. 592 Changed SMI_DisplayVideo0501_CSC() to not set static values to 593 registers in a possible loop, if there is clipping. 594 595commit 46741589529809c17aa1e9719492a4b623de6ddf 596Author: Francisco Jerez <currojerez@gmail.com> 597Date: Sat Dec 27 00:52:05 2008 +0100 598 599 Some more quirks for the SM712. 600 601 * Program the MCLK to 157MHz on startup. 602 * Adjust the requested pixel clock if it's near one of the known 603 stable frequencies. 604 * Prefer the clock alternative with post scalar turned on when the 605 denominator is even. 606 607commit 439adf4455c651926040eeeec52a092f14f3196b 608Author: Francisco Jerez <currojerez@gmail.com> 609Date: Mon Dec 22 17:28:35 2008 +0100 610 611 Add support for clone mode on Lynx chipsets. 612 613commit 2b3fa385a6da4be5ad6719dd115834b96d1ea3e3 614Author: Francisco Jerez <currojerez@gmail.com> 615Date: Sun Dec 21 19:37:14 2008 +0100 616 617 Add a CRTC/Output implementation using BIOS for modesetting. 618 619 After the RandR1.2 implementation the "UseBIOS" option wasn't actually 620 programming the hardware through VESA BIOS, this brings back that 621 functionality. 622 623commit 75b1c309f1418d70e8cf112744ff95f372d4ef75 624Author: Francisco Jerez <currojerez@gmail.com> 625Date: Sun Dec 21 16:58:29 2008 +0100 626 627 Fix SMI_CrtcShadowAllocate. 628 629commit 068de9c0a302aba21e4d6a27eb6d330375ff2d2f 630Author: Francisco Jerez <currojerez@gmail.com> 631Date: Sun Dec 21 16:02:57 2008 +0100 632 633 Allocate crtc->funcs and output->funcs in the heap. 634 635commit 373440667636d4e3214028710e33ac89d8f18ff1 636Author: Francisco Jerez <currojerez@gmail.com> 637Date: Sun Dec 21 13:51:01 2008 +0100 638 639 Cleanup the Lynx register saving/restoring code. 640 641 Save some registers not previously tracked, and use pSmi->mode instead 642 of continuously reading the hardware state. 643 644commit 67a1e4b090d6647b6c45f1534c67d9ea8a223d44 645Author: Francisco Jerez <currojerez@gmail.com> 646Date: Sat Dec 20 15:41:13 2008 +0100 647 648 Add some quirks for SM712 modesetting. 649 650commit 7f252345c0c6b260c5b37aff98a22679eb5c6c82 651Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 652Date: Fri Dec 19 21:15:01 2008 -0200 653 654 Enable the SMI 501/502 command list interpreter in a "debug" build. 655 656 To enable it, set SMI501_CLI_DEBUG to 1 in smi.h, and use 657 Option "AcellMethod "EXA" 658 in the Device section of /etc/X11/xorg.conf 659 This code is enabled mainly for debug purposes. To make if have an 660 actual performance gain (like when using a sm50x with a "low profile" 661 "main" processor") it should be required to actually do busy loops 662 in kernel mode (and hope the costs of context switch will pay it). 663 In kernel mode it is possible to wait for an interrupt being triggered 664 when the command list is processed, or when the 2d engine is idle. 665 666 This commit should be functional, but, mainly due to debug messages, 667 should be significantly slower then a build with MI501_CLI_DEBUG 668 defined to 0. 669 670commit 6a91bcc111902c45cc75c865893848b7c6c0a0b1 671Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 672Date: Thu Dec 18 20:47:24 2008 -0200 673 674 Add definitions for the SMI 501/502 "command list interpreter". 675 676 This also changes some bit operations to use a "bitfield" equivalent 677 one, with named fields, that should make it easier to understand what 678 is being tested. 679 680 The enum smi_cli_cmd_code in smi_501.h is code that was added to a 681 experimental smi_drm.h, but the hardware only supports basic 2d accel, 682 and to compensate for the extra overhead for maintaining a command 683 list (assuming it worked correctly) it would be required to have a 684 special handling, like calling an ioctl to do the "busy loop" in the 685 kernel (that is, should wait for an irq or a timeout). 686 687 The problem is that even if waiting for a idle engine before crafting 688 a command, and waiting again after submitting the command, there would 689 be corruption on screen after some time. So, the "busy loop" in the 690 kernel would only be useful if still using direct writes to mmio 691 registers. 692 693commit 5a07709ae41600bc02205753c64d764f11838240 694Author: Francisco Jerez <currojerez@gmail.com> 695Date: Tue Dec 16 02:39:49 2008 +0100 696 697 Fix crashes when switching VTs with EXA enabled. 698 699 Call ModifyPixmapHeader on SMI_EnterVT to update the screen pixmap 700 address tracked by EXA. 701 702 Set memoryBase in the ExaDriverRec to NULL when switching out: some 703 pixmap could get allocated near the former aperture address and it 704 could be erroneously considered as being in offscreen memory. 705 706commit 47bcfb505886d16ff864f26a9cfa5f43b5da710e 707Author: Francisco Jerez <currojerez@gmail.com> 708Date: Sat Dec 13 19:13:50 2008 +0100 709 710 Enable linear memory mode on SMI_MapMmio. 711 712 Set UseBIOS to off by default for SM720. Some improvements on the 713 debugging output. 714 715commit 6f972c9022fc3a315b60246a69399807443d2ca0 716Author: Francisco Jerez <currojerez@gmail.com> 717Date: Thu Dec 11 16:21:17 2008 +0100 718 719 Fall back to UseBIOS off when VBEInit fails. 720 721commit 1fc340dcf0abd7fa0837fef2c711aaec4fa8bcb8 722Author: Francisco Jerez <currojerez@gmail.com> 723Date: Thu Dec 11 16:18:50 2008 +0100 724 725 Fix XAA SolidFill with 32 bpp framebuffer. 726 727commit dfc4510e8f4adeed520be47621ad429bc2d18f7e 728Author: Francisco Jerez <currojerez@gmail.com> 729Date: Thu Dec 4 15:35:22 2008 +0100 730 731 Some corrections on the Lynx modesetting code. 732 733 This fixes 1280x1024 modes on the VGA output with dual head on. 734 Also, solve a build problem when using -DSMI_DEBUG, as pointed by 735 Richard Schwarting. 736 737commit 6e1d29d19b205eac85b2f83de126ba88501e9b74 738Author: Francisco Jerez <currojerez@gmail.com> 739Date: Tue Dec 2 23:43:26 2008 +0100 740 741 Disable screen centering on mode initialization. 742 743commit 695a6066cfe7ad0e568edc596b8704bb9bf8754f 744Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 745Date: Sat Dec 13 04:20:20 2008 -0200 746 747 Janitor/maintenance patches. 748 749 o Define HAVE_XMODES in config.h. 750 o Correct the LEAVE() macro declaration when SMI_DEBUG is defined. 751 o Remove prototype for SMI_DGAInit() if HAVE_XMODES is not defined. 752 o Properly scale value read from sm501 CURRENT_CLOCK register, to 753 print an appropriate message on startup. 754 755commit 191cbd3f8419cc5b428f262607d7a8594e574f67 756Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 757Date: Fri Dec 12 15:50:53 2008 -0200 758 759 Unless there is a xorg.conf option, don't modify mclck neither mxclck. 760 761 The option set_mclck was renamed to just MCLK, and a new MXCLCK option 762 was added for smi501/502 chips. 763 Note that previously, on MSOC chips, the set_mclck option actually 764 changed mxclck, what is now done by the MXCLK option. 765 The manpage was also update to reflect the options usage. 766 A new SMI501_FindMemClock() function was added, as a possible 767 placeholder for choosing alternate clocks when programming MMIO 0x68. 768 But it should be noted that the smi 501 databook says: 769 Miscellaneous Timing 770 Read/Write MMIO_base + 0x000068 771 Power-on Default 0x00000000 772 [...] 773 5:4 Divider Output Frequency Selection for Second PLL. 774 00: 336 MHz. 775 01: 288 MHz. 776 10: 240 MHz. 777 11: 192 MHz. 778 while the 502 databook says: 779 Miscellaneous Timing 780 Read/Write MMIO_base + 0x000068 781 Power-on Default 0b0000.00xx.0000.1001.0000.1001.0000.0000 782 [...] 783 5:4 Reserved These bits are reserved. 784 but still tells to refer to those bits. 785 786commit a2352ff23787f37530dff68e03028dd78925e4b4 787Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 788Date: Fri Nov 28 20:23:11 2008 -0200 789 790 Properly restore console on the smi 501/502. 791 792 The current kernel framebuffer module expects accelerations registers 793 in the default boot state, otherwise, it will display some corruption, 794 or not correctly clear the screen, among other side effects. 795 Now it should be restoring everything the kernel framebuffer relies 796 on not being modified. 797 798commit 5a65559e12452a47f9848c47cfa6e30cfb871f0b 799Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 800Date: Fri Nov 28 19:49:20 2008 -0200 801 802 DGA is dependent on HAVE_XMODES. 803 804commit 06c78cee718a86b1521c1fc1075d08bb9ad257f1 805Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 806Date: Tue Nov 25 19:57:05 2008 -0200 807 808 Remove smi_dga.c and polylines code from smi_xaa.c. 809 810 DGA was also not being properly test to not enable the pSmi fields, 811 but since the dga implementation is very basic, it is better to just 812 remove it (if compiling the sources on pre 1.4 X Server, DGA will be 813 disabled). 814 815 The polylines code in xmi_xaa.c was already if 0'ed for some time, 816 but it may be reinstantiated to accelerate (back) xaa rotated modes. 817 Currently only randr+exa accelerates rotated modes. 818 819commit 9570cfdc132b0acb1d2b70edc6a3a5a812ef9691 820Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 821Date: Tue Nov 25 15:07:39 2008 -0200 822 823 Ensure the engine is idle before switching to a virtual terminal. 824 825 At least in the smi501/502, it may even completely lock in some special 826 cases (like when there is a browser playing some youtube video). 827 The code in SMI_CloseScreen() was almost identical to SMI_LeaveVT(), 828 so it now just call SMI_Leave() if required. 829 830commit 26ce0b163d9cf44ec1bc1d1bd460887aa5b405a7 831Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 832Date: Mon Nov 24 15:15:43 2008 -0200 833 834 Use a single debug macro for leaving functions. 835 836 The LEAVE() macro, when debug is disabled, now is defined as: 837 <hash>define LEAVE(...) return __VA_ARGS__ 838 This avoids the requirement of a return statement after the LEAVE() 839 macro call, what can be confusing. 840 841commit 2057d7ae05ef269f75a4d53fe5c4914a10856cb1 842Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 843Date: Wed Nov 19 16:22:29 2008 -0200 844 845 Declare DGA fields only when not using xf86DiDGAInit. 846 847commit c2e318eaec3ac281457acdca4ea10fa368f646d3 848Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 849Date: Mon Nov 17 20:08:49 2008 -0200 850 851 Enable XAA and randr rotated modes. 852 853 Use the same logic for offscreen memory management as used in 854 smi_video.c. This also makes the functions SMI_AllocateMemory and 855 SMI_FreeMemory no longer static in smi_video.c. 856 857commit ed6aba73259a1412e23a954d6a8dba439ad98a8a 858Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 859Date: Fri Nov 14 22:37:56 2008 -0200 860 861 Correct EXA+Randr+rotated mode. 862 863 The smi 501/502 cannot rotate-blt more than 32 bytes at a time. 864 Patch based on smi's sample smi_shadow.c. 865 XAA + randr + rotated mode currently not supported. 866 867commit 85d118ee288fe7aa32db003bfa322ddf06944bf6 868Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 869Date: Fri Nov 14 22:04:17 2008 -0200 870 871 Don't explicitly call the cursor routines. 872 873 On the MSOC, the hardware cursor was remaining on screen, when using 874 EXA and a randr rotated mode. 875 876commit cd10af22240b9df7c264b15c483d8cc4505ee359 877Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 878Date: Fri Nov 14 20:36:09 2008 -0200 879 880 Only compile smi_dga.c when xf86DiDGAInit is not available. 881 882 Besides reducing driver size, this should make DGA+EXA accelerated. 883 884commit 41ef793b0ed6014ed49bef011259f977833aef5d 885Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 886Date: Fri Nov 14 19:24:45 2008 -0200 887 888 Correct regressions in CSCVideo 889 890 Commit 0870d46718fe4e01953efd63cec46c54140b20f9 broke the clipping 891 code. That has been corrected in this patch. Anyway, the hardware color 892 space conversion should not be hidden down in the driver code, instead 893 it should be usable by external programs as well, instead of having 894 some applications doing it by software. 895 896commit be226bfaad76e7b48e006fe55ebae09b044ba4b7 897Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 898Date: Fri Nov 14 16:56:46 2008 -0200 899 900 MSOC: Hide cursor on mode setup when using software cursor. 901 902 The kernel framebuffer module uses the hw cursor for the console cursor, 903 so the driver must ensure it is hidden when setting a video mode. 904 905commit 5b8583fc2e5626ed98877858158d9687d7c94469 906Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 907Date: Fri Nov 14 15:47:52 2008 -0200 908 909 Be more liberal about mode width validation. 910 911 The code was inherited from first import of latest smi sources, but 912 the driver actually programs a mode, so there is no need to check if 913 there will be a table entry with register contents matching the requested 914 mode. 915 916commit ffb4be763ced82158a3a1d2e06fb0e81815e057b 917Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 918Date: Thu Nov 13 20:01:18 2008 -0200 919 920 Don't restore alpha registers, as they are not being modified. 921 922 Restoring the registers "without need" caused some instability, with 923 random locks. 924 925commit 6b6da04d566ec5b9d723c9f28791c604f76526dd 926Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 927Date: Thu Nov 13 19:44:14 2008 -0200 928 929 Changed to use panel plane tl and tr to center modes smaller then panel size. 930 931 The code is under "<hash>ifdef USE_PANEL_CENTER", as it is buggy, and 932 regardless of value set to right and bottom, it will crop from 0 to 933 mode-width/mode-height, and then display a lot of screen artifacts, due 934 to improper programming. Either way, the CRT in clone mode will display 935 correctly. 936 937commit d2709b1af22a06b24606ec8c01f39f1ca27ca8d3 938Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 939Date: Thu Nov 13 18:00:46 2008 -0200 940 941 Enable gamma correction on the MSOC. 942 943commit 0870d46718fe4e01953efd63cec46c54140b20f9 944Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 945Date: Tue Nov 11 19:14:36 2008 -0200 946 947 Correct a problem in CSC video on the smi 501/502. 948 949 This significantly simplify the function SMI_DisplayVideo0501_CSC(), 950 but the real cause of the problem that this patch corrects is that 951 whenever MMIO 0x1000fc bit 24 (Vertical Linear Filter Control) is 952 set, the last line of the rendered video will display only noisy, 953 regardless of video being rendered 1x1, or scaled up or down. 954 955commit 09644ad3da4cf4c2576532137fdc81156e9c06e6 956Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 957Date: Tue Nov 11 15:34:27 2008 -0200 958 959 Disable detection of crt for the smi 501/502. 960 961 As described by siliconmotion, it does not work on the smi 502. 962 Does it work on older revisions? Keeping <hash>ifdef'ed out for now 963 as it hopefully will be corrected in a newer hardware revision. 964 965commit caac648932df69419b8f86c5793a6b33f5997099 966Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 967Date: Tue Nov 11 15:06:15 2008 -0200 968 969 Implement an argb cursor using the alpha layer. 970 971 The code is <hash>ifdef'ed out by <hash>if SMI_CURSOR_ALPHA_PLANE 972 because the smi 502 hardware is buggy, but it appears to have worked 973 for some older hardware revisions (by looking at code available at 974 ftp.siliconmotion.com.tw). 975 Keeping it at least for now, as it serves as a simple way to reproduce 976 the problems described in smi.h. 977 978commit 61dd360a30c8e530185bc71b134c287ab1cdde2c 979Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 980Date: Tue Nov 11 14:47:58 2008 -0200 981 982 Add support for the reading/writing the alpha layer registers. 983 984commit d018ea2272cc1938cc0236eeb210692c1d1fd1df 985Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 986Date: Tue Nov 11 14:35:36 2008 -0200 987 988 Correct wrong offset value for secondary hardware cursor. 989 990 Hardware cursor is still disabled in dual head mode due to some problems, 991 usually when having both panel and crt mapped to the same address, what 992 appears to confuse the "modes" code. 993 994commit f97c57873cd7622c373a394548ed435c1975abbc 995Author: Francisco Jerez <currojerez@gmail.com> 996Date: Sat Nov 8 21:40:49 2008 +0100 997 998 Remove unused fifo_* options. 999 1000commit 418b28028e69d14e74bf673be56123e99103e5bf 1001Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1002Date: Sat Nov 8 16:04:58 2008 -0200 1003 1004 Remove the ZoomOnLCD option and update manpage for PCIRetry. 1005 1006 ZoomOnLCD controlled if Ctrl/Alt/+ or Ctrl/Alt/- could be used to 1007 reprogram the mode on the panel. The option was not used, and now, if 1008 different resolutions could be used, it should be advertised by randr. 1009 1010 PCIBurst and PCIRetry options are now enabled by default. 1011 1012 The fifo_xxx options need a review, as they appear to be associated 1013 with the older WaitQueue macro, that did ignore its argument. But these 1014 options are not used, and may be removed or reimplemented at some time. 1015 1016commit bbc38b2a14d748bb9d9e153fcdcb259e5b10bdc8 1017Author: Francisco Jerez <currojerez@gmail.com> 1018Date: Fri Nov 7 16:57:50 2008 +0100 1019 1020 Update the man page 1021 1022 Reflect changes in the configuration options, additional supported 1023 chipsets and RandR1.2 interface. 1024 1025commit 7f8b7535a9a905c1d6c1d89cd1dd4dd506025429 1026Author: Nathael Pajani <nathael.pajani@ed3l.fr> 1027Date: Thu Mar 20 07:25:00 2008 -0800 1028 1029 Bit twelve on CPR00 bitfield is not bit eleven... 1030 1031commit 98969b1b96244085ff5b0c76d2a463c1e436bcfa 1032Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1033Date: Thu Nov 6 16:35:15 2008 -0200 1034 1035 Use the CRT Monitor Detect MSOC register. 1036 1037 Probably I misunderstood the usage of this register, as it will always 1038 show the same value, regardless of having a crt connected to the "vga" 1039 port or not. Only difference is that while the detect bit is set, 1040 the crt will be blank. This patch should be more of a placeholder for 1041 a possible correction, but it should not cause any side effects, unless 1042 the data field can be zero on a valid situation. 1043 In my test computer, this field, in base 2 is always 1000000010000100, 1044 what doesn't really look like data in rgb 8:8:8... 1045 1046commit 87a3cc0652666c1796fd56f00810834193f3eca0 1047Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1048Date: Tue Nov 4 16:38:12 2008 -0200 1049 1050 Allow setting modes larger then panel for secondary output. 1051 1052 Sample usage on sm502: 1053 $ DISPLAY=:0 xrandr --output VGA --newmode 1280x1024 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync 1054 $ DISPLAY=:0 xrandr --addmode VGA 1280x1024 1055 $ DISPLAY=:0 xrandr --output VGA --mode 1280x1024 --pos 768x176 1056 Last command assuming using XAA (with ``Virtual 2048 1024''), so that it 1057 will have panel in top-left, and crt in bottom-right. 1058 1059commit 1d7b9547e1d37601f14410857c22f256e5c74f14 1060Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1061Date: Tue Nov 4 15:57:12 2008 -0200 1062 1063 Add CSCVideo option to smi 501/502. 1064 1065 This code is an adaptation of SMI sample implementation. 1066 CSCVideo is an alternate way to render video, that should reduce memory 1067 bandwidth usage, and uses the color space conversion hardware to render 1068 video directly to the framebuffer memory. 1069 When using randr dual head mode, currently only XAA is supported. As it 1070 has a fixed format framebuffer (when using the Virtual xorg.conf option). 1071 This patch also ensures that pScrn->displayWidth, pScrn->virtualX and 1072 pScrn->virtualY are only changed by the driver when using EXA. 1073 1074commit 93308d067c93126dd0aba9b718d9e0ba28dde9f4 1075Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1076Date: Thu Oct 30 19:07:40 2008 -0200 1077 1078 Make MSOC work with EXA offscreen manager. 1079 1080commit e5cd9e4640555b9a3d4fab205e4b77faaca89d89 1081Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1082Date: Thu Oct 30 19:05:40 2008 -0200 1083 1084 Update memory detection for MSOC. 1085 1086 Use "local memory" field of mmio 0x010 and not "system memory", as 1087 it uses system memory values whenever there is a choice (just sets 1088 bits to zero). 1089 1090commit 5acf7e22c256637ba7139733cdba1c59557dd7ff 1091Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1092Date: Thu Oct 30 19:01:54 2008 -0200 1093 1094 Disable HW cursor in dualhead mode in smi 501/502 1095 1096 Other chipsets are doing the same. But this apparently is to circumvent 1097 a problem in randr/cursor implementation, that appears to not work very 1098 well with hardware that supports two hw cursors, but not argb cursors. 1099 1100commit c756ed67cbcf5bdd40c300627802d8bcd3d95123 1101Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1102Date: Wed Oct 29 19:17:54 2008 -0200 1103 1104 SMI501/502 cursor fixes. 1105 1106 Use separate buffers for crt and panel hw cursors. 1107 Describe, and workaround a problem with Dualhead and hw cursor enabled. 1108 It still has the inconvenient of having a blinking X when exiting the server 1109 or switching to a VT; maybe should also save the image currently configured 1110 also (and restore on exit), or just disable hw cursor on dual head mode. 1111 Also revert change to not initialize video on dualhead. Better to have 1112 fully functional video only on panel, that can be resized, then non 1113 resizable video.. 1114 1115commit 2671776999a5add36e1aeaad4080bfccedc2b1a5 1116Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1117Date: Tue Oct 28 19:45:31 2008 -0200 1118 1119 Update msoc to use randr cursor routines 1120 1121 pSmi->IsSecondary was not used, and there should not exist two 1122 instances of the driver managing the same card. 1123 Macro CHECK_SECONDARY() was dependant on a second instance of the driver 1124 for the same card, and also removed. 1125 Some rework should still be done in the cursor code, as it sometimes, 1126 when displaying different data, will leave the hw cursor visible, while 1127 using an argb cursor. 1128 1129commit 91b5613fb07fec0f319623ca7ec1efd67f04379b 1130Author: Francisco Jerez <currojerez@gmail.com> 1131Date: Tue Oct 28 00:13:55 2008 +0100 1132 1133 Remove shadowfb based rotation support. 1134 1135 Also done some clean up, like removing unused/redundant members of the 1136 screen private structure, and removing now unused configuration file 1137 options. 1138 1139commit 0faeddb208d8fade4737be4bcadb8814696bd7b4 1140Author: Francisco Jerez <currojerez@gmail.com> 1141Date: Tue Oct 28 00:06:37 2008 +0100 1142 1143 Lynx hardware cursor code adapted to the CRTC interfaces. 1144 1145commit 5d151781515cf2e3af1322ce6ed5f8d871c05791 1146Author: Francisco Jerez <currojerez@gmail.com> 1147Date: Mon Oct 27 23:37:30 2008 +0100 1148 1149 Changes in the video overlay clipping code. 1150 1151 Clip the video to the CRTC viewport by using 1152 xf86_crtc_clip_video_helper, and allow XV in 1153 dual head mode. 1154 1155commit 486e92399f09b9d765d03184fe29a32b3bc4ecc5 1156Author: Francisco Jerez <currojerez@gmail.com> 1157Date: Mon Oct 27 23:12:36 2008 +0100 1158 1159 Simple EXA Composite implementation. 1160 1161 * Implementation of the PictOpSrc render operation with a 1162 source coordinate transformation through 2D engine rotate-BITBLTs. 1163 * Fix EXA Copy and Solid in 24 bpp packed color mode. 1164 1165commit c0447d33c82829248e642b3156fd9a3c0d0eb709 1166Author: Francisco Jerez <currojerez@gmail.com> 1167Date: Mon Oct 27 22:39:52 2008 +0100 1168 1169 Some corrections in the CRTC code. 1170 1171 * Make screen resizing behave better with XAA. 1172 * Move some local variable declarations to the top of 1173 the function definition to conform ANSI C. 1174 * Make the Lynx panel modesetting code to actually 1175 program the panel sync pulse width in dualhead mode. 1176 * Also, fix a crash when using libpciaccess 1177 (the memory wasn't being unmapped). 1178 1179commit f2c83671cccc42345bfc9b506365936bbb6b9ef0 1180Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1181Date: Fri Oct 24 17:55:02 2008 -0200 1182 1183 Make Dualhead option functional. 1184 1185 Slightly change clock selection code to start using 501 compatible values, 1186 before checking 502 values, if it is a 502. 1187 DPMS for the VGA/second output was being set with bits inverted, that is 1188 dpms-on was programmed as dpms-off and vice versa. This was one of the 1189 reasons of dual head not working. 1190 Corrected wrong vsync programming for the crt. Cut&paste/typo caused 1191 programming vsync with hsync values, and thus, never getting the crt 1192 to accept the mode being programmed. 1193 If adding: 1194 Option "Dualhead" "True" 1195 to xorg.conf, now you should be able to do things like: 1196 $ DISPLAY=:0.0 xrandr --output VGA --right-of LVDS 1197 $ DISPLAY=:0.0 xrandr --output VGA --below LVDS 1198 and so on. 1199 *Iff* there is some way to not have any limitations for video playback, 1200 this option should be made default or automatically configured. 1201 1202commit 1efe36ed5cf5b0931daa915ca3ce231b78168d87 1203Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1204Date: Wed Oct 22 19:06:06 2008 -0200 1205 1206 Make UseFBDev option functional again. 1207 1208 It is mean't to be a fallback option, that as long as kernel boots 1209 in framebuffer mode, the X Server should also work. 1210 Correct incorrect value being checked when printing state of Dualhead 1211 option. 1212 The M value when programming PLL3 is actually an 8 bits integer, 1213 so correct it and comments about it. 1214 1215commit dd083c26de400cee8c67977f46cf90d048b22ff9 1216Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1217Date: Tue Oct 21 19:41:55 2008 -0200 1218 1219 Use existing "Dualhead" option in MSOC. 1220 1221 If Dualhead is set, it will attempt to use setups that allow different 1222 outputs with different contents, instead of crt always cloning panel. 1223 Still not fully functional. 1224 1225commit 197b4231586b9ada1c590a01b8dd7a5fcda936e6 1226Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1227Date: Tue Oct 21 14:22:01 2008 -0200 1228 1229 Crt interface corrections. 1230 1231 Correct wrong clock calculation for the 501 clock setting, that is used 1232 for pre 502 panel interface and crt. 1233 Adds a few new programmable fields to MSOCRegRec:crt_display_ctl. 1234 Call SMI501_CrtcAdjustFrame() after adjusting a mode, instead of 1235 before changing registers. 1236 1237commit 71990e0beece6e60ffbffccfdf56e5a71641a120 1238Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1239Date: Mon Oct 20 15:09:09 2008 -0200 1240 1241 Don't change M1XCLK unless option specified in xorg.conf. 1242 1243 Also add more complete description of programmable clocks. 1244 1245commit 8b7ce66e26113ec5859566e7f3d0fd15d3e29eaa 1246Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1247Date: Fri Oct 17 18:58:45 2008 -0300 1248 1249 Update sm502 pll3 programming. 1250 1251 Also print the value of sm502 registers (should be a noop on sm501). 1252 Added the frequency field to the MSOCRegRec's misc_ctl, as it is 1253 a read/write registers, and changing bit 24 may change the logic 1254 of pll3 programming (needs clarification with SMI). 1255 1256commit de1b633f916f4fcaaa95b226a8622d37041c86d4 1257Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1258Date: Thu Oct 16 15:41:44 2008 -0300 1259 1260 Revert/modify some RandR changes to reenable XAA. 1261 1262 XAA was not initialized anymore in RandR patch, but it is still the 1263 default accel method. Also reenable offscreen fb manager. 1264 At least on the MSOC OEM sample (using X Server 1.4), needs some more 1265 work as EXA is crashing in a call to exaPrepareAccess() when switching 1266 to a terminal; this seems to be related to disabling exa offscreen 1267 pixmaps on the smi501. 1268 1269commit e020afa359434b4da06ef8509a3e504423f824d2 1270Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1271Date: Thu Oct 16 15:11:36 2008 -0300 1272 1273 Correct incorrect pll3 calculation. 1274 1275 Double value must be truncated when calculating the difference from the 1276 possible clock and requested clock. 1277 1278commit f686d1b4fdd11d3d969ff4db21128d7867c9044d 1279Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1280Date: Tue Oct 14 19:05:31 2008 -0300 1281 1282 Extra MSOC tweaks for the RandR1.2 changes. 1283 1284 The "prototype" computer no longer locks, and only "missing feature" 1285 from before the patch is that video and Xaa don't work (only with Exa). 1286 For the moment, just force crt as not connected, and set the proper 1287 registers to make the secondary output clone the panel. 1288 1289commit fc722212d297a5141245beb7c8ae396606a8f221 1290Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1291Date: Tue Oct 14 15:46:52 2008 -0300 1292 1293 Remove dependency on xf86cvt.c. 1294 1295 It actually was not added in a previous commit (due to using git reset 1296 to remake a commit, and not readding it), but now, changed only call 1297 xf86CVTMode if it is available in the X Server, otherwise, for older 1298 X Servers, a modeline should be specified in xorg.conf. 1299 1300commit 5adb3b502ef79827b89fb11926b6198c3a57d2e6 1301Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1302Date: Tue Oct 14 14:48:42 2008 -0300 1303 1304 Minor corrections for smi501 for the randr1.2 integration. 1305 1306 Also correct printing information about MCLK in the smi501/502, it 1307 should print M2CLK (aka M1CLK o the 502) as it is the clock that 1308 controls video engine/memory. 1309 1310commit 6e0837305533f940adb7a09f9b013077c0888f2d 1311Author: Francisco Jerez <currojerez@gmail.com> 1312Date: Sat Oct 11 14:24:48 2008 +0200 1313 1314 RandR1.2 initial implementation (WIP) 1315 1316 Moved most of the Lynx-specific code out of the main 1317 functions at smi_driver.c to some new files: smilynx_hw.c 1318 (With CRTC-independent code like global hardware initialization and 1319 mode saving/restoring), smilynx_crtc.c (With the CRTC-local 1320 procedures) and smilynx_output.c (Output power management, DDC and 1321 monitor detection, currently). 1322 1323 Done something similar with the SMI501 code: split 1324 SMI501_ModeInit in three separate functions: SMI501_HWInit that does 1325 the global initialization, and the CRTC mode_set callbacks 1326 SMI501_ModeSet_crt and SMI501_ModeSet_lcd at smi501_crtc.c. 1327 1328 The SMI501_ModeSet code is divided into SMI501_WriteMode_common, 1329 SMI501_WriteMode_lcd and SMI501_WriteMode_crt, each one updates a 1330 different register set in the hardware. 1331 1332 Inside smi_crtc.c, there is mainly hardware independent 1333 code... Initial CRT controller allocation, shadows, rotation and 1334 framebuffer resizing code. 1335 1336 The shadow code currently relies on EXA... I'm not sure what are the 1337 problems of the EXA implementation in MSOC. Does it work? 1338 1339 I think it would be a good thing to get rid of XAA soon: The next 1340 thing I'll be working on will be EXA Composite... I hope it's possible 1341 to get EXA acceleration working at least as fast as the current 1342 XAA. (Although Teddy Wang confirmed me that the SMI720 DMA engine is 1343 broken...) 1344 1345 So, the patch adds some features like new Lynx dualhead modesetting 1346 code, but it probably breaks some other things: 1347 * Video Overlay: I suppose it does work with EXA activated. It seems 1348 it is also possible to have simultaneous overlays in both CRTCs with the 1349 Lynx hardware (I have some code for this, but still work in progress). 1350 * Hardware Cursor (It needs more integration in the CRTC interfaces). 1351 * The old Shadow FB / rotation code, which we should probably drop. 1352 1353 These are in my TODO list... Along with some more cleaning and other 1354 minor issues in the modesetting code. 1355 1356 About the SMI501 RandR1.2 implementation... I suppose it's specially 1357 lacking per-output DPMS (The DPMS field in the System Control register 1358 only affects the CRT, doesn't it?). 1359 1360commit 605199b1fa80d5a65e11a38270f6d0974466d1dc 1361Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1362Date: Thu Oct 9 18:51:50 2008 -0300 1363 1364 Add a PanelSize/60Hz CVT mode at driver initialization 1365 1366 This driver is expected to be used with XServer 1.4 or newer, but a 1367 (probably temporary) copy of xf86cvt.c was also added to the build. 1368 This modeline automatically added implies it would not be required 1369 to specify one in xorg.conf, as it should not be uncommon "non standard" 1370 modes, like 800x480 or 1024x600. 1371 1372commit 55052509d75492f0936273686826c51fcbc831c1 1373Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1374Date: Thu Oct 9 18:12:02 2008 -0300 1375 1376 Make the input frequency in SMI501_FindPLLClock a variable 1377 1378 Instead of using a fixed 24Mhz input frequency, as "unofficially" 1379 specified by SMI, a guess of using a 12 multiplier was used, and it 1380 corrects the screen flicker problem as well as make a secondary output 1381 work again. 1382 1383commit 61f814d1c8ad9440bab89eda44e64b01ba0eb703 1384Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1385Date: Wed Oct 8 18:36:11 2008 -0300 1386 1387 Rewrite WaitQueue and WaitIdle accell macros 1388 1389 WaitQueue() did receive an unused parameter, that was removed. The 1390 parameter was unused since version 1.0 in XFree86 CVS, so probably 1391 nobody knows for what it was used. 1392 WaitIdle() now also replaces WaitIdleEmpty(), as an idle engine 1393 should also have an empty fifo. 1394 SMI_SubsequentScreenToScreenCopy() was changed to use WaitIdle() 1395 instead of WaitQueue() before submitting the commands to the engine. 1396 This fixes a nasty lockup when using XaaOffscreenPixmaps (what is 1397 desired/wanted to help improve performance), and the lockup in the 1398 MSOC was clearly due to an engine overrun, when sending commands 1399 faster then the engine could process. 1400 1401commit 1656fb6de5308ff586676e8d6a8aa8d4579ebf4c 1402Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1403Date: Fri Oct 3 18:55:14 2008 -0300 1404 1405 Don't use the 1 multiplier on older chipsets. 1406 1407 It is not in the specs, so don't use it on chipsets older then the 502. 1408 Some review should be done in SMI501_FindPLLClock() as when hardcoding it 1409 to use the clock selection code for older chips, it appears to choose a 1410 better refresh rate (no flicking at 1024x600). 1411 1412commit da789f720e2d772dff92adc10aa024a6a921fbbd 1413Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1414Date: Fri Oct 3 16:30:23 2008 -0300 1415 1416 Simplify regsmi.h by removing most unused SMI501 defines. 1417 1418 The values that should be used, should also have a more meaningful name, 1419 as something like: 1420 doesn't help much, and the fact that these "ports" can be accessed from 1421 several "bases" may be confusing also, as there is SCRBase, DCRBase, 1422 FPRBase, DPRBase, CPRBase (and IOBase). The 501 code should probably be 1423 changed to just use IOBase, as currently it uses SCRBase, that happens 1424 to be at pSmi->MapBase + 0x0000. 1425 1426 This patch also completely transforms the WaitQueue macro in a noop 1427 for the MSOC. In SMI sample code it is almost the current code, just 1428 that the macro body is commented out. Hopefully this will be addressed 1429 soon. 1430 1431commit bacddd1d31a5f3de14477914958f27b6f081c125 1432Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1433Date: Fri Oct 3 15:10:55 2008 -0300 1434 1435 Rename macro "bitfield" to "bits" and correct a wrong division. 1436 1437commit 22a7fd6711e2a40633981cd21fa3808c9246f13a 1438Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1439Date: Thu Oct 2 16:11:59 2008 -0300 1440 1441 Remove the IN_SEQ and OUT_SEQ macros. 1442 1443 These macros access vga registers, but don't make it clear in their name. 1444 1445commit 973f68bf0464c4d2aec2acf7c8e6db201782f4ec 1446Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1447Date: Thu Oct 2 15:48:51 2008 -0300 1448 1449 Rewrite some macros to not have side effects in if/else nesting. 1450 1451commit 82e17c442c3969938435a8b46d2679995af64425 1452Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1453Date: Thu Oct 2 15:25:41 2008 -0300 1454 1455 Add support for the extra divider in the alternate pixel clock setting. 1456 1457 Also remove extra includes that were not used. 1458 1459commit b32769305275519f7f4d1e0871a71514636ca026 1460Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1461Date: Wed Oct 1 18:27:27 2008 -0300 1462 1463 Correct clock programming for the SMI 501/502 1464 1465 The new code is based on the file SM502Clock.pdf provide by SMI engineers 1466 (many thanks). And now it is expected to work correctly. The few remaining 1467 details that are unclear (for the extended 502 modesetting mode) should be 1468 resolved soon, and those are: 1469 * MMIO:0x74:bit15 (PLL Output Divided by 2) 1470 0: Disable. 1471 1: Enable. 1472 (does this mean it can use a 12MHz clock instead of 24? or anything else?) 1473 * Should bit 31 of "current clock" always be set when using the alternate 1474 mode setting for the 502? The alternate modesetting allows a very closer 1475 pixel clock programming option, usually with 0 difference from the 1476 xf86 mode. 1477 1478 I will ask SMI to make SM502Clock.pdf also available in the ftp site, it 1479 is just 3 pages, or possibly even better, an update for the existing 1480 documentation. 1481 1482commit ea34e20852ee6007e2f0fcacd5068c151865be1e 1483Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1484Date: Tue Sep 30 17:49:25 2008 -0300 1485 1486 Remove the macro field, and rename the detail structure to f. 1487 1488 Now access to bitfields looks like: 1489 record->register.f.field 1490 instead of: 1491 field(record->register, field) 1492 what should be easier to read and understand. 1493 1494commit a91872f813a6299f32b9f833876c54afd0b53aaa 1495Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1496Date: Tue Sep 30 17:33:36 2008 -0300 1497 1498 Update to match the SMI 502 chipset specs. 1499 1500 The 502 is a superset of the 501, also recognized as PCI_CHIP_SMI501. 1501 The driver is only known to work with smi_501 chipset 1502 "SM501 VoyagerGX Rev. AA (rev c0)". 1503 1504commit e830572bca9b8eaf50a36a12d1fe31cdfec6280e 1505Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1506Date: Fri Sep 26 19:43:45 2008 -0300 1507 1508 Don't always program CRT clock and registers. 1509 1510 This causes instabilities, and there was also a bug where it would 1511 tell the crt to not select panel data (due to removing the "else"). 1512 1513commit 314eecb6628840a942ff2e76d8c7402301feac77 1514Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1515Date: Fri Sep 26 19:30:17 2008 -0300 1516 1517 Properly check pScrn->driverPrivate before deferencing it. 1518 1519 Add missing divide by 1000 in smi_501.c, as well as a FIXME comment 1520 about a crash, and possible cause as well as possible ways to program 1521 other clocks. 1522 1523commit f18222ffcff8e78b3cfcd220cad06a1daa3fc920 1524Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1525Date: Fri Sep 26 17:55:42 2008 -0300 1526 1527 Don't try to find the closest clock, just use highest one. 1528 1529 Previous patch wasn't fully correct, just that the values were generating 1530 the same register dump as the smi 2.2.5 driver version. 1531 When correcting it to not mix Mhz and Khz in the math, the problems 1532 returned.... Anyway, it just works when selecting the highest clock, and 1533 the attached CRT will display the panel image. This is illogical, so maybe 1534 the specs are outdated... The previous code has been #ifdef'ed out in 1535 "CALC_CLOCK". 1536 Note that it still changes the boot default clock, from the default 1537 288Mhz to 336Mhz, and in this patch, it also always sets both, panel and 1538 crt clocks (what happens here, is that most likely, by doing this, it 1539 forces the hardware to "somehow" autoconfigure itself; will try to get 1540 some information from SMI about this, but this is the boot default, 1541 and what smi sources do...). 1542 1543commit bdba7c1397186cd15d519db55c2345db44990be4 1544Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1545Date: Wed Sep 24 18:58:35 2008 -0300 1546 1547 Fix incorrect understanding of the pixel clock from specs. 1548 1549 The clock that should be programmed is the bandwidth, and not the pixel 1550 clock itself. Based on analysis of register contents, after "importing" 1551 a slightly modified version of xf86ModeBandwidth() and properly converting 1552 values, now it properly programs both, the LCD and a "clone" CRT or just 1553 a secondary panel. 1554 1555 Modes generated by either gtf or cvt correctly works. 1556 1557 A (hopefully temporary) fallback was also added, and if the option 1558 "UseFBDev" is used, the driver will not attempt to set/modify the 1559 current video mode. 1560 1561 TODO: Generate a modeline "on the fly", based on monitor configured 1562 specs, or some set of defaults, so that it should not be required to 1563 specify a modeline in xorg.conf. 1564 1565commit e64b3d63be2a4148c4d10ac160e2bd2f3e8c7fd3 1566Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1567Date: Mon Sep 22 22:01:16 2008 -0300 1568 1569 Correct problems in clock setting. 1570 1571 One clock must be changed at a time, first setting the pll value, 1572 then waiting for 16ms (one vsync), then setting the divider/shift 1573 values, and again waiting 16ms. 1574 Code was working after split of SMI501_ModeInit(), because some 1575 clocks were already using system boot default, but would most likely 1576 cause a crash when actually changing values (currently only p2_xxx 1577 or v2_xxx is changed, but it would cause problems on some system where 1578 the initial values don't match the ones set by the driver). 1579 1580 TODO: Either don't change m2clk and mclk or ensure other values 1581 work correctly (don't change because the kernel should already 1582 have set those if a value other then the boot default should be 1583 used). 1584 1585commit 1f0af5ea50e3e3b2c9ed882f7ef2fb8871e780bd 1586Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1587Date: Mon Sep 22 21:41:12 2008 -0300 1588 1589 Correct logic in sw cursor handling and add missing entries to .gitignore. 1590 1591commit 862cbd8c1845b54a38996b92e8e22d153f38cdd2 1592Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1593Date: Mon Sep 22 19:09:12 2008 -0300 1594 1595 Split SMI501_ModeInit in two functions. 1596 1597 This allows using alternate MSOCRegRec structures to set a mode. 1598 This should be useful to restore the initial mode. 1599 1600commit bcbf1854be851b8fa1ec3f384b11c312b0533bf3 1601Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1602Date: Mon Sep 22 18:29:31 2008 -0300 1603 1604 Remove unused .cvsignore files. 1605 1606commit 1014ffe0a2c55119d6bfbcf632f3d4ebe77af212 1607Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1608Date: Mon Sep 22 18:15:21 2008 -0300 1609 1610 Simplify hw cursor and sw cursor option handling. 1611 1612 Also rename SMIRec field hwcursor to HwCursor, as there are few usages, 1613 and this way, match the case usage for other field names. 1614 1615commit 6b5c22d8680573c8a6b259d78ba3c8435514fde9 1616Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1617Date: Mon Sep 22 17:05:21 2008 -0300 1618 1619 Rework/simplify debug macros. 1620 1621 Instead of cut&paste of the name of the current function everywhere, 1622 just use cpp's __FUNCTION__ predefined macro. 1623 Create two macros to exit a function, named LEAVE() and RETURN(). 1624 Functions returning void should call LEAVE() and then explicitly return 1625 for now. "Logged" function calls are indented, so a review was done to 1626 ensure functions with a ENTER() also have the proper exit macro. 1627 The DEBUG macro was changed to have variadic arguments, and this way 1628 it is no longer required to prefix arguments with VERBLEV, but now it 1629 also is not possible to use another "verbosity value", but it wasn't used 1630 in any of the DEBUG macro calls. 1631 1632commit cf7097c19b31671a53bc8161bd29b9f79f1d3d85 1633Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1634Date: Mon Sep 22 14:25:04 2008 -0300 1635 1636 Fix a leak and minor cosmetic change. 1637 1638 Leak was due to only releasing return value of xf86GetEntityInfo 1639 if the chipset was PCI_CHIP_SMI501. 1640 Cosmetic change was to log pci burst and pci retry default values 1641 as X_DEFAULT instead of X_PROBED. 1642 1643commit ee1e72a248b2df6522283c0dd3e5433d7f961c62 1644Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1645Date: Fri Sep 19 18:06:20 2008 -0300 1646 1647 Kludge to not lock the SMI 501 when running at 8bpp. 1648 1649commit 9ae840a358959615020fa4adb76c1487231927f3 1650Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1651Date: Fri Sep 19 18:00:16 2008 -0300 1652 1653 Add MSOC palette support to run at 8 bpp. 1654 1655 Colors should be correctly set, but most output using Render is not 1656 properly drawn, i.e. anti aliased fonts, etc. Need to investigate 1657 further, but it should be a general problem, not exclusive to the 1658 driver. 1659 1660commit f4339a6a7aa077cb355dd23b77ea568ad2a481e3 1661Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1662Date: Fri Sep 19 16:52:17 2008 -0300 1663 1664 Enable pci retry and pci burst by default. 1665 1666 Rename fields pci_burst and NoPCIRetry to PCIBurst and PCIRetry, 1667 to match field names case usage, and updated logic for the removal 1668 of "No" from the pci retry option. 1669 Pci retry and pci burst greatly increase video playback speed, 1670 allowing smooth video play on the SMI 501. 1671 1672commit 782ef31a9273e33100ae6b4bd20a4d1d3f493aa4 1673Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1674Date: Fri Sep 19 15:48:34 2008 -0300 1675 1676 Add initial exa support for SMI501. 1677 1678 This just allows exa to run, with a minimal ammount of features avaiable. 1679 1680commit 5d9ab8195e692f78dd7e57e7d17d8b46f7f59221 1681Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1682Date: Thu Sep 18 18:27:51 2008 -0300 1683 1684 Add a missing CHECK_SECONDARY macro call. 1685 1686commit 2876b55c3ed82b9be023acbfc4ddf993494c3c9b 1687Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1688Date: Thu Sep 18 18:23:37 2008 -0300 1689 1690 Correct video offscreen memory allocation routines. 1691 1692 It was always failing in the first allocation, if using XAA, what caused 1693 some players to not work correct. This is a major problem for the MSOC as 1694 it still only supports XAA. 1695 Also add a workaround for a hardware problem, as described in 1696 "SM501 Rev.AA engineering addendum v0.1.pdf" 1697 "A-27 PIXELS TOO BRIGHT ON VIDEO SHRINK". 1698 1699commit 79297e797de3497773539eb9f89e8594797ee512 1700Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1701Date: Thu Sep 18 18:16:21 2008 -0300 1702 1703 Update for new smi_501 interfaces. 1704 1705 This also adds some simplification for the driver code, by adding 1706 some function pointers to avoid the need to check the chipset everywhere. 1707 The new SMI_DetectMCLK function doesn't actually change pSmi->MCLK to 1708 avoid chances of it stoping working on non MSOC chipsets, as it 1709 previously not did set it, and for the MSOC, for the moment, default to 1710 whatever value is already set, i.e. doesn't reprogram it. 1711 Added new memory detection code for the MSOC, that better matches the 1712 documentation. 1713 1714commit 95e312b712a1e4a476ef31c5302faf77c22915a9 1715Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1716Date: Thu Sep 18 18:10:54 2008 -0300 1717 1718 Complete rewrite of smi_501.c and smi_501.h. 1719 1720 The previous version was dependant on kernel framebuffer, as it was 1721 just failing a test if not having a modeline defined, and in the test 1722 case, it is running at 1024x600. 1723 Now it properly programs the video hardware, and the procedure is 1724 expected to be very well documented. 1725 1726commit cf5132907e4709c872089fe2d79837b2de4e45b7 1727Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1728Date: Tue Sep 2 18:16:41 2008 -0300 1729 1730 Rename global smi501 functions to have SMI501 prefix. 1731 1732 Functions renamed were setDPMS -> SMI501_SetDPMS, 1733 regRead32 -> SMI501_Read32 and regWrite32 -> SMI501_Write32. 1734 Also moved SMI_SetDPMS to start of smi_501.c to have extern 1735 functions at start of the file. 1736 1737commit a2a090e10f031aed6dbf6d143d6ce8abdf7a2392 1738Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1739Date: Tue Sep 2 17:55:16 2008 -0300 1740 1741 Correct all compiler warning messages. 1742 1743 Code compiled with: 1744 gcc -Wall -Wbad-function-cast -Wdeclaration-after-statement \ 1745 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \ 1746 -fno-strict-aliasing -Wold-style-definition -Wpointer-arith \ 1747 -Wstrict-prototypes 1748 1749 This patch also makes most smi_501.c functions static, as they are not 1750 called from anywhere else. 1751 Also removed prototypes for non existent functions in smi_501.h. 1752 1753commit 2d5ba5f7310fa8e11f7349d116aa871a239ac35f 1754Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1755Date: Tue Sep 2 16:32:31 2008 -0300 1756 1757 Correct xv video problems on MSOC. 1758 1759 Set VIDEO_CLIP_TO_VIEWPORT as it is used in MSI sources, and also add 1760 proper code to detect panel size, as this information is used to manage 1761 offscreen memory (but shouldn't it be using pScrn->virtualY, etc?) 1762 1763commit e111c85d6cca3f2206b6bce119b284edccf0cd4f 1764Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1765Date: Mon Sep 1 18:41:43 2008 -0300 1766 1767 Don't pretend this driver compiles on XFree86. 1768 1769 Either remove check for XF86_VERSION_CURRENT or at least add the 1770 implementation of RegionsEqual() to smi_video.c. 1771 1772commit b23c5c5e434aaba2128abcae61a8564a62d2e7a1 1773Author: Francisco Jerez <currojerez@gmail.com> 1774Date: Mon Sep 1 21:28:13 2008 +0200 1775 1776 Fix XAA, ShadowFB and VT switching for non-sm501 chipsets 1777 1778 Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1779 1780commit 6a01c87b7c75f698ff2b783f8d341526159ebfe2 1781Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1782Date: Mon Sep 1 18:00:03 2008 -0300 1783 1784 Split SMI_MapMem in SMI_MapMem and SMI_MapMmio 1785 1786 This is required because MSOC needs mmio to detect ammount of memory. 1787 The patch also creates a SMI_DetectMem() function, that should slightly 1788 simplify SMI_PreInit(). 1789 1790commit c45ef4676812f72dcff53ba85e9fa95836704c75 1791Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1792Date: Fri Aug 29 19:33:31 2008 -0300 1793 1794 Bump version to 1.6.1. 1795 1796commit 4eee032811d1487df9dcf94708b1bcafc7e63392 1797Author: Arnaud Patard <apatard@mandriva.com> 1798Date: Fri Aug 29 19:33:31 2008 -0300 1799 1800 Correct a problem when handling i420 format. 1801 1802 The problem was that the driver was converting i420->YV12 2 times 1803 instead of only once. 1804 1805commit 76c931e149917563485ae6ad2950aa28a531b0d1 1806Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1807Date: Fri Aug 29 19:31:57 2008 -0300 1808 1809 Update MSOC video interface. 1810 1811 This synchronizes smi_video.c with smi 2.2.5 sources. 1812 1813commit 0eb35f2065314807a604a44e571bbb898db23543 1814Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1815Date: Fri Aug 29 19:20:54 2008 -0300 1816 1817 Update xaa and generic acceleration code for the MSOC. 1818 1819 Currently, the support for EXA is not functional, neither is 1820 ShadowFB or bpp/depth other than 16. 1821 1822commit 375e35fc7df4a21c2e0bc933774cc2f5f29b89d1 1823Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1824Date: Fri Aug 29 19:36:35 2008 -0300 1825 1826 MSOC doesn't access VGA registers or VBE/INT10 1827 1828 This should be the biggest patch in the "merge". Done in a single chunk 1829 to have it compilable at all stages. 1830 1831commit 164d921465ae7b3a0fa2551358f7c0b5a18a425a 1832Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1833Date: Fri Aug 29 18:47:14 2008 -0300 1834 1835 Add code to probe and recognize the SMI501 chipset 1836 1837commit db330497c3b757361ac9c3602b3a4ece0a401dd3 1838Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1839Date: Fri Aug 29 15:58:16 2008 -0300 1840 1841 Change SILICONMOTION_NAME value 1842 1843 xf86VDrvMsgVerb prints up to 14 characters prefix, where prefix has the 1844 format "%s(%d): " so, use name "SMI" instead of "Silicon Motion" 1845 1846commit 36309132aef067822a8901ce24fda817be58546d 1847Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1848Date: Fri Aug 29 15:52:36 2008 -0300 1849 1850 Add initial support and macros for the MSOC. 1851 1852 This patch add the new files and basic required definitions. 1853 1854commit 96166eafc2b0e5db627aa4f8b0422f953837772b 1855Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1856Date: Fri Aug 29 14:48:44 2008 -0300 1857 1858 Fix build for removal of xf86Version.h 1859 1860 This is the first patch of series to merge code from the version 2.2.5 1861 from SiliconMotion and code from 1862 http://cgit.freedesktop.org/~agd5f/xf86-video-smi501 1863 1864 After the merge, work will continue, to correct some extra problems, 1865 and make it work with EXA at least (as only the Xorg version has 1866 EXA support). 1867 1868commit 682b9a1b97a82c7d084c63860a8c753cc45d9faf 1869Author: Francisco Jerez <currojerez@gmail.com> 1870Date: Sat Aug 16 13:24:27 2008 +0200 1871 1872 Allow using XV and RandR rotation simultaneously. 1873 1874 As it doesn't seem feasible to rotate the video, I did some modifications 1875 at SMI_PutImage and SMI_ClipVideo to make PutImage work (incorrectly) with 1876 rotation enabled. The image is displayed unrotated. 1877 1878 Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1879 1880commit f6110b1ef5934b45812ee95e70b1e64f44386dda 1881Author: Francisco Jerez <currojerez@gmail.com> 1882Date: Sat Aug 16 13:08:25 2008 +0200 1883 1884 Some fixes in the EXA UTS/DTS code. 1885 1886 In DTS: 1887 * It uses the screen Bpp inestead of the pixmap Bpp... 1888 this gives some problems when using pixmaps with different depth 1889 to the screen. 1890 In UTS: 1891 * aligned_pitch was computed from src_pitch inestead of the 1892 pixmap width. 1893 * When writing the target coordinates to the DE registers, it does 1894 y*0xFFFF inestead of y & 0xFFFF. 1895 * I renamed source_pitch to src_pixelpitch as it is very confusing 1896 to have src_pitch and source_pitch. 1897 * It isn't necessary to call WaitQueue before copying each scanline, 1898 but it seems it almost doesn't affect performance. 1899 1900 Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1901 1902commit 209097ba5b44a0ce0da7f1ea52150dcace2b5244 1903Author: Francisco Jerez <currojerez@gmail.com> 1904Date: Sat Aug 16 13:00:31 2008 +0200 1905 1906 RandR rotation implemented. 1907 1908 * I added the configuration file option "RandRRotation". 1909 * I replaced pSmi->ShadowPitch with pSmi->screenStride, it seems it 1910 makes more sense because the lower word of ShadowPitch may change 1911 independently. 1912 * I moved the SMI_DEDataFormat to smi_accel.c because it seems it is 1913 a piece of code repeated many times in the driver. 1914 * At some places, it is assumed the framebuffer is at FBOffset: 1915 when using a shadow framebuffer, FBOffset is the location of the 1916 on-screen framebuffer (0 should be used). This made e.g. EXA 1917 completly useless with ShadowFB enabled (it crashed). 1918 * In the FBManager initialization, I have replaced xf86InitFBManager 1919 with xf86InitFBManagerRegion to reserve some additional space as 1920 screen fb: it's unlikely to be the case, but a less efficient 1921 alignment in the rotated mode could make the rotated mode need more 1922 memory than the unrotated one. 1923 This is not a problem with EXA as the offscreen memory parameters 1924 can be easily modified when doing the rotation. 1925 * In SMI_RefreshArea it's assumed that some DE registers are already 1926 in some state, this is specially not true when using EXA. 1927 * SMI_ValidMode rejects a rotated mode with different dimensions 1928 than the panel. This seems to work now. 1929 1930 Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1931 1932commit 45c6aedd6fe4e4d6abe58d1bb39ec01049404f09 1933Author: Francisco Jerez <currojerez@gmail.com> 1934Date: Sat Aug 16 12:50:26 2008 +0200 1935 1936 Updates in SMI_EnterVT when remapping memory. 1937 1938 Update the screen pixmap header with the new aperture address 1939 when remapping framebuffer memory in SMI_EnterVT. 1940 Update pSmi->EXADriverPtr->memoryBase too, in case EXA is 1941 being used. 1942 1943 Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1944 1945commit 8feca790a6e92799019237ac69a4ef618cacfaae 1946Author: Francisco Jerez <currojerez@gmail.com> 1947Date: Sat Aug 16 12:40:52 2008 +0200 1948 1949 Make the int10/VBE initialization depend on the UseBIOS configuration option. 1950 1951 Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1952 1953commit 772e899e71efab208b844b09c75f9f49ff453386 1954Author: Francisco Jerez <currojerez@gmail.com> 1955Date: Sat Aug 16 12:25:18 2008 +0200 1956 1957 Memory detection moved before memory mapping in SMI_PreInit. 1958 1959 Take into account the VideoRam configuration option. 1960 1961 Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1962 1963commit d28ed6aa0d28fdcf8f555b2bb8a58fe28d1b464b 1964Author: Adam Jackson <ajax@redhat.com> 1965Date: Fri Aug 15 14:24:31 2008 -0400 1966 1967 Dead code removal. 1968 1969commit 7cfecd313aaea74ad5675c53b4d0099d6e9dec39 1970Author: Adam Jackson <ajax@redhat.com> 1971Date: Wed Mar 19 15:26:14 2008 -0400 1972 1973 siliconmotion 1.6.0 1974 1975commit c0e80b14a8af7c9df44919b2df58030e59ecbf88 1976Author: Adam Jackson <ajax@redhat.com> 1977Date: Wed Mar 19 15:25:23 2008 -0400 1978 1979 Fix distcheck 1980 1981commit e53d07525952e1281170db01c48d7a14a6983049 1982Author: Adam Jackson <ajax@redhat.com> 1983Date: Wed Mar 19 15:24:11 2008 -0400 1984 1985 Death to RCS tags. 1986 1987commit 46e68bf899754f6f70a0f5a7b0d42c5e208aaa5a 1988Author: Dave Airlie <airlied@redhat.com> 1989Date: Mon Mar 10 13:53:00 2008 +1000 1990 1991 smi: add pciaccess support 1992 1993commit 75182ca115cba8fcf31304aea88ca3d4b9aa66ac 1994Author: Matthieu Herrb <matthieu.herrb@laas.fr> 1995Date: Sat Mar 8 23:49:58 2008 +0100 1996 1997 Makefile.am: nuke RCS Id 1998 1999commit ae556406ab6c4de410b68b3c8bcebb434b3efc9d 2000Author: Brice Goglin <bgoglin@debian.org> 2001Date: Tue Aug 7 10:00:25 2007 +0200 2002 2003 Define SILICONMOTION_VERSION* using PACKAGE_VERSION* 2004 2005commit 1a803a8f91a931c00106f9d3d41cfa5d74c19f55 2006Author: Alex Deucher <alex@botch2.com> 2007Date: Tue Mar 20 21:08:38 2007 -0400 2008 2009 minor fixup 2010 2011commit 503027d38dab759277c0a67746ac205a1dfa9277 2012Author: Dennis De Winter <dennis.de.winter@gmail.com> 2013Date: Fri Mar 16 21:29:19 2007 -0400 2014 2015 Fix UTS issues with flash 2016 2017 Also remove safety padding on memory manager calculation 2018 2019commit fe4114033f2853e2df8d37c490deba26bf0366e8 2020Author: Alex Deucher <alex@botch2.com> 2021Date: Thu Mar 15 02:11:24 2007 -0400 2022 2023 hostdata blit UTS works, but SW is faster 2024 2025 UTS is working, but SW is faster so leave it disabled 2026 2027commit 62442ce9e62b484e4f2067e3c52c153cd356be2c 2028Author: Alex Deucher <alex@botch2.com> 2029Date: Wed Mar 14 20:13:28 2007 -0400 2030 2031 more clock fixes 2032 2033commit 6ff1241636e25d2c0f20bd14e92c8585f209aeb0 2034Author: Alex Deucher <alex@botch2.com> 2035Date: Tue Mar 13 02:32:52 2007 -0400 2036 2037 bump to 1.5.1 2038 2039commit b53db3bc5ba7648d392dc630ef47e57fb8a0afb4 2040Author: Alex Deucher <alex@botch2.com> 2041Date: Tue Mar 13 02:31:30 2007 -0400 2042 2043 fix clk calculation on older lynx chips 2044 2045commit 7d1392be291e99fd3dde2292b82423b5f78d3a21 2046Author: Alex Deucher <alex@botch2.com> 2047Date: Tue Mar 13 00:44:29 2007 -0400 2048 2049 bump to 1.5.0 2050 2051commit 449fedec0e38289d10d75799bbf995b0e7189911 2052Author: Alex Deucher <alex@botch2.com> 2053Date: Tue Mar 13 00:13:35 2007 -0400 2054 2055 fix Solid() 2056 2057 Unforunately, for 32 bpp solid fills the HW ignores alpha. 2058 2059commit 6d40f87d6cddde2d88f25be686b6392449cdecf1 2060Author: Alex Deucher <alex@botch2.com> 2061Date: Mon Mar 12 23:58:41 2007 -0400 2062 2063 remove spurious waitqueue() line 2064 2065commit 452cabd6e3870b832cb19c8ad8a1fce27eef9c48 2066Author: Alex Deucher <alex@botch2.com> 2067Date: Mon Mar 12 01:11:16 2007 -0400 2068 2069 Update copyright. 2070 2071commit 55266778ac693582131acae80def32211e09f18f 2072Author: Alex Deucher <alex@botch2.com> 2073Date: Mon Mar 12 01:02:53 2007 -0400 2074 2075 switch the engine to quick start mode 2076 2077 Rather than writing to the engine command register for every 2078 operation, set quick start mode, and the operation executes 2079 automatically when the width register is written. 2080 2081commit 4b37b514907da4a567261569eaebcc5a35aff6db 2082Author: Alex Deucher <alex@botch2.com> 2083Date: Mon Mar 12 00:12:23 2007 -0400 2084 2085 fixup waitqueue slots 2086 2087commit 493c93de288437501fd898800bce45300379ebc3 2088Author: Alex Deucher <alex@botch2.com> 2089Date: Sun Mar 11 18:49:48 2007 -0400 2090 2091 more exa fixups, disable UTS for now. 2092 2093commit c1d6373624428c8c52e4d1d295b1d77ed75391a0 2094Author: Alex Deucher <alex@botch2.com> 2095Date: Sun Mar 11 16:22:05 2007 -0400 2096 2097 engine likes to use blit command for solid fills 2098 2099commit 9db380c99decdb9ab7fbf481788a5b63a84cd6e0 2100Author: Alex Deucher <alex@botch2.com> 2101Date: Sun Mar 11 15:53:29 2007 -0400 2102 2103 fix postscalar shift 2104 2105commit b6082e628289221864e96ebc41ce93d8efe2d2ce 2106Author: Alex Deucher <alex@botch2.com> 2107Date: Sun Mar 11 14:09:45 2007 -0400 2108 2109 support 32 bpp 2110 2111commit 3ebbc2e55a1584e01949ec760501ac4a3c086b04 2112Author: Alex Deucher <alex@botch2.com> 2113Date: Sun Mar 11 13:40:06 2007 -0400 2114 2115 fix up vclk1 setup 2116 2117commit 3e62ec8736ea9ea64a2c0c5c41df9c6d742397ca 2118Author: Alex Deucher <alex@botch2.com> 2119Date: Tue Mar 6 02:42:52 2007 -0500 2120 2121 revert the last commit. 2122 2123 FBBase already take the register offset into account. 2124 2125commit 7da75a99159f80f215ee409377128f7dcbc4064d 2126Author: Alex Deucher <alex@botch2.com> 2127Date: Tue Mar 6 02:38:02 2007 -0500 2128 2129 fix memoryBase 2130 2131 pSmi->FBOffset is the offset from the start of the framebuffer 2132 pScrn->fbOffset is the aperture offset where the framebuffer 2133 starts 2134 2135commit ba0b2492269ea81e91f7ce4fb8da618187a3997f 2136Author: Alex Deucher <alex@botch2.com> 2137Date: Tue Mar 6 02:24:08 2007 -0500 2138 2139 first pass at UTS 2140 2141commit e650ca36da5cf7614e4f1a0a524eadb46b1cc21d 2142Author: Alex Deucher <alex@botch2.com> 2143Date: Mon Mar 5 23:58:25 2007 -0500 2144 2145 fix up EXA code 2146 2147commit c5b23ba581a3a4395b528d4ed824d5df986527e4 2148Author: Dennis De Winter <de.winter.dennis@gmail.com> 2149Date: Sun Mar 4 23:17:57 2007 -0500 2150 2151 Initial import of EXA support 2152 2153 Based on Dennis' code from bug 8721 with some minor 2154 changes by me. 2155 2156commit cf83ef7685609cd9daea193b4c842d232edcf506 2157Author: Alex Deucher <alex@botch2.com> 2158Date: Sun Mar 4 17:18:10 2007 -0500 2159 2160 actually calculate and use vclk1 2161 2162commit 3030e5a6afda5d05ddee5b586295a9e608b7a0de 2163Author: Alex Deucher <alex@botch2.com> 2164Date: Sun Mar 4 02:45:55 2007 -0500 2165 2166 Whitespace and formatting changes 2167 2168commit 606971fc8a323b0b33bb43524941b4bae6a0c334 2169Author: Alan Coopersmith <alan.coopersmith@sun.com> 2170Date: Tue Feb 27 13:04:31 2007 -0800 2171 2172 renamed: .cvsignore -> .gitignore 2173 2174commit 4b3d28435d2f046d48a38694d89166fe38b00597 2175Author: Alan Coopersmith <alan.coopersmith@sun.com> 2176Date: Tue Feb 27 13:04:01 2007 -0800 2177 2178 Replace XFree86 references in man page 2179 2180commit 3ff1d1aaf93df90f3a96b87bd8447db44b1722f5 2181Author: Alex Deucher <alex@samba.(none)> 2182Date: Wed Jan 10 21:58:47 2007 -0500 2183 2184 only idle the engine on mode switches 2185 2186 on the initial mode set the engine doesn't idle 2187 for some users. 2188 2189commit 72c1d44182a49dbd502bbdc0b48f69a43ad5aed0 2190Author: Adam Jackson <ajax@benzedrine.nwnk.net> 2191Date: Fri Oct 13 18:41:44 2006 -0400 2192 2193 Bump to 1.4.2 2194 2195commit 36bbaaf3f44321fc7bb8ff1b71ff1d7f87f3b19b 2196Author: Alex Deucher <alex@samba.(none)> 2197Date: Sat Sep 16 15:48:54 2006 -0400 2198 2199 make siliconmotion build again. somehow a bunch of defines in 2200 regsmi.h got lost? commit 9a58bc9adbc982680dd8df27caeb9a5819f2adad looks 2201 like the culprit, but siliconmotion has built fine subsequent to that commit. 2202 Not sure exactly what's going on. 2203 2204commit c090b2d97dbedfc278a4691b70cf3f73f9799aa6 2205Author: <alex@samba.(none)> 2206Date: Thu Jul 20 23:35:30 2006 -0400 2207 2208 - add dualhead support for lynx chips (pretty limited due to severe hardware 2209 limitations -- I'll improve it a bit at some point) 2210 - small driver clean ups 2211 2212commit 845d45cd2066be53f6e2e53d5af6375045dac6e2 2213Author: Adam Jackson <ajax@nwnk.net> 2214Date: Sat Apr 8 01:43:52 2006 +0000 2215 2216 Bump to 1.4.1 for Xv changes. 2217 2218commit 2951e947c56909c9d51bf3f937502d0f682b1d76 2219Author: Aaron Plattner <aplattner@nvidia.com> 2220Date: Fri Apr 7 23:13:59 2006 +0000 2221 2222 Add a DrawablePtr argument to the XV functions to pave the way for 2223 redirected video. 2224 2225commit 9a316eaea700e3a356f922506bf2c79e00fd9d83 2226Author: Adam Jackson <ajax@nwnk.net> 2227Date: Fri Apr 7 20:58:57 2006 +0000 2228 2229 Unlibcwrap. Bump server version requirement. Bump to 1.4.0. 2230 2231commit c394f38c9a998eebec134a9a77ced46b9c005b9d 2232Author: Luc Verhaegen <libv@skynet.be> 2233Date: Wed Feb 8 16:52:34 2006 +0000 2234 2235 SiliconMotion: Clean up insane pScrn->clock usage. 2236 2237commit 2453cfe259dec826fceab3cff1b2c3803d3d8042 2238Author: Kevin E Martin <kem@kem.org> 2239Date: Wed Dec 21 02:30:02 2005 +0000 2240 2241 Update package version for X11R7 release. 2242 2243commit e398882fba13cd081916d2ff04ead4f9023c9bfb 2244Author: Adam Jackson <ajax@nwnk.net> 2245Date: Mon Dec 19 16:25:54 2005 +0000 2246 2247 Stub COPYING files 2248 2249commit 818baab410deef2b3a3b6653dd2134dea29e98de 2250Author: Kevin E Martin <kem@kem.org> 2251Date: Thu Dec 15 00:24:19 2005 +0000 2252 2253 Update package version number for final X11R7 release candidate. 2254 2255commit 6c95cd7b0ac0c113c25bf985365f3ccb1d30d7c9 2256Author: Kevin E Martin <kem@kem.org> 2257Date: Tue Dec 6 22:48:37 2005 +0000 2258 2259 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 2260 2261commit 10d5542f95e86463b96cc1fd31378473c2394bc0 2262Author: Kevin E Martin <kem@kem.org> 2263Date: Sat Dec 3 05:49:35 2005 +0000 2264 2265 Update package version number for X11R7 RC3 release. 2266 2267commit 8180ea0cb0df275831b900836d9387bb2a730de4 2268Author: Kevin E Martin <kem@kem.org> 2269Date: Fri Dec 2 02:16:10 2005 +0000 2270 2271 Remove extraneous AC_MSG_RESULT. 2272 2273commit 73e22f89e205a61c315ffaca63cc7f5ab1f2df5f 2274Author: Adam Jackson <ajax@nwnk.net> 2275Date: Tue Nov 29 23:30:03 2005 +0000 2276 2277 Only build dlloader modules by default. 2278 2279commit 8b156b75c37fb642d6c680cc9fb5361fb0a8ff74 2280Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 2281Date: Mon Nov 28 22:04:10 2005 +0000 2282 2283 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 2284 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 2285 2286commit 8ad5ff0aa74eabc5b4dca2e0422d36713415b1b1 2287Author: Eric Anholt <anholt@freebsd.org> 2288Date: Mon Nov 21 10:49:18 2005 +0000 2289 2290 Add .cvsignores for drivers. 2291 2292commit 0d4f340f197b14dacc5c33d82f0094ee1f9bb2a8 2293Author: Kevin E Martin <kem@kem.org> 2294Date: Wed Nov 9 21:15:20 2005 +0000 2295 2296 Update package version number for X11R7 RC2 release. 2297 2298commit 280644786854eea8e8dbe7873e6c79d18f8048f0 2299Author: Kevin E Martin <kem@kem.org> 2300Date: Tue Nov 1 15:08:54 2005 +0000 2301 2302 Update pkgcheck depedencies to work with separate build roots. 2303 2304commit bcc4f2555d4e4fa7ba2cf022165d3dd8ef331cd9 2305Author: Kevin E Martin <kem@kem.org> 2306Date: Wed Oct 19 02:48:04 2005 +0000 2307 2308 Update package version number for RC1 release. 2309 2310commit 2da8c99697874a012dccfc582561a0b89e111ecd 2311Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 2312Date: Tue Oct 18 00:01:54 2005 +0000 2313 2314 Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro 2315 substitutions to work better with BSD make 2316 2317commit 9f9d3fcd3dca04b7d960d8777e8f8ba612fa1510 2318Author: Adam Jackson <ajax@nwnk.net> 2319Date: Mon Oct 17 22:57:35 2005 +0000 2320 2321 More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead 2322 of indirectly 2323 2324commit 286bf9de5baebd75ca129e50af9dc5f66dbf4e4f 2325Author: Alan Coopersmith <Alan.Coopersmith@sun.com> 2326Date: Mon Oct 17 00:09:05 2005 +0000 2327 2328 Use sed & cpp to substitute variables in driver man pages 2329 2330commit 0db428f930db99d70897ca90b9ec0e130f4e6635 2331Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 2332Date: Tue Sep 27 22:04:08 2005 +0000 2333 2334 Add some more documentation files for siliconmotion driver 2335 2336commit bdc896858ed819dcb79bb7443bfa57d63c8e0fad 2337Author: Daniel Stone <daniel@fooishbar.org> 2338Date: Thu Aug 18 09:03:48 2005 +0000 2339 2340 Update autogen.sh to one that does objdir != srcdir. 2341 2342commit a3add2e05412767c49ca1c0a1069cd5805ea09e9 2343Author: Kevin E Martin <kem@kem.org> 2344Date: Fri Jul 29 21:22:44 2005 +0000 2345 2346 Various changes preparing packages for RC0: 2347 - Verify and update package version numbers as needed 2348 - Implement versioning scheme 2349 - Change bug address to point to bugzilla bug entry form 2350 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 2351 reenable it) 2352 - Fix makedepend to use pkgconfig and pass distcheck 2353 - Update build script to build macros first 2354 - Update modular Xorg version 2355 2356commit 5754df51d9b0f8bb8dac7b8c0072da929f1241f0 2357Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 2358Date: Tue Jul 26 22:12:58 2005 +0000 2359 2360 Build system for siliconmotion 2361 2362commit 4b98eb4b30d694139d5e597c445d65d637ab7472 2363Author: Adam Jackson <ajax@nwnk.net> 2364Date: Mon Jul 11 02:29:59 2005 +0000 2365 2366 Prep for modular builds by adding guarded #include "config.h" everywhere. 2367 2368commit 6389dd3dc1259865a4b5fcc6b6c7b3f4429593cf 2369Author: Daniel Stone <daniel@fooishbar.org> 2370Date: Fri Jul 1 22:43:12 2005 +0000 2371 2372 Change all misc.h and os.h references to <X11/foo.h>. 2373 2374commit 1dc135becf5898950e04c84cc4d87870840140c1 2375Author: Alex Deucher <agd5f@yahoo.com> 2376Date: Thu Jun 30 00:14:26 2005 +0000 2377 2378 - add 800x480 mode to smi driver (bug 3639) 2379 2380commit 0670b675c2133dd7c29f79bdf17d24d64181537d 2381Author: Adam Jackson <ajax@nwnk.net> 2382Date: Sat Jun 25 21:16:56 2005 +0000 2383 2384 Bug #3626: _X_EXPORT tags for video and input drivers. 2385 2386commit 39112b558fdccd2b0a15b8e41d6215e3b0e6e7bd 2387Author: Daniel Stone <daniel@fooishbar.org> 2388Date: Wed Apr 20 12:25:29 2005 +0000 2389 2390 Fix includes right throughout the Xserver tree: 2391 change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; 2392 change "foo.h", "extensions/foo.h" and "X11/foo.h" to 2393 <X11/extensions/foo.h> for extension headers, e.g. Xv.h; 2394 change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files. 2395 2396commit c34e24d83a0f84ad90b7cbaba78d54cc779f74d5 2397Author: Adam Jackson <ajax@nwnk.net> 2398Date: Fri Sep 17 03:04:54 2004 +0000 2399 2400 Bug #1192: Remove cfb support from drivers where its use is an option. 2401 Delete xf24_32bpp, as s3virge was the last user. Fix up some comments 2402 to refer to fb rather than cfb. 2403 2404commit 61457616aea5d5d7d98e869d3b24e989c2404d6b 2405Author: Adam Jackson <ajax@nwnk.net> 2406Date: Mon Aug 16 09:13:15 2004 +0000 2407 2408 Bug #1087: Make sure all the *Weak symbols are documented in the import 2409 list, so the loader knows not to complain about unresolved symbols when 2410 an optional module isn't loaded. This typically manifests as warnings 2411 about fbdevHW symbols when the user isn't using the framebuffer 2412 console. 2413 2414commit 74176c460a4f5206cbc7cd7b9f48d1b6cedae7cb 2415Author: Eric Anholt <anholt@freebsd.org> 2416Date: Sat Jul 31 01:21:51 2004 +0000 2417 2418 Rename some COMPOSITE macros and enums to avoid conflicting with the 2419 COMPOSITE extension's new macro. These appear to only be used 2420 internally. 2421 2422commit 0f239a7f12e1c0a0b7ede424b0f1eb0fe189e9d6 2423Author: Adam Jackson <ajax@nwnk.net> 2424Date: Sat Jul 31 01:21:19 2004 +0000 2425 2426 Change several LoaderSymbol calls introduced by the bug #400 patch to 2427 *Weak() resolver functions. 2428 2429commit 865ba2a4c1107bb82d22ed648f8a1d63c833d6fc 2430Author: Adam Jackson <ajax@nwnk.net> 2431Date: Fri Jul 30 20:30:54 2004 +0000 2432 2433 Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all 2434 framebuffer formats except cfb and the overlay modes should work, and 2435 r128 and radeon need to be loaded from the ati driver (both issues to 2436 be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga 2437 drivers. elfloader users shouldn't be affected. 2438 2439commit 9a58bc9adbc982680dd8df27caeb9a5819f2adad 2440Author: Eric Anholt <anholt@freebsd.org> 2441Date: Wed Jun 16 09:23:38 2004 +0000 2442 2443 DRI XFree86-4_3_99_12-merge import 2444 2445commit 1f957fb7e44762197b0fc5a3b7def25c7888929a 2446Author: Egbert Eich <eich@suse.de> 2447Date: Wed May 26 16:24:09 2004 +0000 2448 2449 Fixing setting of physical framebuffer base for several drivers. C&T 2450 driver: Fixed setting of minimal clocks for HiQV chipsets. Neomagic 2451 driver: improved support for lowres double scan modes. 2452 2453commit 445708ff1249e96628dd6b11e20f83e568fb4ad1 2454Author: Egbert Eich <eich@suse.de> 2455Date: Fri Apr 23 19:45:06 2004 +0000 2456 2457 Merging XORG-CURRENT into trunk 2458 2459commit 90141c8b6da8e6b57f2e4bae486a3d39c4069a8b 2460Author: Egbert Eich <eich@suse.de> 2461Date: Sun Mar 14 08:33:31 2004 +0000 2462 2463 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 2464 2465commit 1082b4e0760359234cb5f51b953bbffc65d594ec 2466Author: Egbert Eich <eich@suse.de> 2467Date: Wed Mar 3 12:12:24 2004 +0000 2468 2469 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 2470 2471commit b1c51d42211f715043a3252550ef2fde1a3065e5 2472Author: Egbert Eich <eich@suse.de> 2473Date: Thu Feb 26 13:35:54 2004 +0000 2474 2475 readding XFree86's cvs IDs 2476 2477commit 2ae35696e96079b192c2cac4e092f6deeb300325 2478Author: Egbert Eich <eich@suse.de> 2479Date: Thu Feb 26 09:23:23 2004 +0000 2480 2481 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 2482 2483commit ac5b2461e620df7026eefda6a389127e7d41f67d 2484Author: Kaleb Keithley <kaleb@freedesktop.org> 2485Date: Fri Dec 19 20:55:14 2003 +0000 2486 2487 XFree86 4.3.99.902 (RC 2) 2488 2489commit 14cd4af100e1deb1c7b63e9f19587e38ce1f08f2 2490Author: Kaleb Keithley <kaleb@freedesktop.org> 2491Date: Tue Nov 25 19:28:39 2003 +0000 2492 2493 XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 2494 2495commit 1684aa7a21a194b6e7dd518f3895c9b2dfce229a 2496Author: Kaleb Keithley <kaleb@freedesktop.org> 2497Date: Fri Nov 14 16:48:55 2003 +0000 2498 2499 XFree86 4.3.0.1 2500 2501commit 78af703cb019a60cc93843efcd4889ccb15abd13 2502Author: Kaleb Keithley <kaleb@freedesktop.org> 2503Date: Fri Nov 14 16:48:55 2003 +0000 2504 2505 Initial revision 2506