diff options
author | Stanley.Yang <Stanley.Yang@amd.com> | 2022-06-15 23:34:53 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-21 17:55:11 -0400 |
commit | 6626c5a4ea2ef1bba3e02f75f797523e168fe28e (patch) | |
tree | d055a585db662503870e62a53a975f5d3f11c00d /drivers | |
parent | f7ba887f606b1895dabf718547cf7397924f0d3a (diff) | |
download | linux-6626c5a4ea2ef1bba3e02f75f797523e168fe28e.tar.bz2 |
drm/amdgpu/pm: adjust EccInfo_t struct
The EccInfo_t struct in driver_if.h is as below in official release
verion 68.55.0
typedef struct {
uint64_t mca_umc_status;
uint64_t mca_umc_addr;
uint16_t ce_count_lo_chip;
uint16_t ce_count_hi_chip;
uint32_t eccPadding;
uint64_t mca_ceumc_addr;
} EccInfo_t;
It's different from the debug version druing develop print correctable
error address, so adjust EccInfo_t struct.
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h index 6f92038470ec..7a6075daa7b2 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h @@ -521,12 +521,13 @@ typedef struct { typedef struct { uint64_t mca_umc_status; uint64_t mca_umc_addr; - uint64_t mca_ceumc_addr; uint16_t ce_count_lo_chip; uint16_t ce_count_hi_chip; uint32_t eccPadding; + + uint64_t mca_ceumc_addr; } EccInfo_V2_t; typedef struct { |