diff options
author | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2008-04-08 12:44:52 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2008-04-08 12:44:52 -0700 |
commit | a2edd07f20df67e741026097c5d46f12296d7c9d (patch) | |
tree | e8fc5223ac97ae653cd742237f3d17c31bcbebf0 /shared-core | |
parent | 5a3ce06f3a3dfa9412b9660c1e1f35d24c815dbb (diff) |
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.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/i915_init.c b/shared-core/i915_init.c index a76acb4e..ce6f1656 100644 --- a/shared-core/i915_init.c +++ b/shared-core/i915_init.c @@ -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_TT].manager, "TT"); + dev->devname = DRIVER_NAME; drm_irq_install(dev); } |