diff options
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index e05d99791544..d9bf9d88ff43 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c | |||
@@ -1684,6 +1684,8 @@ int drm_mode_setplane(struct drm_device *dev, void *data, | |||
1684 | /* No fb means shut it down */ | 1684 | /* No fb means shut it down */ |
1685 | if (!plane_req->fb_id) { | 1685 | if (!plane_req->fb_id) { |
1686 | plane->funcs->disable_plane(plane); | 1686 | plane->funcs->disable_plane(plane); |
1687 | plane->crtc = NULL; | ||
1688 | plane->fb = NULL; | ||
1687 | goto out; | 1689 | goto out; |
1688 | } | 1690 | } |
1689 | 1691 | ||