drm/i915/selftest: Simplify Y-major tiling in blit selftest
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 10 Aug 2023 23:46:19 +0000 (16:46 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 17 Aug 2023 22:41:29 +0000 (15:41 -0700)
commit3d623691ca300676699a56d5ec154ebcbe5d63eb
tree34bedde0aca7e03bded48bbd5a11665541b3af13
parente50086f3d313fb22e19da593d6bb053335862bee
drm/i915/selftest: Simplify Y-major tiling in blit selftest

Rather than picking random tiling formats from a pool that contains both
TileY and Tile4 and then trying to replace one with the other depending
on the platform, it's simpler to just use a single enum value that
represents whatever the platform-appropriate Y-major tiling format is
(i.e., Tile4 on Xe_HP and beyond, legacy TileY on earlier platforms).

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Haridhar Kalvala <haridhar.kalvala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230810234618.3738870-3-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c