#include <linux/delay.h>
#include <drm/drm_bridge_connector.h>
#include <drm/drm_edid.h>
#include "msm_kms.h"
#include "hdmi.h"
static void msm_hdmi_power_on(struct drm_bridge *bridge)
{ … }
static void power_off(struct drm_bridge *bridge)
{ … }
#define AVI_IFRAME_LINE_NUMBER …
static void msm_hdmi_config_avi_infoframe(struct hdmi *hdmi)
{ … }
static void msm_hdmi_bridge_pre_enable(struct drm_bridge *bridge)
{ … }
static void msm_hdmi_bridge_post_disable(struct drm_bridge *bridge)
{ … }
static void msm_hdmi_bridge_mode_set(struct drm_bridge *bridge,
const struct drm_display_mode *mode,
const struct drm_display_mode *adjusted_mode)
{ … }
static const struct drm_edid *msm_hdmi_bridge_edid_read(struct drm_bridge *bridge,
struct drm_connector *connector)
{ … }
static enum drm_mode_status msm_hdmi_bridge_mode_valid(struct drm_bridge *bridge,
const struct drm_display_info *info,
const struct drm_display_mode *mode)
{ … }
static const struct drm_bridge_funcs msm_hdmi_bridge_funcs = …;
static void
msm_hdmi_hotplug_work(struct work_struct *work)
{ … }
int msm_hdmi_bridge_init(struct hdmi *hdmi)
{ … }