xref: /linux/drivers/gpu/drm/nouveau/include/nvif/push206e.h (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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