drm/i915/selftests: tweak the misaligned_case
authorMatthew Auld <matthew.auld@intel.com>
Wed, 20 Apr 2022 18:16:13 +0000 (19:16 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 21 Apr 2022 09:11:09 +0000 (10:11 +0100)
commit0f9fc0c1eff0120403f95d4f61e330654fbe64ed
treec371dc1feab41b861ab38326f7401ae47e566c05
parent9707cc4bbaa97f289083d437b8f4d060157f2394
drm/i915/selftests: tweak the misaligned_case

The compact-pt layout restrictions should only apply to the ppGTT. Also
make this play nice on platforms that only have the 64K GTT restriction,
and not the compact-pt thing.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Nirmoy Das <nirmoy.das@linux.intel.com>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@linux.intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220420181613.70033-4-matthew.auld@intel.com
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c