Signed-off-by: Marcin Slusarz <marcin.slus...@gmail.com>
---
 drivers/gpu/drm/nouveau/core/include/core/engine.h | 4 ++++
 drivers/gpu/drm/nouveau/core/include/core/parent.h | 1 +
 2 files changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/nouveau/core/include/core/engine.h 
b/drivers/gpu/drm/nouveau/core/include/core/engine.h
index 666d06d..09b2828 100644
--- a/drivers/gpu/drm/nouveau/core/include/core/engine.h
+++ b/drivers/gpu/drm/nouveau/core/include/core/engine.h
@@ -9,7 +9,11 @@
 
 struct nouveau_engine {
        struct nouveau_subdev base;
+
+       /* context class */
        struct nouveau_oclass *cclass;
+
+       /* array of possible subclasses */
        struct nouveau_oclass *sclass;
 
        struct list_head contexts;
diff --git a/drivers/gpu/drm/nouveau/core/include/core/parent.h 
b/drivers/gpu/drm/nouveau/core/include/core/parent.h
index 58bf6b5..31a32b0 100644
--- a/drivers/gpu/drm/nouveau/core/include/core/parent.h
+++ b/drivers/gpu/drm/nouveau/core/include/core/parent.h
@@ -13,6 +13,7 @@ struct nouveau_sclass {
 struct nouveau_parent {
        struct nouveau_object base;
 
+       /* subclass */
        struct nouveau_sclass *sclass;
        u32 engine;
 
-- 
1.7.12

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to