Rev 5068 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5068 | Rev 6110 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | 36 | ||
37 | #include |
37 | #include |
38 | #include |
38 | #include |
Line -... | Line 39... | ||
- | 39 | #include |
|
- | 40 | ||
- | 41 | #if defined(__cplusplus) |
|
- | 42 | extern "C" { |
|
39 | #include |
43 | #endif |
Line 40... | Line 44... | ||
40 | 44 | ||
41 | struct drm_clip_rect; |
45 | struct drm_clip_rect; |
42 | 46 | ||
Line 111... | Line 115... | ||
111 | unsigned long size, unsigned int alignment); |
115 | unsigned long size, unsigned int alignment); |
112 | drm_intel_bo *drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, |
116 | drm_intel_bo *drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, |
113 | const char *name, |
117 | const char *name, |
114 | unsigned long size, |
118 | unsigned long size, |
115 | unsigned int alignment); |
119 | unsigned int alignment); |
- | 120 | drm_intel_bo *drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr, |
|
- | 121 | const char *name, |
|
- | 122 | void *addr, uint32_t tiling_mode, |
|
- | 123 | uint32_t stride, unsigned long size, |
|
- | 124 | unsigned long flags); |
|
116 | drm_intel_bo *drm_intel_bo_alloc_tiled(drm_intel_bufmgr *bufmgr, |
125 | drm_intel_bo *drm_intel_bo_alloc_tiled(drm_intel_bufmgr *bufmgr, |
117 | const char *name, |
126 | const char *name, |
118 | int x, int y, int cpp, |
127 | int x, int y, int cpp, |
119 | uint32_t *tiling_mode, |
128 | uint32_t *tiling_mode, |
120 | unsigned long *pitch, |
129 | unsigned long *pitch, |
Line 153... | Line 162... | ||
153 | int drm_intel_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, |
162 | int drm_intel_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, |
154 | uint32_t * swizzle_mode); |
163 | uint32_t * swizzle_mode); |
155 | int drm_intel_bo_flink(drm_intel_bo *bo, uint32_t * name); |
164 | int drm_intel_bo_flink(drm_intel_bo *bo, uint32_t * name); |
156 | int drm_intel_bo_busy(drm_intel_bo *bo); |
165 | int drm_intel_bo_busy(drm_intel_bo *bo); |
157 | int drm_intel_bo_madvise(drm_intel_bo *bo, int madv); |
166 | int drm_intel_bo_madvise(drm_intel_bo *bo, int madv); |
- | 167 | int drm_intel_bo_use_48b_address_range(drm_intel_bo *bo, uint32_t enable); |
|
- | 168 | int drm_intel_bo_set_softpin_offset(drm_intel_bo *bo, uint64_t offset); |
|
Line 158... | Line 169... | ||
158 | 169 | ||
159 | int drm_intel_bo_disable_reuse(drm_intel_bo *bo); |
170 | int drm_intel_bo_disable_reuse(drm_intel_bo *bo); |
160 | int drm_intel_bo_is_reusable(drm_intel_bo *bo); |
171 | int drm_intel_bo_is_reusable(drm_intel_bo *bo); |
Line 261... | Line 272... | ||
261 | int drm_intel_get_reset_stats(drm_intel_context *ctx, |
272 | int drm_intel_get_reset_stats(drm_intel_context *ctx, |
262 | uint32_t *reset_count, |
273 | uint32_t *reset_count, |
263 | uint32_t *active, |
274 | uint32_t *active, |
264 | uint32_t *pending); |
275 | uint32_t *pending); |
Line -... | Line 276... | ||
- | 276 | ||
- | 277 | int drm_intel_get_subslice_total(int fd, unsigned int *subslice_total); |
|
- | 278 | int drm_intel_get_eu_total(int fd, unsigned int *eu_total); |
|
265 | 279 | ||
266 | /** @{ Compatibility defines to keep old code building despite the symbol rename |
280 | /** @{ Compatibility defines to keep old code building despite the symbol rename |
267 | * from dri_* to drm_intel_* |
281 | * from dri_* to drm_intel_* |
268 | */ |
282 | */ |
269 | #define dri_bo drm_intel_bo |
283 | #define dri_bo drm_intel_bo |
Line 302... | Line 316... | ||
302 | #define intel_bufmgr_fake_contended_lock_take drm_intel_bufmgr_fake_contended_lock_take |
316 | #define intel_bufmgr_fake_contended_lock_take drm_intel_bufmgr_fake_contended_lock_take |
303 | #define intel_bufmgr_fake_evict_all drm_intel_bufmgr_fake_evict_all |
317 | #define intel_bufmgr_fake_evict_all drm_intel_bufmgr_fake_evict_all |
Line 304... | Line 318... | ||
304 | 318 | ||
Line -... | Line 319... | ||
- | 319 | /** @{ */ |
|
- | 320 | ||
- | 321 | #if defined(__cplusplus) |
|
- | 322 | } |
|
305 | /** @{ */ |
323 | #endif |