Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: Fix an omission when adding Aldebaran support

Aldebaran should be the same as Arcturus in the PTE SNOOPED bit handling.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Yong Zhao and committed by
Alex Deucher
7ffe7238 56237c6a

+2 -1
+2 -1
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
··· 1035 1035 *flags &= ~AMDGPU_PTE_VALID; 1036 1036 } 1037 1037 1038 - if (adev->asic_type == CHIP_ARCTURUS && 1038 + if ((adev->asic_type == CHIP_ARCTURUS || 1039 + adev->asic_type == CHIP_ALDEBARAN) && 1039 1040 !(*flags & AMDGPU_PTE_SYSTEM) && 1040 1041 mapping->bo_va->is_xgmi) 1041 1042 *flags |= AMDGPU_PTE_SNOOPED;