Home
last modified time | relevance | path

Searched refs:fd_device (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_drmif.h41 struct fd_device;
115 struct fd_device *fd_device_new(int fd);
116 struct fd_device *fd_device_new_dup(int fd);
117 struct fd_device *fd_device_ref(struct fd_device *dev);
118 void fd_device_purge(struct fd_device *dev);
119 void fd_device_del(struct fd_device *dev);
120 int fd_device_fd(struct fd_device *dev);
135 enum fd_version fd_device_version(struct fd_device *dev);
137 bool fd_has_syncobj(struct fd_device *dev);
142 struct fd_pipe *fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
[all …]
Dfreedreno_device.c36 struct fd_device *msm_device_new(int fd, drmVersionPtr version);
38 struct fd_device *
41 struct fd_device *dev; in fd_device_new()
96 struct fd_device *
100 struct fd_device *dev = fd_device_new(dup_fd); in fd_device_new_dup()
108 struct fd_device *
109 fd_device_ref(struct fd_device *dev) in fd_device_ref()
116 fd_device_purge(struct fd_device *dev) in fd_device_purge()
125 fd_device_del_impl(struct fd_device *dev) in fd_device_del_impl()
143 fd_device_del_locked(struct fd_device *dev) in fd_device_del_locked()
[all …]
Dfreedreno_priv.h92 int (*bo_new_handle)(struct fd_device *dev, uint32_t size, uint32_t flags,
94 struct fd_bo *(*bo_from_handle)(struct fd_device *dev, uint32_t size,
96 struct fd_pipe *(*pipe_new)(struct fd_device *dev, enum fd_pipe_id id,
98 void (*destroy)(struct fd_device *dev);
112 struct fd_device { struct
168 void fd_device_del_locked(struct fd_device *dev); argument
196 struct fd_device *dev;
251 fd_dev_count_deferred_cmds(struct fd_device *dev) in fd_dev_count_deferred_cmds()
284 struct fd_device *dev;
334 struct fd_bo *fd_bo_new_ring(struct fd_device *dev, uint32_t size);
Dmsm_priv.h44 struct fd_device base;
47 FD_DEFINE_CAST(fd_device, msm_device);
49 struct fd_device *msm_device_new(int fd, drmVersionPtr version);
81 struct fd_pipe *msm_pipe_new(struct fd_device *dev, enum fd_pipe_id id,
103 int msm_bo_new_handle(struct fd_device *dev, uint32_t size, uint32_t flags,
105 struct fd_bo *msm_bo_from_handle(struct fd_device *dev, uint32_t size,
Dmsm_device.c34 msm_device_destroy(struct fd_device *dev) in msm_device_destroy()
50 struct fd_device *
54 struct fd_device *dev; in msm_device_new()
Dfreedreno_bo.c62 bo_from_handle(struct fd_device *dev, uint32_t size, uint32_t handle) in bo_from_handle()
90 bo_new(struct fd_device *dev, uint32_t size, uint32_t flags, in bo_new()
123 _fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) in _fd_bo_new()
143 fd_bo_new_ring(struct fd_device *dev, uint32_t size) in fd_bo_new_ring()
156 fd_bo_from_handle(struct fd_device *dev, uint32_t handle, uint32_t size) in fd_bo_from_handle()
177 fd_bo_from_dmabuf(struct fd_device *dev, int fd) in fd_bo_from_dmabuf()
209 fd_bo_from_name(struct fd_device *dev, uint32_t name) in fd_bo_from_name()
268 struct fd_device *dev = bo->dev; in bo_del_or_recycle()
Dfreedreno_pipe.c35 fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio) in fd_pipe_new2()
89 fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id) in fd_pipe_new()
137 struct fd_device *dev = pipe->dev; in fd_pipe_purge()
Dmsm_bo.c168 msm_bo_new_handle(struct fd_device *dev, uint32_t size, uint32_t flags, in msm_bo_new_handle()
198 msm_bo_from_handle(struct fd_device *dev, uint32_t size, uint32_t handle) in msm_bo_from_handle()
Dmsm_pipe.c113 struct fd_device *dev = pipe->dev; in msm_pipe_wait()
213 msm_pipe_new(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio) in msm_pipe_new()
/third_party/libdrm/freedreno/
Dfreedreno_drmif.h46 struct fd_device;
87 struct fd_device * fd_device_new(int fd);
88 struct fd_device * fd_device_new_dup(int fd);
89 struct fd_device * fd_device_ref(struct fd_device *dev);
90 void fd_device_del(struct fd_device *dev);
91 int fd_device_fd(struct fd_device *dev);
100 enum fd_version fd_device_version(struct fd_device *dev);
105 struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
106 struct fd_pipe * fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio);
120 struct fd_bo * fd_bo_new(struct fd_device *dev,
[all …]
Dfreedreno_device.c38 struct fd_device * kgsl_device_new(int fd);
39 struct fd_device * msm_device_new(int fd);
41 drm_public struct fd_device * fd_device_new(int fd) in fd_device_new()
43 struct fd_device *dev; in fd_device_new()
93 drm_public struct fd_device * fd_device_new_dup(int fd) in fd_device_new_dup()
96 struct fd_device *dev = fd_device_new(dup_fd); in fd_device_new_dup()
104 drm_public struct fd_device * fd_device_ref(struct fd_device *dev) in fd_device_ref()
110 static void fd_device_del_impl(struct fd_device *dev) in fd_device_del_impl()
121 drm_private void fd_device_del_locked(struct fd_device *dev) in fd_device_del_locked()
128 drm_public void fd_device_del(struct fd_device *dev) in fd_device_del()
[all …]
Dfreedreno_priv.h62 int (*bo_new_handle)(struct fd_device *dev, uint32_t size,
64 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
66 struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id,
68 void (*destroy)(struct fd_device *dev);
82 struct fd_device { struct
116 drm_private void fd_device_del_locked(struct fd_device *dev); argument
127 struct fd_device *dev;
158 struct fd_device *dev;
176 drm_private struct fd_bo *fd_bo_new_ring(struct fd_device *dev,
Dfreedreno_bo.c58 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle()
82 bo_new(struct fd_device *dev, uint32_t size, uint32_t flags, in bo_new()
107 fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) in fd_bo_new()
121 fd_bo_new_ring(struct fd_device *dev, uint32_t size, uint32_t flags) in fd_bo_new_ring()
130 fd_bo_from_handle(struct fd_device *dev, uint32_t handle, uint32_t size) in fd_bo_from_handle()
151 fd_bo_from_dmabuf(struct fd_device *dev, int fd) in fd_bo_from_dmabuf()
182 drm_public struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name) in fd_bo_from_name()
235 struct fd_device *dev = bo->dev; in fd_bo_del()
Dfreedreno_pipe.c37 fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio) in fd_pipe_new2()
69 fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id) in fd_pipe_new()
/third_party/libdrm/freedreno/kgsl/
Dkgsl_priv.h37 struct fd_device base;
40 static inline struct kgsl_device * to_kgsl_device(struct fd_device *x) in to_kgsl_device()
94 drm_private struct fd_device * kgsl_device_new(int fd);
105 drm_private struct fd_pipe * kgsl_pipe_new(struct fd_device *dev,
111 drm_private int kgsl_bo_new_handle(struct fd_device *dev,
113 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev,
Dkgsl_device.c35 static void kgsl_device_destroy(struct fd_device *dev) in kgsl_device_destroy()
48 drm_private struct fd_device * kgsl_device_new(int fd) in kgsl_device_new()
51 struct fd_device *dev; in kgsl_device_new()
Dkgsl_bo.c33 static int set_memtype(struct fd_device *dev, uint32_t handle, uint32_t flags) in set_memtype()
136 drm_private int kgsl_bo_new_handle(struct fd_device *dev, in kgsl_bo_new_handle()
160 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev, in kgsl_bo_from_handle()
/third_party/libdrm/freedreno/msm/
Dmsm_priv.h41 struct fd_device base;
46 static inline struct msm_device * to_msm_device(struct fd_device *x) in to_msm_device()
51 drm_private struct fd_device * msm_device_new(int fd);
78 drm_private struct fd_pipe * msm_pipe_new(struct fd_device *dev,
101 drm_private int msm_bo_new_handle(struct fd_device *dev,
103 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
Dmsm_device.c35 static void msm_device_destroy(struct fd_device *dev) in msm_device_destroy()
48 drm_private struct fd_device * msm_device_new(int fd) in msm_device_new()
51 struct fd_device *dev; in msm_device_new()
Dmsm_bo.c136 drm_private int msm_bo_new_handle(struct fd_device *dev, in msm_bo_new_handle()
156 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev, in msm_bo_from_handle()
Dmsm_pipe.c81 struct fd_device *dev = pipe->dev; in msm_pipe_wait()
168 drm_private struct fd_pipe * msm_pipe_new(struct fd_device *dev, in msm_pipe_new()
/third_party/mesa3d/src/freedreno/computerator/
Dmain.h83 struct backend *a4xx_init(struct fd_device *dev, const struct fd_dev_id *dev_id);
84 struct backend *a6xx_init(struct fd_device *dev, const struct fd_dev_id *dev_id);
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c43 drmDevicePtr fd_device; in wsi_device_matches_drm_fd() local
44 int ret = drmGetDevice2(drm_fd, 0, &fd_device); in wsi_device_matches_drm_fd()
49 switch (fd_device->bustype) { in wsi_device_matches_drm_fd()
51 match = wsi->pci_bus_info.pciDomain == fd_device->businfo.pci->domain && in wsi_device_matches_drm_fd()
52 wsi->pci_bus_info.pciBus == fd_device->businfo.pci->bus && in wsi_device_matches_drm_fd()
53 wsi->pci_bus_info.pciDevice == fd_device->businfo.pci->dev && in wsi_device_matches_drm_fd()
54 wsi->pci_bus_info.pciFunction == fd_device->businfo.pci->func; in wsi_device_matches_drm_fd()
61 drmFreeDevice(&fd_device); in wsi_device_matches_drm_fd()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler.h41 struct fd_device *dev;
165 struct ir3_compiler *ir3_compiler_create(struct fd_device *dev,
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h115 struct fd_device *dev;
194 struct pipe_screen *fd_screen_create(struct fd_device *dev,

12