drm/amdgpu: move keep stolen memory check into gmc core
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jul 2020 21:55:30 +0000 (17:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:28 +0000 (17:29 -0400)
commit5db62dc8d4f35dc11054f24ba2c86f6c3422918a
tree2c6bc85662f6642c87e80f9920441be2102ba1d0
parentfcbc92e2e1c38b3626aa871caa5124d5341f85bf
drm/amdgpu: move keep stolen memory check into gmc core

Rather than leaving this as a gmc v9 specific hack.

Reviewed-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_gmc.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c