]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c
drm/nouveau/disp: introduce input/output resource abstraction
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / nvkm / engine / disp / sorg94.c
index 732dda51375250be8865bb60456b374dffae806f..87b097327e294f66530a489a3954b8cf32fea5cf 100644 (file)
@@ -21,6 +21,7 @@
  *
  * Authors: Ben Skeggs
  */
+#include "ior.h"
 #include "nv50.h"
 
 #include <subdev/timer.h>
@@ -276,3 +277,13 @@ nv50_disp_dptmds_war_2(struct nv50_disp *disp, struct dcb_output *outp)
                nvkm_wr32(device, 0x61c040 + soff + pu_pc * 4, 0x1f008000);
        }
 }
+
+static const struct nvkm_ior_func
+g94_sor = {
+};
+
+int
+g94_sor_new(struct nvkm_disp *disp, int id)
+{
+       return nvkm_ior_new_(&g94_sor, disp, SOR, id);
+}