#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_probe_helper.h>
#include <video/videomode.h>
#include "xen_drm_front.h"
#include "xen_drm_front_conn.h"
#include "xen_drm_front_kms.h"
static struct xen_drm_front_drm_pipeline *
to_xen_drm_pipeline(struct drm_connector *connector)
{ … }
static const u32 plane_formats[] = …;
const u32 *xen_drm_front_conn_get_formats(int *format_count)
{ … }
static int connector_detect(struct drm_connector *connector,
struct drm_modeset_acquire_ctx *ctx,
bool force)
{ … }
#define XEN_DRM_CRTC_VREFRESH_HZ …
static int connector_get_modes(struct drm_connector *connector)
{ … }
static const struct drm_connector_helper_funcs connector_helper_funcs = …;
static const struct drm_connector_funcs connector_funcs = …;
int xen_drm_front_conn_init(struct xen_drm_front_drm_info *drm_info,
struct drm_connector *connector)
{ … }