mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 15:49:17 +07:00
drm/amdkfd: Fix byte align on VegaM
This was missed during the addition of VegaM support Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7a81637105
commit
4cab85afe9
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user