Add devname in modeset case

If the driver is 'modeset' enabled, it'll register it's interrupt
handler at load time.  Set the devname in this case so that
/proc/interrupts makes sense.
main
Jesse Barnes 2008-04-08 12:44:52 -07:00
parent 5a3ce06f3a
commit a2edd07f20
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
drm_mm_print(&dev->bm.man[DRM_BO_MEM_VRAM].manager, "VRAM"); drm_mm_print(&dev->bm.man[DRM_BO_MEM_VRAM].manager, "VRAM");
drm_mm_print(&dev->bm.man[DRM_BO_MEM_TT].manager, "TT"); drm_mm_print(&dev->bm.man[DRM_BO_MEM_TT].manager, "TT");
dev->devname = DRIVER_NAME;
drm_irq_install(dev); drm_irq_install(dev);
} }