#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"
void mgag200_g200eh_init_registers(struct mga_device *mdev)
{ … }
static int mgag200_g200eh_pixpllc_atomic_check(struct drm_crtc *crtc,
struct drm_atomic_state *new_state)
{ … }
void mgag200_g200eh_pixpllc_atomic_update(struct drm_crtc *crtc,
struct drm_atomic_state *old_state)
{ … }
static const struct drm_plane_helper_funcs mgag200_g200eh_primary_plane_helper_funcs = …;
static const struct drm_plane_funcs mgag200_g200eh_primary_plane_funcs = …;
static const struct drm_crtc_helper_funcs mgag200_g200eh_crtc_helper_funcs = …;
static const struct drm_crtc_funcs mgag200_g200eh_crtc_funcs = …;
static int mgag200_g200eh_pipeline_init(struct mga_device *mdev)
{ … }
static const struct mgag200_device_info mgag200_g200eh_device_info = …;
static const struct mgag200_device_funcs mgag200_g200eh_device_funcs = …;
struct mga_device *mgag200_g200eh_device_create(struct pci_dev *pdev, const struct drm_driver *drv)
{ … }