xref: /linux/drivers/gpu/drm/nouveau/include/nvif/push206e.h (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1 #ifndef __NVIF_PUSH206E_H__
2 #define __NVIF_PUSH206E_H__
3 #include <nvif/push006c.h>
4 
5 #include <nvhw/class/cl206e.h>
6 
7 #define PUSH_CALL(p,o) do {                                         \
8         PUSH_ASSERT(!((o) & ~0xffffffffcULL), "offset");            \
9 	PUSH_DATA__((p), NVDEF(NV206E, DMA, OPCODE2, CALL) |        \
10 			 NVVAL(NV206E, DMA, CALL_OFFSET, (o) >> 2), \
11 		    " call 0x%08x - %s", (u32)(o), __func__);       \
12 } while(0)
13 #endif
14