summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_nvm.h
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2025-06-17 17:51:56 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2025-06-23 13:14:50 -0400
commitc28bfb107daca4e9ba2e567a412e885933057282 (patch)
treef1dd955a859f89028266b759e1da6629e60cac36 /drivers/gpu/drm/xe/xe_nvm.h
parent4b93f5fc3bdff9e89beb7aa7f39ca8c7e4d02924 (diff)
downloadlinux-next-c28bfb107daca4e9ba2e567a412e885933057282.tar.gz
linux-next-c28bfb107daca4e9ba2e567a412e885933057282.zip
drm/xe/nvm: add on-die non-volatile memory device
Enable access to internal non-volatile memory on DGFX with GSC/CSC devices via a child device. The nvm child device is exposed via auxiliary bus. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Link: https://lore.kernel.org/r/20250617145159.3803852-7-alexander.usyskin@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_nvm.h')
-rw-r--r--drivers/gpu/drm/xe/xe_nvm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h
new file mode 100644
index 000000000000..7f3d5f57bed0
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_nvm.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright(c) 2019-2025 Intel Corporation. All rights reserved.
+ */
+
+#ifndef __XE_NVM_H__
+#define __XE_NVM_H__
+
+struct xe_device;
+
+int xe_nvm_init(struct xe_device *xe);
+
+void xe_nvm_fini(struct xe_device *xe);
+
+#endif