radeonsi: Set PIPE_CONTEXT_LOSE_CONTEXT_ON_RESET for auxiliary contexts
What does this MR do and why?
radeonsi: Set PIPE_CONTEXT_LOSE_CONTEXT_ON_RESET for auxiliary contexts
This fixes a regression with context loss hardened compositors such as
wlroots or kwin where instead of continuing execution in a reset
situation, the process would be aborted. Although these applications set
their notification strategy to lose context on reset, radeonsi also
creates auxiliary contexts for its own use observed when
egl_init_display
and gbm_create_device
are called from these
compositors. Fix this by allowing a context loss on reset for these
auxiliary contexts.
Note: It seems this has been attempted before for another call site creating auxiliary contexts, but this location was missed, hence the fixed commit hash below.
Fixes: #9672 (closed) Fixes: 591aaea6
Signed-off-by: Alexander Orzechowski alex@ozal.ski