PS3 GPU Driver: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
* Direct control of GPU FIFO from user-space. | * Direct control of GPU FIFO from user-space. | ||
* Support of hardware cursors. | * Support of hardware cursors. | ||
* Dynamic allocation of GART memory. | |||
* 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. |
Revision as of 15:20, 22 September 2012
Introduction
- FreeBSD character device which gives you direct access to PS3 GPU from user-space.
Features
- Upto 3 GPU contexts simultaneously.
- Direct control of GPU FIFO from user-space.
- Support of hardware cursors.
- Dynamic allocation of GART memory.
- 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.
- Support of display buffers.
Kernel Driver
Building
- You can cross-compile the kernel module or build it natively on PS3 FreeBSD.
- The kernel module and the kernel should match. 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).
cd /usr/devel env MAKEOBJDIRPREFIX=/usr/obj/PS3 make TARGET=powerpc TARGET_ARCH=powerpc64 buildenv cd /home/glevand/ps3gpu make ls -l ps3gpu.ko
Test
- ps3gpu_test is a user-space application for testing ps3gpu kernel driver.
cd ps3gpu_test make
X11 Driver
- X11 driver for ps3gpu.
- http://gitorious.ps3dev.net/ps3freebsd/xf86-video-ps3gpu