OSDN Git Service

drm/amdgpu: allow huge invalid mappings on GMC8
authorChristian König <christian.koenig@amd.com>
Mon, 4 Feb 2019 14:00:34 +0000 (15:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:48 +0000 (15:36 -0500)
commit8ce1f7e7307bd99cc80703b22e7df6746d5f4ae8
tree00464a6846e9ab053d2ea73014fcf540e31cb93f
parentadc7bfe50bd946b51a8a93ac15085cd218a2a9af
drm/amdgpu: allow huge invalid mappings on GMC8

Only GMC9 supports true huge pages, but we can still free invalid mappings
on GMC8.

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