kerneldriver for nvidia gpgpu driver

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25875 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2008-06-09 14:54:32 +00:00
parent 0ddc7716d4
commit abeca8acc6
6 changed files with 1377 additions and 0 deletions
@@ -6,6 +6,7 @@ SubInclude HAIKU_TOP src add-ons kernel drivers graphics intel_extreme ;
SubInclude HAIKU_TOP src add-ons kernel drivers graphics matrox ;
SubInclude HAIKU_TOP src add-ons kernel drivers graphics neomagic ;
SubInclude HAIKU_TOP src add-ons kernel drivers graphics nvidia ;
SubInclude HAIKU_TOP src add-ons kernel drivers graphics nvidia_gpgpu ;
SubInclude HAIKU_TOP src add-ons kernel drivers graphics radeon ;
SubInclude HAIKU_TOP src add-ons kernel drivers graphics s3 ;
SubInclude HAIKU_TOP src add-ons kernel drivers graphics tdfx ;
@@ -0,0 +1,21 @@
SubDir HAIKU_TOP src add-ons kernel drivers graphics nvidia_gpgpu ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders graphics ;
UsePrivateHeaders [ FDirName graphics nvidia_gpgpu ] ;
KernelAddon nvidia_gpgpu :
driver.c
;
Package haiku-nvidia_gpgpu-cvs :
README.html UPDATE.html ;
Package haiku-nvidia_gpgpu-cvs :
nvidia_gpgpu :
boot home config add-ons kernel drivers bin ;
PackageDriverSymLink haiku-nvidia_gpgpu-cvs : graphics nvidia_gpgpu ;
Package haiku-nvidia_gpgpu-cvs :
nvidia_gpgpu.settings :
boot home config settings kernel drivers ;
@@ -0,0 +1,33 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="The DarkSite">
<title>Readme for Haiku Unified Nvidia GPGPU graphics driver</title>
</head>
<body>
<h2 align="center">Unified Nvidia GPGPU graphics driver for Haiku</h2></align><br><br>
<hr>
<h3><strong>NOTE PLEASE:</strong><br>
You use this software at your own risk! Although I don't expect it to damage your PC, videocard or Monitor, I cannot guarantee this!</h3>
<hr>
<h2>Supported cards (as far as is known):</h2>
<ul>
<li>None yet (will be G80+, I hope, also known as General Purpose GPU architecture cards);
</ul>
<br>
<hr>
<h2>Features:</h2>
<ul>
<li>None (yet?).
</ul>
<strong>Known limitations:</strong>
<ul>
<li>Everything.
</ul>
<br>
<hr>
<br>
<a href="mailto:[email protected]">Rudolf Cornelissen.</a>
<p>(Page last updated on June 9, 2008)</p>
</body>
</html>
@@ -0,0 +1,20 @@
<html>
<head>
<title>Changes</title>
</head>
<body>
<p><h2>Changes done for each driverversion:</h2></p>
<p><h1>head (SVN 0.00, Rudolf)</h1></p>
<ul>
<strong>Note please:</strong><br>
<ul>
<li>GF8xxx is recognized, but not supported. yet?
</ul>
</ul>
<p><h1>Still todo:</h1></p>
<ul>
<li>Hmm, everything.
</ul>
</p>
</body>
</html>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,73 @@
# Settings file for the nv driver and accelerant
#
# This file should be moved to the directory
# ~/config/settings/kernel/drivers/
#
# nv.driver parameters:
#accelerant "nvidia.accelerant" # if enabled selects accelerant filename to be used
#primary "10de_0110_010000" # if enabled selects device to be used as primary device ('hack')
dumprom false # dump bios rom to file (in home folder)
# nv.accelerant parameters:
usebios true # if true rely on bios to coldstart the card
#memory 2 # in MB, override builtin memory size detection
hardcursor true # if true use on-chip cursor capabilities
#logmask 0x00000000 # nothing logged, is default
#logmask 0x08000604 # log overlay use in full to file (in home folder)
#logmask 0xffffffff # log everything to file (in home folder)
switchhead false # switch head assignment (dualhead cards only)
force_pci false # block AGP mode use if true (AGP cards only)
dma_acc true # if true enable DMA cmd fetching for 2D acc (instead of using PIO)
#tv_output 0 # disabled or 0 = autodetect, 1 = Y/C (and CVBS if possible), 2 = CVBS
force_sync false # if true forces 3D rendering to be synchronized to the vertical retrace
force_ws false # if true forces widescreen type detection for all connected screens
# WARNING: tweak alert! modify stuff below on your own risk...
unhide_fw false # if true 'unhide' cards AGP fastwrite support on cards that hide it
pgm_panel true # if false don't program DVI and laptop panel pixelclocks (refreshrates)
vga_on_tv false # if true enables VGA output on the head outputting to TV
#gpu_clk 150 # in Mhz, (tries to) override default GPU clockspeed (be carefull!!!)
#ram_clk 150 # in Mhz, (tries to) override default cardRAM clockspeed (be carefull!!!)
#--------- that's all.
#logmask setup info:
#log level select:
#logmask 0x0000000x # lowest digit: bitmask to select logging level.
#log modules select:
#logmask 0xxxxxxxx0 # highest 7 digits: bitmask to select individual modules to log.
#log levels: (3D add-on adheres to this setup, 2D add-on still has to tuned)
#logmask 0x00000001 # log rendering
#logmask 0x00000002 # log state
#logmask 0x00000004 # log experimental
#logmask 0x00000008 # log errors
#log modules:
#logmask 0x00000100 # engine: agp
#logmask 0x00000200 # engine: bes
#logmask 0x00000400 # overlay
#logmask 0x00000800 # engine: support
#logmask 0x00001000 # engine: dac2
#logmask 0x00002000 # engine: info
#logmask 0x00004000 # engine: i2c
#logmask 0x00008000 # engine: general
#logmask 0x00010000 # engine: dac1
#logmask 0x00020000 # engine: crtc2
#logmask 0x00040000 # engine: crtc1
#logmask 0x00080000 # engine: acc (both PIO and DMA)
#logmask 0x00100000 # engine: brooktree tv
#logmask 0x00200000 # set displaymode
#logmask 0x00400000 # propose displaymode
#logmask 0x00800000 # init accelerant
#logmask 0x01000000 # get timing constraints
#logmask 0x02000000 # get mode info
#logmask 0x04000000 # get device info
#logmask 0x08000000 # get accelerant hook
#logmask 0x10000000 # engine management
#logmask 0x20000000 # cursor
#logmask 0x40000000 # 2D acceleration
#logmask 0x80000000 # 3D acceleration