drm/amdgpu: update the calc algorithm of umc ecc error count
authorTao Zhou <tao.zhou1@amd.com>
Mon, 29 Jul 2019 09:19:57 +0000 (17:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:38 +0000 (10:30 -0500)
commitb1a5895352dc1a154f1605702745ef2f63a5d797
treef9cabb3c4c59c1964f887dbeb9b73d2ec0611252
parentb7f92097f5bc5129cb386340ec54e6f40639d6e3
drm/amdgpu: update the calc algorithm of umc ecc error count

the initial value of ecc error count can be adjusted

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/umc_v6_1.c