drm/i915/selftests: Guard against redifinition of SZ_8G
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jan 2021 17:15:11 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jan 2021 20:31:06 +0000 (20:31 +0000)
commitbf3997a541525ac8cf06bb8f0daa639977d7f33e
treec2b6ea6de10ce0c6b22323c84be50e75b1cf593e
parent2b2779917a52136b87c8e0c9d1ba8efb7f5ea8e9
drm/i915/selftests: Guard against redifinition of SZ_8G

In the near future, upstream will introduce a SZ_8G macro that is
slightly different to our own. Employ a temporary ifndef to avoid
compilation failure until we have backmerged.

References: 8b0fac44bd1f ("sizes.h: add SZ_8G/SZ_16G/SZ_32G macros")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210104171511.32684-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_memory_region.c