提交 1af27e34 编写于 作者: C Chunming Zhou 提交者: Alex Deucher

drm/amdgpu: fix typo of domain fallback

Signed-off-by: NChunming Zhou <david1.zhou@amd.com>
Reviewed-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 694f54f6
......@@ -429,7 +429,7 @@ static int amdgpu_bo_do_create(struct amdgpu_device *adev, unsigned long size,
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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册