drm/linux/sis_drm.h

37 lines
833 B
C
Raw Normal View History

2000-11-30 10:32:23 -07:00
#ifndef _sis_drm_public_h_
#define _sis_drm_public_h_
2000-08-16 11:23:02 -06:00
2001-01-05 15:57:55 -07:00
typedef struct {
2000-08-16 11:23:02 -06:00
int context;
unsigned int offset;
unsigned int size;
2000-11-30 10:32:23 -07:00
unsigned int free;
2001-01-05 15:57:55 -07:00
} drm_sis_mem_t;
2000-08-16 11:23:02 -06:00
2001-01-05 15:57:55 -07:00
typedef struct {
2000-08-16 11:23:02 -06:00
unsigned int offset, size;
2001-01-05 15:57:55 -07:00
} drm_sis_agp_t;
2000-08-16 11:23:02 -06:00
2001-01-05 15:57:55 -07:00
typedef struct {
2000-08-16 11:23:02 -06:00
unsigned int left, right;
2001-01-05 15:57:55 -07:00
} drm_sis_flip_t;
2000-11-30 10:32:23 -07:00
2001-06-14 16:23:44 -06:00
#ifdef __KERNEL__
int sis_fb_alloc(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg);
int sis_fb_free(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg);
int sisp_agp_init(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg);
int sisp_agp_alloc(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg);
int sisp_agp_free(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg);
2000-08-16 11:23:02 -06:00
#endif
2001-06-14 16:23:44 -06:00
#endif