diff options
| author | Lijo Lazar <[email protected]> | 2024-09-17 08:24:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-09-26 21:06:18 +0000 |
| commit | 1bc0b339153638ce018b743d6cf07596327d2c71 (patch) | |
| tree | 32e0a70878e8f36ae13f5bec1b228e970863b704 /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h | |
| parent | drm/amdgpu: Fix typo "acccess" and improve the comment style here (diff) | |
| download | kernel-1bc0b339153638ce018b743d6cf07596327d2c71.tar.gz kernel-1bc0b339153638ce018b743d6cf07596327d2c71.zip | |
drm/amd: Add helper to get partition config modes
Add helper to get supported/available partition config modes
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h index 32775260556f..2c54c05f2c16 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h @@ -97,6 +97,8 @@ struct amdgpu_xcp_mgr { /* Used to determine KFD memory size limits per XCP */ unsigned int num_xcp_per_mem_partition; + uint32_t supp_xcp_modes; + uint32_t avail_xcp_modes; }; struct amdgpu_xcp_mgr_funcs { |
