17,7 → 17,7 |
kobj_t header; |
|
u32 handle; |
void *uaddr; |
char *uaddr; |
|
u32 pitch; |
u32 gaddr; |
50,15 → 50,20 |
|
struct io_call_12 /* SRV_LOCK_SURFACE */ |
{ |
u32 handle; // ignored |
void *data; // ignored |
u32 handle; |
void *data; |
u32 pitch; |
}; |
|
u32 width; |
u32 height; |
u32 pitch; // ignored |
struct io_call_14 /* SRV_RESIZE_SURFACE */ |
{ |
u32 handle; |
void *data; |
u32 new_width; |
u32 new_height; |
u32 pitch; |
}; |
|
|
typedef struct |
{ |
uint32_t idx; |
93,6 → 98,7 |
int get_driver_caps(hwcaps_t *caps); |
int create_surface(struct drm_device *dev, struct io_call_10 *pbitmap); |
int lock_surface(struct io_call_12 *pbitmap); |
int resize_surface(struct io_call_14 *pbitmap); |
|
struct context *get_context(struct drm_device *dev); |
|