summary refs log tree commit diff
path: root/drivers/gpu/drm/i915/selftests/intel_hangcheck.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-07-05 18:15:23 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-07-05 20:53:01 +0100
commit73d8e5fba54f400cd5fe48517dbe6776fb16c2ad (patch)
treeff48c4871db39439c89de24de33842984b5cde38 /drivers/gpu/drm/i915/selftests/intel_hangcheck.c
parent9757973f41b52cd8fa7850100b8b0ae85261bcc5 (diff)
downloadlinux-73d8e5fba54f400cd5fe48517dbe6776fb16c2ad.tar.gz
drm/i915/selftests: Detect unknown swizzling correctly
i915_gem_detect_bit_6_swizzle() tries to hide unknown swizzling from
userspace (and ourselves) leaving us with the only clue inside
i915->quirks & QUIRK_PIN_SWIZZLED_PAGES. If we see this bit set, it
means that we really have no clue as to what the swizzle pattern is
being used in any one page and so cannot compute what the reference
value should be in our tiling selftests. We have to skip the test.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107133
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180705171523.18462-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/intel_hangcheck.c')
0 files changed, 0 insertions, 0 deletions