drm/amdgpu: Fixed missing to clear some EDC count
authorJames Zhu <James.Zhu@amd.com>
Tue, 4 Jun 2019 16:49:02 +0000 (12:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 16:57:38 +0000 (11:57 -0500)
commit052af915d826b33588749566145c9417fcfc7246
tree116b6f3d115a999c73af93d45bf905acbd3c4450
parent59648d6954cd3539f9b7e599b14d8b0cdcf41279
drm/amdgpu: Fixed missing to clear some EDC count

EDC counts are related to instance and se. They are not the same
for different type of EDC. EDC clearing are changed to base on
individual EDC's instance and SE number.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.h