i965: Fix RELOC_WRITE typo in brw_store_data_imm64()
authorAndriy Khulap <andriy.khulap@gmail.com>
Thu, 1 Mar 2018 08:44:28 +0000 (10:44 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Mar 2018 19:20:04 +0000 (11:20 -0800)
Fixes: 6c530ad11605
("i965: Reduce passing 2x32b of reloc_domains to 2 bits")

Signed-off-by: Andriy Khulap <andriy.khulap@globallogic.com>
Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_batchbuffer.c

index d0999bb3caad947c9f418a2c5d941c08b6017a4c..5385347dba2a522a5adba058f808a1d676749557 100644 (file)
@@ -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);