drm/amdgpu: ignore changes of buffer function status because of GPU resets
authorChristian König <christian.koenig@amd.com>
Thu, 1 Mar 2018 10:03:27 +0000 (11:03 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:37:18 +0000 (15:37 -0500)
commit380383f23594790be97639ea220e8d3e86afff85
treebdd98f7617e0a9c2b4936ea65a1afd74f479a812
parent57adc4cef617d7284ac7676e14533268e73e3699
drm/amdgpu: ignore changes of buffer function status because of GPU resets

When we reset the GPU we also disable/enable the SDMA, but we don't want
to change TTM idea of the VRAM size in the middle of that.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c