mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-04 07:10:19 +00:00
545.23.06
This commit is contained in:
@@ -50,10 +50,11 @@ extern "C" {
|
||||
#define NVSWITCH_NSEC_PER_SEC 1000000000ULL
|
||||
|
||||
#define NVSWITCH_DBG_LEVEL_MMIO 0x0
|
||||
#define NVSWITCH_DBG_LEVEL_INFO 0x1
|
||||
#define NVSWITCH_DBG_LEVEL_SETUP 0x2
|
||||
#define NVSWITCH_DBG_LEVEL_WARN 0x3
|
||||
#define NVSWITCH_DBG_LEVEL_ERROR 0x4
|
||||
#define NVSWITCH_DBG_LEVEL_NOISY 0x1
|
||||
#define NVSWITCH_DBG_LEVEL_INFO 0x2
|
||||
#define NVSWITCH_DBG_LEVEL_SETUP 0x3
|
||||
#define NVSWITCH_DBG_LEVEL_WARN 0x4
|
||||
#define NVSWITCH_DBG_LEVEL_ERROR 0x5
|
||||
|
||||
#define NVSWITCH_LOG_BUFFER_SIZE 512
|
||||
|
||||
@@ -337,7 +338,7 @@ nvswitch_lib_service_interrupts
|
||||
);
|
||||
|
||||
/*
|
||||
* @Brief : Get depth of error logs
|
||||
* @Brief : Get depth of error logs and port event log
|
||||
*
|
||||
* @Description :
|
||||
*
|
||||
@@ -345,6 +346,7 @@ nvswitch_lib_service_interrupts
|
||||
*
|
||||
* @param[out] fatal Count of fatal errors
|
||||
* @param[out] nonfatal Count of non-fatal errors
|
||||
* @param[out] portEvent Count of port events
|
||||
*
|
||||
* @returns NVL_SUCCESS if there were no errors and interrupts were handled
|
||||
* -NVL_NOT_FOUND if bad arguments provided
|
||||
@@ -353,7 +355,7 @@ NvlStatus
|
||||
nvswitch_lib_get_log_count
|
||||
(
|
||||
nvswitch_device *device,
|
||||
NvU32 *fatal, NvU32 *nonfatal
|
||||
NvU32 *fatal, NvU32 *nonfatal, NvU32 *portEvent
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user