Home
last modified time | relevance | path

Searched refs:mthd (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_local.h102 PUSH_MTHDl(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDl() argument
105 nouveau_bufctx_mthd(BUFCTX(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDl()
111 PUSH_MTHDs(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDs() argument
115 nouveau_bufctx_mthd(BUFCTX(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDs()
125 PUSH_MTHD(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHD() argument
129 nouveau_bufctx_mthd(BUFCTX(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHD()
146 BEGIN_NV04(struct nouveau_pushbuf *push, int subc, int mthd, int size) in BEGIN_NV04() argument
149 PUSH_DATA (push, 0x00000000 | (size << 18) | (subc << 13) | mthd); in BEGIN_NV04()
153 BEGIN_NI04(struct nouveau_pushbuf *push, int subc, int mthd, int size) in BEGIN_NI04() argument
156 PUSH_DATA (push, 0x40000000 | (size << 18) | (subc << 13) | mthd); in BEGIN_NI04()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_winsys.h50 PUSH_MTHDl(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDl() argument
53 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDl()
59 PUSH_MTHDo(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDo() argument
62 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDo()
71 PUSH_MTHDs(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHDs() argument
75 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHDs()
84 PUSH_MTHD(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_MTHD() argument
89 nouveau_bufctx_mthd(bufctx(push), bin, (1 << 18) | (subc << 13) | mthd, in PUSH_MTHD()
103 PUSH_RESRC(struct nouveau_pushbuf *push, int subc, int mthd, int bin, in PUSH_RESRC() argument
107 PUSH_MTHD(push, subc, mthd, bin, r->bo, r->offset + data, in PUSH_RESRC()
[all …]
Dnv30_state.h14 #define SB_MTHD30(so, mthd, size) \ argument
15 SB_DATA((so), ((size) << 18) | (7 << 13) | NV30_3D_##mthd)
16 #define SB_MTHD35(so, mthd, size) \ argument
17 SB_DATA((so), ((size) << 18) | (7 << 13) | NV35_3D_##mthd)
18 #define SB_MTHD40(so, mthd, size) \ argument
19 SB_DATA((so), ((size) << 18) | (7 << 13) | NV40_3D_##mthd)
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.h53 #define SUBC_MPEG(mthd) 1, mthd argument
54 #define NV31_MPEG(mthd) SUBC_MPEG(NV31_MPEG_##mthd) argument
55 #define NV84_MPEG(mthd) SUBC_MPEG(NV84_MPEG_##mthd) argument
58 NV04_FIFO_PKHDR(int subc, int mthd, unsigned size) in NV04_FIFO_PKHDR() argument
60 return 0x00000000 | (size << 18) | (subc << 13) | mthd; in NV04_FIFO_PKHDR()
64 NV04_FIFO_PKHDR_NI(int subc, int mthd, unsigned size) in NV04_FIFO_PKHDR_NI() argument
66 return 0x40000000 | (size << 18) | (subc << 13) | mthd; in NV04_FIFO_PKHDR_NI()
70 BEGIN_NV04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NV04() argument
73 PUSH_DATA (push, NV04_FIFO_PKHDR(subc, mthd, size)); in BEGIN_NV04()
77 BEGIN_NI04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NI04() argument
[all …]
Dnouveau_statebuf.h23 static inline uint32_t sb_header(unsigned subc, unsigned mthd, unsigned size) in sb_header() argument
25 return (size << 18) | (subc << 13) | mthd; in sb_header()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_winsys.h74 NVC0_FIFO_PKHDR_SQ(int subc, int mthd, unsigned size) in NVC0_FIFO_PKHDR_SQ() argument
76 return 0x20000000 | (size << 16) | (subc << 13) | (mthd >> 2); in NVC0_FIFO_PKHDR_SQ()
80 NVC0_FIFO_PKHDR_NI(int subc, int mthd, unsigned size) in NVC0_FIFO_PKHDR_NI() argument
82 return 0x60000000 | (size << 16) | (subc << 13) | (mthd >> 2); in NVC0_FIFO_PKHDR_NI()
86 NVC0_FIFO_PKHDR_IL(int subc, int mthd, uint16_t data) in NVC0_FIFO_PKHDR_IL() argument
89 return 0x80000000 | (data << 16) | (subc << 13) | (mthd >> 2); in NVC0_FIFO_PKHDR_IL()
93 NVC0_FIFO_PKHDR_1I(int subc, int mthd, unsigned size) in NVC0_FIFO_PKHDR_1I() argument
95 return 0xa0000000 | (size << 16) | (subc << 13) | (mthd >> 2); in NVC0_FIFO_PKHDR_1I()
113 BEGIN_NVC0(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NVC0() argument
118 PUSH_DATA (push, NVC0_FIFO_PKHDR_SQ(subc, mthd, size)); in BEGIN_NVC0()
[all …]
Dnvc0_surface.c91 uint32_t mthd = dst ? NV50_2D_DST_FORMAT : NV50_2D_SRC_FORMAT; in nvc0_2d_texture_set() local
118 BEGIN_NVC0(push, SUBC_2D(mthd), 2); in nvc0_2d_texture_set()
121 BEGIN_NVC0(push, SUBC_2D(mthd + 0x14), 5); in nvc0_2d_texture_set()
128 BEGIN_NVC0(push, SUBC_2D(mthd), 5); in nvc0_2d_texture_set()
134 BEGIN_NVC0(push, SUBC_2D(mthd + 0x18), 4); in nvc0_2d_texture_set()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_winsys.h66 NV50_FIFO_PKHDR(int subc, int mthd, unsigned size) in NV50_FIFO_PKHDR() argument
68 return 0x00000000 | (size << 18) | (subc << 13) | mthd; in NV50_FIFO_PKHDR()
72 NV50_FIFO_PKHDR_NI(int subc, int mthd, unsigned size) in NV50_FIFO_PKHDR_NI() argument
74 return 0x40000000 | (size << 18) | (subc << 13) | mthd; in NV50_FIFO_PKHDR_NI()
78 NV50_FIFO_PKHDR_L(int subc, int mthd) in NV50_FIFO_PKHDR_L() argument
80 return 0x00030000 | (subc << 13) | mthd; in NV50_FIFO_PKHDR_L()
98 BEGIN_NV04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NV04() argument
103 PUSH_DATA (push, NV50_FIFO_PKHDR(subc, mthd, size)); in BEGIN_NV04()
107 BEGIN_NI04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NI04() argument
112 PUSH_DATA (push, NV50_FIFO_PKHDR_NI(subc, mthd, size)); in BEGIN_NI04()
[all …]
Dnv50_surface.c89 uint32_t mthd = dst ? NV50_2D_DST_FORMAT : NV50_2D_SRC_FORMAT; in nv50_2d_texture_set() local
115 BEGIN_NV04(push, SUBC_2D(mthd), 2); in nv50_2d_texture_set()
118 BEGIN_NV04(push, SUBC_2D(mthd + 0x14), 5); in nv50_2d_texture_set()
125 BEGIN_NV04(push, SUBC_2D(mthd), 5); in nv50_2d_texture_set()
131 BEGIN_NV04(push, SUBC_2D(mthd + 0x18), 4); in nv50_2d_texture_set()
/external/libdrm/nouveau/
Dnouveau.c93 uint32_t mthd, void *data, uint32_t size) in nouveau_object_mthd() argument
98 struct nvif_ioctl_mthd_v0 mthd; in nouveau_object_mthd() member
115 args->mthd.version = 0; in nouveau_object_mthd()
116 args->mthd.method = mthd; in nouveau_object_mthd()
118 memcpy(args->mthd.data, data, size); in nouveau_object_mthd()
120 memcpy(data, args->mthd.data, size); in nouveau_object_mthd()
Dnouveau.h36 int nouveau_object_mthd(struct nouveau_object *, uint32_t mthd,