Home
last modified time | relevance | path

Searched refs:drm (Results 1 – 25 of 189) sorted by relevance

12345678

/third_party/libdrm/
DMakefile.sources21 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/msm_drm.h \
29 include/drm/nouveau_drm.h \
30 include/drm/qxl_drm.h \
[all …]
Dmeson.build305 inc_drm = include_directories('include/drm')
308 'drm',
339 'include/drm/drm.h', 'include/drm/drm_fourcc.h', 'include/drm/drm_mode.h',
340 'include/drm/drm_sarea.h', 'include/drm/i915_drm.h',
341 'include/drm/mach64_drm.h', 'include/drm/mga_drm.h',
342 'include/drm/msm_drm.h', 'include/drm/nouveau_drm.h',
343 'include/drm/qxl_drm.h', 'include/drm/r128_drm.h',
344 'include/drm/radeon_drm.h', 'include/drm/amdgpu_drm.h',
345 'include/drm/savage_drm.h', 'include/drm/sis_drm.h',
346 'include/drm/tegra_drm.h', 'include/drm/vc4_drm.h',
[all …]
DAndroid.mk46 $(LOCAL_PATH)/include/drm \
50 $(LOCAL_PATH)/include/drm
62 $(LOCAL_PATH)/include/drm \
69 $(LOCAL_PATH)/include/drm
/third_party/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c46 struct wl_drm *drm = buffer->drm; in destroy_buffer() local
48 drm->callbacks.release_buffer(drm->user_data, buffer); in destroy_buffer()
67 struct wl_drm *drm = wl_resource_get_user_data(resource); in create_buffer() local
76 buffer->drm = drm; in create_buffer()
87 drm->callbacks.reference_buffer(drm->user_data, name, fd, buffer); in create_buffer()
104 (void (**)(void)) &drm->buffer_interface, in create_buffer()
181 struct wl_drm *drm = wl_resource_get_user_data(resource); in drm_authenticate() local
183 if (!drm->callbacks.authenticate || in drm_authenticate()
184 drm->callbacks.authenticate(drm->user_data, id) < 0) in drm_authenticate()
202 struct wl_drm *drm = data; in bind_drm() local
[all …]
Dmeson.build24 'wayland-drm-protocol.c',
25 input : 'wayland-drm.xml',
26 output : 'wayland-drm-protocol.c',
31 'wayland-drm-client-protocol.h',
32 input : 'wayland-drm.xml',
33 output : 'wayland-drm-client-protocol.h',
38 'wayland-drm-server-protocol.h',
39 input : 'wayland-drm.xml',
40 output : 'wayland-drm-server-protocol.h',
46 ['wayland-drm.c', wayland_drm_protocol_c, wayland_drm_server_protocol_h],
[all …]
Dwayland-drm.h37 struct wl_drm *drm; member
49 wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) in wayland_drm_buffer_get() argument
55 &drm->buffer_interface)) in wayland_drm_buffer_get()
67 wayland_drm_uninit(struct wl_drm *drm);
/third_party/libdrm/tegra/
Dtegra.c40 struct drm_tegra *drm = bo->drm; in drm_tegra_bo_free() local
49 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &args); in drm_tegra_bo_free()
56 struct drm_tegra *drm; in drm_tegra_wrap() local
61 drm = calloc(1, sizeof(*drm)); in drm_tegra_wrap()
62 if (!drm) in drm_tegra_wrap()
65 drm->close = close; in drm_tegra_wrap()
66 drm->fd = fd; in drm_tegra_wrap()
68 *drmp = drm; in drm_tegra_wrap()
93 drm_public void drm_tegra_close(struct drm_tegra *drm) in drm_tegra_close() argument
95 if (!drm) in drm_tegra_close()
[all …]
Dtegra.h35 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,
/third_party/libdrm/nouveau/
Dnouveau.c66 struct nouveau_drm *drm = nouveau_drm(obj); in nouveau_object_ioctl() local
75 if (obj != &drm->client) in nouveau_object_ioctl()
88 return drmCommandWriteRead(drm->fd, DRM_NOUVEAU_NVIF, args, argc); in nouveau_object_ioctl()
95 struct nouveau_drm *drm = nouveau_drm(obj); in nouveau_object_mthd() local
104 if (!drm->nvif) in nouveau_object_mthd()
137 struct nouveau_drm *drm = nouveau_drm(obj); in nouveau_object_sclass_get() local
146 if (!drm->nvif) in nouveau_object_sclass_get()
235 struct nouveau_drm *drm = nouveau_drm(parent); in nouveau_object_init() local
250 if (!abi16_object(obj, &func) && drm->nvif) { in nouveau_object_init()
327 struct nouveau_drm *drm; in nouveau_drm_new() local
[all …]
Dabi16.c37 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_chan_nv04() local
45 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nv04()
61 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_chan_nvc0() local
66 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nvc0()
82 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_chan_nve0() local
92 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nve0()
108 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_engobj() local
137 ret = drmCommandWrite(drm->fd, DRM_NOUVEAU_GROBJ_ALLOC, in abi16_engobj()
149 struct nouveau_drm *drm = nouveau_drm(obj); in abi16_ntfy() local
158 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_NOTIFIEROBJ_ALLOC, in abi16_ntfy()
[all …]
/third_party/weston/libweston/backend-drm/
Dmeson.build1 if not get_option('backend-drm')
23 'drm.c',
47 …error('drm-backend with GL renderer requires gbm which was not found. Or, you can use \'-Drenderer…
56 srcs_drm += 'drm-gbm.c'
60 if get_option('backend-drm-screencast-vaapi')
61 foreach name : [ 'libva', 'libva-drm' ]
64 …er requires @0@ >= 0.34.0 which was not found. Or, you can use \'-Dbackend-drm-screencast-vaapi=fa…
78 srcs_drm += 'drm-virtual.c'
83 'drm-backend',
91 env_modmap += 'drm-backend.so=@0@;'.format(plugin_drm.full_path())
Dkms.c321 prop = drmModeGetProperty(b->drm.fd, props->props[i]); in drm_property_info_populate()
459 blob = drmModeGetPropertyBlob(plane->backend->drm.fd, blob_id); in drm_plane_populate_formats()
538 rc = drmModeCrtcSetGamma(backend->drm.fd, in drm_output_set_gamma()
628 drmModeSetCursor(b->drm.fd, output->crtc_id, 0, 0, 0); in drm_output_set_cursor()
637 if (drmModeSetCursor(b->drm.fd, output->crtc_id, handle, in drm_output_set_cursor()
648 if (drmModeMoveCursor(b->drm.fd, output->crtc_id, in drm_output_set_cursor()
658 drmModeSetCursor(b->drm.fd, output->crtc_id, 0, 0, 0); in drm_output_set_cursor()
696 ret = drmModeSetCursor(backend->drm.fd, output->crtc_id, in drm_output_apply_state_legacy()
703 ret = drmModeSetCrtc(backend->drm.fd, output->crtc_id, 0, 0, 0, in drm_output_apply_state_legacy()
743 ret = drmModeSetCrtc(backend->drm.fd, output->crtc_id, in drm_output_apply_state_legacy()
[all …]
Ddrm.c450 drmModeCreatePropertyBlob(b->drm.fd, rects, in drm_output_render()
577 ret = drmWaitVBlank(backend->drm.fd, &vbl); in drm_output_start_repaint_loop()
811 props = drmModeObjectGetProperties(b->drm.fd, kplane->plane_id, in drm_plane_create()
982 drmModeSetPlane(plane->backend->drm.fd, plane->plane_id, in drm_plane_destroy()
1007 kplane_res = drmModeGetPlaneResources(b->drm.fd); in create_sprites()
1015 kplane = drmModeGetPlane(b->drm.fd, kplane_res->planes[i]); in create_sprites()
1418 int drm_fd = backend->drm.fd; in drm_head_read_current_setup()
1471 crtc = drmModeGetCrtc(backend->drm.fd, output->crtc_id); in drm_output_init_gamma_size()
1490 encoder = drmModeGetEncoder(head->backend->drm.fd, in drm_head_get_possible_crtcs_mask()
1663 props = drmModeObjectGetProperties(b->drm.fd, output->crtc_id, in drm_output_init_crtc()
[all …]
Dfb.c150 ret = drmIoctl(b->drm.fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_arg); in drm_fb_create_dumb()
162 fb->fd = b->drm.fd; in drm_fb_create_dumb()
177 MAP_SHARED, b->drm.fd, map_arg.offset); in drm_fb_create_dumb()
181 MAP_SHARED, b->drm.fd, map_arg.offset); in drm_fb_create_dumb()
191 drmModeRmFB(b->drm.fd, fb->fb_id); in drm_fb_create_dumb()
195 drmIoctl(b->drm.fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_arg); in drm_fb_create_dumb()
325 fb->fd = backend->drm.fd; in drm_fb_get_from_dmabuf()
414 fb->fd = backend->drm.fd; in drm_fb_get_from_bo()
/third_party/mesa3d/src/gallium/
Dmeson.build67 subdir('winsys/radeon/drm')
80 subdir('winsys/amdgpu/drm')
86 subdir('winsys/nouveau/drm')
92 subdir('winsys/freedreno/drm')
98 subdir('winsys/vc4/drm')
104 subdir('winsys/panfrost/drm')
110 subdir('winsys/etnaviv/drm')
116 subdir('winsys/kmsro/drm')
121 subdir('winsys/v3d/drm')
127 subdir('winsys/tegra/drm')
[all …]
/third_party/mesa3d/include/drm-uapi/
DREADME7 in the drm-next tree.
21 …Merge tag 'drm-intel-gt-next-2021-06-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-n…
/third_party/libdrm/man/
Dmeson.build30 ['drm', '7'], ['drm-kms', '7'], ['drm-memory', '7'], ['drmAvailable', '3'],
47 foreach x : ['drm-mm', 'drm-gem', 'drm-ttm']
50 input : 'drm-memory.xml',
/third_party/mesa3d/src/gallium/winsys/nouveau/drm/
Dnouveau_drm_winsys.c36 _mesa_hash_table_remove_key(fd_tab, intptr_to_pointer(screen->drm->fd)); in nouveau_drm_screen_unref()
44 struct nouveau_drm *drm = NULL; in nouveau_drm_screen_create() local
77 ret = nouveau_drm_new(dupfd, &drm); in nouveau_drm_screen_create()
81 ret = nouveau_device_new(&drm->client, NV_DEVICE, in nouveau_drm_screen_create()
136 nouveau_drm_del(&drm); in nouveau_drm_screen_create()
/third_party/mesa3d/src/gallium/targets/d3dadapter9/
Ddrm.c103 struct d3dadapter9drm_context *drm = (struct d3dadapter9drm_context *)ctx; in drm_destroy() local
111 if (drm->swdev && drm->swdev != drm->dev) in drm_destroy()
112 pipe_loader_release(&drm->swdev, 1); in drm_destroy()
113 if (drm->dev) in drm_destroy()
114 pipe_loader_release(&drm->dev, 1); in drm_destroy()
116 close(drm->fd); in drm_destroy()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_wayland.c39 device_select_drm_handle_device(void *data, struct wl_drm *drm, const char *device) in device_select_drm_handle_device() argument
55 device_select_drm_handle_format(void *data, struct wl_drm *drm, uint32_t format) in device_select_drm_handle_format() argument
61 device_select_drm_handle_authenticated(void *data, struct wl_drm *drm) in device_select_drm_handle_authenticated() argument
68 device_select_drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t value) in device_select_drm_handle_capabilities() argument
/third_party/libdrm/include/drm/
DREADME3 This is the canonical source of drm headers that user space should use for
40 XXX airlied says, nothing besides *_drm.h and drm*.h should be necessary.
46 Reason behind is that the drm headers can be used as a basic communications
65 (from drm-next) as they see fit.
74 For example: drm-next (https://cgit.freedesktop.org/drm/drm)
76 - Copy the drm header[s] + git add + git commit.
/third_party/weston/man/
Dmeson.build39 if get_option('backend-drm')
41 input: 'weston-drm.man',
42 output: 'weston-drm.7',
/third_party/ffmpeg/tests/fate/
Dmicrosoft.mak43 FATE_WMV3_DRM += fate-wmv3-drm-dec
45 fate-wmv3-drm-dec: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(TARGET_S…
47 FATE_WMV3_DRM += fate-wmv3-drm-nodec
48 fate-wmv3-drm-nodec: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(TARGET…
51 fate-wmv3-drm: $(FATE_WMV3_DRM)
/third_party/weston/remoting/
DREADME5 it to a remote host. It is currently only supported on the drm-backend. Virtual
7 weston.ini. See man weston-drm(7) for configuration details. This plugin is
28 See man weston-drm(7).
/third_party/mesa3d/src/etnaviv/
Dmeson.build23 subdir('drm') subdir
25 if with_tools.contains('drm-shim')
26 subdir('drm-shim')

12345678