intel/hang_replay: remove EXEC_OBJECT_WRITE

This flag causes the following failure:

total_vma: 0x0000000071c9d000
fail to set context hw img: Invalid argument

Fixes: bab52763f4 ("intel/hang_replay: fix batch address")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11959
Signed-off-by: Carlos Santa <carlos.santa@intel.corp-partner.google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31494>
This commit is contained in:
Carlos Santa 2024-10-02 13:59:10 -07:00 committed by Marge Bot
parent 700141da43
commit 39e3015c36

View file

@ -625,7 +625,6 @@ main(int argc, char *argv[])
.relocs_ptr = 0,
.flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS |
EXEC_OBJECT_PINNED |
EXEC_OBJECT_WRITE /* to be able to wait on the BO */ |
EXEC_OBJECT_CAPTURE,
.offset = intel_canonical_address(init_bo->offset),
};
@ -647,7 +646,6 @@ main(int argc, char *argv[])
.relocs_ptr = 0,
.flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS |
EXEC_OBJECT_PINNED |
EXEC_OBJECT_WRITE /* to be able to wait on the BO */ |
EXEC_OBJECT_CAPTURE,
.offset = intel_canonical_address(batch_bo->offset),
};