Editing PS3 GPU Driver
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Introduction= | =Introduction= | ||
Line 6: | Line 5: | ||
=Features= | =Features= | ||
* Upto 3 GPU contexts simultaneously | * Upto 3 GPU contexts simultaneously. | ||
* Direct control of GPU FIFO from user-space. | * Direct control of GPU FIFO from user-space. | ||
* Support of hardware cursors. | * Support of hardware cursors. | ||
* Mapping of GART memory into GPU address space is done by the driver. That means user-space applications do not have to worry about it. | * Mapping of GART memory into GPU address space is done by the driver. That means user-space applications do not have to worry about it. | ||
* Heap management for GART and VRAM memory. | * Heap management for GART and VRAM memory. | ||
* Support of display buffers. | * Support of display buffers. | ||
Line 18: | Line 15: | ||
* http://gitorious.ps3dev.net/ps3freebsd/ps3gpu | * http://gitorious.ps3dev.net/ps3freebsd/ps3gpu | ||
* http://gitorious.ps3dev.net/ps3freebsd/ps3gpu_test | |||
* http://gitorious.ps3dev.net/ | |||
==Building== | ==Building== | ||
* You can cross-compile the kernel module or build it natively on PS3 FreeBSD. | * You can cross-compile the kernel module or build it natively on PS3 FreeBSD. | ||
* The kernel module and the kernel should | * The kernel module and the kernel should mactch. That means the kernel module should be build against the same kernel source else the kernel module cannot be loaded (The same applies on Linux). | ||
<pre> | <pre> | ||
cd /usr/devel | cd /usr/devel | ||
env MAKEOBJDIRPREFIX=/usr/obj/PS3 | env MAKEOBJDIRPREFIX=/usr/obj/PS3 make TARGET=powerpc TARGET_ARCH=powerpc64 buildenv | ||
cd /home/glevand/ps3gpu | cd /home/glevand/ps3gpu | ||
make | make | ||
Line 43: | Line 33: | ||
* ps3gpu_test is a user-space application for testing ps3gpu kernel driver. | * ps3gpu_test is a user-space application for testing ps3gpu kernel driver. | ||
<pre> | <pre> | ||
cd ps3gpu_test | cd ps3gpu_test | ||
make | make | ||
</pre> | </pre> | ||
=X11 Driver= | =X11 Driver= | ||
* | * X11 driver for ps3gpu. | ||
* http://gitorious.ps3dev.net/ps3freebsd/xf86-video-ps3gpu | * http://gitorious.ps3dev.net/ps3freebsd/xf86-video-ps3gpu | ||
==Building== | ==Building== | ||
<pre> | <pre> | ||
</pre> | </pre> | ||
==Test== | ==Test== | ||