projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10c71e6
)
drm/amdgpu: disallow use semaphore on aldebaran
author
Hawking Zhang
<Hawking.Zhang@amd.com>
Mon, 23 Nov 2020 21:23:36 +0000
(
05:23
+0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:55:53 +0000
(22:55 -0400)
shall revisit the change later
Signed-off-by: Hawking Zhang <Hawking.Zhang@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 37c815094adff9b9dd130ce57141793a6ee95eca..6009aee49fa697de1651096ba92d234bd1105af8 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@
-644,6
+644,13
@@
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:
+ return false;
+ default:
+ break;
+ }
+
return ((vmhub == AMDGPU_MMHUB_0 ||
vmhub == AMDGPU_MMHUB_1) &&
(!amdgpu_sriov_vf(adev)) &&