ac/surface: add a test of DccAddrFromCoord prototype outside of addrlib
authorMarek Olšák <marek.olsak@amd.com>
Fri, 19 Mar 2021 19:52:44 +0000 (15:52 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 03:17:42 +0000 (03:17 +0000)
commit5ce8c440dd7a1137c6bda95b3623921e7983c7a4
tree6e5bb6975ab91e627ccd0cbcc64a124074fbf297
parentcd2832ee5107201493d59f70983f162653e53c7d
ac/surface: add a test of DccAddrFromCoord prototype outside of addrlib

The test takes over 2 minutes on a 12C/24T CPU with OpenMP.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10003>
src/amd/common/ac_surface_dcc_address_test.c [new file with mode: 0644]
src/amd/common/meson.build