linux/drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2014 Red Hat
 * Author: Rob Clark <[email protected]>
 * Author: Vinay Simha <[email protected]>
 */

#include <linux/delay.h>

#include <drm/drm_crtc.h>
#include <drm/drm_probe_helper.h>

#include "mdp4_kms.h"

struct mdp4_lcdc_encoder {};
#define to_mdp4_lcdc_encoder(x)

static struct mdp4_kms *get_kms(struct drm_encoder *encoder)
{}

/* this should probably be a helper: */
static struct drm_connector *get_connector(struct drm_encoder *encoder)
{}

static void setup_phy(struct drm_encoder *encoder)
{}

static void mdp4_lcdc_encoder_mode_set(struct drm_encoder *encoder,
		struct drm_display_mode *mode,
		struct drm_display_mode *adjusted_mode)
{}

static void mdp4_lcdc_encoder_disable(struct drm_encoder *encoder)
{}

static void mdp4_lcdc_encoder_enable(struct drm_encoder *encoder)
{}

static const struct drm_encoder_helper_funcs mdp4_lcdc_encoder_helper_funcs =;

long mdp4_lcdc_round_pixclk(struct drm_encoder *encoder, unsigned long rate)
{}

/* initialize encoder */
struct drm_encoder *mdp4_lcdc_encoder_init(struct drm_device *dev,
		struct device_node *panel_node)
{}