Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/powerplay: mv avfs status to smumgr.h

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

rezhu and committed by
Alex Deucher
b5be3a6b e5f243bd

+21 -18
+21
drivers/gpu/drm/amd/powerplay/inc/smumgr.h
··· 32 32 #define smu_lower_32_bits(n) ((uint32_t)(n)) 33 33 #define smu_upper_32_bits(n) ((uint32_t)(((n)>>16)>>16)) 34 34 35 + enum AVFS_BTC_STATUS { 36 + AVFS_BTC_BOOT = 0, 37 + AVFS_BTC_BOOT_STARTEDSMU, 38 + AVFS_LOAD_VIRUS, 39 + AVFS_BTC_VIRUS_LOADED, 40 + AVFS_BTC_VIRUS_FAIL, 41 + AVFS_BTC_COMPLETED_PREVIOUSLY, 42 + AVFS_BTC_ENABLEAVFS, 43 + AVFS_BTC_STARTED, 44 + AVFS_BTC_FAILED, 45 + AVFS_BTC_RESTOREVFT_FAILED, 46 + AVFS_BTC_SAVEVFT_FAILED, 47 + AVFS_BTC_DPMTABLESETUP_FAILED, 48 + AVFS_BTC_COMPLETED_UNSAVED, 49 + AVFS_BTC_COMPLETED_SAVED, 50 + AVFS_BTC_COMPLETED_RESTORED, 51 + AVFS_BTC_DISABLED, 52 + AVFS_BTC_NOTSUPPORTED, 53 + AVFS_BTC_SMUMSG_ERROR 54 + }; 55 + 35 56 struct pp_smumgr_func { 36 57 int (*smu_init)(struct pp_smumgr *smumgr); 37 58 int (*smu_fini)(struct pp_smumgr *smumgr);
-18
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.h
··· 23 23 #ifndef _FIJI_SMUMANAGER_H_ 24 24 #define _FIJI_SMUMANAGER_H_ 25 25 26 - enum AVFS_BTC_STATUS { 27 - AVFS_BTC_BOOT = 0, 28 - AVFS_BTC_BOOT_STARTEDSMU, 29 - AVFS_LOAD_VIRUS, 30 - AVFS_BTC_VIRUS_LOADED, 31 - AVFS_BTC_VIRUS_FAIL, 32 - AVFS_BTC_STARTED, 33 - AVFS_BTC_FAILED, 34 - AVFS_BTC_RESTOREVFT_FAILED, 35 - AVFS_BTC_SAVEVFT_FAILED, 36 - AVFS_BTC_DPMTABLESETUP_FAILED, 37 - AVFS_BTC_COMPLETED_UNSAVED, 38 - AVFS_BTC_COMPLETED_SAVED, 39 - AVFS_BTC_COMPLETED_RESTORED, 40 - AVFS_BTC_DISABLED, 41 - AVFS_BTC_NOTSUPPORTED, 42 - AVFS_BTC_SMUMSG_ERROR 43 - }; 44 26 45 27 struct fiji_smu_avfs { 46 28 enum AVFS_BTC_STATUS AvfsBtcStatus;