530.30.02

This commit is contained in:
Andy Ritger
2023-02-28 11:12:44 -08:00
parent e598191e8e
commit 4397463e73
928 changed files with 124728 additions and 88525 deletions

View File

@@ -79,6 +79,7 @@ struct Object {
struct Object *pParent;
struct NVOC_CHILD_TREE childTree;
NvU32 ipVersion;
NvU32 createFlags;
};
#ifndef __NVOC_CLASS_Object_TYPEDEF__
@@ -179,8 +180,6 @@ static inline struct Object *objGetDirectParent(struct Object *pObj) {
#define NV_ODB_IP_VER_MAJOR 31:24 /* R-IVF */
#define IPVersion(pObj) staticCast((pObj), Object)->ipVersion
#define IsIPVersionValid(pObj) (DRF_VAL(_ODB, _IP_VER, _MAJOR, IPVersion(pObj)) != 0)
#define IsIPVersionOrLater(pObj, v0) (IPVersion(pObj) >= (v0))
// v0 .. v1 inclusive
#define IsIPVersionInRange(pObj, v0, v1) ((IPVersion(pObj) >= (v0)) && (IPVersion(pObj) <= (v1)))