Skip to contentSkip to conversation

drm/i915: fix module unload since error_state rework

PATCH Applied Daniel Vetter 2 participants 2 messages May 21, 2012 – May 22, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: fix module unload since error_state rework

We need to remove the debugfs file. Regression introduce in

commit d54423037f141518950f324af88a551a82449496

Author: Daniel Vetter <[email protected]>
Date:   Fri Apr 27 15:17:40 2012 +0200

drm/i915: allow the existing error_state to be destroyed

---
 drivers/gpu/drm/i915/i915_debugfs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/gpu/drm/i915/i915_debugfs.c +2 -0
index eb2b3c2..5363e9c 100644
@@ -2032,6 +2032,8 @@ void i915_debugfs_cleanup(struct drm_minor *minor)
 				 1, minor);
 	drm_debugfs_remove_files((struct drm_info_list *) &i915_ring_stop_fops,
 				 1, minor);
+	drm_debugfs_remove_files((struct drm_info_list *) &i915_error_state_fops,
+				 1, minor);
 }
 
 #endif /* CONFIG_DEBUG_FS */
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 10 lines · Daniel Vetter

We need to remove the debugfs file. Regression introduce in

commit d54423037f141518950f324af88a551a82449496

Author: Daniel Vetter <[email protected]>
Date:   Fri Apr 27 15:17:40 2012 +0200

drm/i915: allow the existing error_state to be destroyed

I've merged this one here to -fixes.
-Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48