]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe/guc_pc: move pc_fini to devm
authorMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 10:21:49 +0000 (11:21 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 12:22:39 +0000 (13:22 +0100)
commitc9f422de07b1c62ab6da0a240802ac24efe26dc4
treecfdae3c9d9ca068a50e79181699b9ed13414b07e
parent19fa7aa4d235cd21b1c62977b2e8d6331976286f
drm/xe/guc_pc: move pc_fini to devm

Here we are touching the HW/GuC and presumably this should happen when
the device is removed. Currently if you hotunplug the device this is
skipped if there is already open driver instance.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240522102143.128069-24-matthew.auld@intel.com
drivers/gpu/drm/xe/xe_guc_pc.c