From nobody Mon Apr 6 21:10:29 2026 Received: from PH7PR06CU001.outbound.protection.outlook.com (mail-westus3azon11010005.outbound.protection.outlook.com [52.101.201.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C391536923F; Wed, 18 Mar 2026 07:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.201.5 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773818088; cv=fail; b=P4PtgAMLaZ6YrHH21AHobfGzhosLxqGGU+yc0ymPBIQo6/Kvu3Sx0vjr26q/hUKXRJwxt0gVEaJe06IbrLtjw0sVPCgiqa/jrM9551ianu2dVkPmUrVoRavf3Hlh0OSkStiXlsW4qCFw0Rv0VOj09DdaJm6GZmH7tzHMcd2lJY8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773818088; c=relaxed/simple; bh=+ITEjcgCswnZyJ3gqQBwqikl7YnTpGMJlcV5Q2lyYes=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=QTsBR2bIGqG6SX/xvw66X4UlDOe0HChygDqjehYKjBU7SLszvbrH6ncZlSeuLfDCOdyTxBng34tP7CDTmMACXnEMxb1mQvckvHRBvFGVngg3U0N5b9ocWvgqOSKprG2T0kpOqfDfQL5H0r9wUMUwMY/Y+oB5pxRjBNsWLRKSdFE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=VkEO6qmk; arc=fail smtp.client-ip=52.101.201.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="VkEO6qmk" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NF5h+EAMYELHS3iLKcyYYup8KLeiTzxtnciaSIK6c4YqY/vxuBS/qoR8uxoDatOnq7PBLv5XUcIsLNd47V9PwbbOlD/S6LIE5d3wRlk7UrMVw57Too4odE6WKO7jRdWXmIr7lB6Omy/JMNCQe+t6SLy7nHqmMu+Wg4ptAtm0DC6Xmk3HWbUi693m84G9oZYcisods3hOYir5Zpx4DrYkaj0m2CJ9OQGYE7CHrUDYx6vKZ1jNABTGGHsozgqdmaZ65GBabHJG2mAVgAsCYV2XY7R+ygLMZKTRZL5FpAm0rfjOEPL0mDYAUg/uBV45x2dAwU5uNiTJ6oK/QftRVgNglw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5wHaLeiWym0mnWXOKFYtk17jkvO4aDmTzYsMQvU1U1I=; b=Rjae1K+J0ApbMejebFESH7fr/iKbrXH3c1aNapjNH33ZLOkVsycG1J9EvhagcUQViqmVIWwJhiiAm+QK9L+gBlFu4liC6eMA7LBPZbIzVtankd32OBZBVwkCs/g2Bs0s4/wwAXE7jdb+qnFPCriO3kZ2517jxpAfPKMapFqesipVUSsZqh4K4gAZbgEb3j0ghzzYBmRY3jHJ1IyC5COEK+R6ej41jJ5NF5tcvg+0pruXUH3RMVNAXiRXU8Fxr5aBw5ecSKm/rK4W5BIbtb66U3hQBDH/3l8vepVQnkkOSQ8fROosaBEZUYr0fYHcZ/T1SZiG41TC3yHYeUctFKNBLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5wHaLeiWym0mnWXOKFYtk17jkvO4aDmTzYsMQvU1U1I=; b=VkEO6qmkxW0ZWSnE7ZyFMwKQDrzCixhyBzCABQ7ZsfOH21vcklFXpgHDpN27zGrLHdqZASi4+Ci9DYJ3Fzjc4a6/IzCQdmj6IssfmLKm1xEnvbyBnlQ29KaVEfrYh4fKaRyTO26xOti7kgQD833nqEBuRj3aL2U4txqrXhNzp9OhKHe1HKWDNEjy0sm3jFCNBiEOeaNm3vuLZHPYAORuMkoOQUDs6nTKdkPZSPQ9zBrTT6An63uv3ZKtmH3v/ExvZjmD7nZnC5Z9wbsM4imCI06d5jHOrPY7OT/K2QCfhg/A9FqBpU0iC9pTUH3OC1IVBEc3ICK17cz+4+6iscuemg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BL0PR12MB2353.namprd12.prod.outlook.com (2603:10b6:207:4c::31) by MN0PR12MB5764.namprd12.prod.outlook.com (2603:10b6:208:377::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9723.16; Wed, 18 Mar 2026 07:14:40 +0000 Received: from BL0PR12MB2353.namprd12.prod.outlook.com ([fe80::99b:dcff:8d6d:78e0]) by BL0PR12MB2353.namprd12.prod.outlook.com ([fe80::99b:dcff:8d6d:78e0%4]) with mapi id 15.20.9723.016; Wed, 18 Mar 2026 07:14:40 +0000 From: Eliot Courtney Date: Wed, 18 Mar 2026 16:13:57 +0900 Subject: [PATCH v2 1/9] gpu: nova-core: gsp: add NV_STATUS error code bindings Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260318-rmcontrol-v2-1-9a9fa6f1c4c3@nvidia.com> References: <20260318-rmcontrol-v2-0-9a9fa6f1c4c3@nvidia.com> In-Reply-To: <20260318-rmcontrol-v2-0-9a9fa6f1c4c3@nvidia.com> To: Danilo Krummrich , Alice Ryhl , Alexandre Courbot , David Airlie , Simona Vetter Cc: John Hubbard , Alistair Popple , Joel Fernandes , Timur Tabi , rust-for-linux@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Eliot Courtney X-Mailer: b4 0.14.3 X-ClientProxiedBy: TY4P286CA0039.JPNP286.PROD.OUTLOOK.COM (2603:1096:405:2b2::7) To BL0PR12MB2353.namprd12.prod.outlook.com (2603:10b6:207:4c::31) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL0PR12MB2353:EE_|MN0PR12MB5764:EE_ X-MS-Office365-Filtering-Correlation-Id: 3919ef1b-e129-46c1-15a5-08de84be055c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|10070799003|366016|18002099003|56012099003|22082099003; X-Microsoft-Antispam-Message-Info: 2w5I5lVaTGKg3CLKDuHgX1mlMzkO6LgE7AfAXuaXh+ArNtwnTNKEyVV1oAchq3z+PqzPN35CNsZwwrSqv1C2utrfrVh7eonZ/r0HGPRxqdTNA0VJ2anVCKPk8G+DHq0r8fCAbLUoPGnBrBdyP3FGKGVvY/2+bCVni4vtFtloxS4eWo3zEwiRBvC9QoYBSB14WEEUkech+8fPudOrSmpmzEOV5WWPP0rnBSSn8vQB7nXHbzQD53QLkBm4FPxJcEAy+y4P39t1i2N75PswsUVO7zMffEJr9vyLAwlLldq+mpX+uIRlfaYGv2gDaGNAz+lhNNkq5IZ06gGE0tM8oydlEWUenZeR9x4FqfdOY+4uL9jqkWs3+xHLt3E8La5Gjfs52jiu20Ky+opG22mmB8/faCALyq3xO67c8WvGjCvRUzbFixiRRD/W/RyUjS3pJNep5lBej4TtgqpjO6YKZSRpBZcbVSo0KjUeWBPJU1MM5r5HE4dMfzGIAYHLL0x5LgqtQwfMIAebEmQWeO0DA6AeI+hdXsoErQeI9PE4JjpjO4qtI4EYR8fUimYlBjiukr41qFN7F/yv9uechEueQxOr+deY8ZzZGB4TDomo6ArBrOPRrSaVytK/lwS3QQCWuMdMs/8TP0oTuIrBlXSUmTjUZevinoWy9EZOymiccnu4BXhadFcCkvUNx7rrYw0F4DGA+Z7hTHQ21CcVwh84/NY68PQgbpt9kJgoFGJ1AmnIuqM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR12MB2353.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(10070799003)(366016)(18002099003)(56012099003)(22082099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SHJXb3hsbFhMa1BpaXYvdS9JT2Q5ajNtZlBvSW44UW9YUmVsT0hFb3p6ditS?= =?utf-8?B?bUc3MlFyZ0lKNUUzenQ1T3ZoTUcwK2dOR00vNlZIbWthQUdla3h0WjUwbFhS?= =?utf-8?B?NlVIemJtaWh6YkV2L1lXUTJ1WVNrNGdJWXNUZUVoYXk1NjZzbU1GSGZENFBO?= =?utf-8?B?dG9GbVNRUGYzZU15UjFNbk5RNDlDampmeHlacWNjKytFTktDUG1na0NnNk9L?= =?utf-8?B?ZVEwSVB4Zm1vbkgvbFpONjFaN3c4RWtrSGd2bFp0OVBEdTlXWktNQXEzZWhZ?= =?utf-8?B?aUhVWm1kZExBT2pJOHBCdVErOXdWTWlRYWZON2hoM2tBWUlSTWdrdk51RnFE?= =?utf-8?B?SVEwNVVuNTlRaDlhN2t6WE5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SkZicSthMFdqMkhnV2pXWlJYams0L3V4Y0t1R1ZKWFlPZnc0SW9hT0s3d05V?= =?utf-8?B?Rjc3VjR3TTgvYXAzWVpWaGhqOEdmN1N5L2V3cVFCcm9VOEpzQmRWZ2p4N1pZ?= =?utf-8?B?NzBGQW5HT0x6L0NKOUhxOHFGUXhscDdUdW44cUMwSlpCUkRKUUFIbjFhUEJ2?= =?utf-8?Q?gx1o5ZsUSFaKYnLxzNmaG/YeGIxftDuIdp3iurQkTpXy2?= X-MS-Exchange-AntiSpam-MessageData-1: IIssygaDmasU+g== X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3919ef1b-e129-46c1-15a5-08de84be055c X-MS-Exchange-CrossTenant-AuthSource: BL0PR12MB2353.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2026 07:14:40.3178 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8uzDIy1AWnyXx/H3pohHBp5N31Im+OqScU7WlrogNIZgbWcp+MvlX6tbtni7RANjd8Fl9bFOSSMyEbvqJGY0ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5764 Add bindgen generated constants for NV_STATUS. This is used for RM control messages. Signed-off-by: Eliot Courtney --- drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs | 144 ++++++++++++++++++= ++++ 1 file changed, 144 insertions(+) diff --git a/drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs b/drivers/gp= u/nova-core/gsp/fw/r570_144/bindings.rs index 334e8be5fde8..dd37a7fd58c6 100644 --- a/drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs +++ b/drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs @@ -379,6 +379,150 @@ pub struct NV2080_CTRL_CMD_FB_GET_FB_REGION_INFO_PARA= MS { pub __bindgen_padding_0: [u8; 4usize], pub fbRegion: [NV2080_CTRL_CMD_FB_GET_FB_REGION_FB_REGION_INFO; 16usiz= e], } +pub const NV_OK: _bindgen_ty_4 =3D 0; +pub const NV_ERR_GENERIC: _bindgen_ty_4 =3D 65535; +pub const NV_ERR_BROKEN_FB: _bindgen_ty_4 =3D 1; +pub const NV_ERR_BUFFER_TOO_SMALL: _bindgen_ty_4 =3D 2; +pub const NV_ERR_BUSY_RETRY: _bindgen_ty_4 =3D 3; +pub const NV_ERR_CALLBACK_NOT_SCHEDULED: _bindgen_ty_4 =3D 4; +pub const NV_ERR_CARD_NOT_PRESENT: _bindgen_ty_4 =3D 5; +pub const NV_ERR_CYCLE_DETECTED: _bindgen_ty_4 =3D 6; +pub const NV_ERR_DMA_IN_USE: _bindgen_ty_4 =3D 7; +pub const NV_ERR_DMA_MEM_NOT_LOCKED: _bindgen_ty_4 =3D 8; +pub const NV_ERR_DMA_MEM_NOT_UNLOCKED: _bindgen_ty_4 =3D 9; +pub const NV_ERR_DUAL_LINK_INUSE: _bindgen_ty_4 =3D 10; +pub const NV_ERR_ECC_ERROR: _bindgen_ty_4 =3D 11; +pub const NV_ERR_FIFO_BAD_ACCESS: _bindgen_ty_4 =3D 12; +pub const NV_ERR_FREQ_NOT_SUPPORTED: _bindgen_ty_4 =3D 13; +pub const NV_ERR_GPU_DMA_NOT_INITIALIZED: _bindgen_ty_4 =3D 14; +pub const NV_ERR_GPU_IS_LOST: _bindgen_ty_4 =3D 15; +pub const NV_ERR_GPU_IN_FULLCHIP_RESET: _bindgen_ty_4 =3D 16; +pub const NV_ERR_GPU_NOT_FULL_POWER: _bindgen_ty_4 =3D 17; +pub const NV_ERR_GPU_UUID_NOT_FOUND: _bindgen_ty_4 =3D 18; +pub const NV_ERR_HOT_SWITCH: _bindgen_ty_4 =3D 19; +pub const NV_ERR_I2C_ERROR: _bindgen_ty_4 =3D 20; +pub const NV_ERR_I2C_SPEED_TOO_HIGH: _bindgen_ty_4 =3D 21; +pub const NV_ERR_ILLEGAL_ACTION: _bindgen_ty_4 =3D 22; +pub const NV_ERR_IN_USE: _bindgen_ty_4 =3D 23; +pub const NV_ERR_INFLATE_COMPRESSED_DATA_FAILED: _bindgen_ty_4 =3D 24; +pub const NV_ERR_INSERT_DUPLICATE_NAME: _bindgen_ty_4 =3D 25; +pub const NV_ERR_INSUFFICIENT_RESOURCES: _bindgen_ty_4 =3D 26; +pub const NV_ERR_INSUFFICIENT_PERMISSIONS: _bindgen_ty_4 =3D 27; +pub const NV_ERR_INSUFFICIENT_POWER: _bindgen_ty_4 =3D 28; +pub const NV_ERR_INVALID_ACCESS_TYPE: _bindgen_ty_4 =3D 29; +pub const NV_ERR_INVALID_ADDRESS: _bindgen_ty_4 =3D 30; +pub const NV_ERR_INVALID_ARGUMENT: _bindgen_ty_4 =3D 31; +pub const NV_ERR_INVALID_BASE: _bindgen_ty_4 =3D 32; +pub const NV_ERR_INVALID_CHANNEL: _bindgen_ty_4 =3D 33; +pub const NV_ERR_INVALID_CLASS: _bindgen_ty_4 =3D 34; +pub const NV_ERR_INVALID_CLIENT: _bindgen_ty_4 =3D 35; +pub const NV_ERR_INVALID_COMMAND: _bindgen_ty_4 =3D 36; +pub const NV_ERR_INVALID_DATA: _bindgen_ty_4 =3D 37; +pub const NV_ERR_INVALID_DEVICE: _bindgen_ty_4 =3D 38; +pub const NV_ERR_INVALID_DMA_SPECIFIER: _bindgen_ty_4 =3D 39; +pub const NV_ERR_INVALID_EVENT: _bindgen_ty_4 =3D 40; +pub const NV_ERR_INVALID_FLAGS: _bindgen_ty_4 =3D 41; +pub const NV_ERR_INVALID_FUNCTION: _bindgen_ty_4 =3D 42; +pub const NV_ERR_INVALID_HEAP: _bindgen_ty_4 =3D 43; +pub const NV_ERR_INVALID_INDEX: _bindgen_ty_4 =3D 44; +pub const NV_ERR_INVALID_IRQ_LEVEL: _bindgen_ty_4 =3D 45; +pub const NV_ERR_INVALID_LIMIT: _bindgen_ty_4 =3D 46; +pub const NV_ERR_INVALID_LOCK_STATE: _bindgen_ty_4 =3D 47; +pub const NV_ERR_INVALID_METHOD: _bindgen_ty_4 =3D 48; +pub const NV_ERR_INVALID_OBJECT: _bindgen_ty_4 =3D 49; +pub const NV_ERR_INVALID_OBJECT_BUFFER: _bindgen_ty_4 =3D 50; +pub const NV_ERR_INVALID_OBJECT_HANDLE: _bindgen_ty_4 =3D 51; +pub const NV_ERR_INVALID_OBJECT_NEW: _bindgen_ty_4 =3D 52; +pub const NV_ERR_INVALID_OBJECT_OLD: _bindgen_ty_4 =3D 53; +pub const NV_ERR_INVALID_OBJECT_PARENT: _bindgen_ty_4 =3D 54; +pub const NV_ERR_INVALID_OFFSET: _bindgen_ty_4 =3D 55; +pub const NV_ERR_INVALID_OPERATION: _bindgen_ty_4 =3D 56; +pub const NV_ERR_INVALID_OWNER: _bindgen_ty_4 =3D 57; +pub const NV_ERR_INVALID_PARAM_STRUCT: _bindgen_ty_4 =3D 58; +pub const NV_ERR_INVALID_PARAMETER: _bindgen_ty_4 =3D 59; +pub const NV_ERR_INVALID_PATH: _bindgen_ty_4 =3D 60; +pub const NV_ERR_INVALID_POINTER: _bindgen_ty_4 =3D 61; +pub const NV_ERR_INVALID_REGISTRY_KEY: _bindgen_ty_4 =3D 62; +pub const NV_ERR_INVALID_REQUEST: _bindgen_ty_4 =3D 63; +pub const NV_ERR_INVALID_STATE: _bindgen_ty_4 =3D 64; +pub const NV_ERR_INVALID_STRING_LENGTH: _bindgen_ty_4 =3D 65; +pub const NV_ERR_INVALID_READ: _bindgen_ty_4 =3D 66; +pub const NV_ERR_INVALID_WRITE: _bindgen_ty_4 =3D 67; +pub const NV_ERR_INVALID_XLATE: _bindgen_ty_4 =3D 68; +pub const NV_ERR_IRQ_NOT_FIRING: _bindgen_ty_4 =3D 69; +pub const NV_ERR_IRQ_EDGE_TRIGGERED: _bindgen_ty_4 =3D 70; +pub const NV_ERR_MEMORY_TRAINING_FAILED: _bindgen_ty_4 =3D 71; +pub const NV_ERR_MISMATCHED_SLAVE: _bindgen_ty_4 =3D 72; +pub const NV_ERR_MISMATCHED_TARGET: _bindgen_ty_4 =3D 73; +pub const NV_ERR_MISSING_TABLE_ENTRY: _bindgen_ty_4 =3D 74; +pub const NV_ERR_MODULE_LOAD_FAILED: _bindgen_ty_4 =3D 75; +pub const NV_ERR_MORE_DATA_AVAILABLE: _bindgen_ty_4 =3D 76; +pub const NV_ERR_MORE_PROCESSING_REQUIRED: _bindgen_ty_4 =3D 77; +pub const NV_ERR_MULTIPLE_MEMORY_TYPES: _bindgen_ty_4 =3D 78; +pub const NV_ERR_NO_FREE_FIFOS: _bindgen_ty_4 =3D 79; +pub const NV_ERR_NO_INTR_PENDING: _bindgen_ty_4 =3D 80; +pub const NV_ERR_NO_MEMORY: _bindgen_ty_4 =3D 81; +pub const NV_ERR_NO_SUCH_DOMAIN: _bindgen_ty_4 =3D 82; +pub const NV_ERR_NO_VALID_PATH: _bindgen_ty_4 =3D 83; +pub const NV_ERR_NOT_COMPATIBLE: _bindgen_ty_4 =3D 84; +pub const NV_ERR_NOT_READY: _bindgen_ty_4 =3D 85; +pub const NV_ERR_NOT_SUPPORTED: _bindgen_ty_4 =3D 86; +pub const NV_ERR_OBJECT_NOT_FOUND: _bindgen_ty_4 =3D 87; +pub const NV_ERR_OBJECT_TYPE_MISMATCH: _bindgen_ty_4 =3D 88; +pub const NV_ERR_OPERATING_SYSTEM: _bindgen_ty_4 =3D 89; +pub const NV_ERR_OTHER_DEVICE_FOUND: _bindgen_ty_4 =3D 90; +pub const NV_ERR_OUT_OF_RANGE: _bindgen_ty_4 =3D 91; +pub const NV_ERR_OVERLAPPING_UVM_COMMIT: _bindgen_ty_4 =3D 92; +pub const NV_ERR_PAGE_TABLE_NOT_AVAIL: _bindgen_ty_4 =3D 93; +pub const NV_ERR_PID_NOT_FOUND: _bindgen_ty_4 =3D 94; +pub const NV_ERR_PROTECTION_FAULT: _bindgen_ty_4 =3D 95; +pub const NV_ERR_RC_ERROR: _bindgen_ty_4 =3D 96; +pub const NV_ERR_REJECTED_VBIOS: _bindgen_ty_4 =3D 97; +pub const NV_ERR_RESET_REQUIRED: _bindgen_ty_4 =3D 98; +pub const NV_ERR_STATE_IN_USE: _bindgen_ty_4 =3D 99; +pub const NV_ERR_SIGNAL_PENDING: _bindgen_ty_4 =3D 100; +pub const NV_ERR_TIMEOUT: _bindgen_ty_4 =3D 101; +pub const NV_ERR_TIMEOUT_RETRY: _bindgen_ty_4 =3D 102; +pub const NV_ERR_TOO_MANY_PRIMARIES: _bindgen_ty_4 =3D 103; +pub const NV_ERR_UVM_ADDRESS_IN_USE: _bindgen_ty_4 =3D 104; +pub const NV_ERR_MAX_SESSION_LIMIT_REACHED: _bindgen_ty_4 =3D 105; +pub const NV_ERR_LIB_RM_VERSION_MISMATCH: _bindgen_ty_4 =3D 106; +pub const NV_ERR_PRIV_SEC_VIOLATION: _bindgen_ty_4 =3D 107; +pub const NV_ERR_GPU_IN_DEBUG_MODE: _bindgen_ty_4 =3D 108; +pub const NV_ERR_FEATURE_NOT_ENABLED: _bindgen_ty_4 =3D 109; +pub const NV_ERR_RESOURCE_LOST: _bindgen_ty_4 =3D 110; +pub const NV_ERR_PMU_NOT_READY: _bindgen_ty_4 =3D 111; +pub const NV_ERR_FLCN_ERROR: _bindgen_ty_4 =3D 112; +pub const NV_ERR_FATAL_ERROR: _bindgen_ty_4 =3D 113; +pub const NV_ERR_MEMORY_ERROR: _bindgen_ty_4 =3D 114; +pub const NV_ERR_INVALID_LICENSE: _bindgen_ty_4 =3D 115; +pub const NV_ERR_NVLINK_INIT_ERROR: _bindgen_ty_4 =3D 116; +pub const NV_ERR_NVLINK_MINION_ERROR: _bindgen_ty_4 =3D 117; +pub const NV_ERR_NVLINK_CLOCK_ERROR: _bindgen_ty_4 =3D 118; +pub const NV_ERR_NVLINK_TRAINING_ERROR: _bindgen_ty_4 =3D 119; +pub const NV_ERR_NVLINK_CONFIGURATION_ERROR: _bindgen_ty_4 =3D 120; +pub const NV_ERR_RISCV_ERROR: _bindgen_ty_4 =3D 121; +pub const NV_ERR_FABRIC_MANAGER_NOT_PRESENT: _bindgen_ty_4 =3D 122; +pub const NV_ERR_ALREADY_SIGNALLED: _bindgen_ty_4 =3D 123; +pub const NV_ERR_QUEUE_TASK_SLOT_NOT_AVAILABLE: _bindgen_ty_4 =3D 124; +pub const NV_ERR_KEY_ROTATION_IN_PROGRESS: _bindgen_ty_4 =3D 125; +pub const NV_ERR_TEST_ONLY_CODE_NOT_ENABLED: _bindgen_ty_4 =3D 126; +pub const NV_ERR_SECURE_BOOT_FAILED: _bindgen_ty_4 =3D 127; +pub const NV_ERR_INSUFFICIENT_ZBC_ENTRY: _bindgen_ty_4 =3D 128; +pub const NV_ERR_NVLINK_FABRIC_NOT_READY: _bindgen_ty_4 =3D 129; +pub const NV_ERR_NVLINK_FABRIC_FAILURE: _bindgen_ty_4 =3D 130; +pub const NV_ERR_GPU_MEMORY_ONLINING_FAILURE: _bindgen_ty_4 =3D 131; +pub const NV_ERR_REDUCTION_MANAGER_NOT_AVAILABLE: _bindgen_ty_4 =3D 132; +pub const NV_ERR_RESOURCE_RETIREMENT_ERROR: _bindgen_ty_4 =3D 134; +pub const NV_WARN_HOT_SWITCH: _bindgen_ty_4 =3D 65537; +pub const NV_WARN_INCORRECT_PERFMON_DATA: _bindgen_ty_4 =3D 65538; +pub const NV_WARN_MISMATCHED_SLAVE: _bindgen_ty_4 =3D 65539; +pub const NV_WARN_MISMATCHED_TARGET: _bindgen_ty_4 =3D 65540; +pub const NV_WARN_MORE_PROCESSING_REQUIRED: _bindgen_ty_4 =3D 65541; +pub const NV_WARN_NOTHING_TO_DO: _bindgen_ty_4 =3D 65542; +pub const NV_WARN_NULL_OBJECT: _bindgen_ty_4 =3D 65543; +pub const NV_WARN_OUT_OF_RANGE: _bindgen_ty_4 =3D 65544; +pub type _bindgen_ty_4 =3D ffi::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone, MaybeZeroable)] pub struct NV2080_CTRL_GPU_GET_GID_INFO_PARAMS { --=20 2.53.0