From: Andriy Khulap Date: Thu, 1 Mar 2018 08:44:28 +0000 (+0200) Subject: i965: Fix RELOC_WRITE typo in brw_store_data_imm64() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7859701920adc7f25696a05ae4715a4694109e1d;p=mesa.git i965: Fix RELOC_WRITE typo in brw_store_data_imm64() Fixes: 6c530ad11605 ("i965: Reduce passing 2x32b of reloc_domains to 2 bits") Signed-off-by: Andriy Khulap Signed-off-by: Vadym Shovkoplias Reviewed-by: Chris Wilson Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index d0999bb3caa..5385347dba2 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -1397,7 +1397,7 @@ brw_store_data_imm64(struct brw_context *brw, struct brw_bo *bo, BEGIN_BATCH(5); OUT_BATCH(MI_STORE_DATA_IMM | (5 - 2)); if (devinfo->gen >= 8) - OUT_RELOC64(bo, 0, offset); + OUT_RELOC64(bo, RELOC_WRITE, offset); else { OUT_BATCH(0); /* MBZ */ OUT_RELOC(bo, RELOC_WRITE, offset);