Module Name: src
Committed By: riastradh
Date: Sun Dec 19 00:46:00 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drm_debugfs_crc.h
Log Message:
spinlock_t needs <linux/spinlock.h>; need forward decl of drm_crtc.
Disable waitqueue for now. We won't be using the .c code; we just
need the .h file to compile.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/bsd/drm2/dist/include/drm/drm_debugfs_crc.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/dist/include/drm/drm_debugfs_crc.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_debugfs_crc.h:1.2 src/sys/external/bsd/drm2/dist/include/drm/drm_debugfs_crc.h:1.3
--- src/sys/external/bsd/drm2/dist/include/drm/drm_debugfs_crc.h:1.2 Sat Dec 18 23:45:45 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_debugfs_crc.h Sun Dec 19 00:46:00 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_debugfs_crc.h,v 1.2 2021/12/18 23:45:45 riastradh Exp $ */
+/* $NetBSD: drm_debugfs_crc.h,v 1.3 2021/12/19 00:46:00 riastradh Exp $ */
/*
* Copyright © 2016 Collabora Ltd.
@@ -24,6 +24,10 @@
#ifndef __DRM_DEBUGFS_CRC_H__
#define __DRM_DEBUGFS_CRC_H__
+#include <linux/spinlock.h>
+
+struct drm_crtc;
+
#define DRM_MAX_CRC_NR 10
/**
@@ -59,7 +63,9 @@ struct drm_crtc_crc {
struct drm_crtc_crc_entry *entries;
int head, tail;
size_t values_cnt;
+#ifndef __NetBSD__
wait_queue_head_t wq;
+#endif
};
#if defined(CONFIG_DEBUG_FS)