OSDN Git Service

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:30:42 +0000 (11:30 -0500)
commita3ed353cf8015ba84a0407a5dc3ffee038166ab0
tree30b146d5cd704e2d21bb4fd606eb29cb4a1ae2bb
parent4829f89855f1d3a3d8014e74cceab51b421503db
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>
Cc: stable@vger.kernel.org
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