drm/amdgpu: move sdma ecc functions to generic sdma file
authorTao Zhou <tao.zhou1@amd.com>
Thu, 12 Sep 2019 06:28:18 +0000 (14:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:02 +0000 (09:11 -0500)
commit4c65dd1041074f7c7e1202636c3f83cdf285c8f2
tree67cec936e24a6a47a625f2071c04017b356bd529
parent725253ab9b4fb3d26829b92a6c45b33f399203d3
drm/amdgpu: move sdma ecc functions to generic sdma file

sdma ras ecc functions can be reused among all sdma generations

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c