drm/amdgpu: fix typo of domain fallback
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix typo of domain fallback
Change-Id I71c01f1526db785463af0ba3747fbd2ab8291d1f
Signed-off-by Chunming Zhou <[email protected]>
--- 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
@@ -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]
Am 23.03.2018 um 11:43 schrieb Chunming Zhou:
Quoted 2 lines
Change-Id I71c01f1526db785463af0ba3747fbd2ab8291d1fSigned-off-by Chunming Zhou <[email protected]>
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
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