projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56237c6
)
drm/amdgpu: Fix an omission when adding Aldebaran support
author
Yong Zhao
<Yong.Zhao@amd.com>
Wed, 27 May 2020 01:38:53 +0000
(21:38 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:53:28 +0000
(22:53 -0400)
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>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index
1f8732b
..
9455204
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@
-1035,7
+1035,8
@@
static void gmc_v9_0_get_vm_pte(struct amdgpu_device *adev,
*flags &= ~AMDGPU_PTE_VALID;
}
- if (adev->asic_type == CHIP_ARCTURUS &&
+ if ((adev->asic_type == CHIP_ARCTURUS ||
+ adev->asic_type == CHIP_ALDEBARAN) &&
!(*flags & AMDGPU_PTE_SYSTEM) &&
mapping->bo_va->is_xgmi)
*flags |= AMDGPU_PTE_SNOOPED;