drm/amdgpu: don't init GDS pool if GDS size is 0 (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Mar 2017 13:45:48 +0000 (09:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:52 +0000 (23:53 -0400)
commitd2d51d8192f1e42a9351ab4d82f85f0c79e1780d
tree0e0bed09759d67eed822d17930e52d18d384bf2a
parent11ba13e179c271bb21f1a710fc4229e6d9574833
drm/amdgpu: don't init GDS pool if GDS size is 0 (v2)

SI cards don't expose GDS as a separate pool.  The CP manages
GDS and the UMDs use special CP packets to allocate GDS memory.

v2: drop extra whitespace change

bug: https://bugzilla.kernel.org/show_bug.cgi?id=194867

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