forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
....@@ -28,7 +28,6 @@
2828 #include "rootnv50.h"
2929
3030 #include <core/client.h>
31
-#include <core/enum.h>
3231 #include <core/ramht.h>
3332 #include <subdev/bios.h>
3433 #include <subdev/bios/disp.h>
....@@ -593,12 +592,15 @@
593592 nvkm_wr32(device, 0x610030, 0x80000000);
594593 }
595594
596
-static const struct nvkm_enum
595
+const struct nvkm_enum
597596 nv50_disp_intr_error_type[] = {
598
- { 3, "ILLEGAL_MTHD" },
599
- { 4, "INVALID_VALUE" },
597
+ { 0, "NONE" },
598
+ { 1, "PUSHBUFFER_ERR" },
599
+ { 2, "TRAP" },
600
+ { 3, "RESERVED_METHOD" },
601
+ { 4, "INVALID_ARG" },
600602 { 5, "INVALID_STATE" },
601
- { 7, "INVALID_HANDLE" },
603
+ { 7, "UNRESOLVABLE_HANDLE" },
602604 {}
603605 };
604606