History log of /haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/radeon_hd.cpp
Revision Date Author Comments
# 9ca7f96c 03-Aug-2022 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: refactor fb calculation; fix 64-bit bar fallback sizes; #17664

Change-Id: I510dba971ca5f1ed8d2b96094cc2e6b367e95dc3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5523
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 265899da 04-Aug-2022 Jérôme Duval <jerome.duval@gmail.com>

radeon_hd: from Cedar, memory sizes as bytes only for PALM/SUMO/SUMO2

should help with #17664
register change from Tahiti for #17377

Change-Id: I52b9691cd6a04b58b70e905bc29e803f06936789
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5526
Reviewed-by: John Scipione <jscipione@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 39dae8ee 14-Mar-2022 Jérôme Duval <jerome.duval@gmail.com>

radeon_hd: handle 64-bit PCI BARs


# 0a408dfc 10-Jan-2022 Jérôme Duval <jerome.duval@gmail.com>

radeon_hd: find out rom size if loading from PCI ROM BAR

* only the rom gets copied.
* tested by smallstepforman in #17377
* fix warnings.

Change-Id: Id4803d5c5a8bcab685f687c6af0292c945813ec6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4855
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 80753344 02-Jan-2022 Jérôme Duval <jerome.duval@gmail.com>

radeon_hd: fetch vbios from ACPI VFCT when available

check that the correct BIOS is found with the device and PCI ids.
make the allocated rom area bigger like Linux, otherwise page faults occur.

Change-Id: Iae6ff1c8dfd81ea16c20e73d511f9a0a96f9b071
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4844
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# 756884ad 25-Jul-2021 X512 <danger_mail@list.ru>

radeon_hd: 64 bit PCI bus fixes

Change-Id: If14dc31bf4c9360b5e1d0b477ba375cec8f75ba7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4306
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# bed01fe3 23-Mar-2020 Jérôme Duval <jerome.duval@gmail.com>

AreaKeeper.h: move to headers/private/kernel

Change-Id: I9ae2b9a6243809a618c0520a26e064ce3c5be2b4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2410
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 8a0c9d52 10-Aug-2019 Augustin Cavalier <waddlesplash@gmail.com>

OS: Rename B_USER_CLONEABLE_AREA to B_CLONEABLE_AREA.

It now lives in OS.h. The idea is that this will now be
accessible to userland applications, so userland memory
is protected from access by other processes, just as
kernel memory is.

No functional change (the constants are still the same,
though I've changed some to use shifts to make clear
which bits are allocated are which are unused.)


# 4c031f68 29-Jun-2019 Murai Takashi <tmurai01@gmail.com>

drivers/graphics/radeon_hd: Fix -Wformat=

Change-Id: I383a3685247c8b6b00062ac135cb1f9144ec8039
Reviewed-on: https://review.haiku-os.org/c/1546
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 779d9140 08-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

radeon_hd: The MMIO area should be user-cloneable.


# ca11520f 23-Jul-2018 Augustin Cavalier <waddlesplash@gmail.com>

radeon_hd: Fixes for SMAP.

Only partially "tested", but I've audited this code pretty thoroughly, and
it seems the accelerant uses clone_area instead of direct pointer accesses
in all the correct places, so this should work.


# 38f17b01 28-Sep-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: Polaris10 power distribution fix

* Helps prevent mainboard explosions and other bad stuff.
* ...maybe not explosions, but bad things.
* The RX 480 reference design can pull as much as 90W
from its PCIe slot at load. PCIe is rated for 75W.
* This change overloads the PCIe power cables vs the PCIe
slot. The PCIe power cables can handle going over spec.
* Untested since we really can't come close to loading a
RX 480 without hardware OpenGL ^_^
* Should be able to test on real hardware within a week.


# 72ec5a36 28-Aug-2014 Julian Harnath <julian.harnath@rwth-aachen.de>

Use correct PCI register base address for newer Radeon chips

* Radeon chips since Bonaire use a different PCI register base
address. Select the correct one depending on chipset generation
(values from Linux driver).

