Re: [PATCH 07/22] drm/tegra: Remove module ownership from the tegra_fb_ops

2017-06-13 Thread Dmitry Osipenko
On 13.06.2017 18:07, Thierry Reding wrote: > On Tue, Jun 13, 2017 at 05:00:28PM +0300, Dmitry Osipenko wrote: >> On 13.06.2017 16:43, Thierry Reding wrote: >>> On Tue, May 23, 2017 at 03:14:22AM +0300, Dmitry Osipenko wrote: The framebuffers console fbcon_startup() increments the tegra_drm

Re: [PATCH 07/22] drm/tegra: Remove module ownership from the tegra_fb_ops

2017-06-13 Thread Dmitry Osipenko
On 13.06.2017 16:43, Thierry Reding wrote: > On Tue, May 23, 2017 at 03:14:22AM +0300, Dmitry Osipenko wrote: >> The framebuffers console fbcon_startup() increments the tegra_drm module >> 'use' refcount via try_module_get(), causing an interlock of the DRM subsys >> and the tegra_drm modules. In

Re: [PATCH 07/22] drm/tegra: Remove module ownership from the tegra_fb_ops

2017-06-13 Thread Thierry Reding
On Tue, Jun 13, 2017 at 05:00:28PM +0300, Dmitry Osipenko wrote: > On 13.06.2017 16:43, Thierry Reding wrote: > > On Tue, May 23, 2017 at 03:14:22AM +0300, Dmitry Osipenko wrote: > >> The framebuffers console fbcon_startup() increments the tegra_drm module > >> 'use' refcount via try_module_get(),

Re: [PATCH 07/22] drm/tegra: Remove module ownership from the tegra_fb_ops

2017-06-13 Thread Thierry Reding
On Tue, May 23, 2017 at 03:14:22AM +0300, Dmitry Osipenko wrote: > The framebuffers console fbcon_startup() increments the tegra_drm module > 'use' refcount via try_module_get(), causing an interlock of the DRM subsys > and the tegra_drm modules. In result, the tegra_drm module can't be unloaded >

[PATCH 07/22] drm/tegra: Remove module ownership from the tegra_fb_ops

2017-05-22 Thread Dmitry Osipenko
The framebuffers console fbcon_startup() increments the tegra_drm module 'use' refcount via try_module_get(), causing an interlock of the DRM subsys and the tegra_drm modules. In result, the tegra_drm module can't be unloaded using rmmod. Signed-off-by: Dmitry Osipenko ---