drm/amdgpu: drop duplicated ecc check for vega10 (v5)
authorGuchun Chen <guchun.chen@amd.com>
Tue, 29 Sep 2020 04:41:41 +0000 (12:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Sep 2020 17:53:21 +0000 (13:53 -0400)
commit4a20300bc2b49c281f61f97dc398deefdd87d982
tree1b05af889d2fcfd2284e86851840d984906cf9f6
parentd3768874e5fe410d80c45e57bff47e8e708c0516
drm/amdgpu: drop duplicated ecc check for vega10 (v5)

The same ECC check has been executed in amdgpu_ras_init for vega10,
prior to gmc_v9_0_late_init.

v2: drop all atombios helper callings
v3: use bit operation
v4: correct inline comment, remove parity check statement
v5: squash in build fix

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c