]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix amdgpu ras to ta enums conversion
authorxinhui pan <xinhui.pan@amd.com>
Thu, 21 Mar 2019 07:13:38 +0000 (15:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:39:52 +0000 (22:39 -0500)
commit369065ca56226bb96ebed952bfe6a009edb50455
tree1c28b04e9814e8a44ecb25cf31204b0d1be93916
parent5a30d6234b5717530d2bd1d4871386020dc70fe0
drm/amdgpu: Fix amdgpu ras to ta enums conversion

Add helpes to transalte the two enums. And it will catch bugs
easily.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h