amd: add has_gpuvm_fault_query
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 May 2023 13:04:56 +0000 (15:04 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 25 Oct 2023 15:29:22 +0000 (15:29 +0000)
commitbdc62108be282d550925563ce5097f9d938703b9
treec88369bfc22d9465df7ed9541071dfd2cd67364a
parent37462ce72d5b26b13c9d0792468f72ed56996c1c
amd: add has_gpuvm_fault_query

Whether the kernel allows to query the last GPUVM fault.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23238>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h