Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3120 | serge | 1 | |
2 | typedef struct tag_display display_t; |
||
3 | |||
4 | |||
5 | |||
6 | { |
||
7 | uint32_t magic; |
||
8 | void *destroy; |
||
9 | kobj_t *fd; |
||
10 | kobj_t *bk; |
||
11 | uint32_t pid; |
||
12 | }; |
||
13 | |||
14 | |||
15 | { |
||
16 | kobj_t header; |
||
17 | |||
18 | |||
19 | char *uaddr; |
||
20 | |||
21 | |||
22 | u32 gaddr; |
||
23 | |||
24 | |||
25 | u32 height; |
||
26 | u32 max_width; |
||
27 | u32 max_height; |
||
28 | u32 page_count; |
||
29 | u32 max_count; |
||
30 | |||
31 | |||
32 | struct radeon_bo *obj; |
||
33 | }bitmap_t; |
||
34 | |||
35 | |||
36 | |||
37 | { |
||
38 | u32 handle; // ignored |
||
39 | void *data; // ignored |
||
40 | |||
41 | |||
42 | u32 height; |
||
43 | u32 pitch; // ignored |
||
44 | |||
45 | |||
46 | u32 max_height; |
||
47 | u32 format; // reserved mbz |
||
48 | }; |
||
49 | |||
50 | |||
51 | { |
||
52 | u32 handle; |
||
53 | void *data; |
||
54 | u32 pitch; |
||
55 | }; |
||
56 | |||
57 | |||
58 | { |
||
59 | u32 handle; |
||
60 | void *data; |
||
61 | u32 new_width; |
||
62 | u32 new_height; |
||
63 | u32 pitch; |
||
64 | }; |
||
65 | |||
66 | |||
67 | { |
||
68 | uint32_t idx; |
||
69 | union |
||
70 | { |
||
71 | uint32_t opt[2]; |
||
72 | struct { |
||
73 | uint32_t max_tex_width; |
||
74 | uint32_t max_tex_height; |
||
75 | }cap1; |
||
76 | }; |
||
77 | }hwcaps_t; |
||
78 | |||
79 | |||
80 | #define HW_TEX_BLIT (1<<1) /* stretch blit */ |
||
81 | #define HW_VID_BLIT (1<<2) /* planar and packed video */ |
||
82 | /* 3 - 63 reserved */ |
||
83 | struct context |
||
84 | { |
||
85 | kobj_t header; |
||
86 | |||
87 | |||
88 | |||
89 | |||
90 | u32 cmd_offset; |
||
91 | |||
92 | |||
93 | u32 seqno; |
||
94 | int slot; |
||
95 | |||
96 | |||
97 | |||
98 | |||
99 | int create_surface(struct drm_device *dev, struct io_call_10 *pbitmap); |
||
100 | int lock_surface(struct io_call_12 *pbitmap); |
||
101 | int resize_surface(struct io_call_14 *pbitmap); |
||
102 | |||
103 | |||
104 | |||
105 | |||
106 |