diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-12-20 00:24:21 -0500 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-12-20 00:24:21 -0500 |
commit | 00e95d3ef6b23997d89b1334699427424d8cb9e6 (patch) | |
tree | 5f31c93eb12d2c7992a2b60c96c1eacb4a520ba8 /demmt | |
parent | 890e9178d5d8117edd5417c84f400d72b6ab6f20 (diff) |
demmt: add support for gk20a_extended_components option
Diffstat (limited to 'demmt')
-rw-r--r-- | demmt/object_state.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demmt/object_state.c b/demmt/object_state.c index a50dae1b..3bbcd90a 100644 --- a/demmt/object_state.c +++ b/demmt/object_state.c @@ -71,6 +71,7 @@ struct rnndeccontext *create_g80_texture_ctx(struct gpu_object *obj) struct rnnenum *chs = rnn_findenum(rnndb, "chipset"); FINDARRAY(chs->vals, v, v->value == (uint64_t)nvrm_get_chipset(obj)); rnndec_varadd(texture_ctx, "chipset", v ? v->name : "NV1"); + rnndec_varadd(texture_ctx, "gk20a_extended_components", "NO"); return texture_ctx; } @@ -95,6 +96,9 @@ void decode_tic(struct rnndeccontext *texture_ctx, uint32_t tic, uint32_t *data) { int idx; + rnndec_varmod(texture_ctx, "gk20a_extended_components", + data[0] & 0x80000000 ? "YES" : "NO"); + for (idx = 0; idx < 8; idx++) { struct rnndecaddrinfo *ai = rnndec_decodeaddr(texture_ctx, tic_domain, idx * 4, 1); |