Home
last modified time | relevance | path

Searched refs:DRM_DIR_NAME (Results 1 – 7 of 7) sorted by relevance

/external/libdrm/
Dxf86drm.c352 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenDevice()
362 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice()
365 mkdir(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice()
366 chown_check_return(DRM_DIR_NAME, 0, 0); /* root:root */ in drmOpenDevice()
367 chmod(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice()
388 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice()
476 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenMinor()
2754 snprintf(name, sizeof name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drmGetDeviceNameFromFd()
2851 snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", in drmGetMinorNameForFD()
2893 n = snprintf(buf, sizeof(buf), dev_name, DRM_DIR_NAME, min - base); in drmGetMinorNameForFD()
[all …]
Dxf86drm.h80 #define DRM_DIR_NAME "/dev" macro
85 #define DRM_DIR_NAME "/dev/dri"
/external/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader_drm.c213 snprintf(path, sizeof(path), DRM_RENDER_NODE_DEV_NAME_FORMAT, DRM_DIR_NAME, in open_drm_render_node_minor()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_surfaceless.c281 if (asprintf(&card_path, DRM_RENDER_DEV_NAME, DRM_DIR_NAME, base + i) < 0) in surfaceless_probe_device()
Dplatform_drm.c671 int n = snprintf(buf, sizeof(buf), DRM_DEV_NAME, DRM_DIR_NAME, 0); in dri2_initialize_drm()
/external/minigbm/cros_gralloc/
Dcros_gralloc_driver.cc49 if (asprintf(&node, str, DRM_DIR_NAME, j) < 0) in init()
/external/autotest/client/site_tests/graphics_Gbm/src/
Dgbmtest.c272 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drm_open()