drm/amdgpu: fix typo of domain fallback

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Chunming Zhou 2018-03-23 18:42:17 +08:00 committed by Alex Deucher
parent 694f54f680
commit 1af27e341a

View File

@ -429,7 +429,7 @@ retry:
if (bo->flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED) {
bo->flags &= ~AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED;
goto retry;
} else if (domains != bo->preferred_domains) {
} else if (domains != bo->allowed_domains) {
domains = bo->allowed_domains;
goto retry;
}