// This file is automatically generated by rmconfig - DO NOT EDIT!
//
// private rmconfig generated #defines such as IsG84(),
// RMCFG_FEATURE_ENABLED_STATUS(), etc.
//
// Only for use within resman.
//
// Profile:  devel-soc-disp-dce-client
// Template: templates/gt_rmconfig_private.h
//
// Chips:    T234D
//

#ifndef _G_RMCFG_PRIVATE_H_
#define _G_RMCFG_PRIVATE_H_

//
// CHIP identity macros such as IsGK104()
//

// GF10X
#define IsGF100(pGpu)                  ((0) && (pGpu))
#define IsGF100orBetter(pGpu)          ((0) && (pGpu))

#define IsGF100B(pGpu)                 ((0) && (pGpu))
#define IsGF100BorBetter(pGpu)         ((0) && (pGpu))

#define IsGF104(pGpu)                  ((0) && (pGpu))
#define IsGF104orBetter(pGpu)          ((0) && (pGpu))

#define IsGF104B(pGpu)                 ((0) && (pGpu))
#define IsGF104BorBetter(pGpu)         ((0) && (pGpu))

#define IsGF106(pGpu)                  ((0) && (pGpu))
#define IsGF106orBetter(pGpu)          ((0) && (pGpu))

#define IsGF106B(pGpu)                 ((0) && (pGpu))
#define IsGF106BorBetter(pGpu)         ((0) && (pGpu))

#define IsGF108(pGpu)                  ((0) && (pGpu))
#define IsGF108orBetter(pGpu)          ((0) && (pGpu))

// Any GF10X chip?
#define IsGF10X(pGpu)                  (0 && (pGpu))
#define IsGF10XorBetter(pGpu)          (0 && (pGpu))


// GF11X
#define IsGF110D(pGpu)                 ((0) && (pGpu))
#define IsGF110DorBetter(pGpu)         ((0) && (pGpu))

#define IsGF110(pGpu)                  ((0) && (pGpu))
#define IsGF110orBetter(pGpu)          ((0) && (pGpu))

#define IsGF117(pGpu)                  ((0) && (pGpu))
#define IsGF117orBetter(pGpu)          ((0) && (pGpu))
#define IsGF117MaskRevA01(pGpu)        ((0) && (pGpu))

#define IsGF118(pGpu)                  ((0) && (pGpu))
#define IsGF118orBetter(pGpu)          ((0) && (pGpu))

#define IsGF119(pGpu)                  ((0) && (pGpu))
#define IsGF119orBetter(pGpu)          ((0) && (pGpu))
#define IsGF119MaskRevA01(pGpu)        ((0) && (pGpu))

// Any GF11X chip?
#define IsGF11X(pGpu)                  (0 && (pGpu))
#define IsGF11XorBetter(pGpu)          (0 && (pGpu))


// GF10XF
#define IsGF110F(pGpu)                 ((0) && (pGpu))
#define IsGF110ForBetter(pGpu)         ((0) && (pGpu))

#define IsGF110F2(pGpu)                ((0) && (pGpu))
#define IsGF110F2orBetter(pGpu)        ((0) && (pGpu))

#define IsGF110F3(pGpu)                ((0) && (pGpu))
#define IsGF110F3orBetter(pGpu)        ((0) && (pGpu))

// Any GF10XF chip?
#define IsGF10XF(pGpu)                 (0 && (pGpu))
#define IsGF10XForBetter(pGpu)         (0 && (pGpu))


// GK10X
#define IsGK104(pGpu)                  ((0) && (pGpu))
#define IsGK104orBetter(pGpu)          ((0) && (pGpu))
#define IsGK104MaskRevA01(pGpu)        ((0) && (pGpu))

#define IsGK106(pGpu)                  ((0) && (pGpu))
#define IsGK106orBetter(pGpu)          ((0) && (pGpu))

#define IsGK107(pGpu)                  ((0) && (pGpu))
#define IsGK107orBetter(pGpu)          ((0) && (pGpu))
#define IsGK107MaskRevA01(pGpu)        ((0) && (pGpu))

#define IsGK20A(pGpu)                  ((0) && (pGpu))
#define IsGK20AorBetter(pGpu)          ((0) && (pGpu))

