X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fi965%2Fbrw_clip_state.c;h=856d8f0c6c071212ccbab78b9008c3f5db621e2d;hb=0534e958c9d7fc854b64ad38964863e895e5a317;hp=39285ff44db024bcef7968eb055f4fbc647dc202;hpb=34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e;p=mesa.git diff --git a/src/mesa/drivers/dri/i965/brw_clip_state.c b/src/mesa/drivers/dri/i965/brw_clip_state.c index 39285ff44db..856d8f0c6c0 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; }