]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: cleanup debugfs entries on un-registering the driver.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 17 Nov 2016 11:41:29 +0000 (11:41 +0000)
committerSean Paul <seanpaul@chromium.org>
Mon, 21 Nov 2016 18:22:08 +0000 (13:22 -0500)
commit88c87a8f9e418fed806212d1882c3b71338f31f5
treedd707a1724fffe633a9c42924a9b92add14e3bd5
parent59ec188d37d6c5b033ab0f11ef8673179368134a
drm/atomic: cleanup debugfs entries on un-registering the driver.

Cleanup the debugfs entries created by
commit 77c7eb62cd64:  drm/atomic: add debugfs file to dump out atomic state
when the driver's minor gets un-registered. Without it, DRM drivers
compiled as modules cannot be rmmod-ed and modprobed again.

Tested-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20161117114129.2627-1-Liviu.Dudau@arm.com
Fixes: 77c7eb62cd64 ("drm/atomic: add debugfs file to dump out atomic state")
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_debugfs.c
include/drm/drm_atomic.h