diff options
| author | Hawking Zhang <Hawking.Zhang@amd.com> | 2020-11-24 00:23:36 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-24 05:55:53 +0300 |
| commit | d477c5aaece1ea187907005e2f2b4b118f486c2a (patch) | |
| tree | 0d545262da0d16e538eb709a1394cfec39b1f247 /drivers/gpu | |
| parent | 10c71e6cc9c9369a9fb8fcfe3e7f9463e2f751bb (diff) | |
| download | linux-d477c5aaece1ea187907005e2f2b4b118f486c2a.tar.xz | |
drm/amdgpu: disallow use semaphore on aldebaran
shall revisit the change later
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index 37c815094adf..6009aee49fa6 100644 --- 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)) && |
