[PATCH i-g-t 2/3] lib/intel_batchbuffer: Remove duplicated assignment
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Wed Sep 22 18:20:19 UTC 2021
Due to some changes related in the alignment in the future remove
unnecessary assignment.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Petri Latvala <petri.latvala at intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
lib/intel_batchbuffer.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 399d0e990..e3e649ca3 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -2020,9 +2020,6 @@ __intel_bb_add_intel_buf(struct intel_bb *ibb, struct intel_buf *buf,
buf->addr.offset, alignment, write);
buf->addr.offset = obj->offset;
- if (!ibb->enforce_relocs)
- obj->alignment = alignment;
-
if (igt_list_empty(&buf->link)) {
igt_list_add_tail(&buf->link, &ibb->intel_bufs);
buf->ibb = ibb;
--
2.26.0
More information about the Intel-gfx-trybot
mailing list