drm/atomic: Delete wrong comment.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 15 Dec 2016 14:29:42 +0000 (15:29 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 Dec 2016 15:19:21 +0000 (16:19 +0100)
drm_atomic_state_put is called unconditionally, so TEST_ONLY is no
different from commit.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1481812185-19098-2-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/drm_atomic.c

index b602faf283676650c682b6a1100669d4aed9d4fc..ff38592134f5cd189eeef5cc5e180a0cfe2ad987 100644 (file)
@@ -2195,10 +2195,6 @@ retry:
                goto out;
 
        if (arg->flags & DRM_MODE_ATOMIC_TEST_ONLY) {
-               /*
-                * Unlike commit, check_only does not clean up state.
-                * Below we call drm_atomic_state_put for it.
-                */
                ret = drm_atomic_check_only(state);
        } else if (arg->flags & DRM_MODE_ATOMIC_NONBLOCK) {
                ret = drm_atomic_nonblocking_commit(state);