// Any GK10X chip?
#define IsGK10X(pGpu)                  (0 && (pGpu))
#define IsGK10XorBetter(pGpu)          (0 && (pGpu))


// GK11X
#define IsGK110(pGpu)                  ((0) && (pGpu))
#define IsGK110orBetter(pGpu)          ((0) && (pGpu))

#define IsGK110B(pGpu)                 ((0) && (pGpu))
#define IsGK110BorBetter(pGpu)         ((0) && (pGpu))

#define IsGK110C(pGpu)                 ((0) && (pGpu))
#define IsGK110CorBetter(pGpu)         ((0) && (pGpu))

// Any GK11X chip?
#define IsGK11X(pGpu)                  (0 && (pGpu))
#define IsGK11XorBetter(pGpu)          (0 && (pGpu))


// GK20X
#define IsGK208(pGpu)                  ((0) && (pGpu))
#define IsGK208orBetter(pGpu)          ((0) && (pGpu))

#define IsGK208S(pGpu)                 ((0) && (pGpu))
#define IsGK208SorBetter(pGpu)         ((0) && (pGpu))

// Any GK20X chip?
#define IsGK20X(pGpu)                  (0 && (pGpu))
#define IsGK20XorBetter(pGpu)          (0 && (pGpu))


// GM10X
#define IsGM107(pGpu)                  ((0) && (pGpu))
#define IsGM107orBetter(pGpu)          ((0) && (pGpu))
#define IsGM107MaskRevA01(pGpu)        ((0) && (pGpu))

#define IsGM108(pGpu)                  ((0) && (pGpu))
#define IsGM108orBetter(pGpu)          ((0) && (pGpu))
#define IsGM108MaskRevA01(pGpu)        ((0) && (pGpu))

// Any GM10X chip?
#define IsGM10X(pGpu)                  (0 && (pGpu))
#define IsGM10XorBetter(pGpu)          (0 && (pGpu))


// GM20X
#define IsGM200(pGpu)                  ((0) && (pGpu))
#define IsGM200orBetter(pGpu)          ((0) && (pGpu))

#define IsGM204(pGpu)                  ((0) && (pGpu))
#define IsGM204orBetter(pGpu)          ((0) && (pGpu))

#define IsGM206(pGpu)                  ((0) && (pGpu))
#define IsGM206orBetter(pGpu)          ((0) && (pGpu))

// Any GM20X chip?
#define IsGM20X(pGpu)                  (0 && (pGpu))
#define IsGM20XorBetter(pGpu)          (0 && (pGpu))


// GP10X
#define IsGP100(pGpu)                  ((0) && (pGpu))
#define IsGP100orBetter(pGpu)          ((0) && (pGpu))

#define IsGP102(pGpu)                  ((0) && (pGpu))
#define IsGP102orBetter(pGpu)          ((0) && (pGpu))

#define IsGP104(pGpu)                  ((0) && (pGpu))
#define IsGP104orBetter(pGpu)          ((0) && (pGpu))

#define IsGP106(pGpu)                  ((0) && (pGpu))
#define IsGP106orBetter(pGpu)          ((0) && (pGpu))

#define IsGP107(pGpu)                  ((0) && (pGpu))
#define IsGP107orBetter(pGpu)          ((0) && (pGpu))

#define IsGP108(pGpu)                  ((0) && (pGpu))
#define IsGP108orBetter(pGpu)          ((0) && (pGpu))

// Any GP10X chip?
#define IsGP10X(pGpu)                  (0 && (pGpu))
#define IsGP10XorBetter(pGpu)          (0 && (pGpu))


// GV10X
#define IsGV100(pGpu)                  ((0) && (pGpu))
#define IsGV100orBetter(pGpu)          ((0) && (pGpu))

// Any GV10X chip?
#define IsGV10X(pGpu)                  (0 && (pGpu))
#define IsGV10XorBetter(pGpu)          (0 && (pGpu))


// GV11X
#define IsGV11B(pGpu)                  ((0) && (pGpu))
#define IsGV11BorBetter(pGpu)          ((0) && (pGpu))

