#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/console.h>
#include <linux/ioctl.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
#include <linux/uaccess.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <asm/cell-regs.h>
#include <asm/lv1call.h>
#include <asm/ps3av.h>
#include <asm/ps3fb.h>
#include <asm/ps3.h>
#include <asm/ps3gpu.h>
Go to the source code of this file.
#define DEVICE_NAME "ps3fb" |
#define FIRST_NATIVE_MODE_INDEX 10 |
#define GPU_CMD_BUF_SIZE (2 * 1024 * 1024) |
#define GPU_DRIVER_INFO_VERSION 0x211 |
#define GPU_FB_START (64 * 1024) |
#define GPU_INTR_STATUS_FLIP_0 3 /* flip head A */ |
#define GPU_INTR_STATUS_FLIP_1 4 /* flip head B */ |
#define GPU_INTR_STATUS_QUEUE_0 5 /* queue head A */ |
#define GPU_INTR_STATUS_QUEUE_1 6 /* queue head B */ |
#define GPU_INTR_STATUS_VSYNC_0 0 /* vsync on head A */ |
#define GPU_INTR_STATUS_VSYNC_1 1 /* vsync on head B */ |
#define GPU_IOIF (0x0d000000UL) |
#define GPU_MAX_LINE_LENGTH (65536 - 64) |
MODULE_AUTHOR |
( |
"Sony Computer Entertainment Inc." |
| ) |
|
MODULE_DESCRIPTION |
( |
"PS3 GPU Frame Buffer Driver" |
| ) |
|
module_exit |
( |
ps3fb_exit |
| ) |
|
module_init |
( |
ps3fb_init |
| ) |
|
module_param |
( |
ps3fb_mode |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |