]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu/gmc_v9: Warn if SDPIF_MMIO_CNTRL_0 is not set
authorShirish S <shirish.s@amd.com>
Mon, 14 Sep 2020 04:41:23 +0000 (10:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 21:49:04 +0000 (17:49 -0400)
commitb41ba3de87426d51940a971cbb7b8298213baf1c
treed79ad0e86724f7d0d3c10672010d8a5c6e26bafd
parenta2303af83b1d6597c7af0437c522e41df6dd9b72
amdgpu/gmc_v9: Warn if SDPIF_MMIO_CNTRL_0 is not set

With IOMMU enabled, if SDPIF_MMIO_CNTRL_0 is not set
appropriately the system hangs without any trace
during S3.

To ease debug and to ensure that the failure, if any,
was caused by a race conditions that disabled write access to
SDPIF_MMIO_CNTRL_0 register, warn the user about it.

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/gmc_v9_0.c