Skip to content

Commit

Permalink
drm/amdgpu: fix typo of domain fallback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chunming Zhou authored and Alex Deucher committed Apr 3, 2018
1 parent 694f54f commit 1af27e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1af27e3

Please sign in to comment.