Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/
Ddrm_sysfs.c58 struct class *drm_class; variable
114 drm_class = class_create(THIS_MODULE, "drm"); in drm_sysfs_init()
115 if (IS_ERR(drm_class)) in drm_sysfs_init()
116 return PTR_ERR(drm_class); in drm_sysfs_init()
118 err = class_create_file(drm_class, &class_attr_version.attr); in drm_sysfs_init()
120 class_destroy(drm_class); in drm_sysfs_init()
121 drm_class = NULL; in drm_sysfs_init()
125 drm_class->devnode = drm_devnode; in drm_sysfs_init()
138 if (IS_ERR_OR_NULL(drm_class)) in drm_sysfs_destroy()
141 class_remove_file(drm_class, &class_attr_version.attr); in drm_sysfs_destroy()
[all …]
Ddrm_privacy_screen.c404 priv->dev.class = drm_class; in drm_privacy_screen_register()
Ddrm_internal.h150 extern struct class *drm_class;