OSDN Git Service

drm/amdgpu: wait for IB test on first device open
authorChristian König <christian.koenig@amd.com>
Fri, 26 Oct 2018 13:59:05 +0000 (15:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 13:15:15 +0000 (14:15 +0100)
commitdbb0f9e74655a636f415c37dd66d92deb5237a65
treef895f358c0d27244a95d53df6af3fcd794c134e8
parent546486c5b196423d7a2109583ae4c516954b2932
drm/amdgpu: wait for IB test on first device open

[ Upstream commit 3bfa8897e4d08f822d1d58cf6cbbffbccef82e08 ]

Instead of delaying that to the first query. Otherwise we could try to use the
SDMA for VM updates before the IB tests are done.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c