Rev 3255 | Rev 3263 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3255 | Rev 3260 | ||
---|---|---|---|
Line 120... | Line 120... | ||
120 | #define SRV_RESIZE_SURFACE 14 |
120 | #define SRV_RESIZE_SURFACE 14 |
121 | #define SRV_BLIT_BITMAP 15 |
121 | #define SRV_BLIT_BITMAP 15 |
122 | #define SRV_BLIT_TEXTURE 16 |
122 | #define SRV_BLIT_TEXTURE 16 |
123 | #define SRV_BLIT_VIDEO 17 |
123 | #define SRV_BLIT_VIDEO 17 |
Line 124... | Line 124... | ||
124 | 124 | ||
125 | #define SRV_PCI_INFO 20 |
125 | #define SRV_GET_PCI_INFO 20 |
126 | #define SRV_GET_PARAM 21 |
126 | #define SRV_GET_PARAM 21 |
127 | #define SRV_I915_GEM_CREATE 22 |
127 | #define SRV_I915_GEM_CREATE 22 |
128 | #define SRV_DRM_GEM_CLOSE 23 |
128 | #define SRV_DRM_GEM_CLOSE 23 |
- | 129 | #define SRV_I915_GEM_PIN 24 |
|
- | 130 | #define SRV_I915_GEM_SET_CACHEING 25 |
|
- | 131 | #define SRV_I915_GEM_GET_APERTURE 26 |
|
- | 132 | #define SRV_I915_GEM_PWRITE 27 |
|
- | 133 | #define SRV_I915_GEM_BUSY 28 |
|
- | 134 | #define SRV_I915_GEM_SET_DOMAIN 29 |
|
Line 129... | Line 135... | ||
129 | #define SRV_I915_GEM_PIN 24 |
135 | |
130 | 136 | ||
131 | #define check_input(size) \ |
137 | #define check_input(size) \ |
Line 198... | Line 204... | ||
198 | // blit_tex( inp[0], inp[1], inp[2], |
204 | // blit_tex( inp[0], inp[1], inp[2], |
199 | // inp[3], inp[4], inp[5], inp[6]); |
205 | // inp[3], inp[4], inp[5], inp[6]); |
Line 200... | Line 206... | ||
200 | 206 | ||
Line 201... | Line 207... | ||
201 | break; |
207 | break; |
202 | 208 | ||
203 | case SRV_PCI_INFO: |
209 | case SRV_GET_PCI_INFO: |
204 | get_pci_info((struct pci_device *)inp); |
210 | get_pci_info((struct pci_device *)inp); |
Line 205... | Line 211... | ||
205 | retval = 0; |
211 | retval = 0; |
Line 218... | Line 224... | ||
218 | break; |
224 | break; |
Line 219... | Line 225... | ||
219 | 225 | ||
220 | case SRV_I915_GEM_PIN: |
226 | case SRV_I915_GEM_PIN: |
221 | retval = i915_gem_pin_ioctl(main_device, inp, file); |
227 | retval = i915_gem_pin_ioctl(main_device, inp, file); |
- | 228 | break; |
|
- | 229 | ||
- | 230 | case SRV_I915_GEM_SET_CACHEING: |
|
- | 231 | retval = i915_gem_set_caching_ioctl(main_device, inp, file); |
|
- | 232 | break; |
|
- | 233 | ||
- | 234 | case SRV_I915_GEM_GET_APERTURE: |
|
- | 235 | retval = i915_gem_get_aperture_ioctl(main_device, inp, file); |
|
- | 236 | break; |
|
- | 237 | ||
- | 238 | case SRV_I915_GEM_PWRITE: |
|
- | 239 | retval = i915_gem_pwrite_ioctl(main_device, inp, file); |
|
- | 240 | break; |
|
- | 241 | ||
- | 242 | case SRV_I915_GEM_BUSY: |
|
- | 243 | retval = i915_gem_busy_ioctl(main_device, inp, file); |
|
- | 244 | break; |
|
- | 245 | ||
- | 246 | case SRV_I915_GEM_SET_DOMAIN: |
|
- | 247 | retval = i915_gem_set_domain_ioctl(main_device, inp, file); |
|
- | 248 | break; |
|
222 | break; |
249 | |
Line 223... | Line 250... | ||
223 | }; |
250 | }; |
224 | 251 |