Home
last modified time | relevance | path

Searched refs:idws (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_winsys.c34 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_aperture_size() local
37 drm_intel_get_aperture_sizes(idws->fd, &mappable_size, &aper_size); in i915_drm_aperture_size()
45 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_winsys_destroy() local
47 drm_intel_bufmgr_destroy(idws->gem_manager); in i915_drm_winsys_destroy()
49 FREE(idws); in i915_drm_winsys_destroy()
55 struct i915_drm_winsys *idws; in i915_drm_winsys_create() local
58 idws = CALLOC_STRUCT(i915_drm_winsys); in i915_drm_winsys_create()
59 if (!idws) in i915_drm_winsys_create()
64 i915_drm_winsys_init_batchbuffer_functions(idws); in i915_drm_winsys_create()
65 i915_drm_winsys_init_buffer_functions(idws); in i915_drm_winsys_create()
[all …]
Di915_drm_buffer.c31 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_buffer_create() local
40 buf->bo = drm_intel_bo_alloc(idws->gem_manager, in i915_drm_buffer_create()
61 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_buffer_create_tiled() local
72 buf->bo = drm_intel_bo_alloc_tiled(idws->gem_manager, in i915_drm_buffer_create_tiled()
97 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_buffer_from_handle() local
114 …buf->bo = drm_intel_bo_gem_create_from_name(idws->gem_manager, "gallium3d_from_handle", whandle->h… in i915_drm_buffer_from_handle()
117 … buf->bo = drm_intel_bo_gem_create_from_prime(idws->gem_manager, fd, height * whandle->stride); in i915_drm_buffer_from_handle()
248 i915_drm_winsys_init_buffer_functions(struct i915_drm_winsys *idws) in i915_drm_winsys_init_buffer_functions() argument
250 idws->base.buffer_create = i915_drm_buffer_create; in i915_drm_winsys_init_buffer_functions()
251 idws->base.buffer_create_tiled = i915_drm_buffer_create_tiled; in i915_drm_winsys_init_buffer_functions()
[all …]
Di915_drm_batchbuffer.c38 struct i915_drm_winsys *idws = i915_drm_winsys(batch->base.iws); in i915_drm_batchbuffer_reset() local
42 batch->bo = drm_intel_bo_alloc(idws->gem_manager, in i915_drm_batchbuffer_reset()
56 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_batchbuffer_create() local
59 batch->actual_size = idws->max_batch_size; in i915_drm_batchbuffer_create()
155 i915_drm_throttle(struct i915_drm_winsys *idws) in i915_drm_throttle() argument
157 drmIoctl(idws->fd, DRM_IOCTL_I915_GEM_THROTTLE, NULL); in i915_drm_throttle()
230 void i915_drm_winsys_init_batchbuffer_functions(struct i915_drm_winsys *idws) in i915_drm_winsys_init_batchbuffer_functions() argument
232 idws->base.batchbuffer_create = i915_drm_batchbuffer_create; in i915_drm_winsys_init_batchbuffer_functions()
233 idws->base.validate_buffers = i915_drm_batchbuffer_validate_buffers; in i915_drm_winsys_init_batchbuffer_functions()
234 idws->base.batchbuffer_reloc = i915_drm_batchbuffer_reloc; in i915_drm_winsys_init_batchbuffer_functions()
[all …]
Di915_drm_fence.c82 i915_drm_winsys_init_fence_functions(struct i915_drm_winsys *idws) in i915_drm_winsys_init_fence_functions() argument
84 idws->base.fence_reference = i915_drm_fence_reference; in i915_drm_winsys_init_fence_functions()
85 idws->base.fence_signalled = i915_drm_fence_signalled; in i915_drm_winsys_init_fence_functions()
86 idws->base.fence_finish = i915_drm_fence_finish; in i915_drm_winsys_init_fence_functions()
Di915_drm_winsys.h39 void i915_drm_winsys_init_batchbuffer_functions(struct i915_drm_winsys *idws);
40 void i915_drm_winsys_init_buffer_functions(struct i915_drm_winsys *idws);
41 void i915_drm_winsys_init_fence_functions(struct i915_drm_winsys *idws);