mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
484ecffac9
The GSC-enabled HuC binary starts with a GSC header, which is followed by the legacy-style CSS header and the binary itself. We can parse the GSC headers to find the HuC version and the location of the binary to be used for the DMA transfer. The parsing function has been designed to be re-used for the GSC binary, so the entry names are external parameters (because the GSC uses different ones) and the CSS entry is optional (because the GSC doesn't have it). v2: move new code to uc_fw.c, better comments and error checking, split old code move to separate patch (Lucas), move headers and documentation to uc_fw_abi.h. v3: use 2 separate loops, rework marker check (Lucas) Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Alan Previn <alan.previn.teres.alexis@intel.com> Cc: John Harrison <John.C.Harrison@Intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
38 lines
761 B
ReStructuredText
38 lines
761 B
ReStructuredText
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
========
|
|
Firmware
|
|
========
|
|
|
|
Firmware Layout
|
|
===============
|
|
|
|
.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h
|
|
:doc: CSS-based Firmware Layout
|
|
|
|
.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h
|
|
:doc: GSC-based Firmware Layout
|
|
|
|
Write Once Protected Content Memory (WOPCM) Layout
|
|
==================================================
|
|
|
|
.. kernel-doc:: drivers/gpu/drm/xe/xe_wopcm.c
|
|
:doc: Write Once Protected Content Memory (WOPCM) Layout
|
|
|
|
GuC CTB Blob
|
|
============
|
|
|
|
.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_ct.c
|
|
:doc: GuC CTB Blob
|
|
|
|
GuC Power Conservation (PC)
|
|
===========================
|
|
|
|
.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_pc.c
|
|
:doc: GuC Power Conservation (PC)
|
|
|
|
Internal API
|
|
============
|
|
|
|
TODO
|