diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-07 18:10:26 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-08 16:53:27 +0300 |
commit | d98698cd697cd6d712c501a32855c63bb8e07a09 (patch) | |
tree | 82309fb18506183984963d6cedb3230b275fd9fd /tests/kms_draw_crc.c | |
parent | 5426dc0a889a859db93cd5283cabd9ea6df9d5ec (diff) |
tests/kms_draw_crc: Skip mmap_wc tests if the platforms doesn't support mmap_wc
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_draw_crc.c')
-rw-r--r-- | tests/kms_draw_crc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kms_draw_crc.c b/tests/kms_draw_crc.c index 906d89f9..260950c7 100644 --- a/tests/kms_draw_crc.c +++ b/tests/kms_draw_crc.c @@ -161,6 +161,8 @@ static void draw_method_subtest(enum igt_draw_method method, if (tiling == LOCAL_I915_FORMAT_MOD_Y_TILED) igt_require(intel_gen(intel_get_drm_devid(drm_fd)) >= 9); + igt_skip_on(method == IGT_DRAW_MMAP_WC && !gem_mmap__has_wc(drm_fd)); + /* Use IGT_DRAW_MMAP_GTT on an untiled buffer as the parameter for * comparison. Cache the value so we don't recompute it for every single * subtest. */ |