drm/amdgpu: update the PASID mapping only on demand
authorChristian König <christian.koenig@amd.com>
Mon, 5 Feb 2018 16:38:01 +0000 (17:38 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:20:18 +0000 (14:20 -0500)
commitb3cd285fa68d162a53c2eb4e23bc4fc1ab7d97f6
treebe73fc7af2f87e9ebea9e74dd654d5e6295adb77
parentc633c00bf06779ec6d5e2c01748d4753ede98f8a
drm/amdgpu: update the PASID mapping only on demand

Updating the PASID is rather heavyweight and shouldn't be done all the
time.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c