enum xpum_result_enum
Overview
API call results More…
#include <xpum_structs.h> enum xpum_result_enum { XPUM_OK = 0, XPUM_GENERIC_ERROR = 1, XPUM_BUFFER_TOO_SMALL = 2, XPUM_RESULT_DEVICE_NOT_FOUND = 3, XPUM_RESULT_TILE_NOT_FOUND = 4, XPUM_RESULT_GROUP_NOT_FOUND = 5, XPUM_RESULT_POLICY_TYPE_INVALID = 6, XPUM_RESULT_POLICY_ACTION_TYPE_INVALID = 7, XPUM_RESULT_POLICY_CONDITION_TYPE_INVALID = 8, XPUM_RESULT_POLICY_TYPE_ACTION_NOT_SUPPORT = 9, XPUM_RESULT_POLICY_TYPE_CONDITION_NOT_SUPPORT = 10, XPUM_RESULT_POLICY_INVALID_THRESHOLD = 11, XPUM_RESULT_POLICY_INVALID_FREQUENCY = 12, XPUM_RESULT_POLICY_NOT_EXIST = 13, XPUM_RESULT_DIAGNOSTIC_TASK_NOT_COMPLETE = 14, XPUM_RESULT_DIAGNOSTIC_TASK_NOT_FOUND = 15, XPUM_GROUP_DEVICE_DUPLICATED = 16, XPUM_GROUP_CHANGE_NOT_ALLOWED = 17, XPUM_NOT_INITIALIZED = 18, XPUM_DUMP_RAW_DATA_TASK_NOT_EXIST = 19, XPUM_DUMP_RAW_DATA_ILLEGAL_DUMP_FILE_PATH = 20, XPUM_RESULT_UNKNOWN_AGENT_CONFIG_KEY = 21, XPUM_UPDATE_FIRMWARE_IMAGE_FILE_NOT_FOUND = 22, XPUM_UPDATE_FIRMWARE_UNSUPPORTED_AMC = 23, XPUM_UPDATE_FIRMWARE_UNSUPPORTED_AMC_SINGLE = 24, XPUM_UPDATE_FIRMWARE_UNSUPPORTED_GFX_ALL = 25, XPUM_UPDATE_FIRMWARE_MODEL_INCONSISTENCE = 26, XPUM_UPDATE_FIRMWARE_IGSC_NOT_FOUND = 27, XPUM_UPDATE_FIRMWARE_TASK_RUNNING = 28, XPUM_UPDATE_FIRMWARE_INVALID_FW_IMAGE = 29, XPUM_UPDATE_FIRMWARE_FW_IMAGE_NOT_COMPATIBLE_WITH_DEVICE = 30, XPUM_RESULT_DUMP_METRICS_TYPE_NOT_SUPPORT = 31, XPUM_METRIC_NOT_SUPPORTED = 32, XPUM_METRIC_NOT_ENABLED = 33, XPUM_RESULT_HEALTH_INVALID_TYPE = 34, XPUM_RESULT_HEALTH_INVALID_CONIG_TYPE = 35, XPUM_RESULT_HEALTH_INVALID_THRESHOLD = 36, XPUM_RESULT_DIAGNOSTIC_INVALID_LEVEL = 37, XPUM_RESULT_DIAGNOSTIC_INVALID_TASK_TYPE = 38, XPUM_RESULT_AGENT_SET_INVALID_VALUE = 39, XPUM_LEVEL_ZERO_INITIALIZATION_ERROR = 40, XPUM_UNSUPPORTED_SESSIONID = 41, XPUM_RESULT_MEMORY_ECC_LIB_NOT_SUPPORT = 42, XPUM_UPDATE_FIRMWARE_UNSUPPORTED_GFX_DATA = 43, XPUM_UPDATE_FIRMWARE_UNSUPPORTED_PSC = 44, XPUM_UPDATE_FIRMWARE_UNSUPPORTED_PSC_IGSC = 45, XPUM_UPDATE_FIRMWARE_UNSUPPORTED_GFX_CODE_DATA = 46, XPUM_INTERVAL_INVALID = 47, XPUM_RESULT_FILE_DUP = 48, XPUM_RESULT_INVALID_DIR = 49, XPUM_RESULT_FW_MGMT_NOT_INIT = 50, XPUM_VGPU_INVALID_LMEM = 51, XPUM_VGPU_INVALID_NUMVFS = 52, XPUM_VGPU_DIRTY_PF = 53, XPUM_VGPU_VF_UNSUPPORTED_OPERATION = 54, XPUM_VGPU_CREATE_VF_FAILED = 55, XPUM_VGPU_REMOVE_VF_FAILED = 56, XPUM_VGPU_NO_CONFIG_FILE = 57, XPUM_VGPU_SYSFS_ERROR = 58, XPUM_VGPU_UNSUPPORTED_DEVICE_MODEL = 59, XPUM_RESULT_RESET_FAIL = 60, XPUM_API_UNSUPPORTED = 61, XPUM_PRECHECK_INVALID_SINCETIME = 62, XPUM_PPR_NOT_FOUND = 63, XPUM_UPDATE_FIRMWARE_GFX_DATA_IMAGE_VERSION_LOWER_OR_EQUAL_TO_DEVICE = 64, XPUM_RESULT_UNSUPPORTED_DEVICE = 65, XPUM_GROUP_LIMIT_REACHED = 66, };
Detailed Documentation
API call results
Enum Values
XPUM_OK
Ok.
XPUM_GENERIC_ERROR
Function return with unknown errors.
XPUM_BUFFER_TOO_SMALL
The buffer pass to function is too small.
XPUM_RESULT_DEVICE_NOT_FOUND
Device not found.
XPUM_RESULT_TILE_NOT_FOUND
Tile not found.
XPUM_RESULT_POLICY_TYPE_INVALID
Policy type is invalid.
XPUM_RESULT_POLICY_ACTION_TYPE_INVALID
Policy action type is invalid.
XPUM_RESULT_POLICY_CONDITION_TYPE_INVALID
Policy condtion type is invalid.
XPUM_RESULT_POLICY_TYPE_ACTION_NOT_SUPPORT
Policy type and policy action not match.
XPUM_RESULT_POLICY_TYPE_CONDITION_NOT_SUPPORT
Policy type and condition type not match.
XPUM_RESULT_POLICY_INVALID_THRESHOLD
Policy threshold invalid.
XPUM_RESULT_POLICY_INVALID_FREQUENCY
Policy frequency invalid.
XPUM_RESULT_POLICY_NOT_EXIST
Policy not exist.
XPUM_NOT_INITIALIZED
XPUM is not initialized.
XPUM_DUMP_RAW_DATA_TASK_NOT_EXIST
Dump raw data task not exists.
XPUM_DUMP_RAW_DATA_ILLEGAL_DUMP_FILE_PATH
Dump file path provide is illegal.
XPUM_RESULT_UNKNOWN_AGENT_CONFIG_KEY
The the key for agent setting is unknown.
XPUM_UPDATE_FIRMWARE_UNSUPPORTED_GFX_ALL
Don’t support updating GFX firmwares on all device.
XPUM_UPDATE_FIRMWARE_IGSC_NOT_FOUND
“/usr/bin/igsc” not found
XPUM_UPDATE_FIRMWARE_TASK_RUNNING
Firmware update task is already running.
XPUM_UPDATE_FIRMWARE_INVALID_FW_IMAGE
The image file is not a valid FW image file.
XPUM_UPDATE_FIRMWARE_FW_IMAGE_NOT_COMPATIBLE_WITH_DEVICE
The image file is not compatible with device.
XPUM_METRIC_NOT_SUPPORTED
Unsupported metric.
XPUM_METRIC_NOT_ENABLED
Unenabled metric.
XPUM_LEVEL_ZERO_INITIALIZATION_ERROR
Agent set value is invalid.
Level Zero initialization error.
XPUM_UNSUPPORTED_SESSIONID
Unsupported session id.
XPUM_UPDATE_FIRMWARE_UNSUPPORTED_GFX_DATA
The device doesn’t support GFX_DATA firmware update.
XPUM_UPDATE_FIRMWARE_UNSUPPORTED_PSC
The device doesn’t support PSCBIN firmware update.
XPUM_UPDATE_FIRMWARE_UNSUPPORTED_PSC_IGSC
Installed igsc doesn’t support PSCBIN firmware update.
XPUM_UPDATE_FIRMWARE_UNSUPPORTED_GFX_CODE_DATA
The device doesn’t support GFX_CODE_DATA firmware update.
XPUM_RESULT_FW_MGMT_NOT_INIT
The firmware management feature is not initialized.
XPUM_RESULT_RESET_FAIL
Fail to reset device.