#include <drm/drm_atomic_helper.h>
#include <drm/drm_edid.h>
#include <drm/drm_modeset_helper_vtables.h>
#include <drm/drm_probe_helper.h>
#include "mgag200_ddc.h"
#include "mgag200_drv.h"
static void mgag200_vga_bmc_encoder_atomic_disable(struct drm_encoder *encoder,
struct drm_atomic_state *state)
{ … }
static void mgag200_vga_bmc_encoder_atomic_enable(struct drm_encoder *encoder,
struct drm_atomic_state *state)
{ … }
static int mgag200_vga_bmc_encoder_atomic_check(struct drm_encoder *encoder,
struct drm_crtc_state *new_crtc_state,
struct drm_connector_state *new_connector_state)
{ … }
static const struct drm_encoder_helper_funcs mgag200_dac_encoder_helper_funcs = …;
static const struct drm_encoder_funcs mgag200_dac_encoder_funcs = …;
static int mgag200_vga_bmc_connector_helper_get_modes(struct drm_connector *connector)
{ … }
static int mgag200_vga_bmc_connector_helper_detect_ctx(struct drm_connector *connector,
struct drm_modeset_acquire_ctx *ctx,
bool force)
{ … }
static const struct drm_connector_helper_funcs mgag200_vga_connector_helper_funcs = …;
static const struct drm_connector_funcs mgag200_vga_connector_funcs = …;
int mgag200_vga_bmc_output_init(struct mga_device *mdev)
{ … }