History log of /haiku/src/add-ons/accelerants/nvidia/engine/nv_agp.c
Revision Date Author Comments
# dc234e79 18-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

NVidia: 64bit fixes.


# 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


# c02dfedf 15-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed driver assuming enabling AGP succeeded if it did not block it itself. This was a problem if AGP was disabled totally via the busmanager settings file. Driver now only notes down AGP is running if the busmanager 'reported' this succeeded. This fixes the long standing trouble (ever since DMA is in the driver, so since version 0.53) that user kraton was having. He stumbled on this problem since on his system 'default' AGP mode seems to result in trouble, so he tried blocking it via agp.settings..

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


# d7dcafe7 11-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated AGP setup to first make sure the card is running in PCI mode, if a coldstart attempt is done. Some cards outthere reset their PLL AGP during coldstart script execution, which makes the acc engine DMA transfers fail until the next reboot if AGP mode was running at that moment. This fixes coldstart trouble on the GeForce4MX4000 over here if AGP mode is used. Still testing (not yet 100% OK yet..)

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


# 0188d866 26-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added shared_info flag to assess PCI or AGP mode. Engine (if in DMA mode) selects PCI or AGP transfers accordingly (pre-NV40 only for now). It seems the combination of the 1Mb cmd buffer size and it being in main mem makes it all fast. (1Mb in gfx card remains at same speed at 32kb.). Maybe we can even use AGP engine transfers for placing textures on the gfx card in the future: who knows.

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


# e703f31b 23-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

agp logging update; new cards update for Xtal det, dualhead det.


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


# 91c56b1c 15-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed force_pci switch: could hang system before if AGP was pre-enabled


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


# 24223277 14-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

card match detection for AGP updated


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


# 88591d42 13-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

'doc' update


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


# 5785a941 13-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small agp update


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


# 5c742e14 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

agp now fully works with the agp busmanager module: still some finetuning needed though..


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


# 927754fb 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more AGP updates (not yet ready)


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


# 83eaad52 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

agp devices dump up again


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


# 0f1ebd5a 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

accessing AGP busmanager works now :-)


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


# 663294cc 11-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

setting up AGP module use (not finished)


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


# f2ee363c 10-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

temporary shutdown AGP stuff, will be rewritten shortly...


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


# 9dc11f9b 07-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

oops. fixed unhide_fw option..


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


# 58fa391e 06-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed unhide_fw and pgm_panel option stuff


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


# 6ca49bc0 04-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updates needed to detect early AGP1.0 no-feature devices, and abort on PCI nVidia cards


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


# 7ae8e6dc 26-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel update for 'right-shifted' picture on some cards


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


# b9fda5e2 22-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

module update


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


# dc234e798d854e75a197ee9fc85c6a1eede67fef 18-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

NVidia: 64bit fixes.


# 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


# c02dfedfc19ece0e8e6909ea4f3a8ee901494bdd 15-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed driver assuming enabling AGP succeeded if it did not block it itself. This was a problem if AGP was disabled totally via the busmanager settings file. Driver now only notes down AGP is running if the busmanager 'reported' this succeeded. This fixes the long standing trouble (ever since DMA is in the driver, so since version 0.53) that user kraton was having. He stumbled on this problem since on his system 'default' AGP mode seems to result in trouble, so he tried blocking it via agp.settings..

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


# d7dcafe79a4aaef028e1391cdb840fe16bded3fe 11-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated AGP setup to first make sure the card is running in PCI mode, if a coldstart attempt is done. Some cards outthere reset their PLL AGP during coldstart script execution, which makes the acc engine DMA transfers fail until the next reboot if AGP mode was running at that moment. This fixes coldstart trouble on the GeForce4MX4000 over here if AGP mode is used. Still testing (not yet 100% OK yet..)

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


# 0188d8661ea5671a81f2d601167214df117277d2 26-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added shared_info flag to assess PCI or AGP mode. Engine (if in DMA mode) selects PCI or AGP transfers accordingly (pre-NV40 only for now). It seems the combination of the 1Mb cmd buffer size and it being in main mem makes it all fast. (1Mb in gfx card remains at same speed at 32kb.). Maybe we can even use AGP engine transfers for placing textures on the gfx card in the future: who knows.

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


# e703f31b4f058d3ab746f2859a2165d4f6637fe7 23-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

agp logging update; new cards update for Xtal det, dualhead det.


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


# 91c56b1c29c3bcefd4bc980f7e72dc60c947c60b 15-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed force_pci switch: could hang system before if AGP was pre-enabled


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


# 24223277db8ec2f6ffe6b707f0d76459d61ceb5f 14-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

card match detection for AGP updated


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


# 88591d42993bdfc95f05cb49486d2bb59fd229bc 13-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

'doc' update


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


# 5785a94163bfa31786a2059d7f03f216a7c232ae 13-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small agp update


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


# 5c742e14223a330a69e1da4dc5b7fc1e2e66198f 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

agp now fully works with the agp busmanager module: still some finetuning needed though..


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


# 927754fb6a8625f9bad949e7967619e0c96ac8cf 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more AGP updates (not yet ready)


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


# 83eaad52e26f46ac781c1b9296feb81fea1bbf82 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

agp devices dump up again


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


# 0f1ebd5a1578d97678ea5c004fba197c9f1e625d 12-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

accessing AGP busmanager works now :-)


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


# 663294ccbbc956fa3e7f8f1b7d027083ca8329b0 11-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

setting up AGP module use (not finished)


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


# f2ee363c63c7adcb155fab8eadfca7c0dadcfcd9 10-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

temporary shutdown AGP stuff, will be rewritten shortly...


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


# 9dc11f9bc72392467469fa8ee653df7b26296e63 07-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

oops. fixed unhide_fw option..


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


# 58fa391ee438a2b62d2aac543545b9ed21dd70d0 06-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed unhide_fw and pgm_panel option stuff


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


# 6ca49bc0c1eded95762e8a3bd33dd2998f94670f 04-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updates needed to detect early AGP1.0 no-feature devices, and abort on PCI nVidia cards


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


# 7ae8e6dcc6864a6ad250a41fc31cb30edb6381af 26-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel update for 'right-shifted' picture on some cards


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


# b9fda5e234d7bd2b3c801d5834765ad4fafcb07e 22-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

module update


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