summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorxinhui pan <xinhui.pan@amd.com>2018-10-25 09:35:13 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 23:36:50 +0300
commit1218252ff2bc7c7c4bcd182581995d688aa92b4f (patch)
tree300ff92a2eebdc2bd4dd17b5cf2c9003e7e22fc4 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent9b9ca62ddeec541bc7633410dacccefd96f0cc68 (diff)
downloadlinux-1218252ff2bc7c7c4bcd182581995d688aa92b4f.tar.xz
drm/amdgpu: add module parameters for ras
Allow RAS feature enable/disable via boot parameter. Signed-off-by: xinhui pan <xinhui.pan@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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.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 60c0601429df..f88761af956a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -157,6 +157,8 @@ extern int amdgpu_emu_mode;
extern uint amdgpu_smu_memory_pool_size;
extern uint amdgpu_dc_feature_mask;
extern struct amdgpu_mgpu_info mgpu_info;
+extern int amdgpu_ras_enable;
+extern uint amdgpu_ras_mask;
#ifdef CONFIG_DRM_AMDGPU_SI
extern int amdgpu_si_support;