drm/i915: Stop using I915_TILING_* in client blit selftest
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 1 Oct 2021 00:58:16 +0000 (17:58 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 12 Oct 2021 21:24:53 +0000 (14:24 -0700)
commitc46f4405486d953dd749613f67d3a0eec69e1b87
tree94177f50313e1453fbf6f568ceda47423ef18fc6
parenta5b51a9f8523a0b88ce7e8e8059f75a43c34c57f
drm/i915: Stop using I915_TILING_* in client blit selftest

The I915_TILING_* definitions in the uapi header are intended solely for
tiling modes that are visible to the old de-tiling fence ioctls.  Since
modern hardware does not support de-tiling fences, we should not add new
definitions for new tiling types going forward.  However we do want the
client blit selftest to eventually cover other new tiling modes (such as
Tile4), so switch it to using its own enum of tiling modes.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211001005816.73330-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c