]> git.karo-electronics.de Git - linux-beck.git/commit
drm: Free atomic state during cleanup
authorThierry Reding <treding@nvidia.com>
Tue, 25 Nov 2014 11:09:49 +0000 (12:09 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Nov 2014 12:28:31 +0000 (13:28 +0100)
commit3009c0377f25c29852b218a6933a969d02cbdc5d
treec2cfc032e0d0e12a32e63949efce130776438895
parent37cc0148773abbd8e7dbf8b2cb3399e887233fc2
drm: Free atomic state during cleanup

The current state of CRTCs, planes and connectors currently leaks during
DRM driver ->unload() unless drivers explicitly clean it up. Since there
is nothing driver-specific about it, that cleanup can be done within the
DRM core.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c