This series of patches add a centralized initialization mechanism, a single CRTC with a plane, an encoder, and extra module information. Changes in v2: - Remove unused definitions - Improve file names - Improve code separation - Remove unnecessary formats Changes in v3: - Adds drm_crtc_helper_funcs with a simple atomic_check - Adds extra hooks for drm_connector_funcs hooks (reset, atomic_duplicate_state, atomic_destroy_state) - Adds drm_connector_helper_funcs - Adds drm_plane_helper_funcs - Changes in the commit messages Changes in v4: - Associate plane helper with plane Rodrigo Siqueira (3): drm/vkms: Add mode_config initialization drm/vkms: Add basic CRTC initialization drm/vkms: Add extra information about vkms drivers/gpu/drm/Kconfig | 8 +- drivers/gpu/drm/vkms/Makefile | 2 +- drivers/gpu/drm/vkms/vkms_crtc.c | 47 ++++++++++++ drivers/gpu/drm/vkms/vkms_drv.c | 55 +++++--------- drivers/gpu/drm/vkms/vkms_drv.h | 33 +++++++- drivers/gpu/drm/vkms/vkms_output.c | 118 +++++++++++++++++++++++++++++ drivers/gpu/drm/vkms/vkms_plane.c | 64 ++++++++++++++++ 7 files changed, 287 insertions(+), 40 deletions(-) create mode 100644 drivers/gpu/drm/vkms/vkms_crtc.c create mode 100644 drivers/gpu/drm/vkms/vkms_output.c create mode 100644 drivers/gpu/drm/vkms/vkms_plane.c -- 2.17.0 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel