mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 00:00:13 +01:00
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: 33dcc29f7c ("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>
This commit is contained in:
parent
ba17673eed
commit
10e85a8b7f
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "CUnit/Basic.h"
|
||||
|
||||
#include "amdgpu_test.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue