summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-04 17:20:33 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-04 17:21:40 +0000
commit241b78233f0b8edebdf5c291729df1a3ca2eff4d (patch)
treed340cfc252f7d4a9be5446212b6ffb4e4c4fd52c
parent879900ef070fcb88c425d3e669f1257d4cc8661f (diff)
igt: intel_gen(intel_gen()) eek
Painfully obvious afterwards. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tests/drv_module_reload.c2
-rw-r--r--tests/gem_busy.c2
-rw-r--r--tests/gem_exec_gttfill.c2
-rw-r--r--tests/gem_exec_store.c2
-rw-r--r--tests/gem_exec_suspend.c2
-rw-r--r--tests/gem_exec_whisper.c2
-rw-r--r--tests/gem_ringfill.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/drv_module_reload.c b/tests/drv_module_reload.c
index 99678513..32e1324b 100644
--- a/tests/drv_module_reload.c
+++ b/tests/drv_module_reload.c
@@ -44,7 +44,7 @@
static bool can_store_dword_imm(int fd)
{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
+ return intel_gen(intel_get_drm_devid(fd)) > 2;
}
static void store_dword(int fd, unsigned ring)
diff --git a/tests/gem_busy.c b/tests/gem_busy.c
index edec7c9b..39360109 100644
--- a/tests/gem_busy.c
+++ b/tests/gem_busy.c
@@ -502,7 +502,7 @@ static void basic(int fd, unsigned ring, unsigned flags)
static bool can_store_dword_imm(int fd)
{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
+ return intel_gen(intel_get_drm_devid(fd)) > 2;
}
igt_main
diff --git a/tests/gem_exec_gttfill.c b/tests/gem_exec_gttfill.c
index 7e82b8f0..6ab88b15 100644
--- a/tests/gem_exec_gttfill.c
+++ b/tests/gem_exec_gttfill.c
@@ -211,7 +211,7 @@ static void fillgtt(int fd, unsigned ring, int timeout)
static bool can_store_dword_imm(int fd)
{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
+ return intel_gen(intel_get_drm_devid(fd)) > 2;
}
igt_main
diff --git a/tests/gem_exec_store.c b/tests/gem_exec_store.c
index e9893787..08248966 100644
--- a/tests/gem_exec_store.c
+++ b/tests/gem_exec_store.c
@@ -210,7 +210,7 @@ static void store_all(int fd)
static bool can_store_dword_imm(int fd)
{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
+ return intel_gen(intel_get_drm_devid(fd)) > 2;
}
igt_main
diff --git a/tests/gem_exec_suspend.c b/tests/gem_exec_suspend.c
index 89862f3a..c250761e 100644
--- a/tests/gem_exec_suspend.c
+++ b/tests/gem_exec_suspend.c
@@ -240,7 +240,7 @@ static void run_test(int fd, unsigned engine, unsigned flags)
static bool can_store_dword_imm(int fd)
{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
+ return intel_gen(intel_get_drm_devid(fd)) > 2;
}
igt_main
diff --git a/tests/gem_exec_whisper.c b/tests/gem_exec_whisper.c
index 500bd611..7f8f568f 100644
--- a/tests/gem_exec_whisper.c
+++ b/tests/gem_exec_whisper.c
@@ -518,7 +518,7 @@ out:
static bool can_store_dword_imm(int fd)
{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
+ return intel_gen(intel_get_drm_devid(fd)) > 2;
}
igt_main
diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c
index 74bb0a10..8e221cf8 100644
--- a/tests/gem_ringfill.c
+++ b/tests/gem_ringfill.c
@@ -232,7 +232,7 @@ static void run_test(int fd, unsigned ring, unsigned flags)
static bool can_store_dword_imm(int fd)
{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
+ return intel_gen(intel_get_drm_devid(fd)) > 2;
}
igt_main