drm/nouveau: add some comments about class fields
Subsystems (3)
PATCH 1/1 drm/nouveau: add some comments about class fields
Signed-off-by Marcin Slusarz <[email protected]>
--- 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(+)
drivers/gpu/drm/nouveau/core/include/core/engine.h +4 -0
@@ -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;
drivers/gpu/drm/nouveau/core/include/core/parent.h +1 -0
@@ -13,6 +13,7 @@ struct nouveau_sclass {struct nouveau_parent {struct nouveau_object base; +/* subclass */ struct nouveau_sclass *sclass;u32 engine;
Signature · 1 line
1.7.12