drm/amdgpu: Do error injection even vram reserve fails
authorxinhui pan <xinhui.pan@amd.com>
Fri, 14 Jun 2019 08:06:10 +0000 (16:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Jun 2019 16:32:10 +0000 (11:32 -0500)
commitacb05f0a3f6261b330034e14e4d2c6b4bc896504
tree3c13e3c8e664894858ade56b82f7e8d36f3c1d02
parent21a249ca02415cba22e95ede9a71be20a5fe8619
drm/amdgpu: Do error injection even vram reserve fails

As long as the address is mapped with vram, we can do an error
injection.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c