HomeFreeBSD

graphics/mesa-devel: crash workaround for Intel GPUs after r553723

Description

graphics/mesa-devel: crash workaround for Intel GPUs after r553723

While upstream issue is in userland driver FreeBSD kernel driver may
fail to handle it gracefully e.g.,

$ sway
$ mpv --hwdec=vaapi /path/to/file

pid 12449 (sway), jid 0, uid 1234: exited on signal 11
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at drm-kmod-drm_v5.4.62_3/drivers/gpu/drm/drm_atomic_helper.c:621
#0 0xffffffff81f3e833 at linux_dump_stack+0x23
#1 0xffffffff81ea43e3 at drm_atomic_helper_check_modeset+0xb3
#2 0xffffffff8259492c at intel_atomic_check+0x8c
#3 0xffffffff81ea3379 at drm_atomic_check_only+0x3f9
#4 0xffffffff81ea37c3 at drm_atomic_commit+0x13
#5 0xffffffff81eb0c3f at drm_client_modeset_commit_atomic+0x1af
#6 0xffffffff81eb093a at drm_client_modeset_commit_force+0x6a
#7 0xffffffff81efa12a at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
#8 0xffffffff81ef2386 at vt_kms_postswitch+0x166
#9 0xffffffff8076b66b at vt_window_switch+0x12b
#10 0xffffffff807688ff at vtterm_cngrab+0x1f
#11 0xffffffff80805a36 at cngrab+0x16
#12 0xffffffff8086295c at vpanic+0xec
#13 0xffffffff80862863 at panic+0x43
#14 0xffffffff81f5d142 at dma_buf_poll+0x12
#15 0xffffffff808d2959 at kern_poll+0x329
#16 0xffffffff808d2620 at sys_poll+0x50
#17 0xffffffff80b3353b at amd64_syscall+0xfb

Details

Provenance
jbeichAuthored on
Parents
rP553733: Security update for samba411, samba412 and samba413:
Branches
Unknown
Tags
Unknown