linux/drivers/gpu/drm/amd/powerplay
Kevin Wang 00430144ff drm/amd/powerplay: fix variable type errors in smu_v11_0_setup_pptable
fix size type errors, from uint32_t to uint16_t.
it will cause only initializes the highest 16 bits in
smu_get_atom_data_table function.

bug report:
This fixes the following static checker warning.
        drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:390 smu_v11_0_setup_pptable()
        warn: passing casted pointer '&size' to 'smu_get_atom_data_table()' 32 vs 16.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-21 17:30:45 -05:00
..
hwmgr drm/amd/powerplay: support VCN powergate status retrieval on Raven 2019-07-31 02:02:22 -05:00
inc drm/amd/powerplay: correct navi10 vcn powergate 2019-08-02 21:55:47 -05:00
smumgr drm/amdgpu: remove memset after kzalloc 2019-07-16 13:09:05 -05:00
amd_powerplay.c drm/amd/powerplay: fix semicolon code style issue 2019-03-19 15:04:03 -05:00
amdgpu_smu.c drm/amd/powerplay: correct navi10 vcn powergate 2019-08-02 21:55:47 -05:00
Makefile drm/amd/powerplay: introduce the navi10 pptable implementation 2019-06-21 18:59:24 -05:00
navi10_ppt.c drm/amd/powerplay: correct navi10 vcn powergate 2019-08-02 21:55:47 -05:00
navi10_ppt.h drm/amd/powerplay: custom peak clock freq for navi10 2019-07-22 15:23:07 -05:00
smu_v11_0.c drm/amd/powerplay: fix variable type errors in smu_v11_0_setup_pptable 2019-08-21 17:30:45 -05:00
vega20_ppt.c drm/amd/powerplay: add callback function of get_thermal_temperature_range 2019-07-31 00:00:49 -05:00
vega20_ppt.h drm/amd/powerplay: simplified od_settings for each asic 2019-06-21 18:59:32 -05:00