#include <drm/drm_crtc.h>
#include <drm/drm_probe_helper.h>
#include "mdp5_kms.h"
static struct mdp5_kms *get_kms(struct drm_encoder *encoder)
{ … }
static void mdp5_vid_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{ … }
static void mdp5_vid_encoder_disable(struct drm_encoder *encoder)
{ … }
static void mdp5_vid_encoder_enable(struct drm_encoder *encoder)
{ … }
static void mdp5_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{ … }
static void mdp5_encoder_disable(struct drm_encoder *encoder)
{ … }
static void mdp5_encoder_enable(struct drm_encoder *encoder)
{ … }
static int mdp5_encoder_atomic_check(struct drm_encoder *encoder,
struct drm_crtc_state *crtc_state,
struct drm_connector_state *conn_state)
{ … }
static const struct drm_encoder_helper_funcs mdp5_encoder_helper_funcs = …;
int mdp5_encoder_get_linecount(struct drm_encoder *encoder)
{ … }
u32 mdp5_encoder_get_framecount(struct drm_encoder *encoder)
{ … }
void mdp5_encoder_set_intf_mode(struct drm_encoder *encoder, bool cmd_mode)
{ … }
struct drm_encoder *mdp5_encoder_init(struct drm_device *dev,
struct mdp5_interface *intf,
struct mdp5_ctl *ctl)
{ … }