Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1af27e34 authored by Chunming Zhou's avatar Chunming Zhou Committed by Alex Deucher
Browse files

drm/amdgpu: fix typo of domain fallback

parent 694f54f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}