diff options
author | Eric Anholt <eric@anholt.net> | 2010-06-07 09:52:14 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-08 13:42:02 -0700 |
commit | df3c1a563f3d76b07ab82c7b230b0030452f36ff (patch) | |
tree | a75c039c4bda73e89939fb46866b99d9e634512f /src/mesa/drivers/dri/i965/brw_clip_state.c | |
parent | 34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e (diff) |
intel: Convert remaining dri_bo_emit_reloc to drm_intel_bo_emit_reloc.
The new API makes so much more sense, I'd like to forget how the old
one worked.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip_state.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_state.c b/src/mesa/drivers/dri/i965/brw_clip_state.c index 39285ff44d..856d8f0c6c 100644 --- a/src/mesa/drivers/dri/i965/brw_clip_state.c +++ b/src/mesa/drivers/dri/i965/brw_clip_state.c @@ -146,12 +146,9 @@ clip_unit_create_from_key(struct brw_context *brw, /* Emit clip program relocation */ assert(brw->clip.prog_bo); - dri_bo_emit_reloc(bo, - I915_GEM_DOMAIN_INSTRUCTION, - 0, - clip.thread0.grf_reg_count << 1, - offsetof(struct brw_clip_unit_state, thread0), - brw->clip.prog_bo); + drm_intel_bo_emit_reloc(bo, offsetof(struct brw_clip_unit_state, thread0), + brw->clip.prog_bo, clip.thread0.grf_reg_count << 1, + I915_GEM_DOMAIN_INSTRUCTION, 0); return bo; } |