11/*
2- * SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+ * SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33 * SPDX-License-Identifier: MIT
44 *
55 * Permission is hereby granted, free of charge, to any person obtaining a
@@ -49,6 +49,8 @@ typedef enum
4949 NV_FIRMWARE_CHIP_FAMILY_GH100 = 6 ,
5050 NV_FIRMWARE_CHIP_FAMILY_GB10X = 8 ,
5151 NV_FIRMWARE_CHIP_FAMILY_GB20X = 9 ,
52+ NV_FIRMWARE_CHIP_FAMILY_GB10Y = 11 ,
53+ NV_FIRMWARE_CHIP_FAMILY_GB20Y = 12 ,
5254 NV_FIRMWARE_CHIP_FAMILY_END ,
5355} nv_firmware_chip_family_t ;
5456
@@ -58,6 +60,8 @@ static inline const char *nv_firmware_chip_family_to_string(
5860{
5961 switch (fw_chip_family ) {
6062 case NV_FIRMWARE_CHIP_FAMILY_GB10X : return "gb10x" ;
63+ case NV_FIRMWARE_CHIP_FAMILY_GB10Y : return "gb10y" ;
64+ case NV_FIRMWARE_CHIP_FAMILY_GB20Y : return "gb20y" ;
6165 case NV_FIRMWARE_CHIP_FAMILY_GB20X : return "gb20x" ;
6266 case NV_FIRMWARE_CHIP_FAMILY_GH100 : return "gh100" ;
6367 case NV_FIRMWARE_CHIP_FAMILY_AD10X : return "ad10x" ;
@@ -68,9 +72,9 @@ static inline const char *nv_firmware_chip_family_to_string(
6872
6973 case NV_FIRMWARE_CHIP_FAMILY_END : // fall through
7074 case NV_FIRMWARE_CHIP_FAMILY_NULL :
71- return NULL ;
75+ return "" ;
7276 }
73- return NULL ;
77+ return "" ;
7478}
7579
7680// The includer may optionally define
@@ -89,6 +93,8 @@ static inline const char *nv_firmware_for_chip_family(
8993 switch (fw_chip_family )
9094 {
9195 case NV_FIRMWARE_CHIP_FAMILY_GB10X : // fall through
96+ case NV_FIRMWARE_CHIP_FAMILY_GB10Y : // fall through
97+ case NV_FIRMWARE_CHIP_FAMILY_GB20Y : // fall through
9298 case NV_FIRMWARE_CHIP_FAMILY_GB20X : // fall through
9399 case NV_FIRMWARE_CHIP_FAMILY_GH100 : // fall through
94100 case NV_FIRMWARE_CHIP_FAMILY_AD10X : // fall through
@@ -110,6 +116,8 @@ static inline const char *nv_firmware_for_chip_family(
110116 switch (fw_chip_family )
111117 {
112118 case NV_FIRMWARE_CHIP_FAMILY_GB10X : // fall through
119+ case NV_FIRMWARE_CHIP_FAMILY_GB10Y : // fall through
120+ case NV_FIRMWARE_CHIP_FAMILY_GB20Y : // fall through
113121 case NV_FIRMWARE_CHIP_FAMILY_GB20X : // fall through
114122 case NV_FIRMWARE_CHIP_FAMILY_GH100 : // fall through
115123 case NV_FIRMWARE_CHIP_FAMILY_AD10X : // fall through
0 commit comments