]> 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)
commit8f10ff291b3d4c79d1657265e621a55ca4453dd1
tree1c28b04e9814e8a44ecb25cf31204b0d1be93916
parent64cf5027f3a7f634f98a01ba80f1e96b18a099e6
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