Lines Matching full:fd
44 * @fd: file descriptor
51 extern int (*igt_ioctl)(int fd, unsigned long request, void *arg);
54 drm_intel_bo * gem_handle_to_libdrm_bo(drm_intel_bufmgr *bufmgr, int fd,
60 bool gem_get_tiling(int fd, uint32_t handle, uint32_t *tiling, uint32_t *swizzle);
61 void gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride);
62 int __gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride);
64 int __gem_set_caching(int fd, uint32_t handle, uint32_t caching);
65 void gem_set_caching(int fd, uint32_t handle, uint32_t caching);
66 uint32_t gem_get_caching(int fd, uint32_t handle);
67 uint32_t gem_flink(int fd, uint32_t handle);
68 uint32_t gem_open(int fd, uint32_t name);
69 void gem_close(int fd, uint32_t handle);
70 int __gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint64_t length);
71 void gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint64_t length);
72 void gem_read(int fd, uint32_t handle, uint64_t offset, void *buf, uint64_t length);
73 int __gem_set_domain(int fd, uint32_t handle, uint32_t read, uint32_t write);
74 void gem_set_domain(int fd, uint32_t handle, uint32_t read, uint32_t write);
75 int gem_wait(int fd, uint32_t handle, int64_t *timeout_ns);
76 void gem_sync(int fd, uint32_t handle);
77 bool gem_create__has_stolen_support(int fd);
78 uint32_t __gem_create_stolen(int fd, uint64_t size);
79 uint32_t gem_create_stolen(int fd, uint64_t size);
80 int __gem_create(int fd, uint64_t size, uint32_t *handle);
81 uint32_t gem_create(int fd, uint64_t size);
82 void gem_execbuf_wr(int fd, struct drm_i915_gem_execbuffer2 *execbuf);
83 int __gem_execbuf_wr(int fd, struct drm_i915_gem_execbuffer2 *execbuf);
84 void gem_execbuf(int fd, struct drm_i915_gem_execbuffer2 *execbuf);
85 int __gem_execbuf(int fd, struct drm_i915_gem_execbuffer2 *execbuf);
93 * @fd: open i915 drm file descriptor
98 #define gem_require_stolen_support(fd) \ argument
99 igt_require(gem_create__has_stolen_support(fd) && \
100 (gem_total_stolen_size(fd) > 0))
102 int gem_madvise(int fd, uint32_t handle, int state);
114 void gem_userptr(int fd, void *ptr, uint64_t size, int read_only, uint32_t flags, uint32_t *handle);
115 int __gem_userptr(int fd, void *ptr, uint64_t size, int read_only, uint32_t flags, uint32_t *handle…
117 void gem_sw_finish(int fd, uint32_t handle);
119 bool gem_bo_busy(int fd, uint32_t handle);
122 void igt_require_gem(int fd);
123 bool gem_has_llc(int fd);
124 bool gem_has_bsd(int fd);
125 bool gem_has_blt(int fd);
126 bool gem_has_vebox(int fd);
127 bool gem_has_bsd2(int fd);
128 bool gem_uses_ppgtt(int fd);
129 bool gem_uses_full_ppgtt(int fd);
130 int gem_gpu_reset_type(int fd);
131 bool gem_gpu_reset_enabled(int fd);
132 bool gem_engine_reset_enabled(int fd);
133 int gem_available_fences(int fd);
134 uint64_t gem_total_mappable_size(int fd);
135 uint64_t gem_total_stolen_size(int fd);
136 uint64_t gem_available_aperture_size(int fd);
137 uint64_t gem_aperture_size(int fd);
138 uint64_t gem_global_aperture_size(int fd);
140 bool gem_has_softpin(int fd);
141 bool gem_has_exec_fence(int fd);
144 void gem_require_caching(int fd);
145 void gem_require_ring(int fd, unsigned ring);
146 bool gem_has_mocs_registers(int fd);
147 void gem_require_mocs_registers(int fd);
167 int prime_handle_to_fd(int fd, uint32_t handle);
171 int prime_handle_to_fd_for_mmap(int fd, uint32_t handle);
172 uint32_t prime_fd_to_handle(int fd, int dma_buf_fd);
209 bool igt_has_fb_modifiers(int fd);
210 void igt_require_fb_modifiers(int fd);
217 int __kms_addfb(int fd, uint32_t handle,