/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 46 radeon_winsys_bo_create(struct radeon_winsys *rws, 68 return drmCommandWriteRead(bo->rws->fd, DRM_RADEON_GEM_BUSY, in radeon_real_bo_is_busy() 80 pipe_mutex_lock(bo->rws->bo_fence_lock); in radeon_bo_is_busy() 91 pipe_mutex_unlock(bo->rws->bo_fence_lock); in radeon_bo_is_busy() 101 while (drmCommandWrite(bo->rws->fd, DRM_RADEON_GEM_WAIT_IDLE, in radeon_real_bo_wait_idle() 110 pipe_mutex_lock(bo->rws->bo_fence_lock); in radeon_bo_wait_idle() 114 pipe_mutex_unlock(bo->rws->bo_fence_lock); in radeon_bo_wait_idle() 119 pipe_mutex_lock(bo->rws->bo_fence_lock); in radeon_bo_wait_idle() 128 pipe_mutex_unlock(bo->rws->bo_fence_lock); in radeon_bo_wait_idle() 182 if (bo->rws->info.drm_minor < 38) in radeon_bo_get_initial_domain() [all …]
|
D | radeon_drm_winsys.c | 541 static void radeon_winsys_destroy(struct radeon_winsys *rws) in radeon_winsys_destroy() argument 543 struct radeon_drm_winsys *ws = (struct radeon_drm_winsys*)rws; in radeon_winsys_destroy() 569 FREE(rws); in radeon_winsys_destroy() 572 static void radeon_query_info(struct radeon_winsys *rws, in radeon_query_info() argument 575 *info = ((struct radeon_drm_winsys *)rws)->info; in radeon_query_info() 600 static uint64_t radeon_query_value(struct radeon_winsys *rws, in radeon_query_value() argument 603 struct radeon_drm_winsys *ws = (struct radeon_drm_winsys*)rws; in radeon_query_value() 664 static bool radeon_read_registers(struct radeon_winsys *rws, in radeon_read_registers() argument 668 struct radeon_drm_winsys *ws = (struct radeon_drm_winsys*)rws; in radeon_read_registers() 707 struct radeon_drm_winsys *rws = (struct radeon_drm_winsys*)ws; in radeon_winsys_unref() local [all …]
|
D | radeon_drm_bo.h | 60 struct radeon_drm_winsys *rws; member
|
D | radeon_drm_surface.c | 222 static int radeon_winsys_surface_init(struct radeon_winsys *rws, in radeon_winsys_surface_init() argument 228 struct radeon_drm_winsys *ws = (struct radeon_drm_winsys*)rws; in radeon_winsys_surface_init()
|
D | radeon_drm_cs.h | 105 return num_refs == bo->rws->num_cs || in radeon_bo_is_referenced_by_cs()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen.c | 681 struct radeon_winsys *rws = radeon_winsys(pscreen); in r300_destroy_screen() local 683 if (rws && !rws->unref(rws)) in r300_destroy_screen() 689 if (rws) in r300_destroy_screen() 690 rws->destroy(rws); in r300_destroy_screen() 699 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_fence_reference() local 701 rws->fence_reference(ptr, fence); in r300_fence_reference() 709 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_fence_finish() local 711 return rws->fence_wait(rws, fence, timeout); in r300_fence_finish() 714 struct pipe_screen* r300_screen_create(struct radeon_winsys *rws) in r300_screen_create() argument 723 rws->query_info(rws, &r300screen->info); in r300_screen_create() [all …]
|
D | r300_screen_buffer.c | 75 struct radeon_winsys *rws = r300->screen->rws; in r300_buffer_transfer_map() local 98 if (r300->rws->cs_is_buffer_referenced(r300->cs, rbuf->buf, RADEON_USAGE_READWRITE) || in r300_buffer_transfer_map() 99 !r300->rws->buffer_wait(rbuf->buf, 0, RADEON_USAGE_READWRITE)) { in r300_buffer_transfer_map() 104 new_buf = r300->rws->buffer_create(r300->rws, rbuf->b.b.width0, in r300_buffer_transfer_map() 129 map = rws->buffer_map(rbuf->buf, r300->cs, usage); in r300_buffer_transfer_map() 184 r300screen->rws->buffer_create(r300screen->rws, rbuf->b.b.width0, in r300_buffer_create()
|
D | r300_flush.c | 56 r300->rws->cs_flush(r300->cs, flags, fence); in r300_flush_and_cleanup() 89 r300->rws->cs_flush(r300->cs, flags, fence); in r300_flush() 93 r300->rws->cs_flush(r300->cs, flags, NULL); in r300_flush() 116 r300->rws->fence_reference(fence, NULL); in r300_flush() 121 r300->rws->cs_request_feature(r300->cs, RADEON_FID_R300_HYPERZ_ACCESS, in r300_flush()
|
D | r300_context.c | 78 r300->rws->cs_request_feature(r300->cs, RADEON_FID_R300_HYPERZ_ACCESS, FALSE); in r300_destroy_context() 81 r300->rws->cs_request_feature(r300->cs, RADEON_FID_R300_CMASK_ACCESS, FALSE); in r300_destroy_context() 96 r300->rws->cs_destroy(r300->cs); in r300_destroy_context() 98 r300->rws->ctx_destroy(r300->ctx); in r300_destroy_context() 375 struct radeon_winsys *rws = r300screen->rws; local 380 r300->rws = rws; 390 r300->ctx = rws->ctx_create(rws); 394 r300->cs = rws->cs_create(r300->ctx, RING_GFX, r300_flush_callback, r300);
|
D | r300_query.c | 61 q->buf = r300->rws->buffer_create(r300->rws, in r300_create_query() 151 r300->rws->buffer_wait(q->buf, PIPE_TIMEOUT_INFINITE, in r300_get_query_result() 155 vresult->b = r300->rws->buffer_wait(q->buf, 0, RADEON_USAGE_READWRITE); in r300_get_query_result() 160 map = r300->rws->buffer_map(q->buf, r300->cs, in r300_get_query_result()
|
D | r300_texture.c | 1049 struct radeon_winsys *rws = r300_screen(screen)->rws; in r300_resource_get_handle() local 1056 return rws->buffer_get_handle(tex->buf, tex->tex.stride_in_bytes[0], in r300_resource_get_handle() 1078 struct radeon_winsys *rws = rscreen->rws; in r300_texture_create_object() local 1121 tex->buf = rws->buffer_create(rws, tex->tex.size_in_bytes, 2048, in r300_texture_create_object() 1138 rws->buffer_set_metadata(tex->buf, &tiling); in r300_texture_create_object() 1177 struct radeon_winsys *rws = rscreen->rws; in r300_texture_from_handle() local 1190 buffer = rws->buffer_from_handle(rws, whandle, &stride, NULL); in r300_texture_from_handle() 1194 rws->buffer_get_metadata(buffer, &tiling); in r300_texture_from_handle()
|
D | r300_transfer.c | 118 r300->rws->cs_is_buffer_referenced(r300->cs, tex->buf, RADEON_USAGE_READWRITE); in r300_texture_transfer_map() 123 !r300->rws->buffer_wait(tex->buf, 0, RADEON_USAGE_READWRITE); in r300_texture_transfer_map() 221 map = r300->rws->buffer_map(trans->linear_texture->buf, in r300_texture_transfer_map() 233 map = r300->rws->buffer_map(tex->buf, r300->cs, usage); in r300_texture_transfer_map()
|
D | r300_screen.h | 38 struct radeon_winsys *rws; member 62 return r300_screen(screen)->rws; in radeon_winsys()
|
D | r300_render.c | 218 if (!r300->rws->cs_check_space(r300->cs, cs_dwords)) { in r300_reserve_cs_dwords() 375 map[vbi] = (uint32_t*)r300->rws->buffer_map( in r300_draw_arrays_immediate() 609 uint16_t *ptr = r300->rws->buffer_map(r300_resource(orgIndexBuffer)->buf, in r300_draw_elements() 895 struct radeon_winsys *rws = r300->rws; in r300_render_allocate_vertices() local 905 r300->vbo = rws->buffer_create(rws, in r300_render_allocate_vertices() 913 r300render->vbo_ptr = rws->buffer_map(r300->vbo, r300->cs, in r300_render_allocate_vertices()
|
D | r300_emit.c | 1052 OUT_CS(r300->rws->cs_lookup_buffer(r300->cs, r300->vbo) * 4); in r300_emit_vertex_arrays_swtcl() 1323 r300->rws->cs_add_buffer(r300->cs, tex->buf, in r300_emit_buffer_validate() 1334 r300->rws->cs_add_buffer(r300->cs, tex->buf, in r300_emit_buffer_validate() 1345 r300->rws->cs_add_buffer(r300->cs, aa->dest->buf, in r300_emit_buffer_validate() 1359 r300->rws->cs_add_buffer(r300->cs, tex->buf, in r300_emit_buffer_validate() 1366 r300->rws->cs_add_buffer(r300->cs, r300->query_current->buf, in r300_emit_buffer_validate() 1372 r300->rws->cs_add_buffer(r300->cs, r300->vbo, in r300_emit_buffer_validate() 1388 r300->rws->cs_add_buffer(r300->cs, r300_resource(buf)->buf, in r300_emit_buffer_validate() 1396 r300->rws->cs_add_buffer(r300->cs, r300_resource(index_buffer)->buf, in r300_emit_buffer_validate() 1402 if (!r300->rws->cs_validate(r300->cs)) { in r300_emit_buffer_validate()
|
D | r300_public.h | 11 struct pipe_screen* r300_screen_create(struct radeon_winsys *rws);
|
D | r300_cs.h | 43 struct radeon_winsys *cs_winsys = (context)->rws; \
|
D | r300_blit.c | 283 r300->rws->cs_request_feature(r300->cs, in r300_clear() 321 r300->rws->cs_request_feature(r300->cs, in r300_clear() 385 if (!r300->rws->cs_check_space(r300->cs, dwords)) { in r300_clear()
|
D | r300_context.h | 448 struct radeon_winsys *rws; member
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_winsys.c | 383 static void amdgpu_winsys_destroy(struct radeon_winsys *rws) in amdgpu_winsys_destroy() argument 385 struct amdgpu_winsys *ws = (struct amdgpu_winsys*)rws; in amdgpu_winsys_destroy() 395 FREE(rws); in amdgpu_winsys_destroy() 398 static void amdgpu_winsys_query_info(struct radeon_winsys *rws, in amdgpu_winsys_query_info() argument 401 *info = ((struct amdgpu_winsys *)rws)->info; in amdgpu_winsys_query_info() 411 static uint64_t amdgpu_query_value(struct radeon_winsys *rws, in amdgpu_query_value() argument 414 struct amdgpu_winsys *ws = (struct amdgpu_winsys*)rws; in amdgpu_query_value() 459 static bool amdgpu_read_registers(struct radeon_winsys *rws, in amdgpu_read_registers() argument 463 struct amdgpu_winsys *ws = (struct amdgpu_winsys*)rws; in amdgpu_read_registers() 483 static bool amdgpu_winsys_unref(struct radeon_winsys *rws) in amdgpu_winsys_unref() argument [all …]
|
D | amdgpu_bo.c | 42 amdgpu_bo_create(struct radeon_winsys *rws, 668 amdgpu_bo_create(struct radeon_winsys *rws, in amdgpu_bo_create() argument 674 struct amdgpu_winsys *ws = amdgpu_winsys(rws); in amdgpu_bo_create() 777 static struct pb_buffer *amdgpu_bo_from_handle(struct radeon_winsys *rws, in amdgpu_bo_from_handle() argument 782 struct amdgpu_winsys *ws = amdgpu_winsys(rws); in amdgpu_bo_from_handle() 911 static struct pb_buffer *amdgpu_bo_from_ptr(struct radeon_winsys *rws, in amdgpu_bo_from_ptr() argument 914 struct amdgpu_winsys *ws = amdgpu_winsys(rws); in amdgpu_bo_from_ptr()
|
D | amdgpu_surface.c | 300 static int amdgpu_surface_init(struct radeon_winsys *rws, in amdgpu_surface_init() argument 306 struct amdgpu_winsys *ws = (struct amdgpu_winsys*)rws; in amdgpu_surface_init()
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_winsys.c | 334 static void radv_amdgpu_winsys_query_info(struct radeon_winsys *rws, in radv_amdgpu_winsys_query_info() argument 337 *info = ((struct radv_amdgpu_winsys *)rws)->info; in radv_amdgpu_winsys_query_info() 340 static void radv_amdgpu_winsys_destroy(struct radeon_winsys *rws) in radv_amdgpu_winsys_destroy() argument 342 struct radv_amdgpu_winsys *ws = (struct radv_amdgpu_winsys*)rws; in radv_amdgpu_winsys_destroy() 346 FREE(rws); in radv_amdgpu_winsys_destroy()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_pipe_common.c | 1119 struct radeon_winsys *rws = ((struct r600_common_screen*)screen)->ws; in r600_fence_finish() local 1126 if (!rws->fence_wait(rws, rfence->sdma, timeout)) in r600_fence_finish() 1156 return rws->fence_wait(rws, rfence->gfx, timeout); in r600_fence_finish()
|
/external/fio/tools/hist/ |
D | fiologparser_hist.py | 94 times, rws, szs = new_arr[:,0], new_arr[:,1], new_arr[:,2]
|