diff options
| author | Likun Gao <[email protected]> | 2020-05-21 07:35:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 05:59:14 +0000 |
| commit | 0a4fa83c2af093959298ca521443bc70f8da0768 (patch) | |
| tree | b803db9284d3bb73131e8a22dcfb770b0c19128e /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/amdgpu: reserve fb according to return value from vbios (diff) | |
| download | kernel-0a4fa83c2af093959298ca521443bc70f8da0768.tar.gz kernel-0a4fa83c2af093959298ca521443bc70f8da0768.zip | |
drm/amdgpu: support memory training for sienna_cichlid
Add memory training support for sienna_cichlid.
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index a9adccfda4c0..2b55ccd5cb44 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c @@ -532,6 +532,7 @@ static int gddr6_mem_train_support(struct amdgpu_device *adev) switch (hw_v) { case HW_REV(11, 0, 0): case HW_REV(11, 0, 5): + case HW_REV(11, 0, 7): ret = 1; break; default: @@ -561,7 +562,8 @@ int amdgpu_atomfirmware_get_mem_train_info(struct amdgpu_device *adev) adev->fw_vram_usage.mem_train_support = false; if (adev->asic_type != CHIP_NAVI10 && - adev->asic_type != CHIP_NAVI14) + adev->asic_type != CHIP_NAVI14 && + adev->asic_type != CHIP_SIENNA_CICHLID) return 0; if (amdgpu_sriov_vf(adev)) |
