Commit b556c9e8 authored by Shuang He's avatar Shuang He Committed by Daniel Vetter

tests: Fix duplicate 'kms_flip_event_leak' entry in tests/Makefile.sources

Or, it will cause piglit failure to run I-G-T test case
Signed-off-by: Shuang He's avatarShuang He <shuang.he@intel.com>
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@intel.com>
parent 1f6a64ee
......@@ -64,7 +64,6 @@ TESTS_progs_M = \
kms_flip \
kms_flip_event_leak \
kms_flip_tiling \
kms_flip_event_leak \
kms_mmio_vs_cs_flip \
kms_pipe_b_c_ivb \
kms_pipe_crc_basic \
......
......@@ -77,7 +77,7 @@ subslice_total(void)
int ret;
ret = getparam(LOCAL_I915_PARAM_SUBSLICE_TOTAL, (int*)&subslice_total);
igt_skip_on_f(ret == -EINVAL, "Interface not supported by kernel\n");
igt_skip_on_f(ret == -EINVAL && intel_gen(devid), "Interface not supported by kernel\n");
if (ret) {
/*
......@@ -92,7 +92,7 @@ subslice_total(void)
/*
* All other devices must implement the interface, so
* fail them if we are here.
*/
*/
} else {
igt_assert_eq(ret, 0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment