Home
last modified time | relevance | path

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

12

/external/mesa3d/src/freedreno/drm/
Dfreedreno_drmif.h36 struct fd_device;
82 struct fd_device * fd_device_new(int fd);
83 struct fd_device * fd_device_new_dup(int fd);
84 struct fd_device * fd_device_ref(struct fd_device *dev);
85 void fd_device_del(struct fd_device *dev);
86 int fd_device_fd(struct fd_device *dev);
99 enum fd_version fd_device_version(struct fd_device *dev);
101 bool fd_has_syncobj(struct fd_device *dev);
106 struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
107 struct fd_pipe * fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio);
[all …]
Dfreedreno_device.c38 struct fd_device * kgsl_device_new(int fd);
39 struct fd_device * msm_device_new(int fd);
41 struct fd_device * fd_device_new(int fd) in fd_device_new()
43 struct fd_device *dev; in fd_device_new()
93 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 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()
122 void fd_device_del_locked(struct fd_device *dev) in fd_device_del_locked()
129 void fd_device_del(struct fd_device *dev) in fd_device_del()
[all …]
Dfreedreno_priv.h56 int (*bo_new_handle)(struct fd_device *dev, uint32_t size,
58 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
60 struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id,
62 void (*destroy)(struct fd_device *dev);
76 struct fd_device { struct
110 void fd_device_del_locked(struct fd_device *dev); argument
121 struct fd_device *dev;
152 struct fd_device *dev;
172 struct fd_bo *fd_bo_new_ring(struct fd_device *dev, uint32_t size);
Dmsm_priv.h41 struct fd_device base;
44 FD_DEFINE_CAST(fd_device, msm_device);
46 struct fd_device * msm_device_new(int fd);
60 struct fd_pipe * msm_pipe_new(struct fd_device *dev,
80 int msm_bo_new_handle(struct fd_device *dev,
82 struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
Dmsm_device.c33 static void msm_device_destroy(struct fd_device *dev) in msm_device_destroy()
46 struct fd_device * msm_device_new(int fd) in msm_device_new()
49 struct fd_device *dev; in msm_device_new()
Dfreedreno_bo.c59 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle()
86 bo_new(struct fd_device *dev, uint32_t size, uint32_t flags, in bo_new()
111 _fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) in _fd_bo_new()
131 fd_bo_new_ring(struct fd_device *dev, uint32_t size) in fd_bo_new_ring()
144 fd_bo_from_handle(struct fd_device *dev, uint32_t handle, uint32_t size) in fd_bo_from_handle()
165 fd_bo_from_dmabuf(struct fd_device *dev, int fd) in fd_bo_from_dmabuf()
196 struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name) in fd_bo_from_name()
252 struct fd_device *dev = bo->dev; in fd_bo_del()
Dfreedreno_pipe.c35 fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio) in fd_pipe_new2()
67 fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id) in fd_pipe_new()
Dmsm_bo.c158 int msm_bo_new_handle(struct fd_device *dev, in msm_bo_new_handle()
184 struct fd_bo * msm_bo_from_handle(struct fd_device *dev, in msm_bo_from_handle()
Dmsm_pipe.c110 struct fd_device *dev = pipe->dev; in msm_pipe_wait()
201 struct fd_pipe * msm_pipe_new(struct fd_device *dev, in msm_pipe_new()
/external/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()
/external/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()
/external/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()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c40 drmDevicePtr fd_device; in wsi_device_matches_drm_fd() local
41 int ret = drmGetDevice2(drm_fd, 0, &fd_device); in wsi_device_matches_drm_fd()
46 switch (fd_device->bustype) { in wsi_device_matches_drm_fd()
48 match = wsi->pci_bus_info.pciDomain == fd_device->businfo.pci->domain && in wsi_device_matches_drm_fd()
49 wsi->pci_bus_info.pciBus == fd_device->businfo.pci->bus && in wsi_device_matches_drm_fd()
50 wsi->pci_bus_info.pciDevice == fd_device->businfo.pci->dev && in wsi_device_matches_drm_fd()
51 wsi->pci_bus_info.pciFunction == fd_device->businfo.pci->func; in wsi_device_matches_drm_fd()
58 drmFreeDevice(&fd_device); in wsi_device_matches_drm_fd()
/external/mesa3d/src/freedreno/ir3/
Dir3_compiler.h38 struct fd_device *dev;
114 struct ir3_compiler * ir3_compiler_create(struct fd_device *dev, uint32_t gpu_id);
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h91 struct fd_device *dev;
164 fd_screen_create(struct fd_device *dev, struct renderonly *ro);
/external/mesa3d/src/freedreno/computerator/
Dmain.h81 struct backend *a6xx_init(struct fd_device *dev, uint32_t gpu_id);

12