* Makes radeon_hd work for newer APUs/GPUs (tested with Kabini APU).


# 1329152b 19-Nov-2013 Ezo <ezo.dev@gmail.com>

Fixed possible bug resulting in not null-terminated string

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>


# 42eed3ba 16-Jul-2013 Alexander von Gluck IV <kallisti5@unixzen.com>

RadeonHD: Fix incorrect name -> chipset mapping

* Put names and chipsets next to each other to
help prevent further mismatch.
* Fix potential (but unlikely) string overflow
* CID 611140


# c162f52e 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme and radeon_hd: some 64 bit fixes


# 93aac98d 30-Jul-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: r5xx to Avivo define cleanup

* Reorganize and clean up card defines
* Fix define spaces
* Unify card naming
* No (real) functional change


# 0a2f1274 15-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: Update southern islands info

* Add 7770 and 7750 pciid's
* Remove Thames and reorganize code names for SI
(seems the codenames changed before release)
* Untested as always


# 40ea5529 29-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: Pointer style cleanup, no functional change


# 30207c6c 27-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Move thermal query into new driver sensor source file

* thermal query still works pre-atombios init


# f1a3316b 26-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Enhance Northern Islands support

* add HD 6480G PCI ID
* graphics memory is stored in bytes on IGP / APU evergreen+
* add an error and a fallback to PCI FB Bar size if we cannot
find full card memory size


# db686b37 13-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Add legacy disabled bios read and add missing static types
* on RS600 > chips we now call avivo disabled bios read vs
relying on shadow rom


# 3ebbf65c 13-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Correct chipset check on ni bios disabled read as our chip order is correct


# 0188ca92 12-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

First attempt at older Radeon card support
* add missing chipset ranges
* add a few more older (X1200) PCI ID's (mostly IGP)
* add code to detect and set frame buffer size on old chipsets
* we get to the connector detection currently and fail due to the
lack of legacy support on my X1200 IGP


# b56b8015 08-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* don't read shared_info for deviceID before it's populated


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43228 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 359b926f 08-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* style cleanup of shared storage names
* return better data on card
* display chipset flags in screen preflet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43226 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 76a3e009 08-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add lots of missing evergreen defines
* evergreen headers are split due to different
header copyrights
* detect and set up evergreen memory controler
* change the way we manage radeon chipsets to
more closely match drm driver as the chipset
model numbers aren't in order and change from
numbers to names.
* check for evergreen when populating frame buffer
information.
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43225 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 397fbc47 28-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* better identify BAR location defines
* fix bug where we were using an r600 bios pull method
on r700 cards. this should help prevent shadow rom fallback.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42933 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 025d4eed 27-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* reorganize register definitions
There were a large number if incorrect, duplicated, misplaced
registers that were leading to bugs in the code. This is my first
shot at cleaning them up. Luckly as we are using AtomBIOS the number
of registers we need to know about is shrinking.
* remove registers left over from register banging days
* r770 is less then r710, r720 in the drm sources. Fix in code.
* enable newer radeons for testing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42930 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46af8165 25-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* redesign pretty much everything frame buffer related
* don't resize the frame buffer after mapping it.. doesn't make sense
* add memory controller code and program the memory controller for r600
* remove unneeded frame_buffer_int
* don't malloc mc_info, waste of time
* fix scaler setting
* vramStart in mc should be 0... get vertical colored lines however when this
this is set properly (everything in mc_info is the MC view of FB BAR)
When vramStart is the FB physical address... i get proper video on some cards
... thoughts?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42924 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da9d54ea 25-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* be a little clearer in tracing on whats going on
when we fallback to shadow rom
* no functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42909 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62605d28 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* redesign code that locates AtomBIOS
allows for more flexible searching
* check out shadow VGA bios as very last resort
may cause issues but not a bad last resort
compared to an app_server crash
* better tracing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42906 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d5c8ef5d 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add chipset flags vs isIGP
* we can now utilize these chipset
flags throughout the driver to better id
cards and features
* remove leftover BIOS size define from intel skel
* no *real* functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42904 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6f2ec43d 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* memory_base isn't what I thought it was and is 0x0
* look at PCI bar 0 (Frame buffer base) for AtomBIOS
* potential solution to #8040 ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42903 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 98421bb8 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* simplify some trace statements
* add potential support for IGP chipsets
* igp code is *untested* and should work *in theory*
* potentially resolves #8040 / #8046 ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42901 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a4ba3a0f 21-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* pass dceMajor and dceMinor to accelerant
* will fix other var names to match style guidelines
shortly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42891 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


