diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2017-06-05 05:43:27 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-08 10:54:33 -0400 |
commit | 7df289865c69ea39e1f81de0abe839acc54e604b (patch) | |
tree | 56b9e15657d44ddb04aa0b1cf12bc6586da4e453 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | b9683c21f69b3d8d7b6741d31a0e3cbf26c7191b (diff) |
drm/amdgpu: Add module param to control CIK support
If AMDGPU supports CIK, add a module parameter to control CIK
support. It's on by default in AMDGPU, while it is off by default
in radeon.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 3308e6200690..87210091720b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -115,6 +115,10 @@ extern int amdgpu_param_buf_per_se; | |||
115 | extern int amdgpu_job_hang_limit; | 115 | extern int amdgpu_job_hang_limit; |
116 | extern int amdgpu_lbpw; | 116 | extern int amdgpu_lbpw; |
117 | 117 | ||
118 | #ifdef CONFIG_DRM_AMDGPU_CIK | ||
119 | extern int amdgpu_cik_support; | ||
120 | #endif | ||
121 | |||
118 | #define AMDGPU_DEFAULT_GTT_SIZE_MB 3072ULL /* 3GB by default */ | 122 | #define AMDGPU_DEFAULT_GTT_SIZE_MB 3072ULL /* 3GB by default */ |
119 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 | 123 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 |
120 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ | 124 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ |