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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:43:43 +0000 (16:43 +0100)
commit386a71f635b40a54c77e6977a9bf7fd930e7119c
tree443ef2c5a4a071ef4539e32a96789979713737e6
parent8e7ddaf759c622c24aa038afeac092e11140d8fc
amdgpu/gmc_v9: save/restore sdpif regs during S3

commit a3ed353cf8015ba84a0407a5dc3ffee038166ab0 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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