aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_debugfs_crc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_debugfs_crc.h')
-rw-r--r--include/drm/drm_debugfs_crc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_debugfs_crc.h b/include/drm/drm_debugfs_crc.h
index 7d63b1d4adb9..b225eeb30d05 100644
--- a/include/drm/drm_debugfs_crc.h
+++ b/include/drm/drm_debugfs_crc.h
@@ -43,6 +43,7 @@ struct drm_crtc_crc_entry {
43 * @lock: protects the fields in this struct 43 * @lock: protects the fields in this struct
44 * @source: name of the currently configured source of CRCs 44 * @source: name of the currently configured source of CRCs
45 * @opened: whether userspace has opened the data file for reading 45 * @opened: whether userspace has opened the data file for reading
46 * @overflow: whether an overflow occured.
46 * @entries: array of entries, with size of %DRM_CRC_ENTRIES_NR 47 * @entries: array of entries, with size of %DRM_CRC_ENTRIES_NR
47 * @head: head of circular queue 48 * @head: head of circular queue
48 * @tail: tail of circular queue 49 * @tail: tail of circular queue
@@ -52,7 +53,7 @@ struct drm_crtc_crc_entry {
52struct drm_crtc_crc { 53struct drm_crtc_crc {
53 spinlock_t lock; 54 spinlock_t lock;
54 const char *source; 55 const char *source;
55 bool opened; 56 bool opened, overflow;
56 struct drm_crtc_crc_entry *entries; 57 struct drm_crtc_crc_entry *entries;
57 int head, tail; 58 int head, tail;
58 size_t values_cnt; 59 size_t values_cnt;