]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Drop unused and broken dri_library_name sysfs attribute.
authorKristian Høgsberg <krh@redhat.com>
Mon, 5 Jan 2009 21:10:05 +0000 (16:10 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:23:58 +0000 (14:23 +1000)
commit63328a938eea975cfde781c31df528767d28cd6a
treef75ca2cebf77d2746613af8e5b61998057df5387
parentd6069420d1762bd461185104fbe16373a63c85bd
drm: Drop unused and broken dri_library_name sysfs attribute.

The kernel shouldn't be in the business of telling user space which
driver to load.  The kernel defers mapping PCI IDs to module names
to user space and we should do the same for DRI drivers.

And in fact, that's how it does work today.  Nothing uses the
dri_library_name attribute, and the attribute is in fact broken.
For intel devices, it falls back to the default behaviour of returning
the kernel module name as the DRI driver name, which doesn't work for
i965 devices.  Nobody has ever hit this problem or filed a bug about this.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_sysfs.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/via/via_drv.c
include/drm/drmP.h