diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2013-03-27 22:16:54 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-04-26 15:37:41 +1000 |
commit | 7e22e71e80fe35592fbc64a0e382108a8ce28495 (patch) | |
tree | 56a4866445e32a5e59e0e0cbc3f6153b5d52a7b9 /drivers/gpu/drm/nouveau/core/include | |
parent | e30441adb91b020044f257c5c8e41022f3406ba1 (diff) | |
download | talos-obmc-linux-7e22e71e80fe35592fbc64a0e382108a8ce28495.tar.gz talos-obmc-linux-7e22e71e80fe35592fbc64a0e382108a8ce28495.zip |
drm/nvc0-: support NOUVEAU_GETPARAM_GRAPH_UNITS
Signed-off-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/engine/graph.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/engine/graph.h b/drivers/gpu/drm/nouveau/core/include/engine/graph.h index 6943b40d0817..5d392439f2ac 100644 --- a/drivers/gpu/drm/nouveau/core/include/engine/graph.h +++ b/drivers/gpu/drm/nouveau/core/include/engine/graph.h @@ -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 * |