drm/vkms: Add basic CRTC initialization
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Wed, 16 May 2018 23:56:21 +0000 (20:56 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Thu, 5 Jul 2018 12:46:23 +0000 (09:46 -0300)
commit854502fa0a38dc77c9e855c95d239a8fd50a9b13
tree2f5c7eda6ce367710a9e37a66057f05aa051d2cf
parentc04372ea4abd83ec6c86083f2afe9322515ee293
drm/vkms: Add basic CRTC initialization

This commit adds the essential infrastructure for around CRTCs which
is composed of: a new data struct for output data information, a
function for creating planes, and a simple encoder attached to the
connector. Finally, due to the introduction of a new initialization
function, connectors were moved from vkms_drv.c to vkms_display.c.

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Reviewed-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b6e27bc6a54f5cb340658fa5969f7b48fbfbf1b7.1526514457.git.rodrigosiqueiramelo@gmail.com
drivers/gpu/drm/vkms/Makefile
drivers/gpu/drm/vkms/vkms_crtc.c [new file with mode: 0644]
drivers/gpu/drm/vkms/vkms_drv.c
drivers/gpu/drm/vkms/vkms_drv.h
drivers/gpu/drm/vkms/vkms_output.c [new file with mode: 0644]
drivers/gpu/drm/vkms/vkms_plane.c [new file with mode: 0644]