]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add EDC support for CZ (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2015 22:43:42 +0000 (17:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2015 20:54:26 +0000 (15:54 -0500)
commit011c6302157da2ce683a8a9aac9bcd0e9699f0c7
tree6a86aee8f3d2c4267cd9bb37549322d259c50b7b
parent66852571a0422b12502dc391670703ac9d371535
drm/amdgpu: add EDC support for CZ (v3)

This adds EDC support for CZ.
EDC = Error Correction and Detection
This code properly initializes the EDC hardware and
resets the error counts.  This is done in late_init
since it requires the IB pool which is not initialized
during hw_init.

v2: fix the IB size as noted by Felix, fix shader pgm
register programming
v3: use the IB for the shaders as suggested by Christian

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c