[PATCH] drm/atomic: clear plane's CRTC and FB when shutting down

2014-11-27 Thread Daniel Vetter
On Wed, Nov 26, 2014 at 06:58:04PM -0500, Rob Clark wrote: > Otherwise we'd still end up w/ the plane attached to the CRTC, and > seemingly active, but without an FB. Which ends up going *boom* > in the drivers. > > Slightly modified version of Daniel's irc suggestion. > > CC: Daniel Vetter > S

[PATCH] drm/atomic: clear plane's CRTC and FB when shutting down

2014-11-26 Thread Rob Clark
Otherwise we'd still end up w/ the plane attached to the CRTC, and seemingly active, but without an FB. Which ends up going *boom* in the drivers. Slightly modified version of Daniel's irc suggestion. CC: Daniel Vetter Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_atomic_helper.c | 19