aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorShiwu Zhang <[email protected]>2021-12-17 03:27:53 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:40:32 +0000
commit0fa49d108386c201b5c2cce68066a9b8f66883a5 (patch)
tree8bc51c1e1eb1f368e9bb9c1dfef5b4ef58e13ab1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: make the WREG32_SOC15_xx macro to support multi GC (diff)
downloadkernel-0fa49d108386c201b5c2cce68066a9b8f66883a5.tar.gz
kernel-0fa49d108386c201b5c2cce68066a9b8f66883a5.zip
drm/amdgpu: override partition mode through module parameter
Add a module parameter to override the partition mode. Signed-off-by: Shiwu Zhang <[email protected]> Reviewed-by: Le Ma <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
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