#include <linux/module.h>
#include <drm/display/drm_hdmi_helper.h>
#include <drm/drm_connector.h>
#include <drm/drm_edid.h>
#include <drm/drm_modes.h>
#include <drm/drm_print.h>
#include <drm/drm_property.h>
static inline bool is_eotf_supported(u8 output_eotf, u8 sink_eotf)
{ … }
int drm_hdmi_infoframe_set_hdr_metadata(struct hdmi_drm_infoframe *frame,
const struct drm_connector_state *conn_state)
{ … }
EXPORT_SYMBOL(…);
#define FULL_COLORIMETRY_MASK …
#define NORMAL_COLORIMETRY_MASK …
#define EXTENDED_COLORIMETRY_MASK …
#define EXTENDED_ACE_COLORIMETRY_MASK …
#define C …
#define EC …
#define ACE …
#define HDMI_COLORIMETRY_NO_DATA …
#define HDMI_COLORIMETRY_SMPTE_170M_YCC …
#define HDMI_COLORIMETRY_BT709_YCC …
#define HDMI_COLORIMETRY_XVYCC_601 …
#define HDMI_COLORIMETRY_XVYCC_709 …
#define HDMI_COLORIMETRY_SYCC_601 …
#define HDMI_COLORIMETRY_OPYCC_601 …
#define HDMI_COLORIMETRY_OPRGB …
#define HDMI_COLORIMETRY_BT2020_CYCC …
#define HDMI_COLORIMETRY_BT2020_RGB …
#define HDMI_COLORIMETRY_BT2020_YCC …
#define HDMI_COLORIMETRY_DCI_P3_RGB_D65 …
#define HDMI_COLORIMETRY_DCI_P3_RGB_THEATER …
static const u32 hdmi_colorimetry_val[] = …;
#undef C
#undef EC
#undef ACE
void drm_hdmi_avi_infoframe_colorimetry(struct hdmi_avi_infoframe *frame,
const struct drm_connector_state *conn_state)
{ … }
EXPORT_SYMBOL(…);
void drm_hdmi_avi_infoframe_bars(struct hdmi_avi_infoframe *frame,
const struct drm_connector_state *conn_state)
{ … }
EXPORT_SYMBOL(…);
void drm_hdmi_avi_infoframe_content_type(struct hdmi_avi_infoframe *frame,
const struct drm_connector_state *conn_state)
{ … }
EXPORT_SYMBOL(…);
unsigned long long
drm_hdmi_compute_mode_clock(const struct drm_display_mode *mode,
unsigned int bpc, enum hdmi_colorspace fmt)
{ … }
EXPORT_SYMBOL(…);