[Intel-gfx] [PATCH] tests/gem_exec_params: Fix rel-constants-invalid subtest
Daniel Vetter
daniel.vetter at ffwll.ch
Thu Apr 24 10:46:18 CEST 2014
Reported by Ville and Zhao Yakui.
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Zhao Yakui <yakui.zhao at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
tests/gem_exec_params.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gem_exec_params.c b/tests/gem_exec_params.c
index b1d996c530f5..306039c244e3 100644
--- a/tests/gem_exec_params.c
+++ b/tests/gem_exec_params.c
@@ -134,7 +134,7 @@ igt_main
}
igt_subtest("rel-constants-invalid") {
- execbuf.flags = I915_EXEC_RENDER | (I915_EXEC_CONSTANTS_REL_SURFACE+1);
+ execbuf.flags = I915_EXEC_RENDER | (I915_EXEC_CONSTANTS_REL_SURFACE+(1<<6));
RUN_FAIL(EINVAL);
}
--
1.8.1.4
More information about the Intel-gfx
mailing list