// Any GV11X chip?
#define IsGV11X(pGpu)                  (0 && (pGpu))
#define IsGV11XorBetter(pGpu)          (0 && (pGpu))


// TU10X
#define IsTU102(pGpu)                  ((0) && (pGpu))
#define IsTU102orBetter(pGpu)          ((0) && (pGpu))

#define IsTU104(pGpu)                  ((0) && (pGpu))
#define IsTU104orBetter(pGpu)          ((0) && (pGpu))

#define IsTU106(pGpu)                  ((0) && (pGpu))
#define IsTU106orBetter(pGpu)          ((0) && (pGpu))

#define IsTU116(pGpu)                  ((0) && (pGpu))
#define IsTU116orBetter(pGpu)          ((0) && (pGpu))

#define IsTU117(pGpu)                  ((0) && (pGpu))
#define IsTU117orBetter(pGpu)          ((0) && (pGpu))

// Any TU10X chip?
#define IsTU10X(pGpu)                  (0 && (pGpu))
#define IsTU10XorBetter(pGpu)          (0 && (pGpu))


// GA10X
#define IsGA100(pGpu)                  ((0) && (pGpu))
#define IsGA100orBetter(pGpu)          ((0) && (pGpu))

#define IsGA102(pGpu)                  ((0) && (pGpu))
#define IsGA102orBetter(pGpu)          ((0) && (pGpu))

#define IsGA103(pGpu)                  ((0) && (pGpu))
#define IsGA103orBetter(pGpu)          ((0) && (pGpu))

#define IsGA104(pGpu)                  ((0) && (pGpu))
#define IsGA104orBetter(pGpu)          ((0) && (pGpu))

#define IsGA106(pGpu)                  ((0) && (pGpu))
#define IsGA106orBetter(pGpu)          ((0) && (pGpu))

#define IsGA107(pGpu)                  ((0) && (pGpu))
#define IsGA107orBetter(pGpu)          ((0) && (pGpu))

#define IsGA10B(pGpu)                  ((0) && (pGpu))
#define IsGA10BorBetter(pGpu)          ((0) && (pGpu))

// Any GA10X chip?
#define IsGA10X(pGpu)                  (0 && (pGpu))
#define IsGA10XorBetter(pGpu)          (0 && (pGpu))


// GA10XF
#define IsGA102F(pGpu)                 ((0) && (pGpu))
#define IsGA102ForBetter(pGpu)         ((0) && (pGpu))

// Any GA10XF chip?
#define IsGA10XF(pGpu)                 (0 && (pGpu))
#define IsGA10XForBetter(pGpu)         (0 && (pGpu))


// GH20X
#define IsGH202(pGpu)                  ((0) && (pGpu))
#define IsGH202orBetter(pGpu)          ((0) && (pGpu))

// Any GH20X chip?
#define IsGH20X(pGpu)                  (0 && (pGpu))
#define IsGH20XorBetter(pGpu)          (0 && (pGpu))


// T12X
#define IsT001_FERMI_NOT_EXIST(pGpu)   ((0) && (pGpu))
#define IsT001_FERMI_NOT_EXISTorBetter(pGpu) ((0) && (pGpu))

#define IsT124(pGpu)                   ((0) && (pGpu))
#define IsT124orBetter(pGpu)           ((0) && (pGpu))

// Any T12X chip?
#define IsT12X(pGpu)                   (0 && (pGpu))
#define IsT12XorBetter(pGpu)           (0 && (pGpu))


// T13X
#define IsT132(pGpu)                   ((0) && (pGpu))
#define IsT132orBetter(pGpu)           ((0) && (pGpu))

// Any T13X chip?
#define IsT13X(pGpu)                   (0 && (pGpu))
#define IsT13XorBetter(pGpu)           (0 && (pGpu))


// T21X
#define IsT210(pGpu)                   ((0) && (pGpu))
#define IsT210orBetter(pGpu)           ((0) && (pGpu))

// Any T21X chip?
#define IsT21X(pGpu)                   (0 && (pGpu))
#define IsT21XorBetter(pGpu)           (0 && (pGpu))


// T18X
#define IsT186(pGpu)                   ((0) && (pGpu))
#define IsT186orBetter(pGpu)           ((0) && (pGpu))

