drm/amdgpu: disable the VRAM manager on special placements v2
authorChristian König <christian.koenig@amd.com>
Fri, 4 Nov 2016 09:12:38 +0000 (10:12 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Nov 2016 15:21:12 +0000 (10:21 -0500)
commit5befb22a4d6edf570a8e40669f5395a24997adcd
tree81b0c3b03b6b6177a38319d117dd735ba01de7c0
parent809a6a62b6b3e688e6b4d57acf296d6f25620c8a
drm/amdgpu: disable the VRAM manager on special placements v2

This disables the VRAM manager when a special placement is requested, otherwise
we play ping/pong with the buffers on every command submission.

v2: only check lpfn

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