commit | ac51bb09837098c422a8825bc155ccd736b9632d | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Tue Aug 27 16:12:57 2013 -0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Nov 08 15:36:03 2013 +1000 |
tree | acea0f5016b1376a64ac42222655c8ef67f98153 | |
parent | 019255797db627f729edbf3885ea4e248a75e0d5 [diff] |
drm/nouveau/core: Allow asymmetric nouveau_event_get/_put Most nouveau event handlers have storage in 'static' containers (structures with lifetimes nearly equivalent to the drm_device), but are dangerously reused via nouveau_event_get/_put. For example, if nouveau_event_get is called more than once for a given handler, the event handler list will be corrupted. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>