mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
drm/xe: Rename xe_uc_init_hw to xe_uc_load_hw
It feels to me like load is closer to the intention than init_hw. It makes the init calls slightly less confusing to me. :) Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20250619104858.418440-24-dev@lankhorst.se Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
This commit is contained in:
parent
a42939ee86
commit
18635b6328
|
|
@ -573,7 +573,7 @@ static int gt_init_with_all_forcewake(struct xe_gt *gt)
|
|||
}
|
||||
}
|
||||
|
||||
err = xe_uc_init_hw(>->uc);
|
||||
err = xe_uc_load_hw(>->uc);
|
||||
if (err)
|
||||
goto err_force_wake;
|
||||
|
||||
|
|
@ -738,7 +738,7 @@ static int vf_gt_restart(struct xe_gt *gt)
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
err = xe_uc_init_hw(>->uc);
|
||||
err = xe_uc_load_hw(>->uc);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
|
@ -776,7 +776,7 @@ static int do_gt_restart(struct xe_gt *gt)
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
err = xe_uc_init_hw(>->uc);
|
||||
err = xe_uc_load_hw(>->uc);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ int xe_uc_sanitize_reset(struct xe_uc *uc)
|
|||
return uc_reset(uc);
|
||||
}
|
||||
|
||||
static int vf_uc_init_hw(struct xe_uc *uc)
|
||||
static int vf_uc_load_hw(struct xe_uc *uc)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ static int vf_uc_init_hw(struct xe_uc *uc)
|
|||
* Should be called during driver load, after every GT reset, and after every
|
||||
* suspend to reload / auth the firmwares.
|
||||
*/
|
||||
int xe_uc_init_hw(struct xe_uc *uc)
|
||||
int xe_uc_load_hw(struct xe_uc *uc)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
@ -182,7 +182,7 @@ int xe_uc_init_hw(struct xe_uc *uc)
|
|||
return 0;
|
||||
|
||||
if (IS_SRIOV_VF(uc_to_xe(uc)))
|
||||
return vf_uc_init_hw(uc);
|
||||
return vf_uc_load_hw(uc);
|
||||
|
||||
ret = xe_huc_upload(&uc->huc);
|
||||
if (ret)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ struct xe_uc;
|
|||
int xe_uc_init_noalloc(struct xe_uc *uc);
|
||||
int xe_uc_init(struct xe_uc *uc);
|
||||
int xe_uc_init_post_hwconfig(struct xe_uc *uc);
|
||||
int xe_uc_init_hw(struct xe_uc *uc);
|
||||
int xe_uc_load_hw(struct xe_uc *uc);
|
||||
void xe_uc_gucrc_disable(struct xe_uc *uc);
|
||||
int xe_uc_reset_prepare(struct xe_uc *uc);
|
||||
void xe_uc_stop_prepare(struct xe_uc *uc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user