drm/nouveau/fbcon: convert accel_init() to new push macros
[linux-2.6-microblaze.git] / drivers / gpu / drm / nouveau / include / nvif / push206e.h
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