diff options
author | Kenneth Graunke <[email protected]> | 2013-07-03 14:28:29 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:12 -0700 |
commit | 5314afa27aa8d9260ed0b0a42a6d6050313953da (patch) | |
tree | 256dc4fde466fa3b40de869aa369beecaac5ba5d /src/mesa/drivers/dri/i965/intel_batchbuffer.c | |
parent | ec995de6fbafe8d6018b91ca130abac760112475 (diff) |
i965: Move intel_context's framerate throttling fields to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]>
Acked-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_batchbuffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index 8f032183cf4..0905237aa89 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -241,9 +241,9 @@ _intel_batchbuffer_flush(struct brw_context *brw, if (brw->batch.used == 0) return 0; - if (intel->first_post_swapbuffers_batch == NULL) { - intel->first_post_swapbuffers_batch = brw->batch.bo; - drm_intel_bo_reference(intel->first_post_swapbuffers_batch); + if (brw->first_post_swapbuffers_batch == NULL) { + brw->first_post_swapbuffers_batch = brw->batch.bo; + drm_intel_bo_reference(brw->first_post_swapbuffers_batch); } if (unlikely(INTEL_DEBUG & DEBUG_BATCH)) |