]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9283641660dfe087a544a2eb9dacd5e77ba4ca5
tree116b6f3d115a999c73af93d45bf905acbd3c4450
parent6dbe75ef012201206cf7e88768ae367e6f5750ec
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