summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorMa Jun <Jun.Ma2@amd.com>2023-12-18 11:32:06 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-01-15 18:35:36 -0500
commite372baeb3d336b20fd9463784c577fd8824497cd (patch)
treea1078a67c9b6a8497af685af04cb7fb268ca0444 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentf38765de8385c326c7e53236fa70c20b013613f7 (diff)
drm/amdgpu: Check extended configuration space register when system uses large bar
Some customer platforms do not enable mmconfig for various reasons, such as bios bug, and therefore cannot access the GPU extend configuration space through mmio. When the system enters the d3cold state and resumes, the amdgpu driver fails to resume because the extend configuration space registers of GPU can't be restored. At this point, Usually we only see some failure dmesg log printed by amdgpu driver, it is difficult to find the root cause. Therefor print a warnning message if the system can't access the extended configuration space register when using large bar. Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions