]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/amdgpu: evict vram when gpu reset
authorChunming Zhou <David1.Zhou@amd.com>
Sun, 12 Jun 2016 07:43:20 +0000 (15:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:44 +0000 (14:54 -0400)
commit8b2ac103208b6933e265b3dc81776c2974cb5c7a
treeef907eefd0d81f6bb0dd80116e73a43b8757e403
parent0875dc9e80eb3b01406b21947c140265527488ba
drm/amdgpu: evict vram when gpu reset

On workstation cards with ECC vram, the entirety of vram is cleared to 0
on asic init to set the ECC status correctly.  On non ECC boards, I don't
think they do any explicit clearing, but the vram controller is reset
which may cause issues with the data there.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c