summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_simple_kms_helper.h
diff options
context:
space:
mode:
authorEric Anholt2017-03-21 00:36:15 +0100
committerEric Anholt2017-03-30 21:02:00 +0200
commitbcd2ba02a41d46c426fd16ad530b96527a5f181a (patch)
treecc7b79a0bd3e369f320129e03e30ddccb0b1bf83 /include/drm/drm_simple_kms_helper.h
parentdrm: Clear e after kfree in drm_mode_page_flip_ioctl (diff)
downloadkernel-qcow2-linux-bcd2ba02a41d46c426fd16ad530b96527a5f181a.tar.gz
kernel-qcow2-linux-bcd2ba02a41d46c426fd16ad530b96527a5f181a.tar.xz
kernel-qcow2-linux-bcd2ba02a41d46c426fd16ad530b96527a5f181a.zip
drm: Clarify the role of plane_state argument to drm_simple update().
Like the atomic update hook it's wrapping, the plane_state is the old one, and the new one is in plane->state. Both msxfb and tinydrm use it correctly, but I mistook it for the new state in pl111 due to its naming. Signed-off-by: Eric Anholt <eric@anholt.net> Link: http://patchwork.freedesktop.org/patch/msgid/20170320233615.5242-3-eric@anholt.net Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_simple_kms_helper.h')
-rw-r--r--include/drm/drm_simple_kms_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_simple_kms_helper.h b/include/drm/drm_simple_kms_helper.h
index fffbb95a0915..2d36538e4a17 100644
--- a/include/drm/drm_simple_kms_helper.h
+++ b/include/drm/drm_simple_kms_helper.h
@@ -72,7 +72,7 @@ struct drm_simple_display_pipe_funcs {
* the hardware lacks vblank support entirely.
*/
void (*update)(struct drm_simple_display_pipe *pipe,
- struct drm_plane_state *plane_state);
+ struct drm_plane_state *old_plane_state);
/**
* @prepare_fb: