From d41af11ee30413f90064cfffb5687be92a28021c Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Sun, 3 Jul 2005 17:16:12 +0000 Subject: Add sysfs attribute dri_library_name on Linux. code in share-core/via_drv.c is ok to be shared, it will be passive on BSD. --- linux-core/drmP.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux-core/drmP.h') diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 5ada94ef..99e66597 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -544,6 +544,7 @@ struct drm_driver { int new); int (*kernel_context_switch_unlock) (struct drm_device * dev); int (*vblank_wait) (struct drm_device * dev, unsigned int *sequence); + int (*dri_library_name) (struct drm_device * dev, char * buf); /** * Called by \c drm_device_is_agp. Typically used to determine if a @@ -987,6 +988,7 @@ extern struct drm_sysfs_class *drm_sysfs_create(struct module *owner, char *name); extern void drm_sysfs_destroy(struct drm_sysfs_class *cs); extern struct class_device *drm_sysfs_device_add(struct drm_sysfs_class *cs, + drm_head_t * head, dev_t dev, struct device *device, const char *fmt, ...); -- cgit v1.2.3