radeonsi: move si_vm_fault_occured() to AMD common code
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 31 Aug 2017 09:43:59 +0000 (11:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 1 Sep 2017 07:46:32 +0000 (09:46 +0200)
commit12cbd9a13f97f67b62657728bc244b96de7f7b83
treef881b7c68eaf80c88c0d897714e93bc8f2a2a6a6
parent72d9ffc72cba5852ec09d2e8d1f55fdbbefcfe6f
radeonsi: move si_vm_fault_occured() to AMD common code

For radv, in order to report VM faults when detected.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_debug.c
src/amd/common/ac_debug.h
src/gallium/drivers/radeonsi/si_debug.c