diff options
author | Kenneth Graunke <[email protected]> | 2017-03-20 16:42:55 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-04-10 14:31:11 -0700 |
commit | eed86b975e4451c9fa85d7aad9fc747e9b941e2a (patch) | |
tree | 610ffdac7730bf977bda762df45420a6a2674fa9 /src/mesa/drivers/dri/i965/genX_blorp_exec.c | |
parent | 91b973e3a3c967490321a809aa49489cabec0192 (diff) |
i965/drm: Use our internal libdrm (drm_bacon) rather than the real one.
Now we can actually test our changes.
Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/genX_blorp_exec.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/genX_blorp_exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c index 2066141128c..a7d5bed85f7 100644 --- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c +++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c @@ -67,9 +67,9 @@ blorp_surface_reloc(struct blorp_batch *batch, uint32_t ss_offset, { assert(batch->blorp->driver_ctx == batch->driver_batch); struct brw_context *brw = batch->driver_batch; - drm_intel_bo *bo = address.buffer; + drm_bacon_bo *bo = address.buffer; - drm_intel_bo_emit_reloc(brw->batch.bo, ss_offset, + drm_bacon_bo_emit_reloc(brw->batch.bo, ss_offset, bo, address.offset + delta, address.read_domains, address.write_domain); @@ -200,7 +200,7 @@ genX(blorp_exec)(struct blorp_batch *batch, retry: intel_batchbuffer_require_space(brw, estimated_max_batch_usage, RENDER_RING); intel_batchbuffer_save_state(brw); - drm_intel_bo *saved_bo = brw->batch.bo; + drm_bacon_bo *saved_bo = brw->batch.bo; uint32_t saved_used = USED_BATCH(brw->batch); uint32_t saved_state_batch_offset = brw->batch.state_batch_offset; @@ -244,7 +244,7 @@ retry: * map all the BOs into the GPU at batch exec time later. If so, flush the * batch and try again with nothing else in the batch. */ - if (drm_intel_bufmgr_check_aperture_space(&brw->batch.bo, 1)) { + if (drm_bacon_bufmgr_check_aperture_space(&brw->batch.bo, 1)) { if (!check_aperture_failed_once) { check_aperture_failed_once = true; intel_batchbuffer_reset_to_saved(brw); |