Commit Graph

143 Commits

Author SHA1 Message Date
Axel Dörfler a5ff23c727 Moved the vesa.h and vga.h headers to the private vesa driver header directory
for future use.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-08 15:14:32 +00:00
Axel Dörfler 93ee21046d Added very basic VESA driver. Will be improved in the future (right now
it doesn't really do anything, it just passes the initial frame buffer
on to the app_server).
While it seems to work on real hardware (if you set the video mode to
640x480x32, app_server restriction), under Bochs, the app_server crashes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-08 15:11:32 +00:00
Axel Dörfler e02e12de8a 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
2005-04-01 14:16:38 +00:00
Michael Lotz bccfa80b9b Changed radeons memory manager to use areas instead of malloc. Now the radeon.driver should work without hacking the kernel heap bigger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 21:09:05 +00:00
Rudolf Cornelissen bffb1c3e50 added a comment about 'parallel processing' of rect functions (due for next speed optimize 'step 2').
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 17:46:32 +00:00
Rudolf Cornelissen ba37dabf99 small cleanup, added one new registerdefine for NV40/NV45.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 09:56:57 +00:00
Rudolf Cornelissen 5417d7aedc modified a few register defines for NV44 type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:46:23 +00:00
Rudolf Cornelissen 7758e2a68f added NV44 device to the list. NV44 device recognition still has to be added to the driver BTW.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:35:55 +00:00
Rudolf Cornelissen b052127f2b added PCIe 'legacy PCI configuration space' config register defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:58:17 +00:00
Rudolf Cornelissen 54c34e6829 added NV20 arch defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 14:40:11 +00:00
Rudolf Cornelissen ba9ec361f2 removed two double defines for the same register, added new defines needed for NV20 and NV30 architecture DMA acceleration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:19:29 +00:00
Rudolf Cornelissen 9c47d9cb0a updated 'docs' with the new NVx_GDI_RECT cmd's findings :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 15:18:51 +00:00
Rudolf Cornelissen 940dbde600 using NV4_GDI_RECTANGLE_TEXT instead of the older NV3 version for DMA acc. Seems like the old one can't be used with DMA (or I am hitting my limited knowledge on nVidia's Hash-table again..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 11:16:39 +00:00
Rudolf Cornelissen a8c119773f added acc function defines for DMA, for fill_rect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 20:56:08 +00:00
Rudolf Cornelissen 61e1618dce completed DMA buffer state vars to be all there.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 19:24:37 +00:00
Rudolf Cornelissen 34a71f30fe updated a register's name to reflect what it does.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 11:09:53 +00:00
Rudolf Cornelissen 7b0775548b 2D acc milestone reached: NV11 DMA is now up and running!! Oh, there are still a few limitations: don't use overlay, don't use 800x600x8 bit mode, and don't work longer than it takes to get the DMA buffer totally filled up. (switching between workspaces with different settings resets the engine and the 'timer' starts anew...
General note: learn how nVidia's hardware hashtable implementation works!!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 22:28:31 +00:00
Rudolf Cornelissen d1a21786b1 added setting 'dma_acc' for nv.settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 18:25:40 +00:00
Rudolf Cornelissen a9d9522bc6 removed a define that's not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 17:14:19 +00:00
Rudolf Cornelissen fa6815fa24 added NV4/NV10 architecture register define needed for DMA stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:53:57 +00:00
Rudolf Cornelissen 8118b7593e added pattern cmd colorspace define (PIO/DMA)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 13:11:39 +00:00
Rudolf Cornelissen 6c001eb7a2 added more DMA defines (for FIFO channel assigment).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 12:18:44 +00:00
Rudolf Cornelissen 4bf2b3cccd added 2D_surface command defines (for DMA use at first).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 10:17:20 +00:00
Rudolf Cornelissen 98a4e5c787 removed a few DMA define errors which lets DMA now place the commands in actual acceleration engine registers (via the FIFO), instead of sending them into oblivian. Because the engine does not process them OK yet (no visible confirmation onscreen of any activity even) it will hang DMA fetching after about 100 fed blit-commands....
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 21:36:57 +00:00
Rudolf Cornelissen 49057561f5 added DMA cmd defines, added more DMA info to shared info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 14:28:41 +00:00
Rudolf Cornelissen 02f2dfb7cf added DMA cmd buffer info to shared_info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 09:57:01 +00:00
Rudolf Cornelissen b1e0087b8c added DMA paths to cmd structs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 21:13:48 +00:00
Rudolf Cornelissen 342f26df0e added register defines needed for engine DMA setup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:43:41 +00:00
Rudolf Cornelissen d37a3badbe updated a register name to be more correct.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 13:14:42 +00:00
Rudolf Cornelissen 4047880883 added secondary head cursor sync reg define. Still needs to be confirmed working (it exists at least)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:46:02 +00:00
Rudolf Cornelissen c442f9acd1 added cursor sync register define
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 20:34:24 +00:00
Rudolf Cornelissen 0bc112be60 more reg defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 21:48:11 +00:00
Rudolf Cornelissen 7d52f9d6a4 DMA related register defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 21:08:55 +00:00
Rudolf Cornelissen 75f591f5c0 more NV40 arch register defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 19:16:19 +00:00
Rudolf Cornelissen 110351f212 added NV40 arch specific register defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 16:22:10 +00:00
Rudolf Cornelissen 5f8c3a7f30 updated 'line' command remarks to now be correct I think. Sometimes sitting back helps to get a fix on things ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-24 22:46:55 +00:00
Rudolf Cornelissen a2308843f3 removed two remarks that where not correct I think.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 21:13:37 +00:00
Rudolf Cornelissen 0e0eb256d8 added more engine command defines.. 8-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 12:54:35 +00:00
Rudolf Cornelissen b88dbb0c84 added missing color and Z buffer setup cmd struct (nolonger existing in XFree86 > 4.2.0!)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-22 12:25:17 +00:00
Rudolf Cornelissen 5c2199fce0 added cmd struct for the textured_triange cmd. Check it out.. 8-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 18:37:24 +00:00
Rudolf Cornelissen 07e14ea9ad completed engine command struct defines so on-the-fly FIFO channel re-assignments can be done. Will be expanded more to include used 3D commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 15:34:56 +00:00
Rudolf Cornelissen 9daf2efe7d updated register and acc command defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 13:10:45 +00:00
Rudolf Cornelissen e549fa8984 updated shared_info and defines for FIFO channel stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 09:21:32 +00:00
Rudolf Cornelissen f0cb8f7257 filled out first cmd
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-18 14:07:41 +00:00
Rudolf Cornelissen bd877ea210 added file which will contain acc cmd struct defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-18 13:30:33 +00:00
Rudolf Cornelissen 74661a6096 added some defines and shared info needed in 3D add-on driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 21:18:45 +00:00
Rudolf Cornelissen 52ab726536 added more 3D specific engine registers needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 13:36:10 +00:00
Rudolf Cornelissen a282e63d4b added defines for set of unknown registers needed for 3D
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 12:05:39 +00:00
Rudolf Cornelissen 03b720e76e added move_overlay() related info to shared_info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 14:27:14 +00:00
Rudolf Cornelissen d7c3880880 added / updated PCI config space register defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:47:11 +00:00