Skip to content
  • Daniel Vetter's avatar
    drm: document drm_ioctl.[hc] · 2640981f
    Daniel Vetter authored
    
    
    Also unify/merge with the existing stuff.
    
    I was a bit torn where to put this, but in the end I decided to put
    all the ioctl/sysfs/debugfs stuff into drm-uapi.rst. That means we
    have a bit a split with the other uapi related stuff used internally,
    like drm_file.[hc], but I think overall this makes more sense.
    
    If it's too confusing we can always add more cross-links to make it
    more discoverable. But the auto-sprinkling of links kernel-doc already
    does seems sufficient.
    
    Also for prettier docs and more cross-links, switch the internal
    defines over to an enum, as usual.
    
    v2: Update kerneldoc fro drm_compat_ioctl too (caught by 0day), plus a
    bit more drive-by polish.
    
    v3: Fix typo, spotted by xerpi on irc (Sergi).
    
    v4: Add missing space in comment (Neil).
    
    Cc: Sergi Granell <xerpi.g.12@gmail.com>
    Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    Link: http://patchwork.freedesktop.org/patch/msgid/20170404095304.17599-4-daniel.vetter@ffwll.ch
    2640981f