mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 18:37:58 -04:00
drm/i915: Remove unused intel_huc_suspend
intel_huc_suspend() was added in 2022 by
commit 27536e0327 ("drm/i915/huc: track delayed HuC load with a
fence")
but hasn't been used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Tvrtko Ursulin <tursulin@igalia.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241227113754.25871-2-tursulin@igalia.com
This commit is contained in:
committed by
Andi Shyti
parent
bc6b027e6d
commit
64420d2f3e
@@ -427,19 +427,6 @@ void intel_huc_fini(struct intel_huc *huc)
|
||||
intel_uc_fw_fini(&huc->fw);
|
||||
}
|
||||
|
||||
void intel_huc_suspend(struct intel_huc *huc)
|
||||
{
|
||||
if (!intel_uc_fw_is_loadable(&huc->fw))
|
||||
return;
|
||||
|
||||
/*
|
||||
* in the unlikely case that we're suspending before the GSC has
|
||||
* completed its loading sequence, just stop waiting. We'll restart
|
||||
* on resume.
|
||||
*/
|
||||
delayed_huc_load_complete(huc);
|
||||
}
|
||||
|
||||
static const char *auth_mode_string(struct intel_huc *huc,
|
||||
enum intel_huc_authentication_type type)
|
||||
{
|
||||
|
||||
@@ -57,7 +57,6 @@ int intel_huc_sanitize(struct intel_huc *huc);
|
||||
void intel_huc_init_early(struct intel_huc *huc);
|
||||
int intel_huc_init(struct intel_huc *huc);
|
||||
void intel_huc_fini(struct intel_huc *huc);
|
||||
void intel_huc_suspend(struct intel_huc *huc);
|
||||
int intel_huc_auth(struct intel_huc *huc, enum intel_huc_authentication_type type);
|
||||
int intel_huc_wait_for_auth_complete(struct intel_huc *huc,
|
||||
enum intel_huc_authentication_type type);
|
||||
|
||||
Reference in New Issue
Block a user