Module Name:    src
Committed By:   riastradh
Date:           Sat Jul  9 17:13:04 UTC 2022

Modified Files:
        src/sys/external/bsd/drm2/include/linux: hdmi.h

Log Message:
linux/hdmi.h: Implement hdmi_infoframe_log.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/drm2/include/linux/hdmi.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/linux/hdmi.h
diff -u src/sys/external/bsd/drm2/include/linux/hdmi.h:1.15 src/sys/external/bsd/drm2/include/linux/hdmi.h:1.16
--- src/sys/external/bsd/drm2/include/linux/hdmi.h:1.15	Sat Jul  9 15:24:42 2022
+++ src/sys/external/bsd/drm2/include/linux/hdmi.h	Sat Jul  9 17:13:04 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: hdmi.h,v 1.15 2022/07/09 15:24:42 riastradh Exp $	*/
+/*	$NetBSD: hdmi.h,v 1.16 2022/07/09 17:13:04 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -37,6 +37,8 @@
 #include <sys/errno.h>
 #include <sys/systm.h>
 
+#include <lib/libkern/libkern.h>
+
 enum hdmi_3d_structure {
 	HDMI_3D_STRUCTURE_INVALID		= -1,
 	HDMI_3D_STRUCTURE_FRAME_PACKING		= 0,
@@ -995,7 +997,8 @@ static inline void
 hdmi_infoframe_log(const char *level, struct device *device,
     const union hdmi_infoframe *frame)
 {
-	/* XXX */
+
+	hexdump(printf, device_xname(device), frame, sizeof(*frame));
 }
 
 #endif	/* _LINUX_HDMI_H_ */

Reply via email to