OSDN Git Service

amdgpu: remove invalid check in amdgpu_bo_alloc
authorChristian König <christian.koenig@amd.com>
Fri, 14 Sep 2018 12:58:24 +0000 (14:58 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 18 Sep 2018 12:53:30 +0000 (14:53 +0200)
commitc40bd3cbf8002edec94ef7d6275db192b4ecc53b
tree6130ec317c06bd9eb44a7451fe94a17e09f79667
parent28328298ca94344538a0d7f41350810f086900ee
amdgpu: remove invalid check in amdgpu_bo_alloc

The heap is checked by the kernel and not libdrm, to make it even worse
it prevented allocating resources other than VRAM and GTT.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
amdgpu/amdgpu_bo.c