Home
last modified time | relevance | path

Searched refs:drm_class (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_sysfs.c61 struct class *drm_class; variable
145 drm_class = class_create("drm"); in drm_sysfs_init()
146 if (IS_ERR(drm_class)) in drm_sysfs_init()
147 return PTR_ERR(drm_class); in drm_sysfs_init()
149 err = class_create_file(drm_class, &class_attr_version.attr); in drm_sysfs_init()
151 class_destroy(drm_class); in drm_sysfs_init()
152 drm_class = NULL; in drm_sysfs_init()
156 drm_class->devnode = drm_devnode; in drm_sysfs_init()
169 if (IS_ERR_OR_NULL(drm_class)) in drm_sysfs_destroy()
172 class_remove_file(drm_class, &class_attr_version.attr); in drm_sysfs_destroy()
[all …]
H A Ddrm_internal.h146 extern struct class *drm_class;
H A Ddrm_privacy_screen.c404 priv->dev.class = drm_class; in drm_privacy_screen_register()