drm/amdgpu: add VRAM lost query
authorChristian König <christian.koenig@amd.com>
Mon, 9 Oct 2017 15:53:06 +0000 (17:53 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:05 +0000 (15:27 -0400)
commit1f7251b73e08395dbf03602a57ca67cf7da7f9db
treeb38e541c99491379351c214899e30dfcd84d7127
parent7a0a48ddf63bc9944b9690c6fa043ea4305f7f79
drm/amdgpu: add VRAM lost query

Allows userspace to figure out if VRAM was lost.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h