Commit 19fa7aa4 authored by Matthew Auld's avatar Matthew Auld

drm/xe/guc: s/guc_fini/guc_fini_hw/

Make it clear that is about cleaning up the HW/FW side, and not software
state.
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: default avatarAndrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240522102143.128069-23-matthew.auld@intel.com
parent 241f5d25
...@@ -241,7 +241,7 @@ static void guc_write_params(struct xe_guc *guc) ...@@ -241,7 +241,7 @@ static void guc_write_params(struct xe_guc *guc)
xe_mmio_write32(gt, SOFT_SCRATCH(1 + i), guc->params[i]); xe_mmio_write32(gt, SOFT_SCRATCH(1 + i), guc->params[i]);
} }
static void guc_fini(void *arg) static void guc_fini_hw(void *arg)
{ {
struct xe_guc *guc = arg; struct xe_guc *guc = arg;
struct xe_gt *gt = guc_to_gt(guc); struct xe_gt *gt = guc_to_gt(guc);
...@@ -349,7 +349,7 @@ int xe_guc_init(struct xe_guc *guc) ...@@ -349,7 +349,7 @@ int xe_guc_init(struct xe_guc *guc)
if (ret) if (ret)
goto out; goto out;
ret = devm_add_action_or_reset(xe->drm.dev, guc_fini, guc); ret = devm_add_action_or_reset(xe->drm.dev, guc_fini_hw, guc);
if (ret) if (ret)
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment