History log of /haiku/src/add-ons/kernel/drivers/graphics/radeon/init.c
Revision Date Author Comments
# cc7e844c 28-Jun-2019 Murai Takashi <tmurai01@gmail.com>

drivers/graphics/radeon: Fix -Wformat=

Change-Id: I1bfb70b9fb492140621d4d936ae8c29985f78d64
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1544
Reviewed-by: Adrien Destugues <pulkomandy@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.)


# cbd78183 23-Sep-2018 François Revol <revol@free.fr>

radeon: make the framebuffer user-cloneable

This avoids an annoying panic...


# 21c87a5d 09-Sep-2018 Jérôme Duval <jerome.duval@gmail.com>

drivers: remove some non-haiku support code.

Change-Id: Ic55bb4832adabeb807f763c87ad938e74fb3a97d
Reviewed-on: https://review.haiku-os.org/520
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 64d79eff 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# 1ad73b31 23-Oct-2008 Rene Gollent <anevilyak@gmail.com>

Always call Radeon_InitCP ; it explicitly checks if acc_dma is set and skips
parts of the init sequence if that's not the case anyways. This correctly
initializes the engine lock and a few other things, fixing the deadlock in
ticket #2893. This also seems to result in somewhat improved graphics
performance, at least on my X800.



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


# f9a5b215 13-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

Committed patch by Euan Kirkhope to improve routing problems with Radeon cards;
this should fix bug #1293.
I've tested it here on two machines, one works better now, the other stayed the
same (Radeon 9250, and a laptop FireGL (id 4c66) version). This apparently also
fixed bug #1394.


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


# 76b5213f 05-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* Use AGP Bus manager module
* Fixed wrong framebuffer address computation; this should fix bug #1079.


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


# df647a5c 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* Laptop LCD Backlight rework + powermanagement


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


# b8fb3d17 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
Monitor Routing rework
* mostly to fix my issues with dual monitors VGA + DVI which didn't work! ;)


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


# 19cadc2f 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* Kernel settings configuration added


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


# a85694c3 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* option for PIO engine instead of DMA (for dodgy X700s)
* misc RAM config changes inline with x.org codebase


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


# 8841d8bc 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

First of a set of patches by Euan Kirkhope:
* Headers updated
* PLL errata workarounds
* Radeon asic type overhaul (consolidated)
* Device IDs Updated.
* support for X-series devices with legacy bios type
* minor tidy ups / compiler warnings (casts)


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


# 4a5ac4bd 14-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed build on R5 (it doesn't know B_KERNEL_READ_AREA or B_USER_CLONEABLE_AREA).


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


# 9095e05d 24-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

* Renamed memmgr.c|h to memory_manager.c|h.
* The functions now check the acquire_sem() result.
* mem_freetag() will return an status code now, too.
* Moved the mem_block and mem_info definitions into the source file; no
reason to have them public.
* You can now give the memory manager a name which it will use for its
heap area and lock.
* Minor cleanup.


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


# e02e12de 01-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Updated radeon driver to the latest BeBits release 5.1.0.1.
Probably only works under Haiku due to the new area flags.


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


# e72fa01c 25-Mar-2005 Michael Lotz <mmlr@mlotz.ch>

Update the (old) radeon driver to work with Haiku. We need to explicitly tell that the areas are B_USER_CLONEABLE_AREA's that they can be shared with the accelerant.

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


# 5f6e3f51 19-Jul-2004 shadow303 <shadow303@nowhere.fake>

Whoa, forgot to check in a bunch of radeon stuff


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


# 1da2dde8 14-Mar-2004 shadow303 <shadow303@nowhere.fake>

Convert Thomas's radeon driver to our build structure.
Added some card ids.
Still needs work to properly enable logging and extra settings.


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


# 64d79eff7290437d24b1a420537c3ed5c144ab96 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# 1ad73b3187616fa22da76e606a0644f5a80ffff4 23-Oct-2008 Rene Gollent <anevilyak@gmail.com>

Always call Radeon_InitCP ; it explicitly checks if acc_dma is set and skips
parts of the init sequence if that's not the case anyways. This correctly
initializes the engine lock and a few other things, fixing the deadlock in
ticket #2893. This also seems to result in somewhat improved graphics
performance, at least on my X800.



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


# f9a5b215cd501744b1ede0d783b66efad7e4642e 13-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

Committed patch by Euan Kirkhope to improve routing problems with Radeon cards;
this should fix bug #1293.
I've tested it here on two machines, one works better now, the other stayed the
same (Radeon 9250, and a laptop FireGL (id 4c66) version). This apparently also
fixed bug #1394.


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


# 76b5213f4767aa4448ed1b77f1be72be83b2a80a 05-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* Use AGP Bus manager module
* Fixed wrong framebuffer address computation; this should fix bug #1079.


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


# df647a5c3d398b511ec00081444473ca4a7f3d86 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* Laptop LCD Backlight rework + powermanagement


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


# b8fb3d1705d9290842af96439080560891a8f6ac 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
Monitor Routing rework
* mostly to fix my issues with dual monitors VGA + DVI which didn't work! ;)


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


# 19cadc2f7d3e86ff201b4c559255e2c173e302b5 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* Kernel settings configuration added


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


# a85694c375a6bb00f522270afc7c12e9b5542a57 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

Patch by Euan Kirkhope:
* option for PIO engine instead of DMA (for dodgy X700s)
* misc RAM config changes inline with x.org codebase


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


# 8841d8bcd10e4d7c965bf717de349b07c9df7d6f 01-Mar-2007 Axel Dörfler <axeld@pinc-software.de>

First of a set of patches by Euan Kirkhope:
* Headers updated
* PLL errata workarounds
* Radeon asic type overhaul (consolidated)
* Device IDs Updated.
* support for X-series devices with legacy bios type
* minor tidy ups / compiler warnings (casts)


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


# 4a5ac4bd55ca2e0ae3f64723ddb8d9d94a36391b 14-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Fixed build on R5 (it doesn't know B_KERNEL_READ_AREA or B_USER_CLONEABLE_AREA).


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


# 9095e05d8d4f3e65bfa940dd3d49bcd8eec57f39 24-Apr-2006 Axel Dörfler <axeld@pinc-software.de>

* Renamed memmgr.c|h to memory_manager.c|h.
* The functions now check the acquire_sem() result.
* mem_freetag() will return an status code now, too.
* Moved the mem_block and mem_info definitions into the source file; no
reason to have them public.
* You can now give the memory manager a name which it will use for its
heap area and lock.
* Minor cleanup.


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


# e02e12de8ae0968a8772190f7ebbfb4b35d26e00 01-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Updated radeon driver to the latest BeBits release 5.1.0.1.
Probably only works under Haiku due to the new area flags.


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


# e72fa01ce314ffabcbe1547f6392eeb65117611a 25-Mar-2005 Michael Lotz <mmlr@mlotz.ch>

Update the (old) radeon driver to work with Haiku. We need to explicitly tell that the areas are B_USER_CLONEABLE_AREA's that they can be shared with the accelerant.

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


# 5f6e3f515c38891bf243cc013f5faca7511708dc 19-Jul-2004 shadow303 <shadow303@nowhere.fake>

Whoa, forgot to check in a bunch of radeon stuff


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


# 1da2dde8c210e5d9a9aa4d1d79459a2e4dd7f4c7 14-Mar-2004 shadow303 <shadow303@nowhere.fake>

Convert Thomas's radeon driver to our build structure.
Added some card ids.
Still needs work to properly enable logging and extra settings.


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