]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Filter out both physical address swizzles
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Jul 2018 19:49:15 +0000 (20:49 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jul 2018 08:53:41 +0000 (09:53 +0100)
commitbd9b57a14be64d87a847664dbd90f32e373508ac
tree75092d3515fcb299d9baf47cc428c003fcdfdce9
parentd27aef538d04e8f4e7276a0811de96cba04acdfd
drm/i915/selftests: Filter out both physical address swizzles

In our swizzling selftests, we cannot predict the physical address of
the target page (at least not simply!) and so skip bit17 swizzles.
However, there are two bit17 swizzle modes and we only skipped one, with
the second being observed on the lab gdg causing the test to fail,
as soon as we hit a page with bit17 set in its address.

Testcase: igt/drv_selftest/live_objects #gdg
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180709194915.5789-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_object.c