summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvc0_fbcon.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-07-11 16:33:03 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-07-26 13:22:40 +0200
commit813a7e1604eaad1c2792d37d402e1b48b8d0eb3f (patch)
tree7b5d4d1f32f75b980119e5010e94eea19fd46eaf /drivers/gpu/drm/nouveau/nvc0_fbcon.c
parente1923ab3d01ef600dbde84ee29822980e816ee79 (diff)
downloadlinux-813a7e1604eaad1c2792d37d402e1b48b8d0eb3f.tar.bz2
drm/nouveau: Fix error handling in nv50_disp_atomic_commit
Make it more clear that post commit return ret is really return 0, and add a missing drm_atomic_helper_cleanup_planes when drm_atomic_helper_wait_for_fences fails. Fixes: 839ca903f12e ("drm/nouveau/kms/nv50: transition to atomic interfaces internally") Cc: Ben Skeggs <bskeggs@redhat.com> Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Cc: <stable@vger.kernel.org> # v4.10+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170711143314.2148-2-maarten.lankhorst@linux.intel.com Reviewed-by: Sean Paul <seanpaul@chromium.org> [mlankhorst: Use if (ret) to remove the goto in success case.] Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_fbcon.c')
0 files changed, 0 insertions, 0 deletions