]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3953bbe865a8fec7ba826ad7f7762eb921f8d13a
tree94177f50313e1453fbf6f568ceda47423ef18fc6
parent047b169dfa126f4976ba7bc5d0ac8b18158a9748
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