# 33683577 08-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* clean up tracing and exit gracefully to vesa if
we can't locate an AtomBIOS for the card.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42601 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c9c7be9a 07-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add initial set of Northern Island cards
* add igp property to pciid map
* add disabled bios pull for r700 and ni cards
* refactor model numbering as >R700 AMD switched
to named card families


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7949c8cb 04-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* move create_area for kernel AtomBIOS into radeon_hd_getbios
* only create_area if we found a valid AtomBIOS
* lock down write access to kernel AtomBIOS area after populating
* remove locking on kernel AtomBIOS area as it's not needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42573 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 94e15508 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* clean up style
* remove some un-needed log messages
* memset area from create_area just incase
* add enabled bios read in addition to disabled one


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42566 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f0b0d6cb 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* use create_area correctly
* AtomBIOS is now loaded and passed into the radeon_hd accelerant
* correct pointer passing in bios_init
* AtomBIOS is now read and initialized by AtomBIOS parser
* feel free to start testing the driver again :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42564 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f98c183 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* create area for AtomBIOS
* clone mapped AtomBIOS area into accelerant


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42560 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c3cfda77 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* don't trample PCI rom config
* better error checking
* the driver can now locate the AtomBIOS on real hw!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42558 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 77a64ff2 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* use new PCI.h rom flags
* clean up tracing
* remove infinite loop :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42556 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


# 8992f603 02-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* var typo fix in driver rom shared area creation


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42551 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39b96f9e 02-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Rename PCI rom shared area.. isn't AtomBios until we verify it is


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42546 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 22582a29 02-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Map AtomBIOS specified by PCI rom into virtual memory
* Point AtomBIOS to PCI rom mapped in memory
* Things no longer crash, but we get an Invalid BIOS Magic error
in the logs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42543 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


# 6ab8261b 30-Jul-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Pass device name into shared info
* Refactor MCFBsetup to be a little simpler for now
* Implement radeon accelerant_device_info for screen preflet
* Re-add CRT Power calls to display code.
* Disable blanking setting for now... just can't figure out
what AMD wants for this.
* Remove some un-needed locking in the scaling code
* Be sure to disable VGA when set_display_mode is called
* Refactor mode setting code to loop over all possible displays
and set the provided mode on the attached ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42515 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eb027537 29-Jul-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Little cleanup
* Add missing Idle call for connectors
* Reformulate blanking.. this should match what the
register is after the GTF vesa call
* Set FrameBuffer to card internal address


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42509 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7f38281 15-Jun-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

pass device pciid through to accelerant

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42203 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3be5e036 24-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* rename graphics_memory to frame_buffer. lets keep consistant
* pass mapped frame buffer area id to accelerant
* remove my temporary hacked together frame buffer memory mapping
* completely rely on PCI BAR for now for aperture size / location instead of
R6XX_CONFIG_FB_BASE reg.
* Remove my temporary AllocateFB function.
* set grphPrimarySurfaceAddr to physical memory frame buffer location (offset 0)
* fix P/N sync setting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51a43d0f 19-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

ensure framebuffer doesn't exceed PCI bar; add basic monitoring of frame buffer memory allocation; fix return of framebuffer to OS to be the correct area

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 90af9543 18-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* actually set device_chipset before reading it.
* make shared memory info naming clearer.
* move frame buffer internal offset read to driver
* remove check of > 512MB as we really should always use frame_buffer_size


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41569 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8de4421 17-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

fix reversed memory units

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41562 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56e6d991 17-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

