summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_uc.h
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>2024-01-17 19:26:19 +0100
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>2024-01-18 20:04:34 +0100
commit997a55caa1c3b770979836bbfd82b311addf95c7 (patch)
tree167f99c546cf91c6d712b6054c48a7701dcb3656 /drivers/gpu/drm/xe/xe_uc.h
parentdrm/xe/guc: Add kernel-doc for xe_guc_ct_send_recv() (diff)
downloadlinux-997a55caa1c3b770979836bbfd82b311addf95c7.tar.xz
linux-997a55caa1c3b770979836bbfd82b311addf95c7.zip
drm/xe/gsc: Initialize GSC proxy
The GSC uC needs to communicate with the CSME to perform certain operations. Since the GSC can't perform this communication directly on platforms where it is integrated in GT, the graphics driver needs to transfer the messages from GSC to CSME and back. The proxy flow must be manually started after the GSC is loaded to signal to GSC that we're ready to handle its messages and allow it to query its init data from CSME. Note that the component must be removed before the pci_remove call completes, so we can't use a drmm helper for it and we need to instead perform the cleanup as part of the removal flow. v2: add function documentation, more targeted memory clear, clearer logs and variable names (Alan) Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Alan Previn <alan.previn.teres.alexis@intel.com> Cc: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240117182621.2653049-2-daniele.ceraolospurio@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_uc.h')
-rw-r--r--drivers/gpu/drm/xe/xe_uc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_uc.h b/drivers/gpu/drm/xe/xe_uc.h
index 5d5110c0c834..e4d4e3c99f0e 100644
--- a/drivers/gpu/drm/xe/xe_uc.h
+++ b/drivers/gpu/drm/xe/xe_uc.h
@@ -20,5 +20,6 @@ int xe_uc_stop(struct xe_uc *uc);
int xe_uc_start(struct xe_uc *uc);
int xe_uc_suspend(struct xe_uc *uc);
int xe_uc_sanitize_reset(struct xe_uc *uc);
+void xe_uc_remove(struct xe_uc *uc);
#endif