drm/amdkfd: Check debug trap enable before write dbg_ev_file
authorjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:17:44 +0000 (09:17 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:17:44 +0000 (09:17 +0000)
commitef9beff5ae8948e6653950871d7e3021802c23ad
tree19ffc9bf38493f7ebe22f516a967497a10da4dcb
parentebd6dead264f74ed371b05aa604b6bc1c5dcfb3c
drm/amdkfd: Check debug trap enable before write dbg_ev_file

From Lin.Cao
e6ea3b8fe398915338147fe54dd2db8155fdafd8 in linux-6.6.y/6.6.50
547033b593063eb85bfdf9b25a5f1b8fd1911be2 in mainline linux
sys/dev/pci/drm/amd/amdkfd/kfd_debug.c