#include <linux/iosys-map.h>
#include <drm/drm_atomic.h>
#include <drm/drm_edid.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_writeback.h>
#include <drm/drm_probe_helper.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_gem_framebuffer_helper.h>
#include <drm/drm_gem_shmem_helper.h>
#include "vkms_drv.h"
#include "vkms_formats.h"
static const u32 vkms_wb_formats[] = …;
static const struct drm_connector_funcs vkms_wb_connector_funcs = …;
static int vkms_wb_atomic_check(struct drm_connector *connector,
struct drm_atomic_state *state)
{ … }
static int vkms_wb_connector_get_modes(struct drm_connector *connector)
{ … }
static int vkms_wb_prepare_job(struct drm_writeback_connector *wb_connector,
struct drm_writeback_job *job)
{ … }
static void vkms_wb_cleanup_job(struct drm_writeback_connector *connector,
struct drm_writeback_job *job)
{ … }
static void vkms_wb_atomic_commit(struct drm_connector *conn,
struct drm_atomic_state *state)
{ … }
static const struct drm_connector_helper_funcs vkms_wb_conn_helper_funcs = …;
int vkms_enable_writeback_connector(struct vkms_device *vkmsdev)
{ … }