#include <linux/delay.h>
#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_g200er_init_registers(struct mga_device *mdev)
{ … }
static void mgag200_g200er_reset_tagfifo(struct mga_device *mdev)
{ … }
static int mgag200_g200er_pixpllc_atomic_check(struct drm_crtc *crtc,
struct drm_atomic_state *new_state)
{ … }
static void mgag200_g200er_pixpllc_atomic_update(struct drm_crtc *crtc,
struct drm_atomic_state *old_state)
{ … }
static const struct drm_plane_helper_funcs mgag200_g200er_primary_plane_helper_funcs = …;
static const struct drm_plane_funcs mgag200_g200er_primary_plane_funcs = …;
static void mgag200_g200er_crtc_helper_atomic_enable(struct drm_crtc *crtc,
struct drm_atomic_state *old_state)
{ … }
static const struct drm_crtc_helper_funcs mgag200_g200er_crtc_helper_funcs = …;
static const struct drm_crtc_funcs mgag200_g200er_crtc_funcs = …;
static int mgag200_g200er_pipeline_init(struct mga_device *mdev)
{ … }
static const struct mgag200_device_info mgag200_g200er_device_info = …;
static const struct mgag200_device_funcs mgag200_g200er_device_funcs = …;
struct mga_device *mgag200_g200er_device_create(struct pci_dev *pdev, const struct drm_driver *drv)
{ … }