commit | 0c49e0b8a43c8addb0498cd32390f4ef08b5dd27 | [log] [tgz] |
---|---|---|
author | Chunming Zhou <David1.Zhou@amd.com> | Mon May 15 14:20:00 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed May 24 18:10:06 2017 -0400 |
tree | 154439f0b20cba71463f67ccaf5913a29ebf30d8 | |
parent | e0ec45063609b4a583e7f4d843275888f2480321 [diff] |
drm/amdgpu: check if vram is lost v2 backup first 64 byte of gart table as reset magic, check if magic is same after gpu hw reset. v2: use memcmp instead of manual innovation. Signed-off-by: Chunming Zhou <David1.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>