• Kristian Høgsberg's avatar
    drm: Drop unused and broken dri_library_name sysfs attribute. · 8e100458
    Kristian Høgsberg authored
    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: default avatarKristian Høgsberg <krh@redhat.com>
    Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
    8e100458
drmP.h 46.5 KB