Use the following code example for Dynamic Range and Mastering (HDR) InfoFrames:
typedef struct XHdmiC_DRM_InfoFrame {
XHdmiC_DRM_EOTF EOTF;
XHdmiC_DRM_Static_Metadata_Descp_Id Static_Metadata_Descriptor_ID;
struct {
u16 x,y;
} disp_primaries[3];
struct {
u16 x,y;
} white_point;
u16 Max_Disp_Mastering_Luminance;
u16 Min_Disp_Mastering_Luminance;
u16 Max_Content_Light_Level;
u16 Max_Frame_Average_Light_Level;
} XHdmiC_DRMInfoFrame;