// Any T18X chip?
#define IsT18X(pGpu)                   (0 && (pGpu))
#define IsT18XorBetter(pGpu)           (0 && (pGpu))


// T19X
#define IsT194(pGpu)                   ((0) && (pGpu))
#define IsT194orBetter(pGpu)           ((0) && (pGpu))

#define IsT002_TURING_NOT_EXIST(pGpu)  ((0) && (pGpu))
#define IsT002_TURING_NOT_EXISTorBetter(pGpu) ((0) && (pGpu))

// Any T19X chip?
#define IsT19X(pGpu)                   (0 && (pGpu))
#define IsT19XorBetter(pGpu)           (0 && (pGpu))


// T23XG
#define IsT234(pGpu)                   ((0) && (pGpu))
#define IsT234orBetter(pGpu)           ((0) && (pGpu))

#define IsT003_ADA_NOT_EXIST(pGpu)     ((0) && (pGpu))
#define IsT003_ADA_NOT_EXISTorBetter(pGpu) ((0) && (pGpu))

#define IsT004_HOPPER_NOT_EXIST(pGpu)  ((0) && (pGpu))
#define IsT004_HOPPER_NOT_EXISTorBetter(pGpu) ((0) && (pGpu))

// Any T23XG chip?
#define IsT23XG(pGpu)                  (0 && (pGpu))
#define IsT23XGorBetter(pGpu)          (0 && (pGpu))


// T23XD
#define IsT234D(pGpu)                  ((1) && (pGpu))
#define IsT234DorBetter(pGpu)          ((1) && (pGpu))

// Any T23XD chip?
#define IsT23XD(pGpu)                  (1 || (pGpu))
#define IsT23XDorBetter(pGpu)          (1 || (pGpu))


// SIMS
#define IsAMODEL(pGpu)                 ((0) && (pGpu))
#define IsAMODELorBetter(pGpu)         ((0) && (pGpu))

// Any SIMS chip?
#define IsSIMS(pGpu)                   (0 && (pGpu))
#define IsSIMSorBetter(pGpu)           (0 && (pGpu))


// Any CLASSIC_GPUS chip?
#define IsCLASSIC_GPUS(pGpu)           (0 && (pGpu))
#define IsCLASSIC_GPUSorBetter(pGpu)   (0 && (pGpu))


// Any dFERMI chip?
#define IsdFERMI(pGpu)                 (0 && (pGpu))
#define IsdFERMIorBetter(pGpu)         (0 && (pGpu))


// Any FERMI chip?
#define IsFERMI(pGpu)                  (IsFERMI_CLASSIC_GPUS(pGpu) || IsFERMI_TEGRA_BIG_GPUS(pGpu))
#define IsFERMIorBetter(pGpu)          (IsFERMI_CLASSIC_GPUSorBetter(pGpu) || IsFERMI_TEGRA_BIG_GPUSorBetter(pGpu))


// Any FERMI_CLASSIC_GPUS chip?
#define IsFERMI_CLASSIC_GPUS(pGpu)     (0 && (pGpu))
#define IsFERMI_CLASSIC_GPUSorBetter(pGpu) (0 && (pGpu))


// Any DISPLAYLESS chip?
#define IsDISPLAYLESS(pGpu)            (0 && (pGpu))


// Any dKEPLER chip?
#define IsdKEPLER(pGpu)                (0 && (pGpu))
#define IsdKEPLERorBetter(pGpu)        (0 && (pGpu))


// Any KEPLER chip?
#define IsKEPLER(pGpu)                 (IsKEPLER_CLASSIC_GPUS(pGpu) || IsKEPLER_TEGRA_BIG_GPUS(pGpu))
#define IsKEPLERorBetter(pGpu)         (IsKEPLER_CLASSIC_GPUSorBetter(pGpu) || IsKEPLER_TEGRA_BIG_GPUSorBetter(pGpu))


// Any KEPLER_CLASSIC_GPUS chip?
#define IsKEPLER_CLASSIC_GPUS(pGpu)    (0 && (pGpu))
#define IsKEPLER_CLASSIC_GPUSorBetter(pGpu) (0 && (pGpu))


