[PATCH] drm/atomic: cleanup debugfs entries on un-registering the driver.

2016-11-21 Thread Sean Paul
On Thu, Nov 17, 2016 at 7:26 AM, Brian Starkey wrote: > On Thu, Nov 17, 2016 at 11:41:29AM +, Liviu Dudau wrote: >> >> Cleanup the debugfs entries created by commit 6559c901cb48 when >> the driver's minor gets un-registered. Without it, DRM drivers >> compiled as modules cannot be rmmod-ed and

[PATCH] drm/atomic: cleanup debugfs entries on un-registering the driver.

2016-11-17 Thread Brian Starkey
On Thu, Nov 17, 2016 at 11:41:29AM +, Liviu Dudau wrote: >Cleanup the debugfs entries created by commit 6559c901cb48 when >the driver's minor gets un-registered. Without it, DRM drivers >compiled as modules cannot be rmmod-ed and modprobed again. > >Signed-off-by: Liviu Dudau Works for me, T

[PATCH] drm/atomic: cleanup debugfs entries on un-registering the driver.

2016-11-17 Thread Liviu Dudau
On Thu, Nov 17, 2016 at 11:41:29AM +, Liviu Dudau wrote: > Cleanup the debugfs entries created by commit 6559c901cb48 when > the driver's minor gets un-registered. Without it, DRM drivers > compiled as modules cannot be rmmod-ed and modprobed again. Bah, naughty of me: should've put the commit

[PATCH] drm/atomic: cleanup debugfs entries on un-registering the driver.

2016-11-17 Thread Liviu Dudau
Cleanup the debugfs entries created by commit 6559c901cb48 when the driver's minor gets un-registered. Without it, DRM drivers compiled as modules cannot be rmmod-ed and modprobed again. Signed-off-by: Liviu Dudau --- drivers/gpu/drm/drm_atomic.c | 7 +++ drivers/gpu/drm/drm_debugfs.c | 9 +