535.43.02

This commit is contained in:
Andy Ritger
2023-05-30 10:11:36 -07:00
parent 6dd092ddb7
commit eb5c7665a1
1403 changed files with 295367 additions and 86235 deletions

View File

@@ -131,6 +131,7 @@ typedef struct _NvPushAllocDeviceParams {
NvU32 numClasses;
const NvU32 *supportedClasses;
NvPushConfidentialComputeMode confidentialComputeMode;
} NvPushAllocDeviceParams;
NvBool nvPushAllocDevice(
@@ -173,6 +174,13 @@ typedef struct _NvPushAllocChannelParams {
*/
NvBool ignoreChannelErrors;
/*
* This flag specifies if channel is intended to be used for
* encryption/decryption of data between SYSMEM <-> VIDMEM. Only CE
* & SEC2 Channels are capable of handling encrypted content.
*/
NvBool secureChannel;
/*
* DIFR stands for Display Idle Frame Refresh in which a CE is used to
* prefetch framebuffer pixels into the GPU's L2 cache. The prefetch

View File

@@ -69,6 +69,17 @@ typedef union _NvPushChannelUnion
#endif
} NvPushChannelUnion;
typedef enum _NvPushConfidentialComputeMode {
/* Confidential computing is not in use. */
NV_PUSH_CONFIDENTIAL_COMPUTE_MODE_NONE,
/*
* The confidential compute mode of operation is Hopper Confidential
* Compute (HCC).
*/
NV_PUSH_CONFIDENTIAL_COMPUTE_MODE_HCC,
} NvPushConfidentialComputeMode;
typedef struct _NvPushChannelRec NvPushChannelRec;
typedef struct _NvPushChannelRec *NvPushChannelPtr;
@@ -121,6 +132,8 @@ typedef struct _NvPushDeviceRec {
NvPushHal hal;
const struct _NvPushImports *pImports;
/* Provided by the host driver */
NvPushConfidentialComputeMode confidentialComputeMode;
} NvPushDeviceRec, *NvPushDevicePtr;