diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2020-01-31 23:01:09 +0530 |
---|---|---|
committer | Ramalingam C <ramalingam.c@intel.com> | 2020-02-07 17:13:11 +0530 |
commit | ad4542ef1adbaa1227bc9ba9e24bb0e0f6dd408d (patch) | |
tree | 1de0d0d8cc4913c70608ecc34e5b871185870c90 /tests/i915/gem_tiling_max_stride.c | |
parent | b829195b50802c3054d47339a3921c4f6b051db1 (diff) |
tests/gem_tiling_max_stride: Skip if set tiling is not supported
When mmapable aperture is not supported set tiling also not supported.
Hence skip the test.
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Antonio Argenziano <antonio.argenziano@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'tests/i915/gem_tiling_max_stride.c')
-rw-r--r-- | tests/i915/gem_tiling_max_stride.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i915/gem_tiling_max_stride.c b/tests/i915/gem_tiling_max_stride.c index 0e99d979..77f7223b 100644 --- a/tests/i915/gem_tiling_max_stride.c +++ b/tests/i915/gem_tiling_max_stride.c @@ -71,6 +71,7 @@ igt_simple_main fd = drm_open_driver(DRIVER_INTEL); devid = intel_get_drm_devid(fd); + gem_require_mappable_ggtt(fd); if (intel_gen(devid) >= 7) { stride = 256 * 1024; |