xserver-xorg-video-avivo: Changes to 'upstream-experimental'
New branch 'upstream-experimental' available with the following commits:
commit 23730b5c0988627f0a0bb6f948a35dfb3ec1b47c
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Jun 13 23:57:25 2007 +0200
avivo: randr 1.2 support undergoing work (not compiled in yet)
commit 4ce363f2a81fecf78c22cc9fa412aa877728adf8
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Jun 13 21:35:08 2007 +0200
avivo: (cleanup) kill blank line.
commit 5333773aff456ef8e07d8f5fdc480f97cc051cef
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Jun 13 21:33:51 2007 +0200
avivo: move common avivo function in their own file (cleanup for randr 1.2)
commit 35015f19755266ee942ec2cbd6d13d7014badc19
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Jun 13 21:27:12 2007 +0200
avivo: Move state saving in their own file (cleanup for randr 1.2)
commit b9d183813ca811d9a9cbf303331f60227843116d
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Jun 13 21:18:38 2007 +0200
avivo: move cursor functions in their own file (cleanup for randr 1.2).
commit 1b48bb7378d0b86894faf1973558029b2cff5a3e
Author: Oliver McFadden <z3ro.geek@gmail.com>
Date: Wed Jun 13 04:37:41 2007 +0000
avivo: Added 71c2 PCI ID; for Sapphire X1600 Pro HDMI.
commit 36537c19a0f6fc74e79fdbf2a1bbc2185f6a0db3
Author: Oliver McFadden <z3ro.geek@gmail.com>
Date: Wed Jun 13 04:37:02 2007 +0000
avivotool: asm/page.h is deprecated.
commit d277c9f4c0e7fb325f85a17e07bb503314958d65
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Tue Jun 12 19:39:08 2007 +0200
avivo: Include stdint needed in avivo_i2c
commit 1e9fc429a8d81f1b040611bc9d5add9b53e94310
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Sun Jun 10 01:24:09 2007 +0200
avivo: Cleanup code a bit and use i2c bitbanging to select default output.
Do a ddc on each connector found in bios table and select
one with a monitor attached to it, if there is an lvds
output than it's the default one.
commit 255fad8d3e1d232404942e96bffbc16cff26add8
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 10 23:57:40 2007 +0200
avivo: Minor cleanup avoiding to print useless information.
commit 245dc3b76b5bc3b1213a62fa5b208d783aaccd58
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 10 23:57:02 2007 +0200
avivo: Fix gpu vram mapping.
Off course i did obviously setup memory mapping in
the wrong place, shame on me. Now this should work
smoothly.
commit 2a773916624aba3e8be07123a1f4d8450f731577
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 10 23:48:42 2007 +0200
avivo: Add gpu memory mapping setup.
You can setup where gpu sees vram, i basicly set it
to pci address (like a post from the bios should do).
This however doesn't seems to work yet properly after
newer fglrx run, even thought all involved regs are
know as i can fix the situation by setting register
myself.
commit 04b6bd487efa8baff3fe7242f6621dce8c29a42a
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed May 9 22:25:01 2007 +0200
avivo: Fix comment about pll i did give wrong computation instruction.
commit 299844522b118bc80f5efd2f23b6e4bcfe1d5e73
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 23:29:59 2007 +0200
avivo: Improve i2c handling.
We stop waiting after 3 NACK because this likely mean
that there is no one to speak with on this connector
or bus :).
Also added reset flags to i2c control register. So we
properly close and shutdown i2c bus.
commit a6a3eea833fa3c6b9b344df3b1ddda44e87f36bb
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 21:16:40 2007 +0200
avivo: Add some regs mostly mirror crtc1 regs for crtc2.
Small cleanup and add same regs for crtc2 as for crtc1.
commit 4840ddc3f6369f338b1cc85c9e8315cc04fb8f3c
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 20:46:32 2007 +0200
avivo: Avoid restoring crtc sync width register.
crtc sync width register shouldn't be zero when going
back to text mode otherwise we i don't get any things
on screen here with rv515.
commit 8f4d756a3bb3d70183ac1978e14ef4723963e630
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 20:45:13 2007 +0200
avivo: registers cleanup.
commit 1899f2556d99d6b81e1443f87318ad64b3ac85fc
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 19:35:04 2007 +0200
avivo: remove PLL mystery regs as they are useless for cold card init.
This 2 mysterys regs doesn't seems to be important on rv515
at least.
commit 01c4ce02936f4a81d450f80fe084af49d629f2db
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 19:21:52 2007 +0200
avivo: Forgot the divider cntl in previous commit.
commit e421892c764ad2737c7b27513351006d95a40539
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 17:53:19 2007 +0200
avivo: Add pll register which need to be initialized on rv515.
The two pll register need to be set on rv515 as they
aren't initialized by the bios. The PLL_CNTL reg is a
guess.
commit c37016f008d68cb21a849fc198e2a7cb6f7c6772
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 11:17:41 2007 +0200
avivo: Rework output/connector association.
So now we have a list of each available physical connector
reported by the bios (which might be innaccurate on some bios)
and with each connector a list of output that can feed this
connector.
commit 1e22c44a60931ea44c98cc4f97c973d2bd3f8565
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 11:15:17 2007 +0200
avivotool: Add i2c bit banging support using xf86 code.
commit 5517670c4bb093ec89dea7ec3ec2e63c1d461dcc
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Thu May 3 11:13:51 2007 +0200
avivo: Add new registers definitions and do some cleanup.
commit b9c30302a137e8a634aa6a2eb868865ac43e4c0a
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Mon Apr 30 18:09:33 2007 +0200
avivotool: Improve i2c handling.
I think i was a bit wrong on i2c start and acknowledge.
commit 2b4ba60608d771056caa36ed0aed3fc9eba6337c
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Apr 18 18:46:06 2007 +0200
avivo: Change output structure comment and remove dead code.
Change comment on output driver and output structure to
somethings more accurate :) and remove dead code.
commit 29476d9ed094317c03dd2fe12e656d9283eee677
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Apr 18 18:25:19 2007 +0200
avivo: Rework of output structure.
Initial rework of output structure, we can have several
output driver (DAC, TMDS, ...) for each physical output
(VGA, DVI, ...).
commit 6d9d9bb7786483d1f14e39036c81bdcc621f2fb4
Author: Jerome Glisse <glisse@freedesktop.org>
Date: Wed Apr 18 16:00:14 2007 +0200
avivo: Rename OUTPUT to CONNECTOR, move crtc & output initialization
When using i2c you have to select over which connector you want
to communicate, rename reg to mirror that.
Move crtc & output initialization out of avivo_get_info, prior work
before redoing the crtc,output,connector code.
commit ad99626b2056de1e99490dc9cb2ce919befb4e78
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Apr 17 02:16:06 2007 +0300
Xorg: Add less bad mode validation
Pull in modes from DDC, and validate them using xf86ValidateModes. Obviously
not ideal, but it's a start, and means we don't need any hardcoded mode
lists.
commit 379b2738fb58dd8250633387cbc7c0745a5364f4
Author: Jerome Glisse <j.glisse@gmail.com>
Date: Tue Apr 17 01:49:40 2007 +0300
New PLL calculation formula
Use a new formula to calculate the values of our PLL registers, and give
them more sensible names.
commit 2004f60d5e5a8341a69514648c1ca25c8f92f94e
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Apr 17 01:21:55 2007 +0300
Xorg: Revert accidental hunk
The offset wasn't supposed to be there (artefact of how new fglrx sets up
the memory map).
commit 33981c0f3518665afcb000380810b1217ee9ac8c
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Apr 17 01:19:27 2007 +0300
Xorg: Generalise CRTC registers, cleanup
Set all CRTC registers on all chipsets, not just RV515.
Coding style cleanup.
commit 1c5477a53e7bec0b7f26fc93e64e5cde7e6e15de
Author: Jerome Glisse <j.glisse@gmail.com>
Date: Tue Apr 17 01:05:35 2007 +0300
Add support for RV515
Add proper support for the RV515, with some more mysterious CRTC registers.
Make authors relatively harmonious.
commit a9c7c8e5269fc9211dadbe9d69222a2676a60740
Author: Jerome Glisse <j.glisse@gmail.com>
Date: Tue Apr 17 01:02:11 2007 +0300
Delete generated file
commit cc846ff0734492c563cfeb3454386a6ec22d35b5
Author: Jerome Glisse <j.glisse@gmail.com>
Date: Tue Apr 17 00:55:58 2007 +0300
I2C: Fix implementation (working DDC over I2C)
Numerous fixes and changes to the I2C implementation so that it actually
works correctly. The reading and writing is still a little bit sketchy,
as we can't push more than 12 bytes at a time, and might need to flag
an ACK or so. Also, abort situations might need a better exit.
commit 873470e5555a2cdb9fd45ae1622ff7385f14e45e
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Apr 12 21:05:12 2007 +0300
Xorg: Initial (broken) I2C implementation
At the moment, it doesn't actually work. Looks like a great deal more work
needs to be done in between read/write (or just after either), rather than
before the initial operation, judging by the BIOS dumps.
commit 41b661573ccd00f3dd4f476435a6916d4447359d
Author: Daniel Stone <daniel@fooishbar.org>
Date: Fri Mar 23 17:54:59 2007 +0200
Xorg: Protect against lockups
Don't loop forever waiting for vblank.
commit 1fc3e5ccbd8ca719e55830d83372127271bf69ab
Author: Daniel Stone <daniel@fooishbar.org>
Date: Fri Mar 23 01:14:52 2007 +0200
Registers: Clarify comment
To write something, you've got to write the slave address to _DATA.
commit d3a55007dfdc2b07e8903b9424c7617d9e4fbf4f
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Mar 22 23:52:05 2007 +0200
Registers: Add I2C
I haven't got a working I2C implementation yet, but this will at least
document the registers a bit, so people can see what's going on.
commit 54adc7ffc5ea59d731c621ef4bb0518946eec596
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Mar 22 23:48:07 2007 +0200
Xorg: Minor location 'fixes'
For some reason, with the new fglrx, I have to change my base address
from 0xb0000000 to 0xc0000000. Who knows why. Sigh.
Make the probing for our various areas a little more robust while I'm
at it.
commit 327b8b8762ee32fda43062f8d5d7917b273e67f3
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sat Mar 10 13:20:44 2007 +0200
Add .gitignore
commit a90a303b9bd2e81f5bfd2439cef5c9e92a8f1cbf
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sat Mar 10 13:11:57 2007 +0200
Update STATUS
commit a43ab986217df238085898ab596eccf432a987e1
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sat Mar 10 03:32:45 2007 +0200
More magical mystery registers
Now we get a picture on the screen on a fresh boot, even if the clock is
hopelessly garbled.
commit c480ac2c8ac4657363b3d69bcb9f7cc75953234f
Author: Daniel Stone <daniel@fooishbar.org>
Date: Fri Mar 9 19:18:26 2007 +0200
Add PLL post-divider registers
Add post-divider registers. Thanks to Adam Jackson for a PLL tutorial.
commit 626af6f98cf3741062bff400f7b44e1360949e15
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Mar 6 23:55:58 2007 +0200
Add PLL divider
0x43c is definitely a PLL divider, with a constant value. Still not
entirely sure as to what 0x404 and 0x430 are ...
commit 1a268a08818223ed3758f22a1160a8a538a02e61
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Mar 6 23:55:29 2007 +0200
avivotool: Fix paths in check-reglist.sh
commit 47b3c15bcf240bd6e7f31505ad362987a261aeb6
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Mar 6 23:18:34 2007 +0200
Add CRTC1 offset, implement AdjustFrame
commit fcee8dbabf3c1e3b903f3c030a87210d840cda27
Author: Matthew Garrett <mjg59@srcf.ucam.org>
Date: Tue Mar 6 03:31:33 2007 +0200
xorg: Fix typo in avivo_crtc_enable
commit 24e7dbc49f14bc894916ae1c0b2c953b1f2ded38
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Mar 6 03:15:45 2007 +0200
xorg: Fix mode restoring on exit
It turns out we have to wrap CloseScreen to be able to restore text mode.
Why?
No, seriously, why?
commit 1fa0e0b3cc75a9a71b83102d3a348fab7f5ce0cb
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Mar 6 02:49:21 2007 +0200
Update STATUS for text mode
VT switching works. Exit is still broken for some reason.
commit 67e71055074db378af86afdbe0a4458038195592
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Mar 6 00:04:13 2007 +0200
cosmetic: Clarify comments, update STATUS re: LVDS
LVDS works on the MBP now.
commit 6e85f066535c1661fdcec9e36d3203d55d5f2cc0
Author: Matthew Garrett <mjg59@srcf.ucam.org>
Date: Mon Mar 5 23:59:28 2007 +0200
xorg: Preserve another TMDS2 mystery bit
1 << 29 breaks LVDS but is necessary for TMDS; only carry it over if it was
already set.
commit 25c1ce9d0f41e9fcc8e423e4c59f2a11ea3549a2
Author: Daniel Stone <daniel@fooishbar.org>
Date: Mon Mar 5 23:29:35 2007 +0200
xorg: Add RV530, add support for multiple chipsets
Add the RV530 from the MacBook Pro, and detect which chipset we're running
in PreInit.
commit 66419cbadebea4607bd90c141efa0d0228d89730
Author: Matthew Garrett <mjg59@srcf.ucam.org>
Date: Mon Mar 5 23:16:19 2007 +0200
Tweak magical mystery TMDS2 registers
Updates from Matthew Garrett that _almost_ get LVDS on MacBook Pros
going. Setting (1 << 24) in TMDS2_CLOCK_CNTL breaks my actual TMDS,
though.
commit a3f9afe919d83a771a80eefe2989b1f59d8f5ba4
Author: Daniel Stone <daniel@fooishbar.org>
Date: Mon Mar 5 22:26:49 2007 +0200
avivotool: fix path in script
commit fd9dbd6f91e83a2c695472d5926e966232da4993
Author: Matthew Garrett <mjg59@srcf.ucam.org>
Date: Sun Mar 4 20:26:51 2007 +0200
xorg: Add text mode save/restore support
Add support for saving and restoring text mode.
commit fb17e4cfc4cd42abac8e558649f0a2bfac17e13a
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sun Mar 4 20:16:45 2007 +0200
initial import
Initial import of the Avivo driver; see STATUS for more information.
Reply to: