diff options
| author | 2020-11-24 05:23:36 +0800 | |
|---|---|---|
| committer | 2021-03-23 22:55:53 -0400 | |
| commit | d477c5aaece1ea187907005e2f2b4b118f486c2a (patch) | |
| tree | 0d545262da0d16e538eb709a1394cfec39b1f247 /drivers/gpu | |
| parent | drm/amdgpu: switch to vega20 ih block for aldebaran (diff) | |
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)) && |
