Home
last modified time | relevance | path

Searched refs:radeon_winsys (Results 1 – 25 of 74) sorted by relevance

123

/third_party/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h214 struct radeon_winsys { struct
215 void (*destroy)(struct radeon_winsys *ws); argument
217 void (*query_info)(struct radeon_winsys *ws, struct radeon_info *info); argument
219 uint64_t (*query_value)(struct radeon_winsys *ws, enum radeon_value_id value); argument
221 bool (*read_registers)(struct radeon_winsys *ws, unsigned reg_offset, unsigned num_registers, argument
224 const char *(*get_chip_name)(struct radeon_winsys *ws); argument
226 VkResult (*buffer_create)(struct radeon_winsys *ws, uint64_t size, unsigned alignment, argument
230 void (*buffer_destroy)(struct radeon_winsys *ws, struct radeon_winsys_bo *bo); argument
233 VkResult (*buffer_from_ptr)(struct radeon_winsys *ws, void *pointer, uint64_t size, argument
236 VkResult (*buffer_from_fd)(struct radeon_winsys *ws, int fd, unsigned priority, argument
[all …]
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_winsys.h260 struct radeon_winsys { struct
276 bool (*unref)(struct radeon_winsys *ws); argument
283 void (*destroy)(struct radeon_winsys *ws); argument
291 void (*query_info)(struct radeon_winsys *ws, struct radeon_info *info, argument
301 void (*pin_threads_to_L3_cache)(struct radeon_winsys *ws, unsigned cache); argument
321 struct pb_buffer *(*buffer_create)(struct radeon_winsys *ws, uint64_t size, unsigned alignment, argument
336 void *(*buffer_map)(struct radeon_winsys *ws, struct pb_buffer *buf, argument
344 void (*buffer_unmap)(struct radeon_winsys *ws, struct pb_buffer *buf); argument
354 bool (*buffer_wait)(struct radeon_winsys *ws, struct pb_buffer *buf, argument
364 void (*buffer_get_metadata)(struct radeon_winsys *ws, struct pb_buffer *buf, argument
[all …]
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_public.h6 struct radeon_winsys;
10 typedef struct pipe_screen *(*radeon_screen_create_t)(struct radeon_winsys *,
13 struct radeon_winsys *
Dradeon_drm_winsys.h56 struct radeon_winsys base;
107 static inline struct radeon_drm_winsys *radeon_drm_winsys(struct radeon_winsys *base) in radeon_drm_winsys()
Dradeon_drm_winsys.c619 static void radeon_winsys_destroy(struct radeon_winsys *rws) in radeon_winsys_destroy()
651 static void radeon_query_info(struct radeon_winsys *rws, in radeon_query_info()
693 static uint64_t radeon_query_value(struct radeon_winsys *rws, in radeon_query_value()
763 static bool radeon_read_registers(struct radeon_winsys *rws, in radeon_read_registers()
782 static bool radeon_winsys_unref(struct radeon_winsys *ws) in radeon_winsys_unref()
806 static void radeon_pin_threads_to_L3_cache(struct radeon_winsys *ws, in radeon_pin_threads_to_L3_cache()
823 PUBLIC struct radeon_winsys *
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_public.h32 struct radeon_winsys;
36 typedef struct pipe_screen *(*radeon_screen_create_t)(struct radeon_winsys *,
39 struct radeon_winsys *
Damdgpu_winsys.h43 struct radeon_winsys base;
130 amdgpu_screen_winsys(struct radeon_winsys *base) in amdgpu_screen_winsys()
136 amdgpu_winsys(struct radeon_winsys *base) in amdgpu_winsys()
Damdgpu_winsys.c156 static void amdgpu_winsys_destroy(struct radeon_winsys *rws) in amdgpu_winsys_destroy()
188 static void amdgpu_winsys_query_info(struct radeon_winsys *rws, in amdgpu_winsys_query_info()
210 static uint64_t amdgpu_query_value(struct radeon_winsys *rws, in amdgpu_query_value()
279 static bool amdgpu_read_registers(struct radeon_winsys *rws, in amdgpu_read_registers()
289 static bool amdgpu_winsys_unref(struct radeon_winsys *rws) in amdgpu_winsys_unref()
328 static void amdgpu_pin_threads_to_L3_cache(struct radeon_winsys *rws, in amdgpu_pin_threads_to_L3_cache()
356 PUBLIC struct radeon_winsys *
Damdgpu_bo.h127 void *amdgpu_bo_map(struct radeon_winsys *rws,
131 void amdgpu_bo_unmap(struct radeon_winsys *rws, struct pb_buffer *buf);
Damdgpu_bo.c50 static bool amdgpu_bo_wait(struct radeon_winsys *rws, in amdgpu_bo_wait()
227 static void amdgpu_bo_destroy_or_cache(struct radeon_winsys *rws, struct pb_buffer *_buf) in amdgpu_bo_destroy_or_cache()
251 static bool amdgpu_bo_do_map(struct radeon_winsys *rws, struct amdgpu_winsys_bo *bo, void **cpu) in amdgpu_bo_do_map()
276 void *amdgpu_bo_map(struct radeon_winsys *rws, in amdgpu_bo_map()
408 void amdgpu_bo_unmap(struct radeon_winsys *rws, struct pb_buffer *buf) in amdgpu_bo_unmap()
658 static void amdgpu_bo_slab_destroy(struct radeon_winsys *rws, struct pb_buffer *_buf) in amdgpu_bo_slab_destroy()
1085 static void amdgpu_bo_sparse_destroy(struct radeon_winsys *rws, struct pb_buffer *_buf) in amdgpu_bo_sparse_destroy()
1184 amdgpu_bo_sparse_commit(struct radeon_winsys *rws, struct pb_buffer *buf, in amdgpu_bo_sparse_commit()
1313 static void amdgpu_buffer_get_metadata(struct radeon_winsys *rws, in amdgpu_buffer_get_metadata()
1336 static void amdgpu_buffer_set_metadata(struct radeon_winsys *rws, in amdgpu_buffer_set_metadata()
[all …]
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_winsys.c66 radv_amdgpu_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *info) in radv_amdgpu_winsys_query_info()
72 radv_amdgpu_winsys_query_value(struct radeon_winsys *rws, enum radeon_value_id value) in radv_amdgpu_winsys_query_value()
124 radv_amdgpu_winsys_read_registers(struct radeon_winsys *rws, unsigned reg_offset, in radv_amdgpu_winsys_read_registers()
133 radv_amdgpu_winsys_get_chip_name(struct radeon_winsys *rws) in radv_amdgpu_winsys_get_chip_name()
144 radv_amdgpu_winsys_destroy(struct radeon_winsys *rws) in radv_amdgpu_winsys_destroy()
183 struct radeon_winsys *
Dradv_amdgpu_winsys_public.h32 struct radeon_winsys *radv_amdgpu_winsys_create(int fd, uint64_t debug_flags,
36 struct radeon_winsys *radv_dummy_winsys_create(void);
Dradv_amdgpu_winsys.h39 struct radeon_winsys base;
78 radv_amdgpu_winsys(struct radeon_winsys *base) in radv_amdgpu_winsys()
Dradv_amdgpu_bo.c45 static void radv_amdgpu_winsys_bo_destroy(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo);
153 radv_amdgpu_winsys_bo_virtual_bind(struct radeon_winsys *_ws, struct radeon_winsys_bo *_parent, in radv_amdgpu_winsys_bo_virtual_bind()
356 radv_amdgpu_winsys_bo_destroy(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo) in radv_amdgpu_winsys_bo_destroy()
395 radv_amdgpu_winsys_bo_create(struct radeon_winsys *_ws, uint64_t size, unsigned alignment, in radv_amdgpu_winsys_bo_create()
624 radv_amdgpu_winsys_bo_from_ptr(struct radeon_winsys *_ws, void *pointer, uint64_t size, in radv_amdgpu_winsys_bo_from_ptr()
698 radv_amdgpu_winsys_bo_from_fd(struct radeon_winsys *_ws, int fd, unsigned priority, in radv_amdgpu_winsys_bo_from_fd()
791 radv_amdgpu_winsys_get_fd(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo, int *fd) in radv_amdgpu_winsys_get_fd()
807 radv_amdgpu_bo_get_flags_from_fd(struct radeon_winsys *_ws, int fd, enum radeon_bo_domain *domains, in radv_amdgpu_bo_get_flags_from_fd()
907 radv_amdgpu_winsys_bo_set_metadata(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo, in radv_amdgpu_winsys_bo_set_metadata()
956 radv_amdgpu_winsys_bo_get_metadata(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo, in radv_amdgpu_winsys_bo_get_metadata()
[all …]
Dradv_amdgpu_cs.c187 radv_amdgpu_cs_domain(const struct radeon_winsys *_ws) in radv_amdgpu_cs_domain()
200 radv_amdgpu_cs_create(struct radeon_winsys *ws, enum ring_type ring_type) in radv_amdgpu_cs_create()
968 struct radeon_winsys *ws = (struct radeon_winsys *)cs0->ws; in radv_amdgpu_winsys_cs_submit_sysmem()
1241 radv_amdgpu_ctx_create(struct radeon_winsys *_ws, enum radeon_ctx_priority priority, in radv_amdgpu_ctx_create()
1633 radv_amdgpu_create_syncobj(struct radeon_winsys *_ws, bool create_signaled, uint32_t *handle) in radv_amdgpu_create_syncobj()
1645 radv_amdgpu_destroy_syncobj(struct radeon_winsys *_ws, uint32_t handle) in radv_amdgpu_destroy_syncobj()
1652 radv_amdgpu_reset_syncobj(struct radeon_winsys *_ws, uint32_t handle) in radv_amdgpu_reset_syncobj()
1659 radv_amdgpu_signal_syncobj(struct radeon_winsys *_ws, uint32_t handle, uint64_t point) in radv_amdgpu_signal_syncobj()
1669 radv_amdgpu_query_syncobj(struct radeon_winsys *_ws, uint32_t handle, uint64_t *point) in radv_amdgpu_query_syncobj()
1686 radv_amdgpu_wait_syncobj(struct radeon_winsys *_ws, const uint32_t *handles, uint32_t handle_count, in radv_amdgpu_wait_syncobj()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_screen.h39 struct radeon_winsys *rws;
63 static inline struct radeon_winsys *
64 radeon_winsys(struct pipe_screen *screen) { in radeon_winsys() function
Dr300_public.h9 struct radeon_winsys;
12 struct pipe_screen* r300_screen_create(struct radeon_winsys *rws,
Dr300_screen.c668 struct radeon_winsys *rws = radeon_winsys(pscreen); in r300_destroy_screen()
688 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_fence_reference()
698 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_fence_finish()
703 struct pipe_screen* r300_screen_create(struct radeon_winsys *rws, in r300_screen_create()
/third_party/mesa3d/src/amd/vulkan/winsys/null/
Dradv_null_cs.c43 radv_null_ctx_create(struct radeon_winsys *_ws, enum radeon_ctx_priority priority, in radv_null_ctx_create()
63 radv_null_cs_domain(const struct radeon_winsys *_ws) in radv_null_cs_domain()
69 radv_null_cs_create(struct radeon_winsys *ws, enum ring_type ring_type) in radv_null_cs_create()
Dradv_null_winsys.h36 struct radeon_winsys base;
40 radv_null_winsys(struct radeon_winsys *base) in radv_null_winsys()
Dradv_null_bo.c32 radv_null_winsys_bo_create(struct radeon_winsys *_ws, uint64_t size, unsigned alignment, in radv_null_winsys_bo_create()
69 radv_null_winsys_bo_destroy(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo) in radv_null_winsys_bo_destroy()
Dradv_null_winsys.c72 radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *info) in radv_null_winsys_query_info()
154 radv_null_winsys_destroy(struct radeon_winsys *rws) in radv_null_winsys_destroy()
159 struct radeon_winsys *
Dradv_null_winsys_public.h31 struct radeon_winsys *radv_null_winsys_create(void);
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_public.h26 struct radeon_winsys;
29 struct pipe_screen *r600_screen_create(struct radeon_winsys *ws,
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_fence.c174 struct radeon_winsys *ws = sctx->ws; in si_add_fence_dependency()
187 struct radeon_winsys *ws = ((struct si_screen *)screen)->ws; in si_fence_reference()
225 static bool si_fine_fence_signaled(struct radeon_winsys *rws, const struct si_fine_fence *fine) in si_fine_fence_signaled()
269 struct radeon_winsys *rws = ((struct si_screen *)screen)->ws; in si_fence_finish()
369 struct radeon_winsys *ws = sscreen->ws; in si_create_fence_fd()
409 struct radeon_winsys *ws = sscreen->ws; in si_fence_get_fd()
444 struct radeon_winsys *ws = sctx->ws; in si_flush_all_queues()

123