drm/vkms: Add framebuffer and plane helpers
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Thu, 12 Jul 2018 13:41:02 +0000 (10:41 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Jul 2018 14:24:05 +0000 (16:24 +0200)
commit42ac03213b7f102682157c2821e3fd9657ce4eb7
tree7d47889a8b4e5419d7e38839e346998da821dfcc
parent58d4d29823d9a6c4593c48a1a24e6a9dcec8e3ff
drm/vkms: Add framebuffer and plane helpers

This patch appends the minimum helpers related to framebuffer and plane
to make vkms minimally usable.

Changes since V1:
- None
Changes since V2:
- Squash "Add plane helper struct" and "Add helper for framebuffer
  create"
Changes since V3:
 Daniel Vetter:
 - Remove atomic_check from plane helper

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/d37807da7d3b39444b4c9abb149fe3c518d07c61.1531402095.git.rodrigosiqueiramelo@gmail.com
drivers/gpu/drm/vkms/vkms_drv.c
drivers/gpu/drm/vkms/vkms_plane.c