summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2003-01-11 20:58:20 +0000
committerMichel Daenzer <michel@daenzer.net>2003-01-11 20:58:20 +0000
commit826aad0aba648befe09592f154f75db5009a0cd9 (patch)
tree6e97cb8854acb0369fbdca129474c37e85e6cc48 /linux-core/drmP.h
parent6f940bc3f8aeb09925354445e92e9c0e74515b13 (diff)
limit number of pending vblank signals to 100 to prevent DoS, and minor
cleanups
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 004f9637..01045037 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -592,6 +592,7 @@ typedef struct drm_device {
atomic_t vbl_received;
spinlock_t vbl_lock;
drm_vbl_sig_t vbl_sigs;
+ unsigned int vbl_pending;
#endif
cycles_t ctx_start;
cycles_t lck_start;