]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66cfd618e3d806072540b8911aebed46f82655c1
treec2b6ea6de10ce0c6b22323c84be50e75b1cf593e
parentfb14d30f3c09fd78cd45d948914ba2664eeb2558
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: a7169cd16994 ("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