mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
tests: mark gen3-only tests as such
... instead of hanging the gpu. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
b8245e18fe
commit
21ec8c78b3
@ -546,6 +546,11 @@ int main(int argc, char **argv)
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
if (!IS_GEN3(intel_get_drm_devid(fd))) {
|
||||
printf("gen3-only test, doing nothing\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
if (argc > 1)
|
||||
count = atoi(argv[1]);
|
||||
|
@ -394,6 +394,11 @@ int main(int argc, char **argv)
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
if (!IS_GEN3(intel_get_drm_devid(fd))) {
|
||||
printf("gen3-only test, doing nothing\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
if (argc > 1)
|
||||
count = atoi(argv[1]);
|
||||
|
@ -435,6 +435,11 @@ int main(int argc, char **argv)
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
if (!IS_GEN3(intel_get_drm_devid(fd))) {
|
||||
printf("gen3-only test, doing nothing\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
if (argc > 1)
|
||||
count = atoi(argv[1]);
|
||||
|
@ -422,6 +422,11 @@ int main(int argc, char **argv)
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
if (!IS_GEN3(intel_get_drm_devid(fd))) {
|
||||
printf("gen3-only test, doing nothing\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
if (argc > 1)
|
||||
count = atoi(argv[1]);
|
||||
|
@ -422,6 +422,11 @@ int main(int argc, char **argv)
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
if (!IS_GEN3(intel_get_drm_devid(fd))) {
|
||||
printf("gen3-only test, doing nothing\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
if (argc > 1)
|
||||
count = atoi(argv[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user