diff options
Diffstat (limited to 'nvdebug.h')
-rw-r--r-- | nvdebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1036,10 +1036,10 @@ struct nvdebug_state { | |||
1036 | #define VERSIONED_RL_ACCESSOR(_ENTRY_TYPE, type, prop) \ | 1036 | #define VERSIONED_RL_ACCESSOR(_ENTRY_TYPE, type, prop) \ |
1037 | __attribute__((unused)) \ | 1037 | __attribute__((unused)) \ |
1038 | static type (prop)(const struct nvdebug_state *g, const void *raw) { \ | 1038 | static type (prop)(const struct nvdebug_state *g, const void *raw) { \ |
1039 | if (g->chip_id > NV_CHIP_ID_VOLTA) { \ | 1039 | if (g->chip_id >= NV_CHIP_ID_VOLTA) { \ |
1040 | const struct gv100_runlist_ ## _ENTRY_TYPE *entry = (struct gv100_runlist_ ## _ENTRY_TYPE*)raw; \ | 1040 | const struct gv100_runlist_ ## _ENTRY_TYPE *entry = (struct gv100_runlist_ ## _ENTRY_TYPE*)raw; \ |
1041 | return entry->prop; \ | 1041 | return entry->prop; \ |
1042 | } else if (g->chip_id > NV_CHIP_ID_KEPLER) { \ | 1042 | } else if (g->chip_id >= NV_CHIP_ID_KEPLER) { \ |
1043 | const struct gk110_runlist_ ## _ENTRY_TYPE *entry = (struct gk110_runlist_ ## _ENTRY_TYPE*)raw; \ | 1043 | const struct gk110_runlist_ ## _ENTRY_TYPE *entry = (struct gk110_runlist_ ## _ENTRY_TYPE*)raw; \ |
1044 | return entry->prop; \ | 1044 | return entry->prop; \ |
1045 | } else { \ | 1045 | } else { \ |