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
parent
5a3ce06f3a
commit
a2edd07f20
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue