drm/amdgpu: minor PRT turnoff fix (v2)
authorChristian König <christian.koenig@amd.com>
Tue, 14 Feb 2017 13:50:50 +0000 (14:50 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:01 +0000 (23:53 -0400)
commit1b04e4129dcd6f3a7303d93adb4c84717f98095a
treeeba664923f641ded4d2b8084dc27c9ceab1a0470
parent982a1348bbbf8c09f5fa06f7b48d31bad85d0f81
drm/amdgpu: minor PRT turnoff fix (v2)

When two VMs stop using PRT support at the same time we might
not disable it in the right order otherwise.

v2: agd: rebase

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_vm.c