aboutsummaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-20 16:27:05 -0700
committerEric Anholt <eric@anholt.net>2008-05-21 16:40:14 -0700
commitd6f796857780fc54641047e2aa4e7091376928eb (patch)
tree8528ff0d9804fd1021a60a479281f06cabaa94d6 /shared-core
parent54fa32cdfe1529023324a0a261ee5d4e033f46ea (diff)
[gem] Replace ring throttling hack with actual time measurement.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index ef41b433..e3f280d5 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -331,6 +331,9 @@ struct drm_i915_gem_request {
/** GEM sequence number associated with this request. */
uint32_t seqno;
+ /** Time at which this request was emitted, in jiffies. */
+ unsigned long emitted_jiffies;
+
struct list_head list;
};