See definition of nouveau_grctx above, ctx->data is simply a pointer of ctxprog array.