drm: disconnect plane from fb/crtc when disabled
authorRob Clark <rob@ti.com>
Wed, 14 Dec 2011 02:19:35 +0000 (20:19 -0600)
committerDave Airlie <airlied@redhat.com>
Thu, 5 Jan 2012 09:24:39 +0000 (09:24 +0000)
commita9971157b6c550644fe19551c21f4b05f7e9475a
tree8922994230f923f68ad1590576365b997179f25d
parentd8e70a254d8f2da141006e496a51502b79115e80
drm: disconnect plane from fb/crtc when disabled

Since plane->fb and plane->crtc are set in drm_mode_setplane()
after update_plane(), They should be cleared after disable().

Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c