diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2018-03-23 06:42:17 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-04-03 13:52:56 -0400 |
commit | 1af27e341aeadf856beaa252a15c6c8cdf35772f (patch) | |
tree | f43411885fc35d193e70cce6426c600d46cef583 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 694f54f680f7fd8e9561928fbfc537d9afbc3d79 (diff) |
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/drm/amd/amdgpu/amdgpu_object.c')
-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: | |||
429 | if (bo->flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED) { | 429 | if (bo->flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED) { |
430 | bo->flags &= ~AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED; | 430 | bo->flags &= ~AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED; |
431 | goto retry; | 431 | goto retry; |
432 | } else if (domains != bo->preferred_domains) { | 432 | } else if (domains != bo->allowed_domains) { |
433 | domains = bo->allowed_domains; | 433 | domains = bo->allowed_domains; |
434 | goto retry; | 434 | goto retry; |
435 | } | 435 | } |