Searched refs:DRM_DIR_NAME (Results 1 – 5 of 5) sorted by relevance
/external/libdrm/ |
D | xf86drm.c | 336 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenDevice() 346 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice() 349 mkdir(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice() 350 chown_check_return(DRM_DIR_NAME, 0, 0); /* root:root */ in drmOpenDevice() 351 chmod(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice() 372 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice() 460 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenMinor() 2699 snprintf(name, sizeof name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drmGetDeviceNameFromFd() 2805 snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", in drmGetMinorNameForFD() 2940 return sizeof(DRM_DIR_NAME) + in drmGetMaxNodeName() [all …]
|
D | xf86drm.h | 80 #define DRM_DIR_NAME "/dev" macro 85 #define DRM_DIR_NAME "/dev/dri"
|
/external/mesa3d/src/gallium/auxiliary/pipe-loader/ |
D | pipe_loader_drm.c | 218 snprintf(path, sizeof(path), DRM_DEV_NAME, DRM_DIR_NAME, minor); in open_drm_minor()
|
/external/libdrm/tests/ |
D | dristat.c | 271 sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i); in main()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 135 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drm_open()
|