projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241f5d2
)
drm/xe/guc: s/guc_fini/guc_fini_hw/
author
Matthew Auld
<matthew.auld@intel.com>
Wed, 22 May 2024 10:21:48 +0000
(11:21 +0100)
committer
Matthew Auld
<matthew.auld@intel.com>
Wed, 22 May 2024 12:22:39 +0000
(13:22 +0100)
Make it clear that is about cleaning up the HW/FW side, and not software
state.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@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-23-matthew.auld@intel.com
drivers/gpu/drm/xe/xe_guc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/xe/xe_guc.c
b/drivers/gpu/drm/xe/xe_guc.c
index 3ac821438b60b3cabb682b2a09cba9ae5ed2e05a..90ecd7073d3d459ef54633519c6f9c80e10ff6a3 100644
(file)
--- a/
drivers/gpu/drm/xe/xe_guc.c
+++ b/
drivers/gpu/drm/xe/xe_guc.c
@@
-241,7
+241,7
@@
static void guc_write_params(struct xe_guc *guc)
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_gt *gt = guc_to_gt(guc);
@@
-349,7
+349,7
@@
int xe_guc_init(struct xe_guc *guc)
if (ret)
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)
goto out;