drm/amdgpu: disable system memory page tables for now
Subsystems (2)
PATCH 1/1 drm/amdgpu: disable system memory page tables for now
We hit a problem with IOMMU with that. Disable until we have time to debug further.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -3
@@ -847,9 +847,6 @@ static void amdgpu_vm_bo_param(struct amdgpu_device *adev, struct amdgpu_vm *vm, bp->size =amdgpu_vm_bo_size (adev, level); bp->byte_align =AMDGPU_GPU_PAGE_SIZE ; bp->domain =AMDGPU_GEM_DOMAIN_VRAM ; -if (bp->size <=PAGE_SIZE && adev->asic_type >=CHIP_VEGA10 && - adev->flags &AMD_IS_APU ) - bp->domain |=AMDGPU_GEM_DOMAIN_GTT ; bp->domain =amdgpu_bo_get_preferred_pin_domain (adev, bp->domain); bp->flags =AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS |AMDGPU_GEM_CREATE_CPU_GTT_USWC ;
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): 20190107134502.2247-1-christian.koenig-5C7GfCeVMHo@public.gmane.org
Michel Dänzer
Reviewed-byQuoted 14 lines · Christian König
We hit a problem with IOMMU with that. Disable until we have time to debug further.
Signed-off-by Christian König <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 --- 1 file changed, 3 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static void amdgpu_vm_bo_param(struct amdgpu_device *adev, struct amdgpu_vm *vm, · line 852
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0
-3@@ -847,9 +847,6 @@ static void amdgpu_vm_bo_param(struct amdgpu_device *adev, struct amdgpu_vm *vm, bp->size =amdgpu_vm_bo_size (adev, level); bp->byte_align =AMDGPU_GPU_PAGE_SIZE ; bp->domain =AMDGPU_GEM_DOMAIN_VRAM ; -if (bp->size <=PAGE_SIZE && adev->asic_type >=CHIP_VEGA10 && - adev->flags &AMD_IS_APU ) - bp->domain |=AMDGPU_GEM_DOMAIN_GTT ; bp->domain =amdgpu_bo_get_preferred_pin_domain (adev, bp->domain); bp->flags =AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS |AMDGPU_GEM_CREATE_CPU_GTT_USWC ;
Thanks for taking care of this Christian. Maybe add a reference to at least one of the bug reports about this, but either way:
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ 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): 1c139c39-43b2-5fd9-459c-c2d463629845-otUistvHUpPR7s880joybQ@public.gmane.org
Am 07.01.19 um 16:03 schrieb Michel Dänzer:
Quoted 9 lines · Christian König
Quoted 8 lines
We hit a problem with IOMMU with that. Disable until we have time to debug further.
Signed-off-by Christian König <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 --- 1 file changed, 3 deletions(-)
Quoted 16 lines
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0
-0drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static void amdgpu_vm_bo_param(struct amdgpu_device *adev, struct amdgpu_vm *vm, · line 852
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0
-3@@ -847,9 +847,6 @@ static void amdgpu_vm_bo_param(struct amdgpu_device *adev, struct amdgpu_vm *vm, bp->size =amdgpu_vm_bo_size (adev, level); bp->byte_align =AMDGPU_GPU_PAGE_SIZE ; bp->domain =AMDGPU_GEM_DOMAIN_VRAM ; -if (bp->size <=PAGE_SIZE && adev->asic_type >=CHIP_VEGA10 && - adev->flags &AMD_IS_APU ) - bp->domain |=AMDGPU_GEM_DOMAIN_GTT ; bp->domain =amdgpu_bo_get_preferred_pin_domain (adev, bp->domain); bp->flags =AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS |AMDGPU_GEM_CREATE_CPU_GTT_USWC ;Thanks for taking care of this Christian.
Actually I'm not that happy about this because it seems to point out either a hardware problem or a software problem in the IOMMU driver.
I just don't have time to investigate further, so disabling it is the least I can do.
Quoted 4 lines
Maybe add a reference to at
least one of the bug reports about this, but either way:Reviewed-by Michel Dänzer <[email protected]>
Thanks,
Christian.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx