summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_migrate.c
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-01-11 21:56:03 +0300
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-01-12 13:53:05 +0300
commit1113e52ffee7b45def230d10edb1f2924c7b3f9e (patch)
treeee17b4b7dff644aeed6e09854c8f05fdcd862015 /drivers/gpu/drm/xe/xe_migrate.c
parent33ff1f21bd2fb69620d5ffc7afccf74cbc403097 (diff)
downloadlinux-1113e52ffee7b45def230d10edb1f2924c7b3f9e.tar.xz
drm/xe: Fix potential deadlock in __fini_dbm
If Doorbell Manager is in unclean state during fini phase, for debug purposes we try to print it's state, but we missed the fact that we are already holding a lock so the xe_guc_db_mgr_print() will deadlock since it also attempts to grab the same lock. Fixes: 587c73343ac7 ("drm/xe: Introduce GuC Doorbells Manager") Cc: Piotr PiĆ³rkowski <piotr.piorkowski@intel.com> Reviewed-by: Piotr PiĆ³rkowski <piotr.piorkowski@intel.com> Link: https://lore.kernel.org/r/20240111185603.673-1-michal.wajdeczko@intel.com Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_migrate.c')
0 files changed, 0 insertions, 0 deletions