diff options
| author | Dennis Li <[email protected]> | 2020-01-16 11:07:55 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-01-22 16:36:04 -0500 |
| commit | 5e66403e4d709decacf2b53e55deb55d8f6e6982 (patch) | |
| tree | d1c182271e9f1b062461af7c80277a965d0e2851 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | 39aa0ef1638ad7722e8182331c61deae8da97105 (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 <[email protected]>
Reviewed-by: Guchun Chen <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions