drm/amdgpu: enable GDDR6 save-restore support for dimgrey_cavefish
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 30 Sep 2020 15:13:28 +0000 (23:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2020 19:14:26 +0000 (15:14 -0400)
add mp0 11_0_12 for dimgrey_cavefish to the mem training
supported list, otherwise the modeprobe would fail
on dimgrey_cavefish with latest vbios.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c

index 5f5ce70..09cd2d2 100644 (file)
@@ -548,6 +548,7 @@ int amdgpu_mem_train_support(struct amdgpu_device *adev)
                case HW_REV(11, 0, 5):
                case HW_REV(11, 0, 7):
                case HW_REV(11, 0, 11):
+               case HW_REV(11, 0, 12):
                        ret = 1;
                        break;
                default: