1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm/inc
Evan Quan 663e481131 drm/amd/pm: suppress compile warning about possible unaligned accesses
Suppress the following compile warning:
   In file included from drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_0_ppt.c:39:
>> drivers/gpu/drm/amd/amdgpu/../pm/inc/smu_v13_0_0_pptable.h:194:39:
warning: field overdrive_table within 'struct smu_13_0_0_powerplay_table' is
less aligned than 'struct smu_13_0_0_overdrive_table' and is usually due to
'struct smu_13_0_0_powerplay_table' being packed,
which can lead to unaligned accesses [-Wunaligned-access]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-05-10 17:53:13 -04:00
..
amdgpu_dpm.h drm/amd/pm: add send bad channel info function 2022-03-15 14:25:16 -04:00
amdgpu_dpm_internal.h drm/amd/pm: optimize the amdgpu_pm_compute_clocks() implementations 2022-01-14 17:51:14 -05:00
amdgpu_pm.h drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00
smu_v13_0_0_pptable.h drm/amd/pm: suppress compile warning about possible unaligned accesses 2022-05-10 17:53:13 -04:00