OSDN Git Service

drm/amdgpu: allow GTT overcommit during bind
authorChristian König <christian.koenig@amd.com>
Mon, 16 Oct 2017 09:18:54 +0000 (11:18 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:21 +0000 (15:27 -0400)
commitd2d7cc330dc1f8ea7cf29dfb7d3ad8bccdcde597
tree288e8c22adba76e85119fa1017ce1b349749a7c4
parent4b6b691ee38abae8842aed61d442dfb315c45789
drm/amdgpu: allow GTT overcommit during bind

While binding BOs to GART we need to allow a bit overcommit in the GTT
domain. Otherwise we can never use the full GART space when GART size=GTT size.

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_gtt_mgr.c