Skip to content
Snippets Groups Projects
Commit d6584865 authored by Kent Russell's avatar Kent Russell Committed by Alex Deucher
Browse files

drm/amdkfd: Fix byte align on VegaM


This was missed during the addition of VegaM support

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarKent Russell <kent.russell@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4d5308e7
No related branches found
No related tags found
No related merge requests found
...@@ -1140,7 +1140,8 @@ int amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu( ...@@ -1140,7 +1140,8 @@ int amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu(
adev->asic_type != CHIP_FIJI && adev->asic_type != CHIP_FIJI &&
adev->asic_type != CHIP_POLARIS10 && adev->asic_type != CHIP_POLARIS10 &&
adev->asic_type != CHIP_POLARIS11 && adev->asic_type != CHIP_POLARIS11 &&
adev->asic_type != CHIP_POLARIS12) ? adev->asic_type != CHIP_POLARIS12 &&
adev->asic_type != CHIP_VEGAM) ?
VI_BO_SIZE_ALIGN : 1; VI_BO_SIZE_ALIGN : 1;
mapping_flags = AMDGPU_VM_PAGE_READABLE; mapping_flags = AMDGPU_VM_PAGE_READABLE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment