drm/i915/selftests: Add tiled blits selftest
authorZbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Thu, 30 Apr 2020 06:49:57 +0000 (07:49 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Apr 2020 07:31:12 +0000 (08:31 +0100)
commit79eb8c7f015a6c2b307b86ca4176c5f0ed987219
tree0ce35a634dc3cf7f41a2d8ecdc65b7b090027999
parentde3b4d9361c8a527aa91f49f779e2e378019d0f6
drm/i915/selftests: Add tiled blits selftest

Extend coverage of the blitter client by exercising conversion to and
from tiled sources. In the process we perform spot checks to verify that
the tiling/detiling is being applied correctly, along with position
invariance of the tiling parameters.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200430064957.14942-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
drivers/gpu/drm/i915/i915_reg.h