All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/nouveau: add some comments about class fields
@ 2012-10-07 22:49 Marcin Slusarz
  0 siblings, 0 replies; only message in thread
From: Marcin Slusarz @ 2012-10-07 22:49 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Signed-off-by: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-07 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07 22:49 [PATCH] drm/nouveau: add some comments about class fields Marcin Slusarz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.