Searched refs:DRM_DIR_NAME (Results 1 – 8 of 8) sorted by relevance
/external/libdrm/ |
D | xf86drm.c | 355 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenDevice() 365 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice() 368 mkdir(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice() 369 chown_check_return(DRM_DIR_NAME, 0, 0); /* root:root */ in drmOpenDevice() 370 chmod(DRM_DIR_NAME, DRM_DEV_DIRMODE); in drmOpenDevice() 391 if (stat(DRM_DIR_NAME, &st)) { in drmOpenDevice() 479 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenMinor() 2716 snprintf(name, sizeof name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drmGetDeviceNameFromFd() 2822 snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", in drmGetMinorNameForFD() 2870 n = snprintf(buf, sizeof(buf), dev_name, DRM_DIR_NAME, min - base); in drmGetMinorNameForFD() [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 | 231 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/ |
D | platform_surfaceless.c | 288 if (asprintf(&card_path, DRM_RENDER_DEV_NAME, DRM_DIR_NAME, base + i) < 0) in dri2_initialize_surfaceless()
|
D | platform_drm.c | 676 int n = snprintf(buf, sizeof(buf), DRM_DEV_NAME, DRM_DIR_NAME, 0); in dri2_initialize_drm()
|
D | platform_android.c | 998 if (asprintf(&card_path, DRM_RENDER_DEV_NAME, DRM_DIR_NAME, base + i) < 0) in droid_probe_device()
|
/external/mesa3d/src/loader/ |
D | loader.c | 322 n = snprintf(buf, sizeof(buf), DRM_DEV_NAME, DRM_DIR_NAME, min); in drm_get_device_name_for_fd()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 271 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drm_open()
|