]> 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)
commita62d78450a6b19da80388cfd33bf66451165bd32
tree94177f50313e1453fbf6f568ceda47423ef18fc6
parent2f7e11557439803d146487005bea5a122ae4af89
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