Bug 16247
Summary: | drm/i915 BUG with 2.6.35-rc | ||
---|---|---|---|
Product: | Drivers | Reporter: | Maciej Rutecki (maciej.rutecki) |
Component: | Video(DRI - Intel) | Assignee: | drivers_video-dri-intel (drivers_video-dri-intel) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | bhalevy, error27, maciej.rutecki, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.35-rc2 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 16055 | ||
Attachments: | lock struct_mutex in i915_dma_cleanup() |
Description
Maciej Rutecki
2010-06-18 19:05:16 UTC
Created attachment 26858 [details]
lock struct_mutex in i915_dma_cleanup()
Hi Benny,
Can you give the attached patch a go?
drm_irq_uninstall() has to be called with struct_mutex not held and intel_cleanup_ring_buffer() has to be called with struct_mutex held. That bit is straight forward.
I don't know about i915_free_hws() but I think we don't needed to hold struct_mutex for that.
I don't have the actual hardware myself, so I haven't tested this.
That did the trick. Booted with this patch and I have not seen the crash. Thanks! Fixed by commit ee0c6bfbd602cdad2ab1780061b3b1a9108cbd6c . |