25 Jan, 2017

1 commit

  • I just learned that &struct_name.member_name works and looks pretty
    even. It doesn't (yet) link to the member directly though, which would
    be really good for big structures or vfunc tables (where the
    per-member kerneldoc tends to be long).

    Also some minor drive-by polish where it makes sense, I read a lot
    of docs ...

    v2: Review from Gustavo.

    Cc: Jani Nikula
    Cc: Chris Wilson
    Reviewed-by: Gustavo Padovan
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-6-daniel.vetter@ffwll.ch

    Daniel Vetter
     

30 Dec, 2016

1 commit

  • sed -e 's/\( \* .*\)struct &\([_a-z]*\)/\1\&struct \2/' -i

    Originally I wasnt a friend of this style because I thought a
    line-break between the "&struct" and "foo" part would break it. But a
    quick test shows that " * &struct \n * foo\n" works pefectly well with
    current kernel-doc. So time to mass-apply these changes!

    Cc: Jani Nikula
    Cc: Chris Wilson
    Reviewed-by: David Herrmann
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-6-git-send-email-daniel.vetter@ffwll.ch

    Daniel Vetter
     

13 Dec, 2016

1 commit

  • No one looks at the major/minor versions except the unique/busid
    stuff. If we protect that with the master_mutex (since it also affects
    the unique of each master, oh well) we can mark these two IOCTL with
    DRM_UNLOCKED.

    While doing this I realized that the comment for the magic_map is
    outdated, I've forgotten to update it in:

    commit d2b34ee62b409a03c6fe43c07b779983be51d017
    Author: Daniel Vetter
    Date: Fri Jun 17 09:33:21 2016 +0200

    drm: Protect authmagic with master_mutex

    Cc: Chris Wilson
    Cc: Emil Velikov
    Reviewed-by: Chris Wilson
    Reviewed-by: Emil Velikov
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20161210215255.7765-1-daniel.vetter@ffwll.ch

    Daniel Vetter
     

22 Jun, 2016

1 commit

  • Also extract drm_auth.h for nicer grouping.

    v2: Nuke the other comments since they don't really explain a lot, and
    within the drm core we generally only document functions exported to
    drivers: The main audience for these docs are driver writers.

    v3: Limit the exposure of drm_master internals by only including
    drm_auth.h where it is neede (Chris).

    v4: Spelling polish (Emil).

    Cc: Chris Wilson
    Reviewed-by: Chris Wilson
    Reviewed-by: Emil Velikov
    Signed-off-by: Daniel Vetter

    Daniel Vetter