MLK-18368-7: imx-hdmi: change the entry id of meta data
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 22 May 2018 07:33:54 +0000 (15:33 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
For entry id of video is 0,  audio is 1, if entry id of meta data is
1, then it conflict with audio.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
drivers/gpu/drm/imx/hdp/imx-hdmi.c

index 9ea3d42..5a5c1d9 100644 (file)
@@ -399,7 +399,7 @@ int hdmi_write_hdr_metadata(state_struct *state,
        buffer[0] = 0;
        infoframe_size++;
 
-       return CDN_API_InfoframeSet(state, 1, infoframe_size,
+       return CDN_API_InfoframeSet(state, 2, infoframe_size,
                                    (u32 *)buffer,
                                    HDMI_INFOFRAME_TYPE_DRM);
 }