search for: ctxprog_reg

Displaying 2 results from an estimated 2 matches for "ctxprog_reg".

Did you mean: ctxprog_len
2011 Dec 28
0
[PATCH] drm/nouveau: move definition of nouveau_grctx to separate file
...gpu/drm/nouveau/nouveau_grctx.h @@ -1,24 +1,8 @@ #ifndef __NOUVEAU_GRCTX_H__ #define __NOUVEAU_GRCTX_H__ -struct nouveau_grctx { - struct drm_device *dev; - - enum { - NOUVEAU_GRCTX_PROG, - NOUVEAU_GRCTX_VALS - } mode; - void *data; - - uint32_t ctxprog_max; - uint32_t ctxprog_len; - uint32_t ctxprog_reg; - int ctxprog_label[32]; - uint32_t ctxvals_pos; - uint32_t ctxvals_base; -}; - -#ifdef CP_CTX +#include "nouveau_grctx_def.h" + static inline void cp_out(struct nouveau_grctx *ctx, uint32_t inst) { @@ -128,6 +112,5 @@ gr_def(struct nouveau_grctx *ctx, uint32_t reg, uint32_t val)...
2012 Apr 15
0
[PATCH resend] drm/nouveau: move definition of nouveau_grctx to separate file
...gpu/drm/nouveau/nouveau_grctx.h @@ -1,24 +1,8 @@ #ifndef __NOUVEAU_GRCTX_H__ #define __NOUVEAU_GRCTX_H__ -struct nouveau_grctx { - struct drm_device *dev; - - enum { - NOUVEAU_GRCTX_PROG, - NOUVEAU_GRCTX_VALS - } mode; - void *data; - - uint32_t ctxprog_max; - uint32_t ctxprog_len; - uint32_t ctxprog_reg; - int ctxprog_label[32]; - uint32_t ctxvals_pos; - uint32_t ctxvals_base; -}; - -#ifdef CP_CTX +#include "nouveau_grctx_def.h" + static inline void cp_out(struct nouveau_grctx *ctx, uint32_t inst) { @@ -128,6 +112,5 @@ gr_def(struct nouveau_grctx *ctx, uint32_t reg, uint32_t val)...