summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2022-05-30 11:37:07 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-06-03 16:43:36 -0400
commit4513edf74cc82c15bc1cefc2ab62ff25fe67028e (patch)
tree586731580a1ee3ba990ae4bca3bac2ec3ea32ed3 /drivers/gpu/drm/amd/display/dc
parent88467db6e2f46a2e79b1b67ce6873c284e4cf417 (diff)
downloadlinux-4513edf74cc82c15bc1cefc2ab62ff25fe67028e.tar.gz
linux-4513edf74cc82c15bc1cefc2ab62ff25fe67028e.tar.bz2
linux-4513edf74cc82c15bc1cefc2ab62ff25fe67028e.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc')
0 files changed, 0 insertions, 0 deletions