/external/libdrm/tegra/ |
D | tegra.c | 44 struct drm_tegra *drm = bo->drm; in drm_tegra_bo_free() local 53 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &args); in drm_tegra_bo_free() 60 struct drm_tegra *drm; in drm_tegra_wrap() local 65 drm = calloc(1, sizeof(*drm)); in drm_tegra_wrap() 66 if (!drm) in drm_tegra_wrap() 69 drm->close = close; in drm_tegra_wrap() 70 drm->fd = fd; in drm_tegra_wrap() 72 *drmp = drm; in drm_tegra_wrap() 97 void drm_tegra_close(struct drm_tegra *drm) in drm_tegra_close() argument 99 if (!drm) in drm_tegra_close() [all …]
|
D | tegra.h | 35 void drm_tegra_close(struct drm_tegra *drm); 37 int drm_tegra_bo_new(struct drm_tegra_bo **bop, struct drm_tegra *drm, 39 int drm_tegra_bo_wrap(struct drm_tegra_bo **bop, struct drm_tegra *drm, 42 int drm_tegra_bo_name_ref(struct drm_tegra *drm, uint32_t name, uint32_t size,
|
/external/drm_gralloc/ |
D | gralloc_drm.cpp | 108 struct gralloc_drm_t *drm; in gralloc_drm_create() local 111 drm = new gralloc_drm_t; in gralloc_drm_create() 112 if (!drm) in gralloc_drm_create() 116 drm->fd = open(path, O_RDWR); in gralloc_drm_create() 117 if (drm->fd < 0) { in gralloc_drm_create() 122 drm->drv = init_drv_from_fd(drm->fd); in gralloc_drm_create() 123 if (!drm->drv) { in gralloc_drm_create() 124 close(drm->fd); in gralloc_drm_create() 125 delete drm; in gralloc_drm_create() 129 return drm; in gralloc_drm_create() [all …]
|
D | gralloc.cpp | 43 if (!dmod->drm) { in drm_init() 44 dmod->drm = gralloc_drm_create(); in drm_init() 45 if (!dmod->drm) in drm_init() 68 *fd = gralloc_drm_get_fd(dmod->drm); in drm_mod_perform() 91 return gralloc_drm_handle_register(handle, dmod->drm); in drm_mod_register_buffer() 172 gralloc_drm_destroy(dmod->drm); in drm_mod_close_gpu0() 204 bo = gralloc_drm_bo_create(dmod->drm, w, h, format, usage); in drm_mod_alloc_gpu0() 279 .drm = NULL
|
D | gralloc_drm.h | 44 void gralloc_drm_destroy(struct gralloc_drm_t *drm); 46 int gralloc_drm_get_fd(struct gralloc_drm_t *drm); 112 int gralloc_drm_handle_register(buffer_handle_t handle, struct gralloc_drm_t *drm); 115 struct gralloc_drm_bo_t *gralloc_drm_bo_create(struct gralloc_drm_t *drm, int width, int height, in… 122 unsigned int planes_for_format(struct gralloc_drm_t *drm, int hal_format);
|
/external/libdrm/ |
D | Makefile.sources | 21 include/drm/drm.h \ 22 include/drm/drm_fourcc.h \ 23 include/drm/drm_mode.h \ 24 include/drm/drm_sarea.h \ 25 include/drm/i915_drm.h \ 26 include/drm/mach64_drm.h \ 27 include/drm/mga_drm.h \ 28 include/drm/nouveau_drm.h \ 29 include/drm/qxl_drm.h \ 30 include/drm/r128_drm.h \ [all …]
|
D | Makefile.am | 125 libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm 142 EXTRA_DIST = include/drm/README 145 cp -r $(kernel_source)/include/uapi/drm/*.h $(top_srcdir)/include/drm/ 148 git add include/drm/*.h
|
/external/mesa3d/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 59 struct wl_drm *drm = buffer->drm; in destroy_buffer() local 61 drm->callbacks->release_buffer(drm->user_data, buffer); in destroy_buffer() 80 struct wl_drm *drm = resource->data; in create_buffer() local 89 buffer->drm = drm; in create_buffer() 100 drm->callbacks->reference_buffer(drm->user_data, name, fd, buffer); in create_buffer() 117 (void (**)(void)) &drm->buffer_interface, in create_buffer() 190 struct wl_drm *drm = resource->data; in drm_authenticate() local 192 if (drm->callbacks->authenticate(drm->user_data, id) < 0) in drm_authenticate() 210 struct wl_drm *drm = data; in bind_drm() local 223 wl_resource_post_event(resource, WL_DRM_DEVICE, drm->device_name); in bind_drm() [all …]
|
D | Makefile.am | 7 noinst_LTLIBRARIES = libwayland-drm.la 9 wayland-drm.c \ 10 wayland-drm.h \ 11 wayland-drm-protocol.c 12 noinst_HEADERS = wayland-drm.h 14 EXTRA_DIST = wayland-drm.xml 16 BUILT_SOURCES = wayland-drm-protocol.c \ 17 wayland-drm-client-protocol.h \ 18 wayland-drm-server-protocol.h
|
/external/libdrm/nouveau/ |
D | nouveau.c | 70 struct nouveau_drm *drm = nouveau_drm(obj); in nouveau_object_ioctl() local 79 if (obj != &drm->client) in nouveau_object_ioctl() 92 return drmCommandWriteRead(drm->fd, DRM_NOUVEAU_NVIF, args, argc); in nouveau_object_ioctl() 99 struct nouveau_drm *drm = nouveau_drm(obj); in nouveau_object_mthd() local 108 if (!drm->nvif) in nouveau_object_mthd() 141 struct nouveau_drm *drm = nouveau_drm(obj); in nouveau_object_sclass_get() local 150 if (!drm->nvif) in nouveau_object_sclass_get() 239 struct nouveau_drm *drm = nouveau_drm(parent); in nouveau_object_init() local 254 if (!abi16_object(obj, &func) && drm->nvif) { in nouveau_object_init() 331 struct nouveau_drm *drm; in nouveau_drm_new() local [all …]
|
D | abi16.c | 41 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_chan_nv04() local 49 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nv04() 65 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_chan_nvc0() local 70 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nvc0() 86 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_chan_nve0() local 96 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nve0() 112 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_engobj() local 141 ret = drmCommandWrite(drm->fd, DRM_NOUVEAU_GROBJ_ALLOC, in abi16_engobj() 153 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_ntfy() local 162 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_NOTIFIEROBJ_ALLOC, in abi16_ntfy() [all …]
|
/external/mesa3d/src/gallium/ |
D | Android.mk | 43 SUBDIRS += winsys/freedreno/drm drivers/freedreno 48 SUBDIRS += winsys/i915/drm drivers/i915 53 SUBDIRS += winsys/intel/drm drivers/ilo 59 winsys/nouveau/drm \ 65 SUBDIRS += winsys/radeon/drm 76 SUBDIRS += winsys/amdgpu/drm 83 SUBDIRS += winsys/vc4/drm drivers/vc4 88 SUBDIRS += winsys/virgl/drm winsys/virgl/vtest drivers/virgl 93 SUBDIRS += winsys/svga/drm drivers/svga
|
D | Makefile.am | 22 SUBDIRS += drivers/freedreno winsys/freedreno/drm 27 SUBDIRS += drivers/i915 winsys/i915/drm 32 SUBDIRS += drivers/ilo winsys/intel/drm 37 SUBDIRS += drivers/nouveau winsys/nouveau/drm 42 SUBDIRS += drivers/svga winsys/svga/drm 63 SUBDIRS += winsys/amdgpu/drm 68 SUBDIRS += winsys/radeon/drm 72 SUBDIRS += drivers/etnaviv winsys/etnaviv/drm 76 SUBDIRS += drivers/imx winsys/imx/drm 95 SUBDIRS += drivers/vc4 winsys/vc4/drm [all …]
|
/external/libdrm/man/ |
D | Makefile.am | 13 drm.xml \ 14 drm-kms.xml \ 15 drm-memory.xml 18 drm-mm.xml \ 19 drm-gem.xml \ 20 drm-ttm.xml
|
/external/drm_hwcomposer/ |
D | hwcomposer.cpp | 130 void Init(DrmResources *drm, const struct hwc_procs *procs) { in Init() argument 131 drm_ = drm; in Init() 196 DrmResources drm; member 221 ctx->drm.compositor()->Dump(&out); in hwc_dump() 245 DrmConnector *c = ctx->drm.GetConnectorForDisplay(i); in hwc_prepare() 448 ctx->drm.compositor()->CreateComposition(ctx->importer.get())); in hwc_set() 459 ret = ctx->drm.compositor()->QueueComposition(std::move(composition)); in hwc_set() 511 return ctx->drm.SetDpmsMode(display, dpmsValue); in hwc_set_power_mode() 543 ctx->hotplug_handler.Init(&ctx->drm, procs); in hwc_register_procs() 544 ctx->drm.event_listener()->RegisterHotplugHandler(&ctx->hotplug_handler); in hwc_register_procs() [all …]
|
D | platformdrmgeneric.cpp | 36 Importer *Importer::CreateInstance(DrmResources *drm) { in CreateInstance() argument 37 DrmGenericImporter *importer = new DrmGenericImporter(drm); in CreateInstance() 51 DrmGenericImporter::DrmGenericImporter(DrmResources *drm) : drm_(drm) { in DrmGenericImporter() argument
|
/external/mesa3d/src/gallium/targets/pipe-loader/ |
D | Makefile.am | 86 $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \ 100 $(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \ 114 $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \ 128 $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ 142 $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ 157 $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ 158 $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la \ 175 $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \ 190 $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \
|
/external/mesa3d/src/vulkan/wsi/ |
D | Makefile.am | 37 -I$(top_builddir)/src/egl/wayland/wayland-drm \ 38 -I$(top_srcdir)/src/egl/wayland/wayland-drm \ 45 $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la \
|
D | wsi_common_wayland.c | 49 struct wl_drm * drm; member 94 drm_handle_device(void *data, struct wl_drm *drm, const char *name) in drm_handle_device() argument 144 drm_handle_format(void *data, struct wl_drm *drm, uint32_t wl_format) in drm_handle_format() argument 201 drm_handle_authenticated(void *data, struct wl_drm *drm) in drm_handle_authenticated() argument 206 drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t capabilities) in drm_handle_capabilities() argument 227 assert(display->drm == NULL); in registry_handle_global() 230 display->drm = wl_registry_bind(registry, name, &wl_drm_interface, 2); in registry_handle_global() 232 if (display->drm) in registry_handle_global() 233 wl_drm_add_listener(display->drm, &drm_listener, display); in registry_handle_global() 251 if (display->drm) in wsi_wl_display_destroy() [all …]
|
/external/mesa3d/src/gallium/winsys/nouveau/drm/ |
D | nouveau_drm_winsys.c | 34 util_hash_table_remove(fd_tab, intptr_to_pointer(screen->drm->fd)); in nouveau_drm_screen_unref() 64 struct nouveau_drm *drm = NULL; in nouveau_drm_screen_create() local 97 ret = nouveau_drm_new(dupfd, &drm); in nouveau_drm_screen_create() 101 ret = nouveau_device_new(&drm->client, NV_DEVICE, in nouveau_drm_screen_create() 154 nouveau_drm_del(&drm); in nouveau_drm_screen_create()
|
/external/mesa3d/src/egl/wayland/ |
D | .gitignore | 1 wayland-drm-client-protocol.h 2 wayland-drm-server-protocol.h 3 wayland-drm-protocol.c
|
/external/mesa3d/src/egl/ |
D | Makefile.am | 72 libEGL_la_LIBADD += $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la 99 -I$(top_builddir)/src/egl/wayland/wayland-drm \ 100 -I$(top_srcdir)/src/egl/wayland/wayland-drm \
|
/external/mesa3d/src/gallium/targets/d3dadapter9/ |
D | drm.c | 97 struct d3dadapter9drm_context *drm = (struct d3dadapter9drm_context *)ctx; in drm_destroy() local 105 if (drm->swdev) in drm_destroy() 106 pipe_loader_release(&drm->swdev, 1); in drm_destroy() 107 if (drm->dev) in drm_destroy() 108 pipe_loader_release(&drm->dev, 1); in drm_destroy() 110 close(drm->fd); in drm_destroy()
|
/external/autotest/client/site_tests/graphics_Drm/ |
D | control | 7 PURPOSE = 'Uses drm-tests to sanity check DRM graphics output' 9 Runs drm-tests. All tests must run without error. 11 ATTRIBUTES = 'suite:graphics_per-day, suite:drm, suite:graphics, suite:graphics_system'
|
D | control.bvt | 7 PURPOSE = 'Uses drm-tests to sanity check DRM graphics output' 9 Runs drm-tests. All tests must run without error. 11 ATTRIBUTES = 'suite:graphics_per-day, suite:drm, suite:graphics, suite:graphics_system, suite:bvt-i…
|