OSDN Git Service

tests/amdgpu: add missing config.h include
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 29 Jan 2018 14:51:31 +0000 (14:51 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 31 Jan 2018 15:57:58 +0000 (15:57 +0000)
commit10e85a8b7f28e80f5184919b2448ade18c19ca21
tree874489069d112982fec0f8f2b0c78942cd85e1ce
parentba17673eed0383cc41ed49e8c9841b6b819fdfd3
tests/amdgpu: add missing config.h include

Otherwise we'll end up without the macros set during configure stage.
And effectively error out in sanity tests such as the mmap static
assert.

To reproduce, do a multilib build - 32bit build on 64bit machine.

Cc: Fabio Pedretti <pedretti.fabio@gmail.com>
Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Fixes: 33dcc29f7cc ("amdgpu: Add VMID reservation per GPU context test.")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104819
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
tests/amdgpu/vm_tests.c