From: Chunming Zhou Date: Fri, 23 Mar 2018 10:42:17 +0000 (+0800) Subject: drm/amdgpu: fix typo of domain fallback X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1af27e341aeadf856beaa252a15c6c8cdf35772f;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: fix typo of domain fallback Signed-off-by: Chunming Zhou Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c index fac4b6067efd..5ad985c40d49 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c @@ -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; }