diff options
author | Nicolai Hähnle <Nicolai.Haehnle@amd.com> | 2016-06-02 06:32:07 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 14:51:16 -0400 |
commit | 395d1fb948d98e613ba58a90a28a3049404ec7d4 (patch) | |
tree | 9181e4108ed189a782623e696c429076d193b5b0 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | f4b373f41cfc96c162c87de2c027dd42d25f9cb4 (diff) |
drm/amdgpu: add amdgpu.cg_mask and amdgpu.pg_mask parameters
They allow disabling clock and power gating from the kernel command line,
which hopefully helps with diagnosing problems in the field.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Nicolai Hähnle <Nicolai.Haehnle@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 f41d23139a3a..7ed7c256934f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -88,6 +88,8 @@ extern int amdgpu_powerplay; | |||
88 | extern int amdgpu_powercontainment; | 88 | extern int amdgpu_powercontainment; |
89 | extern unsigned amdgpu_pcie_gen_cap; | 89 | extern unsigned amdgpu_pcie_gen_cap; |
90 | extern unsigned amdgpu_pcie_lane_cap; | 90 | extern unsigned amdgpu_pcie_lane_cap; |
91 | extern unsigned amdgpu_cg_mask; | ||
92 | extern unsigned amdgpu_pg_mask; | ||
91 | 93 | ||
92 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 | 94 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 |
93 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ | 95 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ |