]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c
drm/nouveau/disp: introduce input/output resource abstraction
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / nvkm / engine / disp / piornv50.c
index cf85f8324ad474f68557cda1516d0f568b3ebed4..f81ba52c8c19105755f2e71072006720fb02aa4b 100644 (file)
@@ -21,6 +21,7 @@
  *
  * Authors: Ben Skeggs
  */
+#include "ior.h"
 #include "nv50.h"
 
 #include <core/client.h>
@@ -119,3 +120,13 @@ nv50_pior_power(NV50_DISP_MTHD_V1)
        disp->pior.type[outp->or] = type;
        return 0;
 }
+
+static const struct nvkm_ior_func
+nv50_pior = {
+};
+
+int
+nv50_pior_new(struct nvkm_disp *disp, int id)
+{
+       return nvkm_ior_new_(&nv50_pior, disp, PIOR, id);
+}