[Intel-gfx] [PATCH v2] drm/i915/guc: add CAT error handler

2022-10-28 Thread Andrzej Hajda
Bad GPU memory accesses can result in catastrophic error notifications being send from the GPU to the KMD via the GuC. Add a handler to process the notification by printing a kernel message and dumping the related engine state (if appropriate). Since the same CAT error can be reported twice, log on

Re: [Intel-gfx] [PATCH v2] drm/i915/guc: add CAT error handler

2022-10-28 Thread Tvrtko Ursulin
Hi, I can't really provide feedback on the GuC interactions so only some superficial comments below. On 28/10/2022 10:34, Andrzej Hajda wrote: Bad GPU memory accesses can result in catastrophic error notifications being send from the GPU to the KMD via the GuC. Add a handler to process the

Re: [Intel-gfx] [PATCH v2] drm/i915/guc: add CAT error handler

2022-10-28 Thread Andrzej Hajda
On 28.10.2022 12:06, Tvrtko Ursulin wrote: Hi, I can't really provide feedback on the GuC interactions so only some superficial comments below. On 28/10/2022 10:34, Andrzej Hajda wrote: Bad GPU memory accesses can result in catastrophic error notifications being send from the GPU to the KMD