diff options
author | Shiwu Zhang <shiwu.zhang@amd.com> | 2021-12-17 11:27:53 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:40:32 -0400 |
commit | 0fa49d108386c201b5c2cce68066a9b8f66883a5 (patch) | |
tree | 8bc51c1e1eb1f368e9bb9c1dfef5b4ef58e13ab1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 99951878b048e39278bb05d96831353eca23b75f (diff) | |
download | linux-0fa49d108386c201b5c2cce68066a9b8f66883a5.tar.gz linux-0fa49d108386c201b5c2cce68066a9b8f66883a5.tar.bz2 linux-0fa49d108386c201b5c2cce68066a9b8f66883a5.zip |
drm/amdgpu: override partition mode through module parameter
Add a module parameter to override the partition mode.
Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 0f163d266812..a277bdc86057 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -242,6 +242,8 @@ extern int amdgpu_num_kcq; extern int amdgpu_vcnfw_log; extern int amdgpu_sg_display; +extern uint amdgpu_user_partt_mode; + #define AMDGPU_VM_MAX_NUM_CTX 4096 #define AMDGPU_SG_THRESHOLD (256*1024*1024) #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 |