summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_atomic.h
diff options
context:
space:
mode:
authorMaarten Lankhorst2017-02-16 15:47:07 +0100
committerMaarten Lankhorst2017-03-06 11:41:55 +0100
commit51ffa12d90baebc56eef6781233873f7ad558d54 (patch)
tree1c98d4e10115745b6f4601eee49af3e0d843c048 /include/drm/drm_atomic.h
parentdrm/atomic: Fix atomic helpers to use the new iterator macros, v3. (diff)
downloadkernel-qcow2-linux-51ffa12d90baebc56eef6781233873f7ad558d54.tar.gz
kernel-qcow2-linux-51ffa12d90baebc56eef6781233873f7ad558d54.tar.xz
kernel-qcow2-linux-51ffa12d90baebc56eef6781233873f7ad558d54.zip
drm/atomic: Make drm_atomic_plane_disabling easier to understand.
This function becomes a lot simpler when having passed both the old and new state to it. Looking at all callers, it seems that old_plane_state is never NULL so the check can be dropped. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1487256430-7625-3-git-send-email-maarten.lankhorst@linux.intel.com Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/drm/drm_atomic.h')
0 files changed, 0 insertions, 0 deletions