drm/virtio: add plane check
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 22 Aug 2019 09:46:57 +0000 (11:46 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 28 Aug 2019 07:28:05 +0000 (09:28 +0200)
commita02c4c25b9fa69ddf29368f454c45fa1f5a8217d
treecdb69afadd16b203c2d39d289ac3cce1c989f92e
parent66c2dee4ae10a2d841c40b9dd9c7141eb23eee76
drm/virtio: add plane check

Use drm_atomic_helper_check_plane_state()
to sanity check the plane state.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190822094657.27483-1-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_plane.c