Skip to contentSkip to conversation

drm/amdgpu: fix typo of domain fallback

PATCH In review Chunming Zhou 2 participants 2 messages Mar 23, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: fix typo of domain fallback

Change-Id I71c01f1526db785463af0ba3747fbd2ab8291d1f
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +1 -1
index ea7c7f05f306..01d7ceb1541d 100644
@@ -425,7 +425,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;
 		}
Signature · 6 lines
2.14.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Am 23.03.2018 um 11:43 schrieb Chunming Zhou:

Quoted 2 lines
Change-Id I71c01f1526db785463af0ba3747fbd2ab8291d1f

Ups, patch is Reviewed-by: Christian König <[email protected]>.

Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +0 -0
index ea7c7f05f306..01d7ceb1541d 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c static int amdgpu_bo_do_create(struct amdgpu_device *adev, unsigned long size, · line 431

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +1 -1
@@ -425,7 +425,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;
  		}

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx