summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c
index 727f7ac29f86..d904a9b19fec 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c
@@ -23,11 +23,12 @@
#include "head.h"
#include "ior.h"
#include "channv50.h"
-#include "rootnv50.h"
#include <core/gpuobj.h>
#include <subdev/timer.h>
+#include <nvif/class.h>
+
int
tu102_disp_init(struct nvkm_disp *disp)
{
@@ -144,7 +145,15 @@ tu102_disp = {
.head = { .cnt = gv100_head_cnt, .new = gv100_head_new },
.sor = { .cnt = gv100_sor_cnt, .new = tu102_sor_new },
.ramht_size = 0x2000,
- .root = &tu102_disp_root_oclass,
+ .root = { 0, 0,TU102_DISP },
+ .user = {
+ {{-1,-1,GV100_DISP_CAPS }, gv100_disp_caps_new },
+ {{ 0, 0,TU102_DISP_CURSOR }, gv100_disp_curs_new },
+ {{ 0, 0,TU102_DISP_WINDOW_IMM_CHANNEL_DMA}, gv100_disp_wimm_new },
+ {{ 0, 0,TU102_DISP_CORE_CHANNEL_DMA }, gv100_disp_core_new },
+ {{ 0, 0,TU102_DISP_WINDOW_CHANNEL_DMA }, gv100_disp_wndw_new },
+ {}
+ },
};
int