Home
last modified time | relevance | path

Searched refs:res_handle (Results 1 – 13 of 13) sorted by relevance

/external/virglrenderer/src/
Dvirglrenderer.c75 void virgl_renderer_resource_unref(uint32_t res_handle) in virgl_renderer_resource_unref() argument
77 vrend_renderer_resource_unref(res_handle); in virgl_renderer_resource_unref()
150 int virgl_renderer_resource_attach_iov(int res_handle, struct iovec *iov, in virgl_renderer_resource_attach_iov() argument
153 return vrend_renderer_resource_attach_iov(res_handle, iov, num_iovs); in virgl_renderer_resource_attach_iov()
156 void virgl_renderer_resource_detach_iov(int res_handle, struct iovec **iov_p, int *num_iovs_p) in virgl_renderer_resource_detach_iov() argument
158 return vrend_renderer_resource_detach_iov(res_handle, iov_p, num_iovs_p); in virgl_renderer_resource_detach_iov()
171 void virgl_renderer_ctx_attach_resource(int ctx_id, int res_handle) in virgl_renderer_ctx_attach_resource() argument
173 vrend_renderer_attach_res_ctx(ctx_id, res_handle); in virgl_renderer_ctx_attach_resource()
176 void virgl_renderer_ctx_detach_resource(int ctx_id, int res_handle) in virgl_renderer_ctx_detach_resource() argument
178 vrend_renderer_detach_res_ctx(ctx_id, res_handle); in virgl_renderer_ctx_detach_resource()
[all …]
Dvrend_renderer.h166 uint32_t res_handle, uint32_t format,
170 uint32_t res_handle, uint32_t format,
179 uint32_t res_handle,
199 uint32_t res_handle);
217 uint32_t res_handle);
232 uint32_t res_handle,
293 uint32_t res_handle);
314 uint32_t res_handle, uint32_t offset);
324 void *vrend_renderer_get_cursor_contents(uint32_t res_handle, uint32_t *width, uint32_t *height);
339 int vrend_renderer_resource_attach_iov(int res_handle, struct iovec *iov,
[all …]
Dvirglrenderer.h116 VIRGL_EXPORT void virgl_renderer_resource_unref(uint32_t res_handle);
148 VIRGL_EXPORT int virgl_renderer_resource_attach_iov(int res_handle, struct iovec *iov,
150 VIRGL_EXPORT void virgl_renderer_resource_detach_iov(int res_handle, struct iovec **iov, int *num_i…
156 VIRGL_EXPORT void virgl_renderer_ctx_attach_resource(int ctx_id, int res_handle);
157 VIRGL_EXPORT void virgl_renderer_ctx_detach_resource(int ctx_id, int res_handle);
173 VIRGL_EXPORT int virgl_renderer_resource_get_info(int res_handle,
Dvrend_decode.c125 uint32_t res_handle, buffer_size, buffer_offset; in vrend_decode_create_stream_output_target() local
130 res_handle = get_buf_entry(ctx, VIRGL_OBJ_STREAMOUT_RES_HANDLE); in vrend_decode_create_stream_output_target()
134 return vrend_create_so_target(ctx->grctx, handle, res_handle, buffer_offset, in vrend_decode_create_stream_output_target()
342 uint32_t res_handle; in vrend_decode_resource_inline_write() local
353 res_handle = get_buf_entry(ctx, VIRGL_RESOURCE_IW_RES_HANDLE); in vrend_decode_resource_inline_write()
368 info.handle = res_handle; in vrend_decode_resource_inline_write()
582 uint32_t res_handle, format, val0, val1; in vrend_decode_create_surface() local
588 res_handle = get_buf_entry(ctx, VIRGL_OBJ_SURFACE_RES_HANDLE); in vrend_decode_create_surface()
593 ret = vrend_create_surface(ctx->grctx, handle, res_handle, format, val0, val1); in vrend_decode_create_surface()
599 uint32_t res_handle, format, val0, val1, swizzle_packed; in vrend_decode_create_sampler_view() local
[all …]
Dvrend_renderer.c326 GLuint res_handle; member
339 GLuint res_handle; member
566 …ic struct vrend_resource *vrend_renderer_ctx_res_lookup(struct vrend_context *ctx, int res_handle);
576 static void vrend_renderer_detach_res_ctx_p(struct vrend_context *ctx, int res_handle);
1495 uint32_t res_handle, uint32_t format, in vrend_create_surface() argument
1506 res = vrend_renderer_ctx_res_lookup(ctx, res_handle); in vrend_create_surface()
1508 report_context_error(ctx, VIRGL_ERROR_CTX_ILLEGAL_RESOURCE, res_handle); in vrend_create_surface()
1516 surf->res_handle = res_handle; in vrend_create_surface()
1731 uint32_t res_handle, uint32_t format, in vrend_create_sampler_view() argument
1739 res = vrend_renderer_ctx_res_lookup(ctx, res_handle); in vrend_create_sampler_view()
[all …]
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c82 virgl_vtest_send_transfer_cmd(vtws, VCMD_TRANSFER_PUT, res->res_handle, in virgl_vtest_transfer_put()
106 virgl_vtest_send_transfer_cmd(vtws, VCMD_TRANSFER_GET, res->res_handle, in virgl_vtest_transfer_get()
121 virgl_vtest_send_resource_unref(vtws, res->res_handle); in virgl_hw_res_destroy()
133 ret = virgl_vtest_busy_wait(vtws, res->res_handle, 0); in virgl_vtest_resource_is_busy()
247 res->res_handle = handle++; in virgl_vtest_winsys_resource_create()
288 virgl_vtest_busy_wait(vtws, res->res_handle, VCMD_BUSY_WAIT_FLAG_WAIT); in virgl_vtest_resource_wait()
426 unsigned hash = res->res_handle & (sizeof(cbuf->is_handle_added)-1); in virgl_vtest_lookup_res()
460 unsigned hash = res->res_handle & (sizeof(cbuf->is_handle_added)-1); in virgl_vtest_add_res()
503 cbuf->base.buf[cbuf->base.cdw++] = res->res_handle; in virgl_vtest_emit_res()
601 virgl_vtest_busy_wait(vtws, res->res_handle, VCMD_BUSY_WAIT_FLAG_WAIT); in virgl_vtest_flush_frontbuffer()
[all …]
Dvirgl_vtest_winsys.h56 uint32_t res_handle; member
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c74 static acpi_handle res_handle; variable
117 if (!res_handle) { in get_crs_object()
120 res_handle = handle; in get_crs_object()
421 if (res_handle == 0) in acpi_test_resources()
425 status = acpi_get_current_resources(res_handle, &buffer); in acpi_test_resources()
430 status = acpi_get_possible_resources(res_handle, &buffer); in acpi_test_resources()
435 status = acpi_walk_resources(res_handle, METHOD_NAME__CRS, in acpi_test_resources()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirtgpu_drm.h83 uint32_t res_handle; /* returned by kernel */ member
90 uint32_t res_handle; member
Dvirgl_drm_winsys.c219 res->res_handle = createcmd.res_handle; in virgl_drm_winsys_resource_create()
456 res->res_handle = info_arg.res_handle; in virgl_drm_winsys_resource_create_handle()
598 unsigned hash = res->res_handle & (sizeof(cbuf->is_handle_added)-1); in virgl_drm_lookup_res()
620 unsigned hash = res->res_handle & (sizeof(cbuf->is_handle_added)-1); in virgl_drm_add_res()
658 cbuf->base.buf[cbuf->base.cdw++] = res->res_handle; in virgl_drm_emit_res()
Dvirgl_drm_winsys.h38 uint32_t res_handle; member
/external/kernel-headers/original/uapi/drm/
Dvirtgpu_drm.h94 __u32 res_handle; /* returned by kernel */ member
101 __u32 res_handle; member
/external/libdrm/include/drm/
Dvirtgpu_drm.h87 __u32 res_handle; /* returned by kernel */ member
94 __u32 res_handle; member