]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu/pm: adjust EccInfo_t struct
authorStanley.Yang <Stanley.Yang@amd.com>
Wed, 15 Jun 2022 15:34:53 +0000 (23:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 21:55:11 +0000 (17:55 -0400)
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>
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h

index 6f92038470ecf9a2bac3189019fefbadafb09f30..7a6075daa7b2f6edac1768f679133b96cf424b01 100644 (file)
@@ -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 {