projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07744e9
)
drm/amdgpu: Aldebaran doesn't use semaphore
author
Amber Lin
<Amber.Lin@amd.com>
Mon, 14 Dec 2020 20:21:23 +0000
(15:21 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:56:41 +0000
(22:56 -0400)
Simplify all Aldebaran DIDs into one ASIC type.
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@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
53c09aa
..
b25ed18
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@
-644,12
+644,8
@@
static uint32_t gmc_v9_0_get_invalidate_req(unsigned int vmid,
static bool gmc_v9_0_use_invalidate_semaphore(struct amdgpu_device *adev,
uint32_t vmhub)
{
- switch (adev->pdev->device) {
- case 0x740c:
+ if (adev->asic_type == CHIP_ALDEBARAN)
return false;
- default:
- break;
- }
return ((vmhub == AMDGPU_MMHUB_0 ||
vmhub == AMDGPU_MMHUB_1) &&