]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Clarify the role of plane_state argument to drm_simple update().
authorEric Anholt <eric@anholt.net>
Mon, 20 Mar 2017 23:36:15 +0000 (16:36 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 30 Mar 2017 19:02:00 +0000 (12:02 -0700)
commitb0649382b10b006831e744c236e8223bcb31636e
treecc7b79a0bd3e369f320129e03e30ddccb0b1bf83
parentda2c7adfd8c03fb11408d64559239d83033db967
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>
drivers/gpu/drm/drm_simple_kms_helper.c
include/drm/drm_simple_kms_helper.h