summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_crc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_cursor_crc.c')
-rw-r--r--tests/kms_cursor_crc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 206f8526..0940752b 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -416,7 +416,13 @@ static bool has_nonsquare_cursors(uint32_t devid)
* Test non-square cursors a bit on the platforms
* that support such things.
*/
- return devid == PCI_CHIP_845_G || devid == PCI_CHIP_I865_G;
+ if (devid == PCI_CHIP_845_G || devid == PCI_CHIP_I865_G)
+ return true;
+
+ if (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid))
+ return false;
+
+ return intel_gen(devid) >= 7;
}
static void test_cursor_size(data_t *data)