aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2024-10-29 11:46:44 +0000
committerAlex Deucher <[email protected]>2024-12-10 15:26:46 +0000
commit71a0e9630027f77d7646c5b750593c9ecfaa27d3 (patch)
tree03dcb0701ad964b6ed77c3dec7cbb5d08431831a /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
parentdrm/amdgpu: support to find RAS bad pages via old TA (diff)
downloadkernel-71a0e9630027f77d7646c5b750593c9ecfaa27d3.tar.gz
kernel-71a0e9630027f77d7646c5b750593c9ecfaa27d3.zip
drm/amdgpu: save UMC global channel index to eeprom
Save the global channel index returned by RAS TA to eeprom. We can get memory physical address by MCA address and channel index. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
index ce1e4fb385b5..2f71194d5da8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
@@ -146,5 +146,5 @@ int amdgpu_umc_lookup_bad_pages_in_a_row(struct amdgpu_device *adev,
int amdgpu_umc_mca_to_addr(struct amdgpu_device *adev,
uint64_t err_addr, uint32_t ch, uint32_t umc,
uint32_t node, uint32_t socket,
- uint64_t *addr, bool dump_addr);
+ struct ta_ras_query_address_output *addr_out, bool dump_addr);
#endif