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>
This commit is contained in:
parent
694f54f680
commit
1af27e341a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue