]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/nouveau/core/include/engine/graph.h
drm/nvc0-: support NOUVEAU_GETPARAM_GRAPH_UNITS
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / core / include / engine / graph.h
index 6943b40d081740e58ac27753092a7665046af2c7..5d392439f2acfaf9b612212694a92cb2569b33da 100644 (file)
@@ -26,6 +26,10 @@ struct nouveau_graph_chan {
 
 struct nouveau_graph {
        struct nouveau_engine base;
+
+       /* Returns chipset-specific counts of units packed into an u64.
+        */
+       u64 (*units)(struct nouveau_graph *);
 };
 
 static inline struct nouveau_graph *