Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux linux/hdmi.h: Implement ...



details:   https://anonhg.NetBSD.org/src/rev/25a81894c733
branches:  trunk
changeset: 368398:25a81894c733
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Jul 09 17:13:04 2022 +0000

description:
linux/hdmi.h: Implement hdmi_infoframe_log.

diffstat:

 sys/external/bsd/drm2/include/linux/hdmi.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r b9daaa735ba7 -r 25a81894c733 sys/external/bsd/drm2/include/linux/hdmi.h
--- a/sys/external/bsd/drm2/include/linux/hdmi.h        Sat Jul 09 15:24:42 2022 +0000
+++ b/sys/external/bsd/drm2/include/linux/hdmi.h        Sat Jul 09 17:13:04 2022 +0000
@@ -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 @@
 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_ */



Home | Main Index | Thread Index | Old Index