summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorDennis Li <Dennis.Li@amd.com>2020-01-16 11:07:55 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-01-22 16:36:04 -0500
commit5e66403e4d709decacf2b53e55deb55d8f6e6982 (patch)
treed1c182271e9f1b062461af7c80277a965d0e2851 /drivers/gpu/drm/amd/amdgpu/nv.c
parent39aa0ef1638ad7722e8182331c61deae8da97105 (diff)
drm/amdgpu: refine the security check for RAS functions
To avoid calling RAS related functions when RAS feature isn't supported in hardware. Change to check supported features, instead of checking asic type. v2: reuse amdgpu_ras_is_supported function, instead of introducing a new flag for hardware ras feature. Signed-off-by: Dennis Li <Dennis.Li@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
0 files changed, 0 insertions, 0 deletions