Re: [PATCH 1/2] drm/ttm: fix re-init of global structures

2019-04-16 Thread Karol Herbst
On Tue, Apr 16, 2019 at 12:53 PM Christian König wrote: > > When a driver unloads without unloading TTM we don't correctly > clear the global structures leading to errors on re-init. > > Next step should probably be to remove the global structures and > kobjs all together, but this is tricky since

[PATCH 1/2] drm/ttm: fix re-init of global structures

2019-04-16 Thread Christian König
When a driver unloads without unloading TTM we don't correctly clear the global structures leading to errors on re-init. Next step should probably be to remove the global structures and kobjs all together, but this is tricky since we need to maintain backward compatibility. Signed-off-by: Christi