drm/edid: Move HDMI_IDENTIFIER to hdmi.h
authorLespiau, Damien <damien.lespiau@intel.com>
Mon, 19 Aug 2013 15:59:00 +0000 (16:59 +0100)
committerDave Airlie <airlied@gmail.com>
Thu, 29 Aug 2013 22:41:22 +0000 (08:41 +1000)
We'll need the HDMI OUI for the HDMI vendor infoframe data, so let's
move the DRM one to hdmi.h, might as well use the hdmi header to store
some hdmi defines.

(Note that, in fact, infoframes are part of the CEA-861 standard, and
only the HDMI vendor specific infoframe is special to HDMI, but
details..)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/drm_edid.c
include/linux/hdmi.h

index d76d6089106fb797c61feddcecbdeac633085115..3aa653fd03a7ccc61d33eebb5c7866bb34192b5f 100644 (file)
@@ -2317,7 +2317,6 @@ add_detailed_modes(struct drm_connector *connector, struct edid *edid,
        return closure.modes;
 }
 
-#define HDMI_IDENTIFIER 0x000C03
 #define AUDIO_BLOCK    0x01
 #define VIDEO_BLOCK     0x02
 #define VENDOR_BLOCK    0x03
index e733252c2b5db028824d884657f894f2cd8de427..37e0cd7552848086cd7778c96c76f2b814fd2e12 100644 (file)
@@ -18,6 +18,7 @@ enum hdmi_infoframe_type {
        HDMI_INFOFRAME_TYPE_AUDIO = 0x84,
 };
 
+#define HDMI_IDENTIFIER 0x000c03
 #define HDMI_INFOFRAME_HEADER_SIZE  4
 #define HDMI_AVI_INFOFRAME_SIZE    13
 #define HDMI_SPD_INFOFRAME_SIZE    25