History log of /haiku/src/add-ons/kernel/drivers/graphics/via/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>


# 32276e77 05-Jan-2016 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

via driver: fixed kerneldriver crashing system because of failing area mapping


# 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


# 3adccb19 26-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* More or less completely rewrote the AGP bus manager.
* It now also serves as a generic GART manager and accepts bus modules as well
as custom modules of graphics drivers if they want to (could be used for the
Radeon PCI GART stuff, for example).
* Implemented GART support module for Intel i965 and G33 chipsets (the other
Intel chips will come later).
* Renamed agp bus manager to agp_gart to reflect its new functionality (even
though the AGP functionality is already outdated (due to PCIe), the GART
stuff remains current).
* Adapted existing users of the AGP bus manager to the API changes.
* Not very well tested yet...


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


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

put modules on error


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


# 12f6a76d 21-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed two ID's from VIA kerneldriver: those where no graphics adapters after all.

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


# 76da25ca 17-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added chip_rev fetching code, updated doc.

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


# 9ecb61a8 02-Aug-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

one more K8M800 recognition added, updated docs.

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


# 156dee6a 21-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated some naming stuff

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


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

disabled R4.5.0 cloning bug workaround. Zeta 1.0 kernel is incorrectly identified as being R4.5.0. We should probably just remove the workaround alltogether anyway..

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


# 02619f4d 15-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added recognition for those 5 extra variations of unichrome cards. Bumped version to 0.03 btw.

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


# f1971991 11-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

setup hardware cursor. bitmap not yet correct, colors neither.

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


# d3cb727f 10-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

naming update

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


# 8304bd42 10-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added via kernel driver, a copy of skeleton driver yet.

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


# 3adccb193554387468ad669ac36453e888b1732d 26-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* More or less completely rewrote the AGP bus manager.
* It now also serves as a generic GART manager and accepts bus modules as well
as custom modules of graphics drivers if they want to (could be used for the
Radeon PCI GART stuff, for example).
* Implemented GART support module for Intel i965 and G33 chipsets (the other
Intel chips will come later).
* Renamed agp bus manager to agp_gart to reflect its new functionality (even
though the AGP functionality is already outdated (due to PCIe), the GART
stuff remains current).
* Adapted existing users of the AGP bus manager to the API changes.
* Not very well tested yet...


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


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

put modules on error


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


# 12f6a76d9a7eb887bdd722978162474dfcecc2bd 21-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed two ID's from VIA kerneldriver: those where no graphics adapters after all.

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


# 76da25cab4c188b5660db99b175c8d2784d81717 17-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added chip_rev fetching code, updated doc.

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


# 9ecb61a8f68d48938a7027b9aece510514b08130 02-Aug-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

one more K8M800 recognition added, updated docs.

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


# 156dee6ac8403b6614a505655710929740bbec2e 21-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated some naming stuff

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


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

disabled R4.5.0 cloning bug workaround. Zeta 1.0 kernel is incorrectly identified as being R4.5.0. We should probably just remove the workaround alltogether anyway..

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


# 02619f4da6a9520b2d296f38f4503ef1bf3f72e0 15-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added recognition for those 5 extra variations of unichrome cards. Bumped version to 0.03 btw.

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


# f1971991da54939d5d9add142d4b9feccf285d3a 11-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

setup hardware cursor. bitmap not yet correct, colors neither.

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


# d3cb727f166585e61c0a1eac3761974010b4458e 10-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

naming update

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


# 8304bd4214d024a1646c1b838e3d9d0f299775ec 10-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added via kernel driver, a copy of skeleton driver yet.

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