summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-02-18 18:33:53 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-08 23:48:22 +0300
commita96a787d6de7325f7a961bd74a7cad4d078748b7 (patch)
tree8c7a1e4629942a4f30293606197a1bdc0908de04 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentcf97de5b540425d331394da3deafb2a869b394a6 (diff)
downloadlinux-a96a787d6de7325f7a961bd74a7cad4d078748b7.tar.xz
drm/amdgpu: add parameter to disable kernel queues
On chips that support user queues, setting this option will disable kernel queues to be used to validate user queues without kernel queues. Reviewed-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Sunil Khatri <sunil.khatri@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.h1
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 f88a04b1c4ce..804d37703709 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -271,6 +271,7 @@ extern int amdgpu_agp;
extern int amdgpu_rebar;
extern int amdgpu_wbrf;
+extern int amdgpu_disable_kq;
#define AMDGPU_VM_MAX_NUM_CTX 4096
#define AMDGPU_SG_THRESHOLD (256*1024*1024)