drm/amdgpu: Properly allocate VM invalidate eng v2
authorozeng <oak.zeng@amd.com>
Tue, 6 Jun 2017 15:53:28 +0000 (10:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Nov 2017 16:35:08 +0000 (11:35 -0500)
commitc5066129af4436ab0da8eefe4289774a5409706d
treea61408c8f936ec06bf7f740aa8038c9b3ed05f70
parent8e96e372bceceb76b92a81f8e28bc8163287d25c
drm/amdgpu: Properly allocate VM invalidate eng v2

v1: Properly allocate TLB invalidation engine to avoid conflict.
v2: Added comments to codes

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c