diff options
| author | Chunming Zhou <[email protected]> | 2018-03-23 10:42:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-04-03 17:52:56 +0000 |
| commit | 1af27e341aeadf856beaa252a15c6c8cdf35772f (patch) | |
| tree | f43411885fc35d193e70cce6426c600d46cef583 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Merge branch 'drm-misc-next-fixes' of git://anongit.freedesktop.org/drm/drm-m... (diff) | |
| download | kernel-1af27e341aeadf856beaa252a15c6c8cdf35772f.tar.gz kernel-1af27e341aeadf856beaa252a15c6c8cdf35772f.zip | |
drm/amdgpu: fix typo of domain fallback
Signed-off-by: Chunming Zhou <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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: 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; } |
