Skip to content

Commit

Permalink
drm/xe/guc_pc: s/pc_fini/pc_fini_hw/
Browse files Browse the repository at this point in the history
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-25-matthew.auld@intel.com
  • Loading branch information
Matthew Auld committed May 22, 2024
1 parent c9f422d commit 6d95155
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/gpu/drm/xe/xe_guc_pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,10 +889,10 @@ int xe_guc_pc_stop(struct xe_guc_pc *pc)
}

/**
* xe_guc_pc_fini - Finalize GuC's Power Conservation component
* xe_guc_pc_fini_hw - Finalize GuC's Power Conservation component
* @arg: opaque pointer that should point to Xe_GuC_PC instance
*/
static void xe_guc_pc_fini(void *arg)
static void xe_guc_pc_fini_hw(void *arg)
{
struct xe_guc_pc *pc = arg;
struct xe_device *xe = pc_to_xe(pc);
Expand Down Expand Up @@ -940,5 +940,5 @@ int xe_guc_pc_init(struct xe_guc_pc *pc)

pc->bo = bo;

return devm_add_action_or_reset(xe->drm.dev, xe_guc_pc_fini, pc);
return devm_add_action_or_reset(xe->drm.dev, xe_guc_pc_fini_hw, pc);
}

0 comments on commit 6d95155

Please sign in to comment.