aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2023-07-02 13:15:18 +0000
committerArd Biesheuvel <[email protected]>2023-08-21 15:59:54 +0000
commitc7c7bce093c883739d6735d68604055131acfbea (patch)
treec093b755ec57bedb8eb63f48fddb3461a1f71bf4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentefi/riscv: Move EFI runtime call setup/teardown helpers out of line (diff)
downloadkernel-c7c7bce093c883739d6735d68604055131acfbea.tar.gz
kernel-c7c7bce093c883739d6735d68604055131acfbea.zip
efi/runtime-wrappers: Use type safe encapsulation of call arguments
The current code that marshalls the EFI runtime call arguments to hand them off to a async helper does so in a type unsafe and slightly messy manner - everything is cast to void* except for some integral types that are passed by reference and dereferenced on the receiver end. Let's clean this up a bit, and record the arguments of each runtime service invocation exactly as they are issued, in a manner that permits the compiler to check the types of the arguments at both ends. Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions