]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: unbind GTT only when it is bound
authorChristian König <christian.koenig@amd.com>
Fri, 9 Sep 2016 13:39:08 +0000 (15:39 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:44 +0000 (15:10 -0400)
commit78ab0a38bfe0e02db6e619185dd4337fc97e3ffe
tree1e3cc06cc04844d3bf328e35fce29352b1705f98
parent9702d40dd3baa90e8f08b42a512fe76e2794f9bc
drm/amdgpu: unbind GTT only when it is bound

Doesn't make much sense to clear the GTT when it was never filled.

Signed-off-by: Christian König <christian.koenig@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_ttm.c