make math easier to read; fix chipset int length; additions to CardScale

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41561 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c43ea63 16-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

read and store aperture size (will be used in fblocation calculations)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41543 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f6071060 16-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

be more consistent in bitwise unit conversions

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41534 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e49d783e 15-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

add proper memory size unit handling across all driver supported cards

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41526 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2be925fd 15-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* turns out r800 has different register locations :(
* remove device_type and replace with device_chipset
* change MEMSIZE to >> 10 as r600-r700 store this in bytes (r800 uses MB and will be fixed soon)
* add if statement to select what register locations to use based on chipset
** Maybe use a struct or something to store these in a standardized way?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1061760 11-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

doh! style fix; no functional change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41460 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e1d1a144 11-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

further enhance / cleanup tracing; detect Radeon HD graphics card memory size and store it in shared info

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41459 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2613175e 09-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add commented out radeon_hd driver/accel to HaikuImage
* add boot item support to radeon hd driver
* add edid storage to shared info
* add pull of active monitor VESA EDID to radeon hd driver (until AtomBios complete)
* EDID pulled in driver now passed to create_display_modes
* move registers to external stock xorg radeon hd register headers (lic. allows it)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41411 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 47ad511f 19-Mar-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

pre-work style cleanup; no functional change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41028 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e7e0c4a4 15-Feb-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: small style header style fixes as per axel-- networkSetup: prevented enable/disable button from hiding; disable configure button if interface is disabled; add configuration mode dropdown (auto(dhcp)/static); make address fields disable (with curent settings shown) if auto-config is selected; style cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40520 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ea23d8ec 14-Feb-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

no functional change/header cleanup; ensure new network preflet has correct Haiku, Inc identifier as per mmadia; correct questionable header within radeon_hd driver, gave credit to czeidler where it was due.. not perfect but better

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40496 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5e20ca56 07-Feb-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

ati really isn't that extreme; no functional change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40383 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da0e57ba 04-May-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Remove leftover from the intel driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36617 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 66f1ecda 21-Apr-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Start to cleanup radeon_hd driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36393 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8bb67907 16-Apr-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Set the write combine flag for the framebuffer area.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36330 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a90ebd77 13-Apr-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Work in progress of a Radeon HD 3200 driver to change the display mode (status when I leave the coding spring). At least it shows a picture but with a wrong scaling.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36243 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 72ec5a3630aa77a763c645e698c18259b8892953 28-Aug-2014 Julian Harnath <julian.harnath@rwth-aachen.de>

Use correct PCI register base address for newer Radeon chips

* Radeon chips since Bonaire use a different PCI register base
address. Select the correct one depending on chipset generation
(values from Linux driver).

* Makes radeon_hd work for newer APUs/GPUs (tested with Kabini APU).


# 1329152b520817e35d02c5d39cdc3a927c5c4227 19-Nov-2013 Ezo <ezo.dev@gmail.com>

Fixed possible bug resulting in not null-terminated string

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>


# 42eed3ba691cd89d758eddaae8d44593d026b9bd 16-Jul-2013 Alexander von Gluck IV <kallisti5@unixzen.com>

RadeonHD: Fix incorrect name -> chipset mapping

* Put names and chipsets next to each other to
help prevent further mismatch.
* Fix potential (but unlikely) string overflow
* CID 611140


# c162f52eaa83ca2cf01f61c4fb6353d76e10caa1 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme and radeon_hd: some 64 bit fixes


# 93aac98d0a9b8ce27f94eb449cfc742446a50274 30-Jul-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: r5xx to Avivo define cleanup

* Reorganize and clean up card defines
* Fix define spaces
* Unify card naming
* No (real) functional change


# 0a2f1274ffe0f521add07f41964c7f88f9890b15 15-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: Update southern islands info

* Add 7770 and 7750 pciid's
* Remove Thames and reorganize code names for SI
(seems the codenames changed before release)
* Untested as always


# 40ea55295d6e832e19970d2e4a59079b232ca2b2 29-Jan-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: Pointer style cleanup, no functional change


# 30207c6c8c18cafcc5451a7d5e4cb9c6b7c2c4e2 27-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Move thermal query into new driver sensor source file

* thermal query still works pre-atombios init


# f1a3316b9606a67fa38053682691fa971b9baa87 26-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Enhance Northern Islands support

* add HD 6480G PCI ID
* graphics memory is stored in bytes on IGP / APU evergreen+
* add an error and a fallback to PCI FB Bar size if we cannot
find full card memory size


# db686b374c806a20f266e5e5433ecc2d58bbf1da 13-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Add legacy disabled bios read and add missing static types
* on RS600 > chips we now call avivo disabled bios read vs
relying on shadow rom


# 3ebbf65cfc0385043f7f72018913d1d06c97af54 13-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

Correct chipset check on ni bios disabled read as our chip order is correct


# 0188ca92a5605c2d5b02752da7d2cbe89e107eeb 12-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

First attempt at older Radeon card support
* add missing chipset ranges
* add a few more older (X1200) PCI ID's (mostly IGP)
* add code to detect and set frame buffer size on old chipsets
* we get to the connector detection currently and fail due to the
lack of legacy support on my X1200 IGP


# b56b80150d464d2444e8355d36bbad55304e2fe2 08-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* don't read shared_info for deviceID before it's populated


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43228 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 359b926f79d7e7ac697d6aaf28f704b5d5f1283f 08-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* style cleanup of shared storage names
* return better data on card
* display chipset flags in screen preflet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43226 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 76a3e009ddb1b0c649bca1f84376ec2eb6c096c9 08-Nov-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add lots of missing evergreen defines
* evergreen headers are split due to different
header copyrights
* detect and set up evergreen memory controler
* change the way we manage radeon chipsets to
more closely match drm driver as the chipset
model numbers aren't in order and change from
numbers to names.
* check for evergreen when populating frame buffer
information.
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43225 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 397fbc47bb63cd3ef0835eadc21db8d2519d7111 28-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* better identify BAR location defines
* fix bug where we were using an r600 bios pull method
on r700 cards. this should help prevent shadow rom fallback.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42933 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 025d4eed52f31e0047268227cde722164e52e2d8 27-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* reorganize register definitions
There were a large number if incorrect, duplicated, misplaced
registers that were leading to bugs in the code. This is my first
shot at cleaning them up. Luckly as we are using AtomBIOS the number
of registers we need to know about is shrinking.
* remove registers left over from register banging days
* r770 is less then r710, r720 in the drm sources. Fix in code.
* enable newer radeons for testing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42930 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46af81655d98616bb2c30a2b76563a3d440ded16 25-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* redesign pretty much everything frame buffer related
* don't resize the frame buffer after mapping it.. doesn't make sense
* add memory controller code and program the memory controller for r600
* remove unneeded frame_buffer_int
* don't malloc mc_info, waste of time
* fix scaler setting
* vramStart in mc should be 0... get vertical colored lines however when this
this is set properly (everything in mc_info is the MC view of FB BAR)
When vramStart is the FB physical address... i get proper video on some cards
... thoughts?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42924 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da9d54ead06000536a0ccff42f8c74e9c8cb10e9 25-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* be a little clearer in tracing on whats going on
when we fallback to shadow rom
* no functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42909 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62605d2824c0b594931b51025a98f44ff4c59e58 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* redesign code that locates AtomBIOS
allows for more flexible searching
* check out shadow VGA bios as very last resort
may cause issues but not a bad last resort
compared to an app_server crash
* better tracing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42906 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d5c8ef5d6980887025cdf3d87faf1ae9bf2eb38d 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add chipset flags vs isIGP
* we can now utilize these chipset
flags throughout the driver to better id
cards and features
* remove leftover BIOS size define from intel skel
* no *real* functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42904 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6f2ec43df7c09a69f587f43e3cbc0fc20eac9f03 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* memory_base isn't what I thought it was and is 0x0
* look at PCI bar 0 (Frame buffer base) for AtomBIOS
* potential solution to #8040 ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42903 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 98421bb88721b382172c0ead3e511b254dd5de36 24-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* simplify some trace statements
* add potential support for IGP chipsets
* igp code is *untested* and should work *in theory*
* potentially resolves #8040 / #8046 ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42901 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a4ba3a0f61a920cb64dca0c49337586f45760a12 21-Oct-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* pass dceMajor and dceMinor to accelerant
* will fix other var names to match style guidelines
shortly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42891 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


# 336835776bbfdf3d63fa587f8b18a4b631eb0752 08-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* clean up tracing and exit gracefully to vesa if
we can't locate an AtomBIOS for the card.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42601 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c9c7be9a542ef73705afae1119f5ad0b1b219628 07-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add initial set of Northern Island cards
* add igp property to pciid map
* add disabled bios pull for r700 and ni cards
* refactor model numbering as >R700 AMD switched
to named card families


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7949c8cbe436b8c054d9b9e9d13dc58bb777253e 04-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* move create_area for kernel AtomBIOS into radeon_hd_getbios
* only create_area if we found a valid AtomBIOS
* lock down write access to kernel AtomBIOS area after populating
* remove locking on kernel AtomBIOS area as it's not needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42573 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 94e15508ec107c204e994b1ed9898cc597114acb 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* clean up style
* remove some un-needed log messages
* memset area from create_area just incase
* add enabled bios read in addition to disabled one


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42566 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f0b0d6cb37165d71817c17d35329adb266420ba2 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* use create_area correctly
* AtomBIOS is now loaded and passed into the radeon_hd accelerant
* correct pointer passing in bios_init
* AtomBIOS is now read and initialized by AtomBIOS parser
* feel free to start testing the driver again :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42564 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f98c1831c538d84e71cb38ec4e89d19e735d02d 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* create area for AtomBIOS
* clone mapped AtomBIOS area into accelerant


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42560 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c3cfda776dc7716056b393999bf104d6a10b6c84 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* don't trample PCI rom config
* better error checking
* the driver can now locate the AtomBIOS on real hw!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42558 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 77a64ff2c8b16e3762c37b97de5ad019d1035eb1 03-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* use new PCI.h rom flags
* clean up tracing
* remove infinite loop :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42556 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


# 8992f603edb092483e71bdfc74724d97d05b2d34 02-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* var typo fix in driver rom shared area creation


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42551 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39b96f9e92af9cba27e7431e9482c68410cb7037 02-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Rename PCI rom shared area.. isn't AtomBios until we verify it is


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42546 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 22582a297c7e74465243aad35a040ff3822cd9ce 02-Aug-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Map AtomBIOS specified by PCI rom into virtual memory
* Point AtomBIOS to PCI rom mapped in memory
* Things no longer crash, but we get an Invalid BIOS Magic error
in the logs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42543 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


# 6ab8261b98f59b9751c7178a4df66bf1ae0fa66e 30-Jul-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Pass device name into shared info
* Refactor MCFBsetup to be a little simpler for now
* Implement radeon accelerant_device_info for screen preflet
* Re-add CRT Power calls to display code.
* Disable blanking setting for now... just can't figure out
what AMD wants for this.
* Remove some un-needed locking in the scaling code
* Be sure to disable VGA when set_display_mode is called
* Refactor mode setting code to loop over all possible displays
and set the provided mode on the attached ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42515 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eb027537793a9f57d07dc87d86e482e51c8d4b2b 29-Jul-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* Little cleanup
* Add missing Idle call for connectors
* Reformulate blanking.. this should match what the
register is after the GTF vesa call
* Set FrameBuffer to card internal address


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42509 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7f3828178565188556e211cf56702f7ca810a89 15-Jun-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

pass device pciid through to accelerant

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42203 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3be5e0365263c13a71e61e3097f93c43bac375cf 24-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* rename graphics_memory to frame_buffer. lets keep consistant
* pass mapped frame buffer area id to accelerant
* remove my temporary hacked together frame buffer memory mapping
* completely rely on PCI BAR for now for aperture size / location instead of
R6XX_CONFIG_FB_BASE reg.
* Remove my temporary AllocateFB function.
* set grphPrimarySurfaceAddr to physical memory frame buffer location (offset 0)
* fix P/N sync setting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51a43d0ff44f711768d43462a253e4ff5806a608 19-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

ensure framebuffer doesn't exceed PCI bar; add basic monitoring of frame buffer memory allocation; fix return of framebuffer to OS to be the correct area

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 90af9543879078a6f9a6de1bbf997917b4fc7501 18-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* actually set device_chipset before reading it.
* make shared memory info naming clearer.
* move frame buffer internal offset read to driver
* remove check of > 512MB as we really should always use frame_buffer_size


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41569 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8de44210d5ae274638f72aaf2402a1f08e8a168 17-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

fix reversed memory units

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41562 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56e6d991bb7d55b7dcf3a8c90a7fa2e563064908 17-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

make math easier to read; fix chipset int length; additions to CardScale

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41561 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c43ea63367b1533c2c9a5b054558ebff385e57a 16-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

read and store aperture size (will be used in fblocation calculations)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41543 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f60710603b9a3f790a9cb947063b4e468c570524 16-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

be more consistent in bitwise unit conversions

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41534 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e49d783eb9233693ee289865a45ec3920c28a839 15-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

add proper memory size unit handling across all driver supported cards

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41526 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2be925fd04f6cb32b3c4775ffcf75acb4c03d00e 15-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* turns out r800 has different register locations :(
* remove device_type and replace with device_chipset
* change MEMSIZE to >> 10 as r600-r700 store this in bytes (r800 uses MB and will be fixed soon)
* add if statement to select what register locations to use based on chipset
** Maybe use a struct or something to store these in a standardized way?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1061760836886be66a96e18dc51c1357c657716 11-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

doh! style fix; no functional change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41460 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e1d1a14430b4f8a3884a036fb1386756065f84d4 11-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

further enhance / cleanup tracing; detect Radeon HD graphics card memory size and store it in shared info

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41459 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2613175e19f6fd2969bd35fce36ba89fc20f88d9 09-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* add commented out radeon_hd driver/accel to HaikuImage
* add boot item support to radeon hd driver
* add edid storage to shared info
* add pull of active monitor VESA EDID to radeon hd driver (until AtomBios complete)
* EDID pulled in driver now passed to create_display_modes
* move registers to external stock xorg radeon hd register headers (lic. allows it)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41411 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 47ad511f59522fc3a7025aaf2cfef073204d8312 19-Mar-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

pre-work style cleanup; no functional change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41028 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e7e0c4a4bf02e061f2fa20c778ad3f0de8a14326 15-Feb-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

radeon_hd: small style header style fixes as per axel-- networkSetup: prevented enable/disable button from hiding; disable configure button if interface is disabled; add configuration mode dropdown (auto(dhcp)/static); make address fields disable (with curent settings shown) if auto-config is selected; style cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40520 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ea23d8ecd6fb75a34d3f2a7fc01157a9e39b09bd 14-Feb-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

no functional change/header cleanup; ensure new network preflet has correct Haiku, Inc identifier as per mmadia; correct questionable header within radeon_hd driver, gave credit to czeidler where it was due.. not perfect but better

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40496 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5e20ca56529d11a69a7fb2a35a9d3b5a565c91d4 07-Feb-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

ati really isn't that extreme; no functional change

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40383 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da0e57ba624c257b67fad27e6de3bff6fe216cdd 04-May-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Remove leftover from the intel driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36617 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 66f1ecdae725e487a3180c3f465f79e353bc07e8 21-Apr-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Start to cleanup radeon_hd driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36393 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8bb679076df2971e1943b04f94c2d7d24efe1951 16-Apr-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Set the write combine flag for the framebuffer area.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36330 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a90ebd77eeae5eca9600d039dc1298898e38278a 13-Apr-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Work in progress of a Radeon HD 3200 driver to change the display mode (status when I leave the coding spring). At least it shows a picture but with a wrong scaling.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36243 a95241bf-73f2-0310-859d-f6bbb57e9c96