// Any dMAXWELL chip?
#define IsdMAXWELL(pGpu)               (0 && (pGpu))
#define IsdMAXWELLorBetter(pGpu)       (0 && (pGpu))


// Any MAXWELL chip?
#define IsMAXWELL(pGpu)                (IsMAXWELL_CLASSIC_GPUS(pGpu) || IsMAXWELL_TEGRA_BIG_GPUS(pGpu))
#define IsMAXWELLorBetter(pGpu)        (IsMAXWELL_CLASSIC_GPUSorBetter(pGpu) || IsMAXWELL_TEGRA_BIG_GPUSorBetter(pGpu))


// Any MAXWELL_CLASSIC_GPUS chip?
#define IsMAXWELL_CLASSIC_GPUS(pGpu)   (0 && (pGpu))
#define IsMAXWELL_CLASSIC_GPUSorBetter(pGpu) (0 && (pGpu))


// Any dPASCAL chip?
#define IsdPASCAL(pGpu)                (0 && (pGpu))
#define IsdPASCALorBetter(pGpu)        (0 && (pGpu))


// Any PASCAL chip?
#define IsPASCAL(pGpu)                 (IsPASCAL_CLASSIC_GPUS(pGpu) || IsPASCAL_TEGRA_BIG_GPUS(pGpu))
#define IsPASCALorBetter(pGpu)         (IsPASCAL_CLASSIC_GPUSorBetter(pGpu) || IsPASCAL_TEGRA_BIG_GPUSorBetter(pGpu))


// Any PASCAL_CLASSIC_GPUS chip?
#define IsPASCAL_CLASSIC_GPUS(pGpu)    (0 && (pGpu))
#define IsPASCAL_CLASSIC_GPUSorBetter(pGpu) (0 && (pGpu))


// Any dVOLTA chip?
#define IsdVOLTA(pGpu)                 (0 && (pGpu))
#define IsdVOLTAorBetter(pGpu)         (0 && (pGpu))


// Any VOLTA chip?
#define IsVOLTA(pGpu)                  (IsVOLTA_CLASSIC_GPUS(pGpu) || IsVOLTA_TEGRA_BIG_GPUS(pGpu))
#define IsVOLTAorBetter(pGpu)          (IsVOLTA_CLASSIC_GPUSorBetter(pGpu) || IsVOLTA_TEGRA_BIG_GPUSorBetter(pGpu))


// Any VOLTA_CLASSIC_GPUS chip?
#define IsVOLTA_CLASSIC_GPUS(pGpu)     (0 && (pGpu))
#define IsVOLTA_CLASSIC_GPUSorBetter(pGpu) (0 && (pGpu))


// Any dTURING chip?
#define IsdTURING(pGpu)                (0 && (pGpu))
#define IsdTURINGorBetter(pGpu)        (0 && (pGpu))


// Any TURING chip?
#define IsTURING(pGpu)                 (IsTURING_CLASSIC_GPUS(pGpu) || IsTURING_TEGRA_BIG_GPUS(pGpu))
#define IsTURINGorBetter(pGpu)         (IsTURING_CLASSIC_GPUSorBetter(pGpu) || IsTURING_TEGRA_BIG_GPUSorBetter(pGpu))


// Any TURING_CLASSIC_GPUS chip?
#define IsTURING_CLASSIC_GPUS(pGpu)    (0 && (pGpu))
#define IsTURING_CLASSIC_GPUSorBetter(pGpu) (0 && (pGpu))


// Any dAMPERE chip?
#define IsdAMPERE(pGpu)                (0 && (pGpu))
#define IsdAMPEREorBetter(pGpu)        (0 && (pGpu))


// Any AMPERE chip?
#define IsAMPERE(pGpu)                 (IsAMPERE_CLASSIC_GPUS(pGpu) || IsAMPERE_TEGRA_BIG_GPUS(pGpu))
#define IsAMPEREorBetter(pGpu)         (IsAMPERE_CLASSIC_GPUSorBetter(pGpu) || IsAMPERE_TEGRA_BIG_GPUSorBetter(pGpu))


// Any AMPERE_CLASSIC_GPUS chip?
#define IsAMPERE_CLASSIC_GPUS(pGpu)    (0 && (pGpu))
#define IsAMPERE_CLASSIC_GPUSorBetter(pGpu) (0 && (pGpu))


