mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-08 09:10:03 +00:00
545.23.06
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -36,6 +36,12 @@
|
||||
* *
|
||||
\***************************************************************************/
|
||||
|
||||
//
|
||||
// 4 Legacy Link Rates: RBR, HBR, HBR2, HBR3
|
||||
// 4 ILRs: 2.16G, 2.43G, 3.24G, 4.32G
|
||||
//
|
||||
#define NV_SUPPORTED_DP1X_LINK_RATES__SIZE 8
|
||||
|
||||
// Displayport interoperability with HDMI dongle i2c addr
|
||||
#define DP2HDMI_DONGLE_I2C_ADDR 0x80
|
||||
#define DP2HDMI_DONGLE_DDC_BUFFER_ID_LEN 16
|
||||
@@ -467,6 +473,21 @@ typedef enum
|
||||
PanelReplay_Undefined = 7
|
||||
} PanelReplayState;
|
||||
|
||||
// PR Sink debug info
|
||||
typedef struct PanelReplaySinkDebugInfo
|
||||
{
|
||||
NvU8 activeFrameCrcError : 1;
|
||||
NvU8 rfbStorageError : 1;
|
||||
NvU8 vscSdpUncorrectableError: 1;
|
||||
NvU8 adaptiveSyncSdpMissing : 1;
|
||||
NvU8 sinkPrStatus : 3;
|
||||
NvU8 sinkFramelocked : 2;
|
||||
NvU8 sinkFrameLockedValid : 1;
|
||||
NvU8 currentPrState : 1;
|
||||
NvU8 crcValid: 1;
|
||||
NvU8 suCoordinatesValid: 1;
|
||||
} panelReplaySinkDebugInfo;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
PanelReplayState prState;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -452,12 +452,12 @@ number of Downstream ports will be limited to 32.
|
||||
#define NV_DPCD_DOWNSPREAD_CTRL_MSA_TIMING_PAR_IGNORED_TRUE (0x00000001) /* RWXUV */
|
||||
|
||||
#define NV_DPCD_MAIN_LINK_CHANNEL_CODING_SET (0x00000108) /* RWXUR */
|
||||
#define NV_DPCD_MAIN_LINK_CNANNEL_CODING_SET_ANSI_8B_10B 0:0 /* RWXUF */
|
||||
#define NV_DPCD_MAIN_LINK_CNANNEL_CODING_SET_ANSI_8B_10B_FALSE (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_MAIN_LINK_CNANNEL_CODING_SET_ANSI_8B_10B_TRUE (0x00000001) /* RWXUV */
|
||||
#define NV_DPCD_MAIN_LINK_CNANNEL_CODING_SET_ANSI_128B_132B 1:1 /* RWXUF */
|
||||
#define NV_DPCD_MAIN_LINK_CNANNEL_CODING_SET_ANSI_128B_132B_FALSE (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_MAIN_LINK_CNANNEL_CODING_SET_ANSI_128B_132B_TRUE (0x00000001) /* RWXUV */
|
||||
#define NV_DPCD_MAIN_LINK_CHANNEL_CODING_SET_ANSI_8B_10B 0:0 /* RWXUF */
|
||||
#define NV_DPCD_MAIN_LINK_CHANNEL_CODING_SET_ANSI_8B_10B_FALSE (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_MAIN_LINK_CHANNEL_CODING_SET_ANSI_8B_10B_TRUE (0x00000001) /* RWXUV */
|
||||
#define NV_DPCD_MAIN_LINK_CHANNEL_CODING_SET_ANSI_128B_132B 1:1 /* RWXUF */
|
||||
#define NV_DPCD_MAIN_LINK_CHANNEL_CODING_SET_ANSI_128B_132B_FALSE (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_MAIN_LINK_CHANNEL_CODING_SET_ANSI_128B_132B_TRUE (0x00000001) /* RWXUV */
|
||||
|
||||
#define NV_DPCD_I2C_CTRL_SET (0x00000109) /* RWXUR */
|
||||
#define NV_DPCD_I2C_CTRL_SET_SPEED 7:0 /* RWXUF */
|
||||
@@ -1000,6 +1000,8 @@ number of Downstream ports will be limited to 32.
|
||||
#define NV_DPCD_EDP_REV_VAL_1_4 (0x00000003) /* R-XUV */
|
||||
#define NV_DPCD_EDP_REV_VAL_1_4A (0x00000004) /* R-XUV */
|
||||
#define NV_DPCD_EDP_REV_VAL_1_4B (0x00000005) /* R-XUV */
|
||||
#define NV_DPCD_EDP_REV_VAL_1_5 (0x00000006) /* R-XUV */
|
||||
#define NV_DPCD_EDP_REV_VAL_1_5A (0x00000006) /* R-XUV */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP1 (0x00000701) /* R-XUR */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP1_TCON_BKLGHT_ADJUST_CAP 0:0 /* R-XUF */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP1_TCON_BKLGHT_ADJUST_CAP_YES (0x00000001) /* R-XUV */
|
||||
@@ -1061,6 +1063,9 @@ number of Downstream ports will be limited to 32.
|
||||
#define NV_DPCD_EDP_GENERAL_CAP2_OVERDRIVE_CONTROL_CAP 3:3 /* R-XUF */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP2_OVERDRIVE_CONTROL_CAP_NO (0x00000000) /* R-XUV */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP2_OVERDRIVE_CONTROL_CAP_YES (0x00000001) /* R-XUV */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP2_PANEL_LUMINANCE_CONTROL_CAP 4:4 /* R-XUF */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP2_PANEL_LUMINANCE_CONTROL_CAP_NO (0x00000000) /* R-XUV */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP2_PANEL_LUMINANCE_CONTROL_CAP_YES (0x00000001) /* R-XUV */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP3 (0x00000704) /* R-XUV */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP3_X_REGION_CAP 3:0 /* R-XUF */
|
||||
#define NV_DPCD_EDP_GENERAL_CAP3_X_REGION_CAP_NOT_SUPPORTED (0x00000000) /* R-XUV */
|
||||
@@ -1115,6 +1120,9 @@ number of Downstream ports will be limited to 32.
|
||||
#define NV_DPCD_EDP_BKLGHT_MODE_SET_UPDATE_REGION_BRIGHTNESS 6:6 /* RWXUF */
|
||||
#define NV_DPCD_EDP_BKLGHT_MODE_SET_UPDATE_REGION_BRIGHTNESS_ENABLED (0x00000001) /* RWXUV */
|
||||
#define NV_DPCD_EDP_BKLGHT_MODE_SET_UPDATE_REGION_BRIGHTNESS_DISABLED (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_EDP_BKLGHT_MODE_SET_PANEL_LUMINANCE_CONTROL_ENABLE 7:7 /* RWXUF */
|
||||
#define NV_DPCD_EDP_BKLGHT_MODE_SET_PANEL_LUMINANCE_CONTROL_ENABLE_YES (0x00000001) /* RWXUV */
|
||||
#define NV_DPCD_EDP_BKLGHT_MODE_SET_PANEL_LUMINANCE_CONTROL_ENABLE_NO (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_EDP_BKLGHT_BRIGHTNESS_MSB (0x00000722) /* RWXUR */
|
||||
#define NV_DPCD_EDP_BKLGHT_BRIGHTNESS_MSB_VAL 7:0 /* RWXUF */
|
||||
#define NV_DPCD_EDP_BKLGHT_BRIGHTNESS_MSB_VAL_INIT (0x00000000) /* RWXUV */
|
||||
@@ -1162,6 +1170,15 @@ number of Downstream ports will be limited to 32.
|
||||
#define NV_DPCD_EDP_DBC_MAXIMUM_BRIGHTNESS_SET (0x00000733) /* RWXUR */
|
||||
#define NV_DPCD_EDP_DBC_MAXIMUM_BRIGHTNESS_CAP_VAL 4:0 /* RWXUF */
|
||||
#define NV_DPCD_EDP_DBC_MAXIMUM_BRIGHTNESS_CAP_VAL_INIT (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_LSB (0x00000734) /* RWXUR */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_LSB_VAL 7:0 /* RWXUF */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_LSB_VAL_INIT (0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_MID (0x00000735) /* RWXUR */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_MID_VAL 7:0 /* RWXUF */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_MID_VAL_INIT 0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_MSB (0x00000736) /* RWXUR */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_MSB_VAL 7:0 /* RWXUF */
|
||||
#define NV_DPCD_PANEL_TARGET_LUMINANCE_MSB_VAL_INIT 0x00000000) /* RWXUV */
|
||||
#define NV_DPCD_EDP_REGIONAL_BKLGHT_BASE (0x00000740) /* RWXUR */
|
||||
#define NV_DPCD_EDP_REGIONAL_BKLGHT_BASE_INDEX_OFFSET_VAL 7:0 /* RWXUF */
|
||||
#define NV_DPCD_EDP_REGIONAL_BKLGHT_BASE_INDEX_OFFSET_VAL_INIT (0x00000000) /* RWXUV */
|
||||
@@ -1262,6 +1279,10 @@ number of Downstream ports will be limited to 32.
|
||||
#define NV_DPCD_DEVICE_SERVICE_IRQ_VECTOR_ESI1_RX_GTC_MSTR_REQ_STATUS_CHANGE 0:0 /* R-XUF */
|
||||
#define NV_DPCD_DEVICE_SERVICE_IRQ_VECTOR_ESI1_RX_GTC_MSTR_REQ_STATUS_CHANGE_NO (0x00000000) /* R-XUV */
|
||||
#define NV_DPCD_DEVICE_SERVICE_IRQ_VECTOR_ESI1_RX_GTC_MSTR_REQ_STATUS_CHANGE_YES (0x00000001) /* R-XUV */
|
||||
#define NV_DPCD_DEVICE_SERVICE_IRQ_VECTOR_ESI1_PANEL_REPLAY_ERROR_STATUS 3:3 /* R-XUF */
|
||||
#define NV_DPCD_DEVICE_SERVICE_IRQ_VECTOR_ESI1_PANEL_REPLAY_ERROR_STATUS_NO (0x00000000) /* R-XUV */
|
||||
#define NV_DPCD_DEVICE_SERVICE_IRQ_VECTOR_ESI1_PANEL_REPLAY_ERROR_STATUS_YES (0x00000001) /* R-XUV */
|
||||
|
||||
|
||||
#define NV_DPCD_LINK_SERVICE_IRQ_VECTOR_ESI0 (0x00002005) /* R-XUR */
|
||||
#define NV_DPCD_LINK_SERVICE_IRQ_VECTOR_ESI0_RX_CAP_CHANGED 0:0 /* R-XUF */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -358,9 +358,6 @@
|
||||
#define NV_DPCD14_EXTENDED_MAIN_LINK_CHANNEL_CODING_ANSI_8B_10B 0:0 /* R-XUF */
|
||||
#define NV_DPCD14_EXTENDED_MAIN_LINK_CHANNEL_CODING_ANSI_8B_10B_NO (0x00000000) /* R-XUV */
|
||||
#define NV_DPCD14_EXTENDED_MAIN_LINK_CHANNEL_CODING_ANSI_8B_10B_YES (0x00000001) /* R-XUV */
|
||||
#define NV_DPCD14_EXTENDED_MAIN_LINK_CHANNEL_CODING_ANSI_128B_132B 1:1 /* R-XUF */
|
||||
#define NV_DPCD14_EXTENDED_MAIN_LINK_CHANNEL_CODING_ANSI_128B_132B_NO (0x00000000) /* R-XUV */
|
||||
#define NV_DPCD14_EXTENDED_MAIN_LINK_CHANNEL_CODING_ANSI_128B_132B_YES (0x00000001) /* R-XUV */
|
||||
|
||||
#define NV_DPCD14_EXTENDED_DOWN_STREAM_PORT (0x00002207) /* R-XUR */
|
||||
#define NV_DPCD14_EXTENDED_DOWN_STREAM_PORT_COUNT 3:0 /* R-XUF */
|
||||
@@ -632,22 +629,6 @@
|
||||
#define NV_DPCD14_PHY_REPEATER_EXTENDED_WAKE_TIMEOUT_REQ 6:0 /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_EXTENDED_WAKE_TIMEOUT_GRANT 7:7 /* RWXUF */
|
||||
|
||||
#define NV_DPCD14_PHY_REPEATER_MAIN_LINK_CHANNEL_CODING (0x000F0006) /* RWXUR */
|
||||
#define NV_DPCD14_PHY_REPEATER_MAIN_LINK_CHANNEL_CODING_128B_132B_SUPPORTED 0:0 /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_MAIN_LINK_CHANNEL_CODING_128B_132B_SUPPORTED_NO (0x00000000) /* RWXUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_MAIN_LINK_CHANNEL_CODING_128B_132B_SUPPORTED_YES (0x00000001) /* RWXUF */
|
||||
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES (0x000F0007) /* R-XUR */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_10G_SUPPORTED 0:0 /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_10G_SUPPORTED_NO (0x00000000) /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_10G_SUPPORTED_YES (0x00000001) /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_20G_SUPPORTED 1:1 /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_20G_SUPPORTED_NO (0x00000000) /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_20G_SUPPORTED_YES (0x00000001) /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_13_5G_SUPPORTED 2:2 /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_13_5G_SUPPORTED_NO (0x00000000) /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_128B_132B_RATES_13_5G_SUPPORTED_YES (0x00000001) /* R-XUF */
|
||||
|
||||
#define NV_DPCD14_PHY_REPEATER_EQ_DONE (0x000F0008) /* R-XUR */
|
||||
#define NV_DPCD14_PHY_REPEATER_EQ_DONE_LTTPR(i) (i):(i) /* R-XUF */
|
||||
#define NV_DPCD14_PHY_REPEATER_EQ_DONE_LTTPR_NO (0x00000000) /* R-XUF */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -20,7 +20,8 @@
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _DISPLAYPORT20_H_
|
||||
#define _DISPLAYPORT20_H_
|
||||
#include "nvcfg_sdk.h"
|
||||
|
||||
// DSC Pass Through related DPCD. New bits in DPCD 0x0060h defined in DPCD2.0.
|
||||
@@ -46,6 +47,20 @@
|
||||
#define NV_DPCD20_PANEL_REPLAY_CONFIGURATION_ENABLE_PR_MODE_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_CONFIGURATION_ENABLE_PR_MODE_YES (0x00000001)
|
||||
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS (0x00002020)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_ACTIVE_FRAME_CRC_ERROR 0:0
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_ACTIVE_FRAME_CRC_ERROR_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_ACTIVE_FRAME_CRC_ERROR_YES (0x00000001)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_RFB_STORAGE_ERROR 1:1
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_RFB_STORAGE_ERROR_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_RFB_STORAGE_ERROR_YES (0x00000001)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_VSC_SDP_UNCORRECTABLE_ERROR 2:2
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_VSC_SDP_UNCORRECTABLE_ERROR_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_VSC_SDP_UNCORRECTABLE_ERROR_YES (0x00000001)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_ADAPTIVE_SYNC_SDP_MISSING 3:3
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_ADAPTIVE_SYNC_SDP_MISSING_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_ERROR_STATUS_ADAPTIVE_SYNC_SDP_MISSING_YES (0x00000001)
|
||||
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS (0x00002022)
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_PR_STATUS 2:0
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_PR_STATUS_STATE_0 (0x00000000)
|
||||
@@ -57,4 +72,19 @@
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_SINK_FRAME_LOCKED_COASTING (0x00000001)
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_SINK_FRAME_LOCKED_GOVERNING (0x00000002)
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_SINK_FRAME_LOCKED_RELOCKING (0x00000003)
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_SINK_FRAME_LOCKED_VALID 5:5
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_SINK_FRAME_LOCKED_VALID_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_AND_FRAME_LOCK_STATUS_SINK_FRAME_LOCKED_VALID_YES (0x00000001)
|
||||
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO (0x00002024)
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_STATE 0:0
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_STATE_INACTIVE (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_STATE_ACTIVE (0x00000001)
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_CRC_VALID 2:2
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_CRC_VALID_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_CRC_VALID_YES (0x00000001)
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_SU_COORDINATE_VALID 3:3
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_SU_COORDINATE_VALID_NO (0x00000000)
|
||||
#define NV_DPCD20_PANEL_REPLAY_DEBUG_LAST_VSC_SDP_CARRYING_PR_INFO_SU_COORDINATE_VALID_YES (0x00000001)
|
||||
|
||||
#endif // #ifndef _DISPLAYPORT20_H_
|
||||
|
||||
@@ -36,26 +36,26 @@
|
||||
// and then checked back in. You cannot make changes to these sections without
|
||||
// corresponding changes to the buildmeister script
|
||||
#ifndef NV_BUILD_BRANCH
|
||||
#define NV_BUILD_BRANCH r537_41
|
||||
#define NV_BUILD_BRANCH r545_74
|
||||
#endif
|
||||
#ifndef NV_PUBLIC_BRANCH
|
||||
#define NV_PUBLIC_BRANCH r537_41
|
||||
#define NV_PUBLIC_BRANCH r545_74
|
||||
#endif
|
||||
|
||||
#if defined(NV_LINUX) || defined(NV_BSD) || defined(NV_SUNOS)
|
||||
#define NV_BUILD_BRANCH_VERSION "rel/gpu_drv/r535/r537_41-286"
|
||||
#define NV_BUILD_CHANGELIST_NUM (33292694)
|
||||
#define NV_BUILD_BRANCH_VERSION "rel/gpu_drv/r545/r545_74-96"
|
||||
#define NV_BUILD_CHANGELIST_NUM (33409679)
|
||||
#define NV_BUILD_TYPE "Official"
|
||||
#define NV_BUILD_NAME "rel/gpu_drv/r535/r537_41-286"
|
||||
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (33292694)
|
||||
#define NV_BUILD_NAME "rel/gpu_drv/r545/r545_74-96"
|
||||
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (33409679)
|
||||
|
||||
#else /* Windows builds */
|
||||
#define NV_BUILD_BRANCH_VERSION "r537_41-1"
|
||||
#define NV_BUILD_CHANGELIST_NUM (33292694)
|
||||
#define NV_BUILD_BRANCH_VERSION "r545_74-8"
|
||||
#define NV_BUILD_CHANGELIST_NUM (33409679)
|
||||
#define NV_BUILD_TYPE "Official"
|
||||
#define NV_BUILD_NAME "537.42"
|
||||
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (33292694)
|
||||
#define NV_BUILD_BRANCH_BASE_VERSION R535
|
||||
#define NV_BUILD_NAME "545.87"
|
||||
#define NV_LAST_OFFICIAL_CHANGELIST_NUM (33409679)
|
||||
#define NV_BUILD_BRANCH_BASE_VERSION R545
|
||||
#endif
|
||||
// End buildmeister python edited section
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
// Not implemented yet
|
||||
#define NV_SPIN_LOOP_HINT()
|
||||
|
||||
#elif defined(NVCPU_FAMILY_ARM) || defined(NVCPU_PPC64LE)
|
||||
#elif defined(NVCPU_FAMILY_ARM) || defined(NVCPU_PPC64LE) || defined(NVCPU_RISCV64)
|
||||
|
||||
// Not implemented yet
|
||||
#define NV_SPIN_LOOP_HINT()
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#if defined(NV_LINUX) || defined(NV_BSD) || defined(NV_SUNOS) || defined(NV_VMWARE) || defined(NV_QNX) || defined(NV_INTEGRITY) || \
|
||||
(defined(RMCFG_FEATURE_PLATFORM_GSP) && RMCFG_FEATURE_PLATFORM_GSP == 1)
|
||||
|
||||
#define NV_VERSION_STRING "535.113.01"
|
||||
#define NV_VERSION_STRING "545.23.06"
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
/* aarch64(ARMv8) mode */
|
||||
#define NV_SPECULATION_BARRIER_ARM_COMMON
|
||||
#define NV_SPEC_BARRIER_CSDB "HINT #20\n"
|
||||
#elif defined(NVCPU_NVRISCV64) && NVOS_IS_LIBOS
|
||||
#elif defined(NVCPU_IS_RISCV64)
|
||||
# define nv_speculation_barrier()
|
||||
#else
|
||||
#error "Unknown compiler/chip family"
|
||||
|
||||
@@ -71,6 +71,25 @@ extern "C" {
|
||||
#define BUS_DEVICE_ID_TIGERLAKE_TB3_09 0x9A2B
|
||||
#define BUS_DEVICE_ID_TIGERLAKE_TB3_10 0x9A2D
|
||||
|
||||
// Meteor Lake ThunderBolt Device IDs
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_01 0x7EB2
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_02 0x7EC2
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_03 0x7EC3
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_04 0x7EB4
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_05 0x7EC4
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_06 0x7EB5
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_07 0x7EC5
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_08 0x7EC6
|
||||
#define BUS_DEVICE_ID_METEOR_TB3_09 0x7EC7
|
||||
|
||||
// Raptor Lake ThunderBolt Device IDs
|
||||
#define BUS_DEVICE_ID_RAPTOR_TB3_01 0xA73E
|
||||
#define BUS_DEVICE_ID_RAPTOR_TB3_02 0xA76D
|
||||
#define BUS_DEVICE_ID_RAPTOR_TB3_03 0x466E
|
||||
#define BUS_DEVICE_ID_RAPTOR_TB3_04 0x463F
|
||||
#define BUS_DEVICE_ID_RAPTOR_TB3_05 0x462F
|
||||
#define BUS_DEVICE_ID_RAPTOR_TB3_06 0x461F
|
||||
|
||||
//#define BUS_DEVICE_ID_TB2_FALCON_RIDGE_DSL5520_01 0X156C // obsolete
|
||||
#define BUS_DEVICE_ID_TB2_FALCON_RIDGE_DSL5520_02 0X156D
|
||||
#define BUS_DEVICE_ID_TB2_03 0x157E
|
||||
@@ -128,7 +147,22 @@ EGPU_INLINE NvBool isTB3DeviceID(NvU16 deviceID)
|
||||
BUS_DEVICE_ID_TIGERLAKE_TB3_07,
|
||||
BUS_DEVICE_ID_TIGERLAKE_TB3_08,
|
||||
BUS_DEVICE_ID_TIGERLAKE_TB3_09,
|
||||
BUS_DEVICE_ID_TIGERLAKE_TB3_10
|
||||
BUS_DEVICE_ID_TIGERLAKE_TB3_10,
|
||||
BUS_DEVICE_ID_METEOR_TB3_01,
|
||||
BUS_DEVICE_ID_METEOR_TB3_02,
|
||||
BUS_DEVICE_ID_METEOR_TB3_03,
|
||||
BUS_DEVICE_ID_METEOR_TB3_04,
|
||||
BUS_DEVICE_ID_METEOR_TB3_05,
|
||||
BUS_DEVICE_ID_METEOR_TB3_06,
|
||||
BUS_DEVICE_ID_METEOR_TB3_07,
|
||||
BUS_DEVICE_ID_METEOR_TB3_08,
|
||||
BUS_DEVICE_ID_METEOR_TB3_09,
|
||||
BUS_DEVICE_ID_RAPTOR_TB3_01,
|
||||
BUS_DEVICE_ID_RAPTOR_TB3_02,
|
||||
BUS_DEVICE_ID_RAPTOR_TB3_03,
|
||||
BUS_DEVICE_ID_RAPTOR_TB3_04,
|
||||
BUS_DEVICE_ID_RAPTOR_TB3_05,
|
||||
BUS_DEVICE_ID_RAPTOR_TB3_06
|
||||
};
|
||||
for (index = 0; index < (sizeof(tb3DeviceIDList)/sizeof(NvU16)); index++)
|
||||
{
|
||||
|
||||
@@ -151,7 +151,7 @@ extern NVLOG_LOGGER NvLogLogger;
|
||||
* from certain RmCtrl handlers.
|
||||
*
|
||||
* Historically in most contexts obtaining RMAPI lock would suffice, and mainLock would optionally
|
||||
* be used for certain buffers. Ioctl NV_ESC_RM_NVLOG_CTRL cannot touch RMAPI lock and needs
|
||||
* be used for certain buffers. Ioctl NV_ESC_RM_LOCKLESS_DIAGNOSTIC cannot touch RMAPI lock and needs
|
||||
* to access NvLog. The latter operation might race if called at an inopportune time: e.g. if the
|
||||
* ioctl is called during RM init when KGSP creates/deletes GSP NvLog buffers. Using buffersLock is
|
||||
* thus necessary to resolve the potential race.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2021 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -26,4 +26,12 @@
|
||||
#define NV_PCFG 0x00088FFF:0x00088000 /* RW--D */
|
||||
#define NV_XVE_LINK_CONTROL_STATUS 0x00000088 /* RW-4R */
|
||||
#define NV_XVE_LINK_CONTROL_STATUS_LINK_SPEED 19:16 /* R--VF */
|
||||
#define NV_XVE_DBG_CYA_0 0x00000898 /* RW-4R */
|
||||
#define NV_XVE_DBG_CYA_0_BAR0_ADDR_WIDTH 19:19 /* RWCVF */
|
||||
#define NV_XVE_DBG_CYA_0_BAR0_ADDR_WIDTH_32BIT 0x00000000 /* RWC-V */
|
||||
#define NV_XVE_DBG_CYA_0_BAR0_ADDR_WIDTH_64BIT 0x00000001 /* RW--V */
|
||||
#define NV_XVE_RESIZE_BAR1_CTRL 0x00000BC0 /* RW-4R */
|
||||
#define NV_XVE_RESIZE_BAR1_CTRL_BAR_SIZE 12:8 /* RWIVF */
|
||||
#define NV_XVE_RESIZE_BAR1_CTRL_BAR_SIZE_MIN 0x00000006 /* ----V */
|
||||
#define NV_XVE_RESIZE_BAR1_CTRL_BAR_SIZE_MAX 0x00000013 /* ----V */
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2022 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -49,4 +49,21 @@
|
||||
//
|
||||
#define NV_XVE_PASSTHROUGH_EMULATED_CONFIG_RELAXED_ORDERING_ENABLE 4:4
|
||||
|
||||
//
|
||||
// While the following defines are not register addresses/bit fields, the BAR
|
||||
// indices(currently arranged in serial fashion) could be changed for future
|
||||
// chips and therefore keeping it chip specific
|
||||
//
|
||||
#define NV_XVE_BAR0_LO_INDEX 0x0
|
||||
#define NV_XVE_BAR0_HI_INDEX 0x1
|
||||
#define NV_XVE_BAR1_LO_INDEX 0x2
|
||||
#define NV_XVE_BAR1_HI_INDEX 0x3
|
||||
#define NV_XVE_BAR2_LO_INDEX 0x4
|
||||
#define NV_XVE_BAR2_HI_INDEX 0x5
|
||||
#define NV_XVE_BAR3_INDEX 0x6
|
||||
|
||||
|
||||
#define NV_PCFG 0x00088FFF:0x00088000 /* RW--D */
|
||||
#define NV_XVE_DEV_CTRL 0x00000004 /* RW-4R */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __dev_nv_pcfg_xve_regmap_h__
|
||||
#define __dev_nv_pcfg_xve_regmap_h__
|
||||
|
||||
#define NV_PCFG_XVE_REGISTER_MAP_START_OFFSET 0x00088000
|
||||
|
||||
/*
|
||||
* <prefix>_MAP has 1 bit set for each dword register.
|
||||
* <prefix>_COUNT has total number of set bits in <prefix>_MAP.
|
||||
*/
|
||||
#define NV_PCFG_XVE_REGISTER_VALID_COUNT 472
|
||||
#define NV_PCFG_XVE_REGISTER_VALID_MAP { \
|
||||
/* 0x00088000 */ 0xFFF1FFFF, 0x101FFF9F, \
|
||||
/* 0x00088100 */ 0x3FFA3C7F, 0x00000000, \
|
||||
/* 0x00088200 */ 0x03F00000, 0x00000000, \
|
||||
/* 0x00088300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x00088400 */ 0x8007FFC0, 0x3F3F5807, \
|
||||
/* 0x00088500 */ 0x000000BF, 0x00000000, \
|
||||
/* 0x00088600 */ 0x0140AA1F, 0x00000000, \
|
||||
/* 0x00088700 */ 0x00013FFF, 0x00000000, \
|
||||
/* 0x00088800 */ 0xFFEFDFD7, 0x1EDAFFFF, \
|
||||
/* 0x00088900 */ 0xFFFFFFFF, 0x002FFFFF, \
|
||||
/* 0x00088A00 */ 0xFF7FFFFF, 0x0007FFFF, \
|
||||
/* 0x00088B00 */ 0x00000000, 0xFFFFF000, \
|
||||
/* 0x00088C00 */ 0x0007BFE7, 0xFFC003FC, \
|
||||
/* 0x00088D00 */ 0xFFFFFFFF, 0x7C1F3FFF, \
|
||||
/* 0x00088E00 */ 0xFFFFFFFF, 0x00FFFFFF, \
|
||||
/* 0x00088F00 */ 0x00000000, 0xFE000000 }
|
||||
|
||||
#define NV_PCFG_XVE_REGISTER_WR_COUNT 350
|
||||
#define NV_PCFG_XVE_REGISTER_WR_MAP { \
|
||||
/* 0x00088000 */ 0x3EF193FA, 0x1007C505, \
|
||||
/* 0x00088100 */ 0x3FFA0828, 0x00000000, \
|
||||
/* 0x00088200 */ 0x03200000, 0x00000000, \
|
||||
/* 0x00088300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x00088400 */ 0x80007EC0, 0x3F075007, \
|
||||
/* 0x00088500 */ 0x000000BF, 0x00000000, \
|
||||
/* 0x00088600 */ 0x0140AA10, 0x00000000, \
|
||||
/* 0x00088700 */ 0x00013FFF, 0x00000000, \
|
||||
/* 0x00088800 */ 0x004C5FC3, 0x1C5AFFC0, \
|
||||
/* 0x00088900 */ 0xFFFC7804, 0x002FFFFF, \
|
||||
/* 0x00088A00 */ 0xFF7FFDFD, 0x00007FFF, \
|
||||
/* 0x00088B00 */ 0x00000000, 0xF8A54000, \
|
||||
/* 0x00088C00 */ 0x00003C01, 0x3FC003FC, \
|
||||
/* 0x00088D00 */ 0xFFFFFFFC, 0x701B2C3F, \
|
||||
/* 0x00088E00 */ 0xFFFFFFF8, 0x00FFBFFF, \
|
||||
/* 0x00088F00 */ 0x00000000, 0xFE000000 }
|
||||
|
||||
#endif // {__dev_nv_pcfg_xve_regmap_h__}
|
||||
31
src/common/inc/swref/published/disp/v02_04/dev_disp.h
Normal file
31
src/common/inc/swref/published/disp/v02_04/dev_disp.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __v02_04_dev_disp_h__
|
||||
#define __v02_04_dev_disp_h__
|
||||
#define NV_PDISP_PIPE_IN_LOADV_COUNTER(i) (0x00616118+(i)*2048) /* RW-4A */
|
||||
#define NV_PDISP_PIPE_IN_LOADV_COUNTER__SIZE_1 4 /* */
|
||||
#define NV_PDISP_PIPE_IN_LOADV_COUNTER_VALUE 31:0 /* RWIUF */
|
||||
#define NV_PDISP_PIPE_IN_LOADV_COUNTER_VALUE_INIT 0x00000000 /* RWI-V */
|
||||
#define NV_PDISP_PIPE_IN_LOADV_COUNTER_VALUE_ZERO 0x00000000 /* RW--V */
|
||||
#endif // __v02_04_dev_disp_h__
|
||||
@@ -74,4 +74,11 @@
|
||||
#define NV_PDISP_FE_RM_INTR_STAT_CTRL_DISP_AWAKEN 8:8 /* R-IVF */
|
||||
#define NV_PDISP_FE_RM_INTR_STAT_CTRL_DISP_AWAKEN_NOT_PENDING 0x00000000 /* R-I-V */
|
||||
#define NV_PDISP_FE_RM_INTR_STAT_CTRL_DISP_AWAKEN_PENDING 0x00000001 /* R---V */
|
||||
#define NV_PDISP_POSTCOMP_HEAD_LOADV_COUNTER(i) (0x0061611C+(i)*2048) /* RW-4A */
|
||||
#define NV_PDISP_POSTCOMP_HEAD_LOADV_COUNTER__SIZE_1 8 /* */
|
||||
#define NV_PDISP_POSTCOMP_HEAD_LOADV_COUNTER_VALUE 31:0 /* RWIUF */
|
||||
#define NV_PDISP_POSTCOMP_HEAD_LOADV_COUNTER_VALUE_INIT 0x00000000 /* RWI-V */
|
||||
#define NV_PDISP_POSTCOMP_HEAD_LOADV_COUNTER_VALUE_ZERO 0x00000000 /* RW--V */
|
||||
#define NV_PDISP_POSTCOMP_HEAD_LOADV_COUNTER_VALUE_HW 0x00000000 /* R---V */
|
||||
#define NV_PDISP_POSTCOMP_HEAD_LOADV_COUNTER_VALUE_SW 0x00000000 /* -W--V */
|
||||
#endif // __v03_00_dev_disp_h__
|
||||
|
||||
33
src/common/inc/swref/published/disp/v05_01/dev_disp.h
Normal file
33
src/common/inc/swref/published/disp/v05_01/dev_disp.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __v05_01_dev_disp_h__
|
||||
#define __v05_01_dev_disp_h__
|
||||
#define NV_PDISP_POSTCOMP_LOADV_COUNTER(i) (0x0061A11C+(i)*1024) /* RW-4A */
|
||||
#define NV_PDISP_POSTCOMP_LOADV_COUNTER__SIZE_1 8 /* */
|
||||
#define NV_PDISP_POSTCOMP_LOADV_COUNTER_VALUE 31:0 /* RWIUF */
|
||||
#define NV_PDISP_POSTCOMP_LOADV_COUNTER_VALUE_INIT 0x00000000 /* RWI-V */
|
||||
#define NV_PDISP_POSTCOMP_LOADV_COUNTER_VALUE_ZERO 0x00000000 /* RW--V */
|
||||
#define NV_PDISP_POSTCOMP_LOADV_COUNTER_VALUE_HW 0x00000000 /* R---V */
|
||||
#define NV_PDISP_POSTCOMP_LOADV_COUNTER_VALUE_SW 0x00000000 /* -W--V */
|
||||
#endif // __v05_01_dev_disp_h__
|
||||
@@ -46,6 +46,11 @@
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_CPU_INTR_LEAF_EN_CLEAR__SIZE_1 16 /* */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_TIMER(i) (0x2300+(i)*4) /* RW-4A */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_TIMER__SIZE_1 2 /* */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_MSIX_TABLE_ADDR_LO(i) (0x00010000+(i)*16) /* RW-4A */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_MSIX_TABLE_ADDR_HI(i) (0x00010004+(i)*16) /* RW-4A */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_MSIX_TABLE_DATA(i) (0x00010008+(i)*16) /* RW-4A */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_MSIX_TABLE_VECTOR_CONTROL(i) (0x0001000C+(i)*16) /* RW-4A */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_MSIX_TABLE_VECTOR_CONTROL__SIZE_1 9 /* */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_ACCESS_COUNTER_NOTIFY_BUFFER_LO 0x00003108 /* RW-4R */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_ACCESS_COUNTER_NOTIFY_BUFFER_LO_BASE 31:12 /* RWXVF */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_ACCESS_COUNTER_NOTIFY_BUFFER_HI 0x0000310C /* RW-4R */
|
||||
@@ -60,5 +65,4 @@
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_CPU_INTR_LEAF_EN_CLEAR_VALUE 31:0 /* RWIVF */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_CPU_INTR_LEAF_EN_CLEAR_VALUE_INIT 0x00000000 /* R-I-V */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_MMU_PAGE_FAULT_CTRL 0x00003070 /* RW-4R */
|
||||
|
||||
#endif // __gh100_dev_vm_h__
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2022 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -50,16 +50,21 @@
|
||||
#define NV_EP_PCFG_GPU_MSI_64_HEADER_MSI_ENABLE 16:16 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CAPABILITIES 0x00000064 /* R--4R */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CAPABILITIES_EXTENDED_TAG_FIELD_SUPPORTED 5:5 /* R-IVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CAPABILITIES_FUNCTION_LEVEL_RESET_CAPABILITY 28:28 /* R-IVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CAPABILITIES_FUNCTION_LEVEL_RESET_CAPABILITY_NOT_SUPPORTED 0x00000000 /* R-I-V */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CAPABILITIES_FUNCTION_LEVEL_RESET_CAPABILITY_SUPPORTED 0x00000001 /* R---V */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS 0x00000068 /* RW-4R */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_ENABLE_RELAXED_ORDERING 4:4 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_ENABLE_RELAXED_ORDERING_INIT 0x00000001 /* RWI-V */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_EXTENDED_TAG_FIELD_ENABLE 8:8 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_EXTENDED_TAG_FIELD_ENABLE_INIT 0x00000001 /* RWI-V */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_ENABLE_NO_SNOOP 11:11 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_INITIATE_FN_LVL_RST 15:15 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_CORR_ERROR_DETECTED 16:16 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_NON_FATAL_ERROR_DETECTED 17:17 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_FATAL_ERROR_DETECTED 18:18 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_UNSUPP_REQUEST_DETECTED 19:19 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_TRANSACTIONS_PENDING 21:21 /* R-IVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_2 0x00000088 /* RW-4R */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_2_ATOMIC_OP_REQUESTER_ENABLE 6:6 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_DEVICE_CONTROL_STATUS_2_ATOMIC_OP_REQUESTER_ENABLE_DEFAULT 0x00000000 /* RWI-V */
|
||||
@@ -69,6 +74,9 @@
|
||||
#define NV_EP_PCFG_GPU_MSIX_CAP_HEADER 0x000000B0 /* RW-4R */
|
||||
#define NV_EP_PCFG_GPU_MSIX_CAP_HEADER_ENABLE 31:31 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_MSIX_CAP_HEADER_ENABLE_ENABLED 0x00000001 /* RW--V */
|
||||
#define NV_EP_PCFG_GPU_PF_RESIZE_BAR_CTRL 0x0000013C /* RW-4R */
|
||||
#define NV_EP_PCFG_GPU_PF_RESIZE_BAR_CTRL_BAR_SIZE 13:8 /* RWIVF */
|
||||
#define NV_EP_PCFG_GPU_PF_RESIZE_BAR_CTRL_BAR_SIZE_MIN 0x00000006 /* RW--V */
|
||||
#define NV_EP_PCFG_GPU_UNCORRECTABLE_ERROR_STATUS 0x000001BC /* RW-4R */
|
||||
#define NV_EP_PCFG_GPU_UNCORRECTABLE_ERROR_STATUS_DL_PROTOCOL_ERROR 4:4 /* RWCVF */
|
||||
#define NV_EP_PCFG_GPU_UNCORRECTABLE_ERROR_STATUS_POISONED_TLP_RCVD 12:12 /* RWCVF */
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __dev_nv_pcfg_xve1_addendum_h__
|
||||
#define __dev_nv_pcfg_xve1_addendum_h__
|
||||
|
||||
#define NV_PCFG_XVE1_REGISTER_MAP_START_OFFSET 0x0008A000
|
||||
|
||||
/*
|
||||
* <prefix>_MAP has 1 bit set for each dword register.
|
||||
* <prefix>_COUNT has total number of set bits in <prefix>_MAP.
|
||||
*/
|
||||
#define NV_PCFG_XVE1_REGISTER_VALID_COUNT 79
|
||||
#define NV_PCFG_XVE1_REGISTER_VALID_MAP { \
|
||||
/* 0x0008A000 */ 0xFFC1FFFF, 0x00001F9F, \
|
||||
/* 0x0008A100 */ 0x00FC07FF, 0x00000000, \
|
||||
/* 0x0008A200 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A400 */ 0x00000080, 0x00007808, \
|
||||
/* 0x0008A500 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A600 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A700 */ 0x0007FFFE }
|
||||
|
||||
#define NV_PCFG_XVE1_REGISTER_WR_COUNT 34
|
||||
#define NV_PCFG_XVE1_REGISTER_WR_MAP { \
|
||||
/* 0x0008A000 */ 0x3EC1801A, 0x00000115, \
|
||||
/* 0x0008A100 */ 0x00FC007E, 0x00000000, \
|
||||
/* 0x0008A200 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A400 */ 0x00000080, 0x00006008, \
|
||||
/* 0x0008A500 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A600 */ 0x00000000, 0x00000000, \
|
||||
/* 0x0008A700 */ 0x00000006 }
|
||||
|
||||
#endif // {__dev_nv_pcfg_xve1_addendum_h__}
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __dev_nv_pcfg_xve_addendum_h__
|
||||
#define __dev_nv_pcfg_xve_addendum_h__
|
||||
|
||||
#define NV_PCFG_XVE_REGISTER_MAP_START_OFFSET 0x00088000
|
||||
|
||||
/*
|
||||
* <prefix>_MAP has 1 bit set for each dword register.
|
||||
* <prefix>_COUNT has total number of set bits in <prefix>_MAP.
|
||||
*/
|
||||
#define NV_PCFG_XVE_REGISTER_VALID_COUNT 242
|
||||
#define NV_PCFG_XVE_REGISTER_VALID_MAP { \
|
||||
/* 0x00088000 */ 0xFFF1FFFF, 0x1003FF9F, \
|
||||
/* 0x00088100 */ 0x1FBA3C7F, 0x00000000, \
|
||||
/* 0x00088200 */ 0x03F00000, 0x00000000, \
|
||||
/* 0x00088300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x00088400 */ 0x8007FFC0, 0x3F1F5807, \
|
||||
/* 0x00088500 */ 0x000000BF, 0x00000000, \
|
||||
/* 0x00088600 */ 0x0140AA1F, 0x00000000, \
|
||||
/* 0x00088700 */ 0x00000FFF, 0x00000000, \
|
||||
/* 0x00088800 */ 0xFFEFDF97, 0x02DAEDFF, \
|
||||
/* 0x00088900 */ 0xFFFFFFFF, 0x0000000F, \
|
||||
/* 0x00088A00 */ 0x077FFFFB }
|
||||
|
||||
#define NV_PCFG_XVE_REGISTER_WR_COUNT 166
|
||||
#define NV_PCFG_XVE_REGISTER_WR_MAP { \
|
||||
/* 0x00088000 */ 0x3EF193FA, 0x1003C515, \
|
||||
/* 0x00088100 */ 0x1FBA0828, 0x00000000, \
|
||||
/* 0x00088200 */ 0x03200000, 0x00000000, \
|
||||
/* 0x00088300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x00088400 */ 0x80007EC0, 0x3F075007, \
|
||||
/* 0x00088500 */ 0x000000BF, 0x00000000, \
|
||||
/* 0x00088600 */ 0x0140AA10, 0x00000000, \
|
||||
/* 0x00088700 */ 0x00000FFF, 0x00000000, \
|
||||
/* 0x00088800 */ 0x00445F83, 0x005AEDC0, \
|
||||
/* 0x00088900 */ 0xFFFC7806, 0x0000000F, \
|
||||
/* 0x00088A00 */ 0x077FFDFB }
|
||||
|
||||
#endif // {__dev_nv_pcfg_xve_addendum_h__}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -43,6 +43,11 @@
|
||||
#define NV_XVE_BAR0 0x00000010 /* RW-4R */
|
||||
#define NV_XVE_BAR0_BASE_ADDRESS 31:24 /* RWIVF */
|
||||
#define NV_XVE_BAR0_BASE_ADDRESS_INIT 0x00000000 /* RWI-V */
|
||||
#define NV_XVE_BAR1_LO 0x00000014 /* RW-4R */
|
||||
#define NV_XVE_BAR1_HI 0x00000018 /* RW-4R */
|
||||
#define NV_XVE_BAR2_LO 0x0000001C /* RW-4R */
|
||||
#define NV_XVE_BAR2_HI 0x00000020 /* RW-4R */
|
||||
#define NV_XVE_BAR3 0x00000024 /* RW-4R */
|
||||
#define NV_XVE_SUBSYSTEM 0x0000002C /* R--4R */
|
||||
#define NV_XVE_MSI_CTRL 0x00000068 /* RW-4R */
|
||||
#define NV_XVE_MSI_CTRL_MSI 16:16 /* RWIVF */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -635,7 +635,4 @@
|
||||
#define NV_NVLIPT_LNK_CTRL_CAP_LOCAL_LINK_CHANNEL_ALI_SUPPORT 28:28 /* RWIVF */
|
||||
#define NV_NVLIPT_LNK_CTRL_CAP_LOCAL_LINK_CHANNEL_ALI_SUPPORT_SUPPORTED 0x00000001 /* RWI-V */
|
||||
#define NV_NVLIPT_LNK_CTRL_CAP_LOCAL_LINK_CHANNEL_ALI_SUPPORT_NOT_SUPPORTED 0x00000000 /* RW--V */
|
||||
#define NV_NVLIPT_LNK_SCRATCH_WARM 0x000007c0 /* RW-4R */
|
||||
#define NV_NVLIPT_LNK_SCRATCH_WARM_DATA 31:0 /* RWEVF */
|
||||
#define NV_NVLIPT_LNK_SCRATCH_WARM_DATA_INIT 0xdeadbaad /* RWE-V */
|
||||
#endif // __ls10_dev_nvlipt_lnk_ip_h__
|
||||
|
||||
48
src/common/inc/swref/published/pascal/gp100/dev_ctxsw_prog.h
Normal file
48
src/common/inc/swref/published/pascal/gp100/dev_ctxsw_prog.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __gp100_dev_ctxsw_prog_h__
|
||||
#define __gp100_dev_ctxsw_prog_h__
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_PREEMPT_OFFSET 0x00000000 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_SPILL_OFFSET 0x00000004 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_CB_OFFSET 0x00000008 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_PAGEPOOL_OFFSET 0x0000000c /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_SLICE_STRIDE 0x00000010 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GLOBAL_BETA_SIZE 0x00000014 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GLOBAL_ALPHA_SIZE 0x00000018 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GLOBAL_PAGEPOOL_SIZE 0x0000001c /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GFXP_BETA_SIZE 0x00000020 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GFXP_ALPHA_SIZE 0x00000024 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GFXP_PAGEPOOL_SIZE 0x00000028 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GFXP_SPILL_SIZE 0x0000002c /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_NUM_SLICES 0x00000030 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_SLICE_ARRAY1 0x00000034 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_SLICE_ARRAY2 0x00000038 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_SLICE_ARRAY3 0x0000003c /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_SLICE_ARRAY4 0x00000040 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_RM_SLICE_ARRAY1 0x00000044 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_RM_SLICE_ARRAY2 0x00000048 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_RM_SLICE_ARRAY3 0x0000004c /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_RM_SLICE_ARRAY4 0x00000050 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_MAX_SLICES 0x00000054 /* RW-4R */
|
||||
#endif // __gp100_dev_ctxsw_prog_h__
|
||||
29
src/common/inc/swref/published/turing/tu102/dev_ctxsw_prog.h
Normal file
29
src/common/inc/swref/published/turing/tu102/dev_ctxsw_prog.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __tu102_dev_ctxsw_prog_h__
|
||||
#define __tu102_dev_ctxsw_prog_h__
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GFXP_RTV_SIZE 0x00000058 /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_GLOBAL_RTV_SIZE 0x0000005c /* RW-4R */
|
||||
#define NV_CTXSW_GFXP_POOL_CTRL_BLK_RTV_OFFSET 0x00000060 /* RW-4R */
|
||||
#endif // __tu102_dev_ctxsw_prog_h__
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2003-2023 NVIDIA CORPORATION & AFFILIATES
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __dev_nv_pcfg_xve_regmap_h__
|
||||
#define __dev_nv_pcfg_xve_regmap_h__
|
||||
|
||||
#define NV_PCFG_XVE_REGISTER_MAP_START_OFFSET 0x00088000
|
||||
|
||||
/*
|
||||
* <prefix>_MAP has 1 bit set for each dword register.
|
||||
* <prefix>_COUNT has total number of set bits in <prefix>_MAP.
|
||||
*/
|
||||
#define NV_PCFG_XVE_REGISTER_VALID_COUNT 424
|
||||
#define NV_PCFG_XVE_REGISTER_VALID_MAP { \
|
||||
/* 0x00088000 */ 0xFFF1FFFF, 0x139FFF9F, \
|
||||
/* 0x00088100 */ 0x1FBA3C7F, 0x00000000, \
|
||||
/* 0x00088200 */ 0x03F00000, 0x00000000, \
|
||||
/* 0x00088300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x00088400 */ 0x8007FFC0, 0x3F1F5807, \
|
||||
/* 0x00088500 */ 0x000000BF, 0x00000000, \
|
||||
/* 0x00088600 */ 0x0140AA1F, 0x00000000, \
|
||||
/* 0x00088700 */ 0x0000FFFF, 0x00000000, \
|
||||
/* 0x00088800 */ 0xFFEFDFD7, 0x1EDAFFFF, \
|
||||
/* 0x00088900 */ 0xFFFFFFFF, 0x000FFFFF, \
|
||||
/* 0x00088A00 */ 0xFF7FFFFF, 0x0007FFFF, \
|
||||
/* 0x00088B00 */ 0x00000000, 0xFFFFF000, \
|
||||
/* 0x00088C00 */ 0x0007BFE7, 0xFFFFFFFC, \
|
||||
/* 0x00088D00 */ 0xFFFFFFFF, 0x03FF3FFF, \
|
||||
/* 0x00088E00 */ 0x00000007 }
|
||||
|
||||
#define NV_PCFG_XVE_REGISTER_WR_COUNT 301
|
||||
#define NV_PCFG_XVE_REGISTER_WR_MAP { \
|
||||
/* 0x00088000 */ 0x3EF193FA, 0x1187C505, \
|
||||
/* 0x00088100 */ 0x1FBA0828, 0x00000000, \
|
||||
/* 0x00088200 */ 0x03200000, 0x00000000, \
|
||||
/* 0x00088300 */ 0x00000000, 0x00000000, \
|
||||
/* 0x00088400 */ 0x80007EC0, 0x3F075007, \
|
||||
/* 0x00088500 */ 0x000000BF, 0x00000000, \
|
||||
/* 0x00088600 */ 0x0140AA10, 0x00000000, \
|
||||
/* 0x00088700 */ 0x0000FFFF, 0x00000000, \
|
||||
/* 0x00088800 */ 0x00445FC3, 0x1C5AFFC0, \
|
||||
/* 0x00088900 */ 0xFFFC7804, 0x000FFFFF, \
|
||||
/* 0x00088A00 */ 0xFF7FFDFC, 0x00007FFF, \
|
||||
/* 0x00088B00 */ 0x00000000, 0xF8A54000, \
|
||||
/* 0x00088C00 */ 0x00003C01, 0x3FFFFFFC, \
|
||||
/* 0x00088D00 */ 0xFFFFFFFC, 0x039B2C3F, \
|
||||
/* 0x00088E00 */ 0x00000000 }
|
||||
|
||||
#endif // {__dev_nv_pcfg_xve_regmap_h__}
|
||||
@@ -23,18 +23,25 @@
|
||||
|
||||
#ifndef __tu102_dev_nv_xve_h__
|
||||
#define __tu102_dev_nv_xve_h__
|
||||
#define NV_PCFG 0x00088FFF:0x00088000 /* RW--D */
|
||||
#define NV_XVE_MSIX_CAP_HDR 0x000000C8 /* RW-4R */
|
||||
#define NV_XVE_MSIX_CAP_HDR_ENABLE 31:31 /* RWIVF */
|
||||
#define NV_XVE_MSIX_CAP_HDR_ENABLE_ENABLED 0x00000001 /* RW--V */
|
||||
#define NV_XVE_MSIX_CAP_HDR_ENABLE_DISABLED 0x00000000 /* RWI-V */
|
||||
#define NV_XVE_SRIOV_CAP_HDR3 0x00000BD8 /* R--4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR3_TOTAL_VFS 31:16 /* R-EVF */
|
||||
#define NV_XVE_SRIOV_CAP_HDR5 0x00000BE0 /* R--4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR5_FIRST_VF_OFFSET 15:0 /* R-IVF */
|
||||
#define NV_XVE_SRIOV_CAP_HDR9 0x00000BF0 /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR10 0x00000BF4 /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR11_VF_BAR1_HI 0x00000BF8 /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR12 0x00000BFC /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR13_VF_BAR2_HI 0x00000C00 /* RW-4R */
|
||||
#define NV_PCFG 0x00088FFF:0x00088000 /* RW--D */
|
||||
#define NV_XVE_DEVICE_CAPABILITY 0x0000007C /* R--4R */
|
||||
#define NV_XVE_DEVICE_CAPABILITY_FUNCTION_LEVEL_RESET 28:28 /* R-XVF */
|
||||
#define NV_XVE_DEVICE_CAPABILITY_FUNCTION_LEVEL_RESET_NOT_SUPPORTED 0x00000000 /* R---V */
|
||||
#define NV_XVE_DEVICE_CAPABILITY_FUNCTION_LEVEL_RESET_SUPPORTED 0x00000001 /* R---V */
|
||||
#define NV_XVE_DEVICE_CONTROL_STATUS 0x00000080 /* RW-4R */
|
||||
#define NV_XVE_DEVICE_CONTROL_STATUS_INITIATE_FN_LVL_RST 15:15 /* RWIVF */
|
||||
#define NV_XVE_DEVICE_CONTROL_STATUS_TRANSACTIONS_PENDING 21:21 /* R-IVF */
|
||||
#define NV_XVE_MSIX_CAP_HDR 0x000000C8 /* RW-4R */
|
||||
#define NV_XVE_MSIX_CAP_HDR_ENABLE 31:31 /* RWIVF */
|
||||
#define NV_XVE_MSIX_CAP_HDR_ENABLE_ENABLED 0x00000001 /* RW--V */
|
||||
#define NV_XVE_MSIX_CAP_HDR_ENABLE_DISABLED 0x00000000 /* RWI-V */
|
||||
#define NV_XVE_SRIOV_CAP_HDR3 0x00000BD8 /* R--4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR3_TOTAL_VFS 31:16 /* R-EVF */
|
||||
#define NV_XVE_SRIOV_CAP_HDR5 0x00000BE0 /* R--4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR5_FIRST_VF_OFFSET 15:0 /* R-IVF */
|
||||
#define NV_XVE_SRIOV_CAP_HDR9 0x00000BF0 /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR10 0x00000BF4 /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR11_VF_BAR1_HI 0x00000BF8 /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR12 0x00000BFC /* RW-4R */
|
||||
#define NV_XVE_SRIOV_CAP_HDR13_VF_BAR2_HI 0x00000C00 /* RW-4R */
|
||||
#endif // __tu102_dev_nv_xve_h__
|
||||
|
||||
@@ -210,4 +210,5 @@
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_DOORBELL 0x2200 /* -W-4R */
|
||||
#define NV_VIRTUAL_FUNCTION_DOORBELL 0x30090 /* -W-4R */
|
||||
#define NV_VIRTUAL_FUNCTION_ERR_CONT 0x30094 /* R--4R */
|
||||
#define NV_VIRTUAL_FUNCTION_PRIV_MSIX_TABLE_VECTOR_CONTROL__SIZE_1 6 /* */
|
||||
#endif // __tu102_dev_vm_h__
|
||||
|
||||
Reference in New Issue
Block a user