summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_drv.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-02-28 17:01:52 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-02-28 17:01:52 +1100
commit72b29c58a83abaf1e2d67886257f0e959085789d (patch)
treea4dd2b49c0b910eaf69e23ee9c48754fc52e7e69 /sys/dev/pci/drm/i915_drv.h
parent1a57b40ff35a91b70f3e94b71322ddb087f22a90 (diff)
use the same hangcheck timer interval as linux
Diffstat (limited to 'sys/dev/pci/drm/i915_drv.h')
-rw-r--r--sys/dev/pci/drm/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_drv.h b/sys/dev/pci/drm/i915_drv.h
index 215629ab708..9d50f98fc92 100644
--- a/sys/dev/pci/drm/i915_drv.h
+++ b/sys/dev/pci/drm/i915_drv.h
@@ -718,6 +718,7 @@ struct inteldrm_softc {
} mm;
/* for hangcheck */
+#define DRM_I915_HANGCHECK_PERIOD 1500 /* in ms */
struct timeout hangcheck_timer;
int hangcheck_count;
uint32_t last_acthd[I915_NUM_RINGS];