diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-30 21:47:39 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-21 12:59:37 +0000 |
commit | 50ade6ea697953bb17e3ca7210515fbd0411cd1e (patch) | |
tree | 558567a1c3be557b2af965cfdf106c5c1c6dd5b3 /src/mesa/drivers/dri/intel/intel_context.h | |
parent | 46131a824ffa3b658c822fd6cc543a5935773a6f (diff) |
intel: use throttle ioctl for throttling
Rather than waiting on the first batch after the last swapbuffers to be
retired, call into the kernel to wait upon the retirement of any request
less than 20ms old. This has the twofold advantage of (a) not blocking
any other clients from utilizing the device whilst we wait and (b) we
attain higher throughput without overloading the system.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_context.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h index 6116764ad6..1ab38b1cf6 100644 --- a/src/mesa/drivers/dri/intel/intel_context.h +++ b/src/mesa/drivers/dri/intel/intel_context.h @@ -182,7 +182,6 @@ struct intel_context bool is_blit; } batch; - drm_intel_bo *first_post_swapbuffers_batch; GLboolean need_throttle; GLboolean no_batch_wrap; |