// Any TEGRA_DGPU_AMPERE chip?
#define IsTEGRA_DGPU_AMPERE(pGpu)      (0 && (pGpu))


// Any TEGRA_DGPU chip?
#define IsTEGRA_DGPU(pGpu)             (0 && (pGpu))


// Any DFPGA chip?
#define IsDFPGA(pGpu)                  (0 && (pGpu))


// Any ADA chip?
#define IsADA(pGpu)                    (IsADA_CLASSIC_GPUS(pGpu) || IsADA_TEGRA_BIG_GPUS(pGpu))
#define IsADAorBetter(pGpu)            (IsADA_CLASSIC_GPUSorBetter(pGpu) || IsADA_TEGRA_BIG_GPUSorBetter(pGpu))


// Any HOPPER chip?
#define IsHOPPER(pGpu)                 (IsHOPPER_CLASSIC_GPUS(pGpu) || IsHOPPER_TEGRA_BIG_GPUS(pGpu))
#define IsHOPPERorBetter(pGpu)         (IsHOPPER_CLASSIC_GPUSorBetter(pGpu) || IsHOPPER_TEGRA_BIG_GPUSorBetter(pGpu))


// Any TEGRA_DISP chip?
#define IsTEGRA_DISP(pGpu)             (1 || (pGpu))
#define IsTEGRA_DISPorBetter(pGpu)     (1 || (pGpu))


// Any TEGRA_BIG_GPUS chip?
#define IsTEGRA_BIG_GPUS(pGpu)         (0 && (pGpu))
#define IsTEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any FERMI_TEGRA_BIG_GPUS chip?
#define IsFERMI_TEGRA_BIG_GPUS(pGpu)   (0 && (pGpu))
#define IsFERMI_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any TEGRA chip?
#define IsTEGRA(pGpu)                  (1 || (pGpu))
#define IsTEGRAorBetter(pGpu)          (1 || (pGpu))


// Any TEGRA_TEGRA_BIG_GPUS chip?
#define IsTEGRA_TEGRA_BIG_GPUS(pGpu)   (0 && (pGpu))
#define IsTEGRA_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any tKEPLER chip?
#define IstKEPLER(pGpu)                (0 && (pGpu))
#define IstKEPLERorBetter(pGpu)        (0 && (pGpu))


// Any KEPLER_TEGRA_BIG_GPUS chip?
#define IsKEPLER_TEGRA_BIG_GPUS(pGpu)  (0 && (pGpu))
#define IsKEPLER_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any tMAXWELL chip?
#define IstMAXWELL(pGpu)               (0 && (pGpu))
#define IstMAXWELLorBetter(pGpu)       (0 && (pGpu))


// Any MAXWELL_TEGRA_BIG_GPUS chip?
#define IsMAXWELL_TEGRA_BIG_GPUS(pGpu) (0 && (pGpu))
#define IsMAXWELL_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any tPASCAL chip?
#define IstPASCAL(pGpu)                (0 && (pGpu))
#define IstPASCALorBetter(pGpu)        (0 && (pGpu))


// Any PASCAL_TEGRA_BIG_GPUS chip?
#define IsPASCAL_TEGRA_BIG_GPUS(pGpu)  (0 && (pGpu))
#define IsPASCAL_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any tVOLTA chip?
#define IstVOLTA(pGpu)                 (0 && (pGpu))
#define IstVOLTAorBetter(pGpu)         (0 && (pGpu))


// Any VOLTA_TEGRA_BIG_GPUS chip?
#define IsVOLTA_TEGRA_BIG_GPUS(pGpu)   (0 && (pGpu))
#define IsVOLTA_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any TEGRA_DISP_TEGRA_BIG_GPUS chip?
#define IsTEGRA_DISP_TEGRA_BIG_GPUS(pGpu) (0 && (pGpu))
#define IsTEGRA_DISP_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any TURING_TEGRA_BIG_GPUS chip?
#define IsTURING_TEGRA_BIG_GPUS(pGpu)  (0 && (pGpu))
#define IsTURING_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any T23X chip?
#define IsT23X(pGpu)                   (1 || (pGpu))
#define IsT23XorBetter(pGpu)           (1 || (pGpu))


