diff options
author | Chunming Zhou | 2018-03-23 11:42:17 +0100 |
---|---|---|
committer | Alex Deucher | 2018-04-03 19:52:56 +0200 |
commit | 1af27e341aeadf856beaa252a15c6c8cdf35772f (patch) | |
tree | f43411885fc35d193e70cce6426c600d46cef583 /drivers/gpu | |
parent | Merge branch 'drm-misc-next-fixes' of git://anongit.freedesktop.org/drm/drm-m... (diff) | |
download | kernel-qcow2-linux-1af27e341aeadf856beaa252a15c6c8cdf35772f.tar.gz kernel-qcow2-linux-1af27e341aeadf856beaa252a15c6c8cdf35772f.tar.xz kernel-qcow2-linux-1af27e341aeadf856beaa252a15c6c8cdf35772f.zip |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |