|
@@ -43,6 +43,7 @@ struct drm_crtc_crc_entry {
|
|
* @lock: protects the fields in this struct
|
|
* @lock: protects the fields in this struct
|
|
* @source: name of the currently configured source of CRCs
|
|
* @source: name of the currently configured source of CRCs
|
|
* @opened: whether userspace has opened the data file for reading
|
|
* @opened: whether userspace has opened the data file for reading
|
|
|
|
+ * @overflow: whether an overflow occured.
|
|
* @entries: array of entries, with size of %DRM_CRC_ENTRIES_NR
|
|
* @entries: array of entries, with size of %DRM_CRC_ENTRIES_NR
|
|
* @head: head of circular queue
|
|
* @head: head of circular queue
|
|
* @tail: tail of circular queue
|
|
* @tail: tail of circular queue
|
|
@@ -52,7 +53,7 @@ struct drm_crtc_crc_entry {
|
|
struct drm_crtc_crc {
|
|
struct drm_crtc_crc {
|
|
spinlock_t lock;
|
|
spinlock_t lock;
|
|
const char *source;
|
|
const char *source;
|
|
- bool opened;
|
|
|
|
|
|
+ bool opened, overflow;
|
|
struct drm_crtc_crc_entry *entries;
|
|
struct drm_crtc_crc_entry *entries;
|
|
int head, tail;
|
|
int head, tail;
|
|
size_t values_cnt;
|
|
size_t values_cnt;
|