// Any T23X_TEGRA_BIG_GPUS chip?
#define IsT23X_TEGRA_BIG_GPUS(pGpu)    (0 && (pGpu))
#define IsT23X_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any tAMPERE chip?
#define IstAMPERE(pGpu)                (0 && (pGpu))
#define IstAMPEREorBetter(pGpu)        (0 && (pGpu))


// Any AMPERE_TEGRA_BIG_GPUS chip?
#define IsAMPERE_TEGRA_BIG_GPUS(pGpu)  (0 && (pGpu))
#define IsAMPERE_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any ADA_TEGRA_BIG_GPUS chip?
#define IsADA_TEGRA_BIG_GPUS(pGpu)     (0 && (pGpu))
#define IsADA_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any HOPPER_TEGRA_BIG_GPUS chip?
#define IsHOPPER_TEGRA_BIG_GPUS(pGpu)  (0 && (pGpu))
#define IsHOPPER_TEGRA_BIG_GPUSorBetter(pGpu) (0 && (pGpu))


// Any TEGRA_NVDISP_GPUS chip?
#define IsTEGRA_NVDISP_GPUS(pGpu)      (1 || (pGpu))
#define IsTEGRA_NVDISP_GPUSorBetter(pGpu) (1 || (pGpu))


// Any T23X_TEGRA_NVDISP_GPUS chip?
#define IsT23X_TEGRA_NVDISP_GPUS(pGpu) (1 || (pGpu))
#define IsT23X_TEGRA_NVDISP_GPUSorBetter(pGpu) (1 || (pGpu))


// Any TEGRA_TEGRA_NVDISP_GPUS chip?
#define IsTEGRA_TEGRA_NVDISP_GPUS(pGpu) (1 || (pGpu))
#define IsTEGRA_TEGRA_NVDISP_GPUSorBetter(pGpu) (1 || (pGpu))


// Any TEGRA_DISP_TEGRA_NVDISP_GPUS chip?
#define IsTEGRA_DISP_TEGRA_NVDISP_GPUS(pGpu) (1 || (pGpu))
#define IsTEGRA_DISP_TEGRA_NVDISP_GPUSorBetter(pGpu) (1 || (pGpu))


// Any SIMULATION_GPUS chip?
#define IsSIMULATION_GPUS(pGpu)        (0 && (pGpu))
#define IsSIMULATION_GPUSorBetter(pGpu) (0 && (pGpu))





//
// Enable/disable printing of entity names (class, engine, etc.)
//
#define RMCFG_ENTITY_NAME(entity) ""

//
// Macros to help with enabling or disabling code based on whether
// a feature (or chip or engine or ...) is enabled or not.
// Also have RMCFG_CHIP_), RMCFG_FEATURE_ENABLED(, etc
// from rmconfig.h.
//
// NOTE: these definitions are "flat" (ie they don't use some more general
//       RMCFG_ENABLED(CHIP,X) form because the pre-processor would re-evaluate
//       the expansion of the item (chip, feature, class, api).  For classes,
//       at least, this is a problem since we would end up with class number
//       instead of its name...

// hack: MSVC is not C99 compliant

