mirror_ubuntu-kernels/drivers/gpu/drm/amd/powerplay
Evan Quan 75bc07e240 drm/amd/powerplay: suppress compile error around BUG_ON
To suppress the compile error below for "ARCH=arc".
   drivers/gpu/drm/amd/amdgpu/../powerplay/arcturus_ppt.c: In function 'arcturus_fill_eeprom_i2c_req':
>> arch/arc/include/asm/bug.h:22:2: error: implicit declaration of function 'pr_warn'; did you mean 'pci_warn'? [-Werror=implicit-function-declaration]
      22 |  pr_warn("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \
         |  ^~~~~~~
   include/asm-generic/bug.h:62:57: note: in expansion of macro 'BUG'
      62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
         |                                                         ^~~
   drivers/gpu/drm/amd/amdgpu/../powerplay/arcturus_ppt.c:2157:2: note: in expansion of macro 'BUG_ON'
    2157 |  BUG_ON(numbytes > MAX_SW_I2C_COMMANDS);

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>
2020-07-21 15:37:37 -04:00
..
hwmgr drm/amdgpu: remove unused functions 2020-07-01 01:59:23 -04:00
inc drm/amdgpu/powerplay: add smu support for navy_flounder 2020-07-15 12:46:41 -04:00
smumgr drm/amd/powerplay: Fix NULL dereference in lock_bus() on Vega20 w/o RAS 2020-07-01 01:59:27 -04:00
amd_powerplay.c drm/amd/powerplay: perform PG ungate prior to CG ungate 2020-05-06 16:51:15 -04:00
amdgpu_smu.c drm/amdgpu/powerplay: add smu support for navy_flounder 2020-07-15 12:46:41 -04:00
arcturus_ppt.c drm/amd/powerplay: suppress compile error around BUG_ON 2020-07-21 15:37:37 -04:00
arcturus_ppt.h drm/amd/powerplay: update arcturus_ppt.c/h V3 2019-07-30 23:48:33 -05:00
Makefile drm/amdgpu/powerplay: add initial swSMU support for sienna_cichlid (v2) 2020-06-03 13:52:05 -04:00
navi10_ppt.c drm/amd/powerplay: drop unused code around thermal range setting 2020-07-15 12:44:46 -04:00
navi10_ppt.h drm/amdgpu/smu: custom pstate profiling clock frequence for navi series asics 2020-01-07 12:01:09 -05:00
renoir_ppt.c drm/amd/powerplay: drop unused APIs and parameters 2020-07-15 12:43:48 -04:00
renoir_ppt.h drm/amd/powerplay: drop smu_v12_0.c unnecessary wrapper V2 2020-07-15 12:43:38 -04:00
sienna_cichlid_ppt.c drm/amd/powerplay: set VCN1 pg only for sienna_cichlid 2020-07-15 13:27:34 -04:00
sienna_cichlid_ppt.h drm/amd/powerplay: support to get power index for sienna_cichlid 2020-06-03 13:52:13 -04:00
smu_internal.h drm/amd/powerplay: drop unused code around thermal range setting 2020-07-15 12:44:46 -04:00
smu_v11_0.c drm/amdgpu/smu11: drop code chuck that got accidently re-added 2020-07-21 15:37:37 -04:00
smu_v12_0.c drm/amd/powerplay: drop smu_v12_0.c unnecessary wrapper V2 2020-07-15 12:43:38 -04:00