Home
last modified time | relevance | path

Searched refs:ctx_id (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/intel/tools/
Dintel_dump_gpu.c353 uint32_t ctx_id = execbuffer2->rsvd1; in dump_execbuffer2() local
355 aub_write_exec(&aub_file, ctx_id, in dump_execbuffer2()
621 uint32_t *ctx_id = NULL; in ioctl() local
626 ctx_id = &create->ctx_id; in ioctl()
630 create->ctx_id = aub_write_context_create(&aub_file, ctx_id); in ioctl()
636 uint32_t *ctx_id = NULL; in ioctl() local
641 ctx_id = &create->ctx_id; in ioctl()
645 create->ctx_id = aub_write_context_create(&aub_file, ctx_id); in ioctl()
Daub_write.c519 uint32_t ctx_id, in write_engine_execlist_setup() argument
533 snprintf(name, sizeof(name), "%s (ctx id: %d) GGTT PT", cs->name, ctx_id); in write_engine_execlist_setup()
628 aub_write_context_create(struct aub_file *aub, uint32_t *ctx_id) in aub_write_context_create() argument
630 uint32_t new_id = ctx_id ? *ctx_id : aub->next_context_handle; in aub_write_context_create()
634 if (!ctx_id) in aub_write_context_create()
652 aub_write_ensure_context(struct aub_file *aub, uint32_t ctx_id, in aub_write_ensure_context() argument
655 struct aub_context *ctx = aub_context_find(aub, ctx_id); in aub_write_ensure_context()
825 aub_write_exec(struct aub_file *aub, uint32_t ctx_id, uint64_t batch_addr, in aub_write_exec() argument
832 aub_write_ensure_context(aub, ctx_id, engine_class); in aub_write_exec()
Daub_write.h133 void aub_write_exec(struct aub_file *aub, uint32_t ctx_id, uint64_t batch_addr,
138 uint32_t aub_write_context_create(struct aub_file *aub, uint32_t *ctx_id);
Dintel_noop_drm_shim.c116 create->ctx_id = 1; /* Just return a fake non zero ID. */ in i915_ioctl_gem_context_create()
/third_party/libdrm/amdgpu/
Damdgpu_cs.c82 gpu_context->id = args.out.alloc.ctx_id; in amdgpu_cs_ctx_create2()
125 args.in.ctx_id = context->id; in amdgpu_cs_ctx_free()
161 args.in.ctx_id = context->id; in amdgpu_cs_ctx_override_priority()
181 args.in.ctx_id = context->id; in amdgpu_cs_query_reset_state()
202 args.in.ctx_id = context->id; in amdgpu_cs_query_reset_state2()
305 dep->ctx_id = info->context->id; in amdgpu_cs_submit_one()
334 dep->ctx_id = info->context->id; in amdgpu_cs_submit_one()
430 args.in.ctx_id = context->id; in amdgpu_ioctl_wait_cs()
491 drm_fences[i].ctx_id = fences[i].context->id; in amdgpu_ioctl_wait_fences()
873 cs.in.ctx_id = context->id; in amdgpu_cs_submit_raw()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_reset.c38 struct drm_i915_reset_stats stats = { .ctx_id = brw->hw_ctx }; in brw_get_graphics_reset_status()
79 struct drm_i915_reset_stats stats = { .ctx_id = brw->hw_ctx }; in brw_check_for_reset()
Dbrw_bufmgr.h365 uint32_t ctx_id,
368 void brw_destroy_hw_context(struct brw_bufmgr *bufmgr, uint32_t ctx_id);
Dbrw_bufmgr.c1753 return create.ctx_id; in brw_create_hw_context()
1758 uint32_t ctx_id, in brw_hw_context_set_priority() argument
1762 .ctx_id = ctx_id, in brw_hw_context_set_priority()
1776 brw_destroy_hw_context(struct brw_bufmgr *bufmgr, uint32_t ctx_id) in brw_destroy_hw_context() argument
1778 struct drm_i915_gem_context_destroy d = { .ctx_id = ctx_id }; in brw_destroy_hw_context()
1780 if (ctx_id != 0 && in brw_destroy_hw_context()
1813 .ctx_id = context, in gem_context_getparam()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c1538 .ctx_id = create.ctx_id, in crocus_create_hw_context()
1544 return create.ctx_id; in crocus_create_hw_context()
1548 crocus_hw_context_get_priority(struct crocus_bufmgr *bufmgr, uint32_t ctx_id) in crocus_hw_context_get_priority() argument
1551 .ctx_id = ctx_id, in crocus_hw_context_get_priority()
1560 uint32_t ctx_id, in crocus_hw_context_set_priority() argument
1564 .ctx_id = ctx_id, in crocus_hw_context_set_priority()
1578 crocus_clone_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id) in crocus_clone_hw_context() argument
1583 int priority = crocus_hw_context_get_priority(bufmgr, ctx_id); in crocus_clone_hw_context()
1591 crocus_destroy_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id) in crocus_destroy_hw_context() argument
1593 struct drm_i915_gem_context_destroy d = { .ctx_id = ctx_id }; in crocus_destroy_hw_context()
[all …]
Dcrocus_bufmgr.h317 uint32_t crocus_clone_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id);
324 uint32_t ctx_id, int priority);
326 void crocus_destroy_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id);
/third_party/libdrm/include/drm/
Damdgpu_drm.h238 __u32 ctx_id; member
245 __u32 ctx_id; member
294 __u32 ctx_id; member
422 __u32 ctx_id; member
436 __u32 ctx_id; member
551 __u32 ctx_id; member
609 __u32 ctx_id; member
Di915_drm.h1447 __u32 ctx_id; /* output: id of new context*/ member
1452 __u32 ctx_id; /* output: id of new context*/ member
1461 __u32 ctx_id; member
1569 __u32 ctx_id; member
1623 __u32 ctx_id; member
/third_party/mesa3d/include/drm-uapi/
Damdgpu_drm.h246 __u32 ctx_id; member
253 __u32 ctx_id; member
302 __u32 ctx_id; member
434 __u32 ctx_id; member
448 __u32 ctx_id; member
565 __u32 ctx_id; member
631 __u32 ctx_id; member
Di915_drm.h1738 __u32 ctx_id; /* output: id of new context*/ member
1743 __u32 ctx_id; /* output: id of new context*/ member
1753 __u32 ctx_id; member
2131 __u32 ctx_id; member
2185 __u32 ctx_id; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.h452 uint32_t iris_clone_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id);
459 uint32_t ctx_id, int priority);
461 void iris_destroy_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id);
Diris_bufmgr.c2054 .ctx_id = create.ctx_id, in iris_create_hw_context()
2060 return create.ctx_id; in iris_create_hw_context()
2064 iris_hw_context_get_priority(struct iris_bufmgr *bufmgr, uint32_t ctx_id) in iris_hw_context_get_priority() argument
2067 .ctx_id = ctx_id, in iris_hw_context_get_priority()
2076 uint32_t ctx_id, in iris_hw_context_set_priority() argument
2080 .ctx_id = ctx_id, in iris_hw_context_set_priority()
2094 iris_clone_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id) in iris_clone_hw_context() argument
2099 int priority = iris_hw_context_get_priority(bufmgr, ctx_id); in iris_clone_hw_context()
2107 iris_destroy_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id) in iris_destroy_hw_context() argument
2109 struct drm_i915_gem_context_destroy d = { .ctx_id = ctx_id }; in iris_destroy_hw_context()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_gem.c404 return create.ctx_id; in anv_gem_create_context()
488 return create.ctx_id; in anv_gem_create_context_engines()
495 .ctx_id = context, in anv_gem_destroy_context()
505 .ctx_id = context, in anv_gem_set_context_param()
520 .ctx_id = context, in anv_gem_get_context_param()
537 .ctx_id = context, in anv_gem_context_get_reset_stats()
/third_party/mesa3d/src/intel/perf/
Dintel_perf_query.h45 uint32_t ctx_id,
Dintel_perf_query.c372 uint32_t ctx_id, in intel_perf_open() argument
379 if (ctx_id != INTEL_PERF_INVALID_CTX_ID) { in intel_perf_open()
381 properties[p++] = ctx_id; in intel_perf_open()
/third_party/libdrm/intel/
Dintel_bufmgr_priv.h317 unsigned int ctx_id; member
Dintel_bufmgr_gem.c2427 i915_execbuffer2_set_context_id(execbuf, ctx->ctx_id); in do_exec2()
3251 context->ctx_id = create.ctx_id; in drm_intel_gem_context_create()
3258 drm_intel_gem_context_get_id(drm_intel_context *ctx, uint32_t *ctx_id) in drm_intel_gem_context_get_id() argument
3263 *ctx_id = ctx->ctx_id; in drm_intel_gem_context_get_id()
3281 destroy.ctx_id = ctx->ctx_id; in drm_intel_gem_context_destroy()
3307 stats.ctx_id = ctx->ctx_id; in drm_intel_get_reset_stats()
Dintel_bufmgr.h221 uint32_t *ctx_id);
/third_party/mesa3d/src/intel/common/tests/
Dmi_builder_test.cpp130 int ctx_id; member in mi_builder_test
213 ctx_id = ctx_create.ctx_id; in SetUp()
342 execbuf.rsvd1 = ctx_id; in submit_batch()
/third_party/libdrm/freedreno/kgsl/
Dmsm_kgsl.h167 enum kgsl_iommu_context_id ctx_id; member
/third_party/libdrm/
Dxf86drm.h645 extern int drmAddContextPrivateMapping(int fd, drm_context_t ctx_id,
696 extern int drmGetContextPrivateMapping(int fd, drm_context_t ctx_id,

12