[igt-dev] [PATCH i-g-t] i915/gem_render_copy_redux: Remove redundant checks

apoorva1.singh at intel.com apoorva1.singh at intel.com
Sat Dec 26 16:35:59 UTC 2020


From: Apoorva Singh <apoorva1.singh at intel.com>

Remove the redundant checks present in copy_flink()

Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
---
 tests/i915/gem_render_copy_redux.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/i915/gem_render_copy_redux.c b/tests/i915/gem_render_copy_redux.c
index 8e633567..40308a6e 100644
--- a/tests/i915/gem_render_copy_redux.c
+++ b/tests/i915/gem_render_copy_redux.c
@@ -180,9 +180,6 @@ static void copy_flink(data_t *data)
 	scratch_buf_check(data, &dst, 10, 10, DST_COLOR);
 	scratch_buf_check(data, &dst, WIDTH - 10, HEIGHT - 10, SRC_COLOR);
 
-	scratch_buf_check(data, &dst, 10, 10, DST_COLOR);
-	scratch_buf_check(data, &dst, WIDTH - 10, HEIGHT - 10, SRC_COLOR);
-
 	intel_bb_reset(data->ibb, true);
 	scratch_buf_fini(data, &src);
 	scratch_buf_fini(data, &flink);
-- 
2.25.1



More information about the igt-dev mailing list