Searched refs:idws (Results 1 – 6 of 6) sorted by relevance
34 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_winsys_destroy() local36 drm_intel_bufmgr_destroy(idws->gem_manager); in i915_drm_winsys_destroy()38 FREE(idws); in i915_drm_winsys_destroy()44 struct i915_drm_winsys *idws; in i915_drm_winsys_create() local47 idws = CALLOC_STRUCT(i915_drm_winsys); in i915_drm_winsys_create()48 if (!idws) in i915_drm_winsys_create()53 i915_drm_winsys_init_batchbuffer_functions(idws); in i915_drm_winsys_create()54 i915_drm_winsys_init_buffer_functions(idws); in i915_drm_winsys_create()55 i915_drm_winsys_init_fence_functions(idws); in i915_drm_winsys_create()57 idws->fd = drmFD; in i915_drm_winsys_create()[all …]
32 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_buffer_create() local41 buf->bo = drm_intel_bo_alloc(idws->gem_manager, in i915_drm_buffer_create()62 struct i915_drm_winsys *idws = i915_drm_winsys(iws); in i915_drm_buffer_create_tiled() local73 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() local105 …buf->bo = drm_intel_bo_gem_create_from_name(idws->gem_manager, "gallium3d_from_handle", whandle->h… in i915_drm_buffer_from_handle()228 i915_drm_winsys_init_buffer_functions(struct i915_drm_winsys *idws) in i915_drm_winsys_init_buffer_functions() argument230 idws->base.buffer_create = i915_drm_buffer_create; in i915_drm_winsys_init_buffer_functions()231 idws->base.buffer_create_tiled = i915_drm_buffer_create_tiled; in i915_drm_winsys_init_buffer_functions()232 idws->base.buffer_from_handle = i915_drm_buffer_from_handle; in i915_drm_winsys_init_buffer_functions()[all …]
38 struct i915_drm_winsys *idws = i915_drm_winsys(batch->base.iws); in i915_drm_batchbuffer_reset() local42 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() local59 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() argument157 drmIoctl(idws->fd, DRM_IOCTL_I915_GEM_THROTTLE, NULL); in i915_drm_throttle()228 void i915_drm_winsys_init_batchbuffer_functions(struct i915_drm_winsys *idws) in i915_drm_winsys_init_batchbuffer_functions() argument230 idws->base.batchbuffer_create = i915_drm_batchbuffer_create; in i915_drm_winsys_init_batchbuffer_functions()231 idws->base.validate_buffers = i915_drm_batchbuffer_validate_buffers; in i915_drm_winsys_init_batchbuffer_functions()232 idws->base.batchbuffer_reloc = i915_drm_batchbuffer_reloc; in i915_drm_winsys_init_batchbuffer_functions()[all …]
82 i915_drm_winsys_init_fence_functions(struct i915_drm_winsys *idws) in i915_drm_winsys_init_fence_functions() argument84 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()
39 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);
30 void i915_sw_winsys_init_batchbuffer_functions(struct i915_sw_winsys *idws);31 void i915_sw_winsys_init_buffer_functions(struct i915_sw_winsys *idws);32 void i915_sw_winsys_init_fence_functions(struct i915_sw_winsys *idws);