diff options
| author | Kirill A. Shutemov <[email protected]> | 2024-11-04 10:38:00 +0000 |
|---|---|---|
| committer | Dave Hansen <[email protected]> | 2024-11-07 18:26:16 +0000 |
| commit | 5081e8fadb809253c911b349b01d87c5b4e3fec5 (patch) | |
| tree | 54bc7033989445711a42090cc52340269874dcd1 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | Linux 6.12-rc6 (diff) | |
| download | kernel-5081e8fadb809253c911b349b01d87c5b4e3fec5.tar.gz kernel-5081e8fadb809253c911b349b01d87c5b4e3fec5.zip | |
x86/tdx: Introduce wrappers to read and write TD metadata
The TDG_VM_WR TDCALL is used to ask the TDX module to change some
TD-specific VM configuration. There is currently only one user in the
kernel of this TDCALL leaf. More will be added shortly.
Refactor to make way for more users of TDG_VM_WR who will need to modify
other TD configuration values.
Add a wrapper for the TDG_VM_RD TDCALL that requests TD-specific
metadata from the TDX module. There are currently no users for
TDG_VM_RD. Mark it as __maybe_unused until the first user appears.
This is preparation for enumeration and enabling optional TD features.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Kai Huang <[email protected]>
Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Link: https://lore.kernel.org/all/20241104103803.195705-2-kirill.shutemov%40linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
