#include <linux/pci.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_gem_atomic_helper.h>
#include <drm/drm_probe_helper.h>
#include "mgag200_drv.h"
static void mgag200_g200ew3_init_registers(struct mga_device *mdev)
{ … }
static int mgag200_g200ew3_pixpllc_atomic_check(struct drm_crtc *crtc,
struct drm_atomic_state *new_state)
{ … }
static const struct drm_plane_helper_funcs mgag200_g200ew3_primary_plane_helper_funcs = …;
static const struct drm_plane_funcs mgag200_g200ew3_primary_plane_funcs = …;
static const struct drm_crtc_helper_funcs mgag200_g200ew3_crtc_helper_funcs = …;
static const struct drm_crtc_funcs mgag200_g200ew3_crtc_funcs = …;
static int mgag200_g200ew3_pipeline_init(struct mga_device *mdev)
{ … }
static const struct mgag200_device_info mgag200_g200ew3_device_info = …;
static const struct mgag200_device_funcs mgag200_g200ew3_device_funcs = …;
static resource_size_t mgag200_g200ew3_device_probe_vram(struct mga_device *mdev)
{ … }
struct mga_device *mgag200_g200ew3_device_create(struct pci_dev *pdev,
const struct drm_driver *drv)
{ … }