aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2018-03-23 18:42:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-04-03 12:52:56 -0500
commit1af27e341aeadf856beaa252a15c6c8cdf35772f (patch)
treef43411885fc35d193e70cce6426c600d46cef583 /drivers/gpu
parentMerge branch 'drm-misc-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (diff)
downloadlinux-dev-1af27e341aeadf856beaa252a15c6c8cdf35772f.tar.xz
linux-dev-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.c2
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;
}