diff options
| author | Chao Gao <[email protected]> | 2025-05-22 15:10:06 +0000 |
|---|---|---|
| committer | Dave Hansen <[email protected]> | 2025-06-24 20:46:32 +0000 |
| commit | 509e880b779592aafb41b3b23de3df7e4e2e2fcf (patch) | |
| tree | 8b5d9b2b3b4662dd6a69d4cbb37e3081809bc6e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | x86/fpu: Initialize guest FPU permissions from guest defaults (diff) | |
| download | kernel-509e880b779592aafb41b3b23de3df7e4e2e2fcf.tar.gz kernel-509e880b779592aafb41b3b23de3df7e4e2e2fcf.zip | |
x86/fpu: Initialize guest fpstate and FPU pseudo container from guest defaults
fpu_alloc_guest_fpstate() currently uses host defaults to initialize guest
fpstate and pseudo containers. Guest defaults were introduced to
differentiate the features and sizes of host and guest FPUs. Switch to
using guest defaults instead.
Adjust __fpstate_reset() to handle different defaults for host and guest
FPUs. And to distinguish between the types of FPUs, move the initialization
of indicators (is_guest and is_valloc) before the reset.
Suggested-by: Chang S. Bae <[email protected]>
Signed-off-by: Chao Gao <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Rick Edgecombe <[email protected]>
Reviewed-by: John Allen <[email protected]>
Link: https://lore.kernel.org/all/20250522151031.426788-4-chao.gao%40intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
