diff options
author | David Herrmann <[email protected]> | 2013-11-13 11:42:26 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2013-11-15 20:49:02 +1000 |
commit | a3483353ca4e6dbeef2ed62ebed01af109b5b27a (patch) | |
tree | 39d10911e950c2c8ef0fedf0d945ae549efee718 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 0846c728e20a0cd1e43fb75a3015f3b176a26466 (diff) |
drm: check for !kdev in drm_unplug_minor()
We moved minor deallocation to drm_dev_free() in:
commit 8f6599da8e772fa8de54cdf98e9e03cbaf3946da
Author: David Herrmann <[email protected]>
Date: Sun Oct 20 18:55:45 2013 +0200
drm: delay minor destruction to drm_dev_free()
However, this causes a call to drm_unplug_minor(), which should just do
nothing as drm_dev_unregister() already called this.
But a separate patch caused kdev lifetime changes:
commit 5bdebb183c9702a8c57a01dff09337be3de337a6
Author: Dave Airlie <[email protected]>
Date: Fri Oct 11 14:07:25 2013 +1000
drm/sysfs: sort out minor and connector device object lifetimes.
Thus making our dev_is_registered() call useles (and even segfault if it
is NULL). Replace it with a simple !kdev test and we're fine.
Reported-by: Huax Lu <[email protected]>
Reported-by: Daniel Vetter <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71208
Tested-by: lu hua <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: David Herrmann <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions