mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 06:22:40 -04:00
drm/amdgpu: Add auto mode for compute partition
When auto mode is specified, driver will choose the right compute partition mode. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Le Ma <le.ma@amd.com> Reviewed-by: Philip Yang <philip.yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -62,6 +62,8 @@ enum amdgpu_gfx_partition {
|
||||
AMDGPU_QPX_PARTITION_MODE = 3,
|
||||
AMDGPU_CPX_PARTITION_MODE = 4,
|
||||
AMDGPU_UNKNOWN_COMPUTE_PARTITION_MODE = -1,
|
||||
/* Automatically choose the right mode */
|
||||
AMDGPU_AUTO_COMPUTE_PARTITION_MODE = -2,
|
||||
};
|
||||
|
||||
#define NUM_XCC(x) hweight16(x)
|
||||
|
||||
Reference in New Issue
Block a user