[Nouveau] [PATCH v2 0/5] move pstate interface to debugfs

Karol Herbst nouveau at karolherbst.de
Mon Nov 9 07:11:23 PST 2015


I made a little changes in this series:
1. merge the two last patches together
2. unify the private data interface with the drm debugfs one

now it should be very obvious for a new dev on how to add new files to debugfs
and how to get access to the nouveau structs

Karol Herbst (5):
  debugfs: add infrastructure to add files with other fops than only
    read
  debugfs: rename functions to indicate they are used inside drm
  debugfs: we need a ctrl object for debugfs
  debugfs: add copy of sysfs pstate interface ported to debugfs
  sysfs: remove pstate sysfs interface

 drm/nouveau/Kbuild            |   1 -
 drm/nouveau/nouveau_debugfs.c | 230 +++++++++++++++++++++++++++++++++++++++++-
 drm/nouveau/nouveau_debugfs.h |  35 ++++++-
 drm/nouveau/nouveau_drm.c     |  10 +-
 drm/nouveau/nouveau_drm.h     |   2 +-
 drm/nouveau/nouveau_sysfs.c   | 197 ------------------------------------
 drm/nouveau/nouveau_sysfs.h   |  21 ----
 7 files changed, 262 insertions(+), 234 deletions(-)
 delete mode 100644 drm/nouveau/nouveau_sysfs.c
 delete mode 100644 drm/nouveau/nouveau_sysfs.h

-- 
2.6.3



More information about the Nouveau mailing list