drm/amdgpu: always allocate a PASIDs for each VM v2
authorChristian König <christian.koenig@amd.com>
Fri, 5 Jan 2018 13:17:08 +0000 (14:17 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:46 +0000 (14:17 -0500)
commit5c2ff9a60d2123df1e4ccee363541dd17916ddea
tree1013ae10375fdbcff889bd31e59d105fa2eedfe1
parent4b5f75504975b42377fa198b0672c9a52eb728e0
drm/amdgpu: always allocate a PASIDs for each VM v2

Start to always allocate a pasid for each VM.

v2: use dev_warn when we run out of PASIDs

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