From: Samuel Pitoiset Date: Tue, 18 Aug 2020 06:49:11 +0000 (+0200) Subject: radv: enable the trap handler and configure the shader exceptions X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=8e97a61cfbb50e427159877a2b8110ec0f5ce8ef;hp=8e97a61cfbb50e427159877a2b8110ec0f5ce8ef;ds=sidebyside radv: enable the trap handler and configure the shader exceptions When TRAP_PRESENT is not enabled, all traps and exceptions are ignored. Only EXCP_EN.mem_viol is currently supported because the other exceptions have to be tested/validated first. EXCP_EN.mem_viol is used to detect any sort of invalid memory access like VM fault. When a memory violation is reported, the hw jumps to the trap handler. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: ---