// CHIP's
#define RMCFG_CHIP_ENABLED_OR_BAIL(W)                \
     do {                                           \
         if ( ! RMCFG_CHIP_##W)                      \
         {                                          \
             NV_PRINTF(LEVEL_ERROR, "CHIP" RMCFG_ENTITY_NAME(#W) " not enabled, bailing\n"); \
             return NV_ERR_NOT_SUPPORTED;           \
          }                                          \
      } while(0)
 #define RMCFG_CHIP_ENABLED_OR_ASSERT_AND_BAIL(W)     \
      do {                                           \
          if ( ! RMCFG_CHIP_##W)                      \
          {                                          \
              NV_PRINTF(LEVEL_ERROR, "CHIP" RMCFG_ENTITY_NAME(#W) " not enabled, assert and bail\n"); \
             NV_ASSERT_PRECOMP(RMCFG_CHIP_##W);              \
             return NV_ERR_NOT_SUPPORTED;           \
         }                                          \
     } while(0)

// FEATURE's
#define RMCFG_FEATURE_ENABLED_OR_BAIL(W)            \
     do {                                           \
         if ( ! RMCFG_FEATURE_##W)                  \
         {                                          \
             NV_PRINTF(LEVEL_ERROR, "FEATURE" RMCFG_ENTITY_NAME(#W) " not enabled, bailing\n"); \
             return NV_ERR_NOT_SUPPORTED;           \
         }                                          \
     } while(0)
#define RMCFG_FEATURE_ENABLED_OR_ASSERT_AND_BAIL(W) \
     do {                                           \
         if ( ! RMCFG_FEATURE_##W)                  \
         {                                          \
             NV_PRINTF(LEVEL_ERROR, "FEATURE" RMCFG_ENTITY_NAME(#W) " not enabled, assert and bail\n"); \
             NV_ASSERT_PRECOMP(RMCFG_FEATURE_##W);          \
             return NV_ERR_NOT_SUPPORTED;           \
         }                                          \
     } while(0)

#define RMCFG_FEATURE_PLATFORM_P (RMCFG_FEATURE_PLATFORM_##P)

// MODULE's
#define RMCFG_MODULE_ENABLED_OR_BAIL(W)             \
              do {                                           \
                  if ( ! RMCFG_MODULE_##W)                   \
                  {                                          \
                      NV_PRINTF(LEVEL_ERROR, "MODULE" RMCFG_ENTITY_NAME(#W) " not enabled, bailing\n"); \
                      return NV_ERR_NOT_SUPPORTED;           \
                  }                                          \
              } while(0)
#define RMCFG_MODULE_ENABLED_OR_ASSERT_AND_BAIL(W)  \
              do {                                           \
                  if ( ! RMCFG_MODULE_##W)                   \
                  {                                          \
                      NV_PRINTF(LEVEL_ERROR, "MODULE" RMCFG_ENTITY_NAME(#W) " not enabled, assert and bail\n"); \
                      NV_ASSERT_PRECOMP(RMCFG_MODULE_##W);           \
                      return NV_ERR_NOT_SUPPORTED;           \
                  }                                          \
              } while(0)


// CLASS's
#define RMCFG_CLASS_ENABLED_OR_BAIL(W)              \
     do {                                           \
         if ( ! RMCFG_CLASS_##W)                    \
         {                                          \
             NV_PRINTF(LEVEL_ERROR, "CLASS" RMCFG_ENTITY_NAME(#W) " not enabled, bailing\n"); \
             return NV_ERR_NOT_SUPPORTED;           \
         }                                          \
     } while(0)
#define RMCFG_CLASS_ENABLED_OR_ASSERT_AND_BAIL(W)   \
     do {                                           \
         if ( ! RMCFG_CLASS_##W)                    \
         {                                          \
             NV_PRINTF(LEVEL_ERROR, "CLASS" RMCFG_ENTITY_NAME(#W) " not enabled, assert and bail\n"); \
             NV_ASSERT_PRECOMP(RMCFG_CLASS_##W);            \
             return NV_ERR_NOT_SUPPORTED;           \
         }                                          \
     } while(0)

// API's
#define RMCFG_API_ENABLED_OR_BAIL(W)                \
     do {                                           \
         if ( ! RMCFG_API_##W)                      \
         {                                          \
             NV_PRINTF(LEVEL_ERROR, "API" RMCFG_ENTITY_NAME(#W) " not enabled, bailing\n"); \
             return NV_ERR_NOT_SUPPORTED;           \
         }                                          \
     } while(0)
#define RMCFG_API_ENABLED_OR_ASSERT_AND_BAIL(W)     \
     do {                                           \
         if ( ! RMCFG_API_##W)                      \
         {                                          \
             NV_PRINTF(LEVEL_ERROR, "API" RMCFG_ENTITY_NAME(#W) " not enabled, assert and bail\n"); \
             NV_ASSERT_PRECOMP(RMCFG_API_##W);              \
             return NV_ERR_NOT_SUPPORTED;           \
         }                                          \
     } while(0)



#endif  // _G_RMCFG_PRIVATE_H_
