diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-07-30 04:44:05 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-17 16:50:42 -0400 |
commit | 4afcb30383bef8bf972c6aae47995ef314e5f8a1 (patch) | |
tree | e903b75b92873341efa915b59af3c011d2040b72 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 1333f723fb6f1356a54135586f1ede44dcaa9652 (diff) |
drm/amdgpu: add amdgpu.sched_hw_submission option
This option can be used to specify the max number of submissions in the
active HW queue. The default value is 2 now.
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 4de114711951..6e1fea473a66 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -81,6 +81,7 @@ extern int amdgpu_vm_size; | |||
81 | extern int amdgpu_vm_block_size; | 81 | extern int amdgpu_vm_block_size; |
82 | extern int amdgpu_enable_scheduler; | 82 | extern int amdgpu_enable_scheduler; |
83 | extern int amdgpu_sched_jobs; | 83 | extern int amdgpu_sched_jobs; |
84 | extern int amdgpu_sched_hw_submission; | ||
84 | 85 | ||
85 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 | 86 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 |
86 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ | 87 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ |