History log of /haiku/src/add-ons/kernel/drivers/graphics/neomagic/driver.c
Revision Date Author Comments
# 2587f6d1 05-May-2020 RudolfC <rudolf.cornelissen@gmail.com>

Allow gfx drivers framebuffercloning, for i.e. videonode BBufferGroup::AddBuffer.


# 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.)


# a3a41a5b 05-Sep-2018 Jérôme Duval <jerome.duval@gmail.com>

Make areas cloned by accelerants effectively cloneable.

Change-Id: I78046af6548e36571813ce516491c7fb64581967
Reviewed-on: https://review.haiku-os.org/513
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 323b6546 21-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Filtered flat import of Oliver's svn package management branch

Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
<directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.


# 3dfd9cb9 16-Jun-2011 Oliver Tappe <zooey@hirschkaefer.de>

Flat commit of all changes from package-management branch in svn


# 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


# ef317e11 19-Sep-2007 Jérôme Duval <korli@users.berlios.de>

style fix


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


# 2e16ba2a 21-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated skeleton, neomagic and VIA driver to export lower case kerneldriver names for the /dev/ hierarchy. It turns out R5 and dano convert upper case to lower case names, while Haiku just literally uses them... Now fixed inside these drivers by using lowercase instead of uppercase. 'Bug' reported by John Drinkwater.

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


# cdcb4677 21-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

code sync against nvidia/matrox drivers: added capability to run without INT assigned, proposemode fixes for dualhead/tvout related custom flags, GET_ACCELERANT_DEV_INFO returns much more detailed info, INIT_ and CLONE_ACCELERANT now enforce correct use. Bumped version to 0.12. Docs updated.

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


# af915161 16-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

shutoff all R4.5.0 cloning workarounds for the drivers I worked on.

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


# 2726e1e1 17-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed move_overlay() implementation. Updated docs.


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


# 92ee00b1 02-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated ROM dump to be 64Kb instead of 32Kb: now we have the full thing.


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


# 1e4d5a60 02-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed VGA BIOS ROM dump to file option, updated docs, updated default settings.


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


# 12611c54 02-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed overlay right-clipping: might fix NM2200+ distortions as well!


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


# 630b1126 02-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

2d and overlay restrictions update, 'comments doc' update


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


# e49a28cd 29-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed NM2200 and later cards overlay bug, fixed kernel driver not always putting away the PCI busmanager. Note that overlay may still not work OK, but we are now one step closer to finding the solution!


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


# 9f543847 10-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay tidbits


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


# 34d8c106 06-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed introduced regs cloning err on later cards


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


# 91d2dcb1 03-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small cleanup for registerarea clonefix


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


# 5e4d1116 05-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed naming fault (mn versus nm); fixed compiler warnings


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


# ce817d83 05-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed abort signalling on failing to install INT routine


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


# 4afe6a6b 31-Dec-2003 shatty <shatty@nowhere.fake>

add static to remove warnings


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


# 81d3e946 30-Nov-2003 shatty <shatty@nowhere.fake>

openBeOS_Neomagic_V0.05_src


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


# ee2288b7 30-Nov-2003 shatty <shatty@nowhere.fake>

openBeOS_Neomagic_V0.04_src


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


# 0252982a 30-Nov-2003 shatty <shatty@nowhere.fake>

openBeOS_Neomagic_V0.03_src


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


# 323b65468e5836bb27a5e373b14027d902349437 21-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Filtered flat import of Oliver's svn package management branch

Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
<directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.


# 3dfd9cb95ce45f59160d50975210bc55e3fc0709 16-Jun-2011 Oliver Tappe <zooey@hirschkaefer.de>

Flat commit of all changes from package-management branch in svn


# 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


# ef317e11d42261de8725c42db9f0ec3b2d0420f0 19-Sep-2007 Jérôme Duval <korli@users.berlios.de>

style fix


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


# 2e16ba2acc9f01dc2b47f3b63dc27ed98089916e 21-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated skeleton, neomagic and VIA driver to export lower case kerneldriver names for the /dev/ hierarchy. It turns out R5 and dano convert upper case to lower case names, while Haiku just literally uses them... Now fixed inside these drivers by using lowercase instead of uppercase. 'Bug' reported by John Drinkwater.

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


# cdcb46775ff2875bd9de97a5bae5810cb60b8d96 21-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

code sync against nvidia/matrox drivers: added capability to run without INT assigned, proposemode fixes for dualhead/tvout related custom flags, GET_ACCELERANT_DEV_INFO returns much more detailed info, INIT_ and CLONE_ACCELERANT now enforce correct use. Bumped version to 0.12. Docs updated.

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


# af9151617b57a6207aaa7634f43edf7271a7ea8f 16-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

shutoff all R4.5.0 cloning workarounds for the drivers I worked on.

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


# 2726e1e1112f237e1eeef6d84e79c2b96c4d270f 17-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed move_overlay() implementation. Updated docs.


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


# 92ee00b1dadd88dd4bb3056cb9a684064fbc9aef 02-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated ROM dump to be 64Kb instead of 32Kb: now we have the full thing.


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


# 1e4d5a6089a60f9569a16ecaf285b6b4a4e75259 02-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed VGA BIOS ROM dump to file option, updated docs, updated default settings.


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


# 12611c54ff3e5e0925531dfc80dc949ce503801f 02-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed overlay right-clipping: might fix NM2200+ distortions as well!


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


# 630b1126bbd8cd426887c09549d70700187eb396 02-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

2d and overlay restrictions update, 'comments doc' update


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


# e49a28cd50fe997c636eaacf2187af8c3daec50c 29-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed NM2200 and later cards overlay bug, fixed kernel driver not always putting away the PCI busmanager. Note that overlay may still not work OK, but we are now one step closer to finding the solution!


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


# 9f543847775a4917c309cc556fde60211da41703 10-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay tidbits


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


# 34d8c1065d0a2059094d2b3d0693e08ff3449d05 06-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed introduced regs cloning err on later cards


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


# 91d2dcb1cbe09b51e7ba693fecc8ebdea4fb0f64 03-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small cleanup for registerarea clonefix


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


# 5e4d1116bdacf8d9569e1e0ce4ddd5cd46c1d56f 05-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed naming fault (mn versus nm); fixed compiler warnings


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


# ce817d83ee725ff3237f564deb50dfbaa1233056 05-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed abort signalling on failing to install INT routine


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


# 4afe6a6bd3f662a38c4cb1bb88dbab3cb9d04e9c 31-Dec-2003 shatty <shatty@nowhere.fake>

add static to remove warnings


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


# 81d3e946975ff140b636b6e49235b80244640e76 30-Nov-2003 shatty <shatty@nowhere.fake>

openBeOS_Neomagic_V0.05_src


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


# ee2288b79d1cdb61f77a84d5d1e8487c07151554 30-Nov-2003 shatty <shatty@nowhere.fake>

openBeOS_Neomagic_V0.04_src


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


# 0252982ab0aa6d36edd80a098ac75c862734b9a5 30-Nov-2003 shatty <shatty@nowhere.fake>

openBeOS_Neomagic_V0.03_src


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