Displaying 1 result from an estimated 1 matches for "nvdev_engine_for_vm_engine".
2012 Dec 05
2
[RFC PATCH] drm/nouveau: report channel owner in error messages
...bject.h>
+
+#include <engine/fifo.h>
+#include <engine/graph.h>
#include <subdev/fb.h>
#include <subdev/bios.h>
@@ -317,6 +322,19 @@ static const struct nouveau_enum vm_engine[] = {
{}
};
+static const struct nouveau_engine_map {
+ u32 value;
+ int engines[3];
+} nvdev_engine_for_vm_engine[] = {
+ { 0x00000000, {NVDEV_ENGINE_GR, 0} },
+ { 0x00000001, {NVDEV_ENGINE_VP, 0} },
+ { 0x00000005, {NVDEV_ENGINE_FIFO, 0} },
+ { 0x00000008, {NVDEV_ENGINE_PPP, NVDEV_ENGINE_MPEG, 0} },
+ { 0x00000009, {NVDEV_ENGINE_BSP, 0} },
+ { 0x0000000a, {NVDEV_ENGINE_CRYPT, 0} },
+ { 0x0000000d, {NVDEV_ENGI...