1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm/swsmu/inc
Evan Quan 4513edf74c drm/amd/pm: suppress compile warnings about possible unaligned accesses
Suppress the following compile warnings:
>> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/inc/smu_v11_0_pptable.h:163:17:
warning: field smc_pptable within 'struct smu_11_0_powerplay_table' is
less aligned than 'PPTable_t' and is usually due to 'struct smu_11_0_powerplay_table'
being packed, which can lead to unaligned accesses [-Wunaligned-access]
         PPTable_t smc_pptable;                        //PPTable_t in smu11_driver_if.h
                   ^
   1 warning generated.
--
>> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/inc/smu_v11_0_7_pptable.h:193:17:
warning: field smc_pptable within 'struct smu_11_0_7_powerplay_table' is
less aligned than 'PPTable_t' and is usually due to 'struct smu_11_0_7_powerplay_table'
being packed, which can lead to unaligned accesses [-Wunaligned-access]
         PPTable_t smc_pptable;                        //PPTable_t in smu11_driver_if.h
                   ^
   1 warning generated.
--
>> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/inc/smu_v13_0_pptable.h:161:12:
warning: field smc_pptable within 'struct smu_13_0_powerplay_table' is less aligned than
'PPTable_t' and is usually due to 'struct smu_13_0_powerplay_table' being packed, which
can lead to unaligned accesses [-Wunaligned-access]

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-06-03 16:43:36 -04:00
..
pmfw_if drm/amd/pm: update SMU 13.0.0 driver_if header 2022-05-26 14:56:31 -04:00
amdgpu_smu.h drm/amd/smu: Update SMU13 support for SMU 13.0.0 2022-05-04 09:58:46 -04:00
smu_11_0_cdr_table.h drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
smu_types.h drm/amdgpu/pm: add EnableGfxImu message dummy map for SMU IP v13.0.4 2022-05-16 10:02:57 -04:00
smu_v11_0.h drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
smu_v11_0_7_pptable.h drm/amd/pm: suppress compile warnings about possible unaligned accesses 2022-06-03 16:43:36 -04:00
smu_v11_0_pptable.h drm/amd/pm: suppress compile warnings about possible unaligned accesses 2022-06-03 16:43:36 -04:00
smu_v12_0.h drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00
smu_v13_0.h drm/amd/pm: update SMU 13.0.0 driver_if header 2022-05-26 14:56:31 -04:00
smu_v13_0_7_pptable.h drm/amd/pm: suppress compile warnings about possible unaligned accesses 2022-06-03 16:43:36 -04:00
smu_v13_0_pptable.h drm/amd/pm: suppress compile warnings about possible unaligned accesses 2022-06-03 16:43:36 -04:00