anv: provide required gem stubs for the tests
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 5 Apr 2017 16:52:51 +0000 (17:52 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 5 Apr 2017 16:54:38 +0000 (17:54 +0100)
commita6840efc096bd26e92bcee1a50515d845988a2f9
tree59873d041fd15530e9a99814ac4a8099f87204c0
parent830712482968a3f3fe30e9618b11546ff0bbb51b
anv: provide required gem stubs for the tests

Introduce stubs to anv_gem_stub.c that match the anv_gem.c ones.
Otherwise we may get link-time errors, when building the tests.

v2: Introduce all the missing stubs at once.

Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Vinson Lee <vlee@freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100574
Fixes: c964f0e485d ("anv: Query the kernel for reset status")
Fixes: 651ec926fc1 ("anv: Add support for 48-bit addresses")
Fixes: 060a6434eca ("anv: Advertise larger heap sizes")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
---
I've intentionally kept the order the same identical to the anv_gem.c.
This way we can easily grep & diff in the future ;-)
src/intel/vulkan/anv_gem_stubs.c