Searched refs:DRM_DIR_NAME (Results 1 – 4 of 4) sorted by relevance
/third_party/libdrm/ |
D | xf86drm.c | 796 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenDevice() 806 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice() 809 mkdir(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice() 810 chown_check_return(DRM_DIR_NAME, 0, 0); /* root:root */ in drmOpenDevice() 811 chmod(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice() 832 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice() 909 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenMinor() 3249 snprintf(name, sizeof name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drmGetDeviceNameFromFd() 3381 if (snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", in drmGetMinorNameForFD() 3431 snprintf(name, sizeof(name), DRM_DIR_NAME "/%s%d", mname, in drmGetMinorNameForFD() [all …]
|
D | xf86drm.h | 80 #define DRM_DIR_NAME "/dev" macro 85 #define DRM_DIR_NAME "/dev/dri" 97 (sizeof(DRM_DIR_NAME) + 1 /* slash */ \
|
/third_party/mesa3d/src/gallium/auxiliary/pipe-loader/ |
D | pipe_loader_drm.c | 204 snprintf(path, sizeof(path), DRM_RENDER_NODE_DEV_NAME_FORMAT, DRM_DIR_NAME, in open_drm_render_node_minor()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_drm.c | 700 int n = snprintf(buf, sizeof(buf), DRM_DEV_NAME, DRM_DIR_NAME, 0); in dri2_initialize_drm()
|