]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Add sanity checks to drm_atomic_helper_async_commit()
authorBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 30 Mar 2018 14:55:18 +0000 (16:55 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 18 Apr 2018 07:06:16 +0000 (09:06 +0200)
commit6984f56715c7f9ee522cc4d483069ae48c8a904c
tree1b02fb08b2b887a43f62dcd049c362dd39e1e4c7
parent92d79d606ba0f82d68f0c03d8bc206e56dd38fd0
drm/atomic: Add sanity checks to drm_atomic_helper_async_commit()

->atomic_async_update() requires that drivers update the plane->state
object before returning. Make sure at least common properties have been
updated.

Cc: Gustavo Padovan <gustavo@padovan.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Eric Anholt <eric@anholt.net>
Acked-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180330145518.29770-1-boris.brezillon@bootlin.com
drivers/gpu/drm/drm_atomic_helper.c