Home
last modified time | relevance | path

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

/external/libdrm/
Dxf86drm.c336 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 …]
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.c218 snprintf(path, sizeof(path), DRM_DEV_NAME, DRM_DIR_NAME, minor); in open_drm_minor()
/external/libdrm/tests/
Ddristat.c271 sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i); in main()
/external/autotest/client/site_tests/graphics_Gbm/src/
Dgbmtest.c135 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drm_open()