#
d3e8b642 |
|
19-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* introduce mc control calls * malloc storage for mc state info * redo pll range struct * change to ATOM_ENCODER_MODE for connector info * redo pll calculations to match AtomBIOS requirements * some structure changes * no longer init already posted AtomBIOS as it causes an infinite loop of AtomBIOS calls git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42644 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8232073 |
|
10-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add card instance to accelerant shared info * when TRACE_ATOM is enabled in bios.c, we dump each accelerant instance of the AtomBIOS rom to disk in /boot/common/cache/tmp/ (next to usb hid descriptors in the same file name format) * these images can be parsed with the AtomDis application git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42622 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6da3f7d4 |
|
05-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* lots of changes * add missing header for some radeon registers * begin removing now un-needed direct register calls * move and refactor crtc functions * fix function naming to be clearer * create more AtomBIOS style calls * this will eat your cat at the moment, don't bother testing git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d77ff85e |
|
04-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add required atombios.h from drm driver from linux 3.0 with a few tweaks (we aren't taking ownership of this one.. yikes) * add first AtomBIOS call to test the waters git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42578 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5cf44dda |
|
03-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* move obtaining / copying the vga bios into the driver. * add missing r500 header * replace r600 headers with newer one from kernel git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42554 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d5cfc64 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* move bios functions into bios.cpp * implement various methods to pull AtomBIOS from card * add some missing registers to headers from linux drm driver git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42553 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
81cd6636 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* refactor accelerant debugging * clone VGA rom shared area in accelerant * enable access, and make a copy of the VGA bios * give malloc'ed VGA bios pointer to AtomBIOS parser * Still invalid BIOS magic * TODO : Move atomBIOS pointer and reorganize some stuff git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42550 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef2909a1 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Move bios_info into shared info * Pull pci_rom base address from pci subsystem * Point AtomBIOS parser to pci rom address to set up and malloc atom_context * This is untested! Don't run on an expensive card until I test it on a cheaper one! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42541 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
51360674 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Initial work on bios_init for setting up AtomBIOS parser * Refactor AtomBIOS parser to use non-linux-kernel calls (normally I would keep it as-is and do wrappers, but the AtomBIOS parser has been rewritten from scratch twice by its creator in the last 5 years.. so eh. * Refactor AtomBIOS parser to be more haiku-like stylewise git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42538 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cc9e8e94 |
|
01-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Add card_info struct used by AtomBIOS parser git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42535 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2df3def5 |
|
01-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Remove old legacy internal AtomBIOS parser * Import "new" AMD AtomBios Parser (aka AMD KGrids) * Add a new global storage struct for BIOS info (ex. location, size, etc) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42534 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71f51395 |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add header file ifndef guard git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
63f50c21 |
|
26-Mar-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
put AtomParser into header file, clean up var names to match style guidelines git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0ceb8395 |
|
26-Mar-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add first accelerant atombios wrapper sources, atombios is now accessible from accelerant; atombios calls PCI register read/write routines from the main accelerant that need implimented, thus bios.cpp is disabled atm... going to be tricky git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41112 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d3e8b64208159ab71ca24f58ec7e56f1aa4bb5e6 |
|
19-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* introduce mc control calls * malloc storage for mc state info * redo pll range struct * change to ATOM_ENCODER_MODE for connector info * redo pll calculations to match AtomBIOS requirements * some structure changes * no longer init already posted AtomBIOS as it causes an infinite loop of AtomBIOS calls git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42644 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8232073639c1688160fa76541136cd9f93b65de |
|
10-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add card instance to accelerant shared info * when TRACE_ATOM is enabled in bios.c, we dump each accelerant instance of the AtomBIOS rom to disk in /boot/common/cache/tmp/ (next to usb hid descriptors in the same file name format) * these images can be parsed with the AtomDis application git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42622 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6da3f7d4c1de302697f5d948057a68dd428277f6 |
|
05-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* lots of changes * add missing header for some radeon registers * begin removing now un-needed direct register calls * move and refactor crtc functions * fix function naming to be clearer * create more AtomBIOS style calls * this will eat your cat at the moment, don't bother testing git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d77ff85e1f6c41e9f46253dc63900dd8fef6f500 |
|
04-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add required atombios.h from drm driver from linux 3.0 with a few tweaks (we aren't taking ownership of this one.. yikes) * add first AtomBIOS call to test the waters git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42578 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5cf44dda39962b528f9791e7bfc2f98a9e882478 |
|
03-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* move obtaining / copying the vga bios into the driver. * add missing r500 header * replace r600 headers with newer one from kernel git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42554 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d5cfc649aeba62066af20336ca69566566500c3 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* move bios functions into bios.cpp * implement various methods to pull AtomBIOS from card * add some missing registers to headers from linux drm driver git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42553 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
81cd6636667750c27d5bad289fa2625926d7c953 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* refactor accelerant debugging * clone VGA rom shared area in accelerant * enable access, and make a copy of the VGA bios * give malloc'ed VGA bios pointer to AtomBIOS parser * Still invalid BIOS magic * TODO : Move atomBIOS pointer and reorganize some stuff git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42550 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef2909a10ff51b6d543e9208e84055ad1af1a8c5 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Move bios_info into shared info * Pull pci_rom base address from pci subsystem * Point AtomBIOS parser to pci rom address to set up and malloc atom_context * This is untested! Don't run on an expensive card until I test it on a cheaper one! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42541 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5136067474e5350ce28b33e809580dd8118166c1 |
|
02-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Initial work on bios_init for setting up AtomBIOS parser * Refactor AtomBIOS parser to use non-linux-kernel calls (normally I would keep it as-is and do wrappers, but the AtomBIOS parser has been rewritten from scratch twice by its creator in the last 5 years.. so eh. * Refactor AtomBIOS parser to be more haiku-like stylewise git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42538 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cc9e8e94d48193b0b59c0f9475e662d1330e0899 |
|
01-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Add card_info struct used by AtomBIOS parser git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42535 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2df3def596241bbf68767401c5ae11b11290536b |
|
01-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Remove old legacy internal AtomBIOS parser * Import "new" AMD AtomBios Parser (aka AMD KGrids) * Add a new global storage struct for BIOS info (ex. location, size, etc) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42534 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71f51395d675636de873a0bf3854286e995490c1 |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add header file ifndef guard git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
63f50c210bf8d106808239537adf5597d23dd92c |
|
26-Mar-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
put AtomParser into header file, clean up var names to match style guidelines git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0ceb83958d08555379a75c78de5f2740aeb3d1e5 |
|
26-Mar-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add first accelerant atombios wrapper sources, atombios is now accessible from accelerant; atombios calls PCI register read/write routines from the main accelerant that need implimented, thus bios.cpp is disabled atm... going to be tricky git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41112 a95241bf-73f2-0310-859d-f6bbb57e9c96
|