amdgpu/gmc_v9: save/restore sdpif regs during S3
authorShirish S <shirish.s@amd.com>
Mon, 27 Jan 2020 11:05:24 +0000 (16:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2020 16:01:26 +0000 (11:01 -0500)
commitc2ecd79bec4ecc7f4fa52d91ea9bd3d69e3f54d5
treeb07fa7bd83cb7780968b2742af9647e3340c88d8
parent91aeda1811665a4ed781e7882912ef129e1705fa
amdgpu/gmc_v9: save/restore sdpif regs during S3

fixes S3 issue with IOMMU + S/G  enabled @ 64M VRAM.

Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Shirish S <shirish.s@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_gmc.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_offset.h