Skip to contentSkip to conversation

doc: dma-buf: sphinx conversion

PATCH In review Sumit Semwal 5 participants 12 messages Aug 22, 2016 – Aug 23, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover doc: dma-buf: sphinx conversion

Convert dma-buf documentation over to sphinx.

While at that, convert dma-buf-sharing.txt as well, and make it the dma-buf API guide.

There is no content change yet; only format conversion and creation of some hyperlinks.

v2: Address review comments from Jonathan Corbet and Markus Heiser.

Sumit Semwal (2):
Documentation: move dma-buf documentation to rst Documentation/sphinx: link dma-buf rsts

 Documentation/DocBook/device-drivers.tmpl |  41 ---
 Documentation/dma-buf-sharing.txt         | 482 ----------------------------
 Documentation/dma-buf/guide.rst           | 507 ++++++++++++++++++++++++++++++
 Documentation/dma-buf/intro.rst           |  82 +++++
 Documentation/index.rst                   |   2 +
 MAINTAINERS                               |   2 +-
 6 files changed, 592 insertions(+), 524 deletions(-)
 delete mode 100644 Documentation/dma-buf-sharing.txt
 create mode 100644 Documentation/dma-buf/guide.rst
 create mode 100644 Documentation/dma-buf/intro.rst
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

PATCH v2 1/2 Documentation: move dma-buf documentation to rst

Branch out dma-buf related documentation into its own rst file to allow adding it to the sphinx documentation generated.

While at it, move dma-buf-sharing.txt into rst as the dma-buf guide too; adjust MAINTAINERS accordingly.

v2:
- Removed authorship as suggested by Jani,
- Address review comments from Jonathan Corbet and Markus Heiser.

---
 Documentation/DocBook/device-drivers.tmpl |  41 ---
 Documentation/dma-buf-sharing.txt         | 482 ----------------------------
 Documentation/dma-buf/guide.rst           | 507 ++++++++++++++++++++++++++++++
 Documentation/dma-buf/intro.rst           |  82 +++++
 MAINTAINERS                               |   2 +-
 5 files changed, 590 insertions(+), 524 deletions(-)
 delete mode 100644 Documentation/dma-buf-sharing.txt
 create mode 100644 Documentation/dma-buf/guide.rst
 create mode 100644 Documentation/dma-buf/intro.rst
Documentation/DocBook/device-drivers.tmpl +0 -41
index 9c10030eb2be..a93fbffa9742 100644
@@ -128,47 +128,6 @@ X!Edrivers/base/interface.c
 !Edrivers/base/platform.c
 !Edrivers/base/bus.c
      </sect1>
-     <sect1>
-       <title>Buffer Sharing and Synchronization</title>
-       <para>
-         The dma-buf subsystem provides the framework for sharing buffers
-         for hardware (DMA) access across multiple device drivers and
-         subsystems, and for synchronizing asynchronous hardware access.
-       </para>
-       <para>
-         This is used, for example, by drm "prime" multi-GPU support, but
-         is of course not limited to GPU use cases.
-       </para>
-       <para>
-         The three main components of this are: (1) dma-buf, representing
-         a sg_table and exposed to userspace as a file descriptor to allow
-         passing between devices, (2) fence, which provides a mechanism
-         to signal when one device as finished access, and (3) reservation,
-         which manages the shared or exclusive fence(s) associated with
-         the buffer.
-       </para>
-       <sect2><title>dma-buf</title>
-!Edrivers/dma-buf/dma-buf.c
-!Iinclude/linux/dma-buf.h
-       </sect2>
-       <sect2><title>reservation</title>
-!Pdrivers/dma-buf/reservation.c Reservation Object Overview
-!Edrivers/dma-buf/reservation.c
-!Iinclude/linux/reservation.h
-       </sect2>
-       <sect2><title>fence</title>
-!Edrivers/dma-buf/fence.c
-!Iinclude/linux/fence.h
-!Edrivers/dma-buf/seqno-fence.c
-!Iinclude/linux/seqno-fence.h
-!Edrivers/dma-buf/fence-array.c
-!Iinclude/linux/fence-array.h
-!Edrivers/dma-buf/reservation.c
-!Iinclude/linux/reservation.h
-!Edrivers/dma-buf/sync_file.c
-!Iinclude/linux/sync_file.h
-       </sect2>
-     </sect1>
      <sect1><title>Device Drivers DMA Management</title>
 !Edrivers/base/dma-coherent.c
 !Edrivers/base/dma-mapping.c
Documentation/dma-buf-sharing.txt deleted +0 -482

482 lines not on this page · raw message

Documentation/dma-buf/guide.rst new file +507 -0

507 lines not on this page · raw message

Documentation/dma-buf/intro.rst new file +82 -0

82 lines not on this page · raw message

MAINTAINERS +1 -1
index 0bbe4b105c34..dd422c6e54fe 100644
@@ -3838,7 +3838,7 @@ F:	drivers/dma-buf/
 F:	include/linux/dma-buf*
 F:	include/linux/reservation.h
 F:	include/linux/*fence.h
-F:	Documentation/dma-buf-sharing.txt
+F:	Documentation/dma-buf/
 T:	git git://git.linaro.org/people/sumitsemwal/linux-dma-buf.git
 
 SYNC FILE FRAMEWORK
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

PATCH v2 2/2 Documentation/sphinx: link dma-buf rsts

In reply to Sumit Semwal

Include dma-buf sphinx documentation into top level index.

---
 Documentation/index.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/index.rst +2 -0
index e0fc72963e87..8d05070122c2 100644
@@ -14,6 +14,8 @@ Contents:
    :maxdepth: 2
 
    kernel-documentation
+   dma-buf/intro
+   dma-buf/guide
    media/media_uapi
    media/media_kapi
    media/dvb-drivers/index
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

Em Mon, 22 Aug 2016 20:41:45 +0530
Sumit Semwal <[email protected]> escreveu:

Quoted 12 lines

Include dma-buf sphinx documentation into top level index.

---
 Documentation/index.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/index.rst +0 -0
index e0fc72963e87..8d05070122c2 100644

Documentation/index.rst Contents: · line 21

Quoted 8 lines
Documentation/index.rst +2 -0
@@ -14,6 +14,8 @@ Contents:
    :maxdepth: 2
 
    kernel-documentation
+   dma-buf/intro
+   dma-buf/guide
    media/media_uapi
    media/media_kapi
    media/dvb-drivers/index

IMHO, the best would be, instead, to add an index with a toctree with both intro and guide, and add dma-buf/index instead.

We did that for media too (patches not merged upstream yet), together with a patchset that will allow building just a subset of the books.

Regards,
Mauro

PS.: That's the content of our index.rst file, at
Documentation/media/index.rst:

Linux Media Subsystem Documentation
===================================

Contents:

.. toctree::
:maxdepth: 2

media_uapi
media_kapi
dvb-drivers/index
v4l-drivers/index

.. only:: subproject

Indices
=======

* :ref:genindex

Thanks,
Mauro

#4 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

Quoted 27 lines · Mauro Carvalho Chehab

Em Mon, 22 Aug 2016 20:41:45 +0530
Sumit Semwal <[email protected]> escreveu:

Quoted 12 lines

Include dma-buf sphinx documentation into top level index.

---
 Documentation/index.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/index.rst +0 -0
index e0fc72963e87..8d05070122c2 100644

Documentation/index.rst Contents: · line 21

Quoted 8 lines
Documentation/index.rst +2 -0
@@ -14,6 +14,8 @@ Contents:
    :maxdepth: 2
 
    kernel-documentation
+   dma-buf/intro
+   dma-buf/guide
    media/media_uapi
    media/media_kapi
    media/dvb-drivers/index

IMHO, the best would be, instead, to add an index with a toctree with both intro and guide, and add dma-buf/index instead.

Quoted 2 lines

We did that for media too (patches not merged upstream yet), together with a patchset that will allow building just a subset of the books.

I'm also not too sure about whether dma-buf really should be it's own subdirectory. It's plucked from the device-drivers.tmpl, I think an overall device-drivers/ for all the misc subsystems and support code would be better. Then one toc there, which fans out to either kernel-doc and overview docs.
-Daniel

Quoted 34 lines

Regards,
Mauro

PS.: That's the content of our index.rst file, at
Documentation/media/index.rst:

Linux Media Subsystem Documentation
===================================

Contents:

.. toctree::
:maxdepth: 2

media_uapi
media_kapi
dvb-drivers/index
v4l-drivers/index

.. only:: subproject

Indices
=======

* :ref:genindex

Thanks,
Mauro
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
#5 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

Am 23.08.2016 um 08:01 schrieb Daniel Vetter <[email protected]>:

Quoted 28 lines · Mauro Carvalho Chehab
Quoted 27 lines

Em Mon, 22 Aug 2016 20:41:45 +0530
Sumit Semwal <[email protected]> escreveu:

Quoted 12 lines

Include dma-buf sphinx documentation into top level index.

---
Documentation/index.rst | 2 ++

1 file changed, 2 insertions(+)
Documentation/index.rst +0 -0
index e0fc72963e87..8d05070122c2 100644

Documentation/index.rst Contents: · line 21

Quoted 8 lines
Documentation/index.rst +2 -0
@@ -14,6 +14,8 @@ Contents:
   :maxdepth: 2
 
   kernel-documentation
+   dma-buf/intro
+   dma-buf/guide
   media/media_uapi
   media/media_kapi
   media/dvb-drivers/index

IMHO, the best would be, instead, to add an index with a toctree with both intro and guide, and add dma-buf/index instead.

Quoted 2 lines
Quoted 2 lines

We did that for media too (patches not merged upstream yet), together with a patchset that will allow building just a subset of the books.

Since 606b9ac, one more *pro* of a index.rst file in a sub-folder is, that you can reduce your roundtrips. Add a conf.py to your subfolder and compile only your sub-folder with e.g.

make SPHINXDIRS="dma-buf" htmldocs

* http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=606b9ac81a63ab3adb7e61206b9ae34ee186a89d

One / the example (Mauro mentioned) is media commit b32feba

* http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=b32febad77068b4a28daf7b7e063438d0cca8a42

Quoted 4 lines

I'm also not too sure about whether dma-buf really should be it's own subdirectory. It's plucked from the device-drivers.tmpl, I think an overall device-drivers/ for all the misc subsystems and support code would be better.

If the sub-folder named 'device-drivers' use:

make SPHINXDIRS="device-drivers" htmldocs

-- Markus --

Quoted 43 lines

Then one toc there, which fans out to either kernel-doc and overview docs.
-Daniel

Quoted 34 lines

Regards,
Mauro

PS.: That's the content of our index.rst file, at
Documentation/media/index.rst:

Linux Media Subsystem Documentation
===================================

Contents:

.. toctree::
:maxdepth: 2

media_uapi
media_kapi
dvb-drivers/index
v4l-drivers/index

.. only:: subproject

Indices
=======

* :ref:genindex

Thanks,
Mauro
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
maintainer
#6 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

In reply to Daniel Vetter
Quoted 5 lines · On Tue, 23 Aug 2016 08:01:35 +0200 Daniel Vetter <[email protected]> wrote:

I'm also not too sure about whether dma-buf really should be it's own subdirectory. It's plucked from the device-drivers.tmpl, I think an overall device-drivers/ for all the misc subsystems and support code would be better. Then one toc there, which fans out to either kernel-doc and overview docs.

I'm quite convinced it shouldn't be.

If you get a chance, could you have a look at the "RFC: The beginning of a proper driver-api book" series I posted yesterday (yes, I should have copied more of you, sorry)? It shows the direction I would like to go with driver API documentation, and, assuming we go that way, I'd like the dma-buf documentation to fit into that.

Thanks,

jon

#7 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Tue, 23 Aug 2016 08:01:35 +0200 Daniel Vetter <[email protected]> wrote:

I'm also not too sure about whether dma-buf really should be it's own subdirectory. It's plucked from the device-drivers.tmpl, I think an overall device-drivers/ for all the misc subsystems and support code would be better. Then one toc there, which fans out to either kernel-doc and overview docs.

Quoted 7 lines

I'm quite convinced it shouldn't be.

If you get a chance, could you have a look at the "RFC: The beginning of a proper driver-api book" series I posted yesterday (yes, I should have copied more of you, sorry)? It shows the direction I would like to go with driver API documentation, and, assuming we go that way, I'd like the dma-buf documentation to fit into that.

Looks real pretty, ack on that. And we can always split up more, e.g. by extracting dma-buf.rst (and merg the current dma-buffer-sharing.txt into that one).

I think the more interesting story is, what's your plan with all the other driver related subsystem? Especially the ones which already have full directories of their own, like e.g. Documentation/gpio/. I think those should be really part of the infrastructure section (or something equally high-level), together with other awesome servies like pwm, regman, irqchip, ... And then there's also the large-scale subsystems like media or gpu. What's the plan to tie them all together? Personally I'm leaning towards keeping the existing directories (where they exist already), but inserting links into the overall driver-api section.
-Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer
#8 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

Quoted 10 lines · On Tue, 23 Aug 2016 15:28:55 +0200 Daniel Vetter <[email protected]> wrote:

I think the more interesting story is, what's your plan with all the other driver related subsystem? Especially the ones which already have full directories of their own, like e.g. Documentation/gpio/. I think those should be really part of the infrastructure section (or something equally high-level), together with other awesome servies like pwm, regman, irqchip, ... And then there's also the large-scale subsystems like media or gpu. What's the plan to tie them all together? Personally I'm leaning towards keeping the existing directories (where they exist already), but inserting links into the overall driver-api section.

To say I have a plan is to overstate things somewhat...

One objective I do have, though, is to declutter Documentation/. Presenting people looking for docs with a 270-file directory is unfriendly to say the least. We don't organize the code that way; the average in the kernel is <... find | wc -l ... > about 15 files/directory, which is rather more manageable. Someday I'd like Documentation/ to look a lot more like the top-level directory.

It seems to me that we have a few basic types of stuff here:

- Driver API documentation, obviously, is a lot of it, and I would like to organize it better and to move it out of the top-level directory.

- Hardware usage information - module parameters, sysfs files, supported hardware information, graphic descriptions of the ancestry of hardware engineers, etc. The readership for this stuff is quite different, and I think it should be separate; often it's intertwined with API information at the moment.

- Other usage information - a lot of what's under filesystems/ for example, and more.

- Core API documentation.

- Kernel development tools - the stuff I started pulling together into the dev-tools/ subdirectory.

- How to deal with this unruly mob - SubmittingPatches, CodingStyle, development-process, etc. There's process stuff, and general development documents like volatile-considered-harmful.txt or memory-barriers.txt

We can go a long way by organizing this stuff within the formatted documentation, but I really think we need to organize the directory structure as well. I see that as a slow-moving process that will take years, but I do think it's a direction we should go.

jon

#9 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

Quoted 28 lines · Jonathan Corbet
Quoted 10 lines · On Tue, 23 Aug 2016 15:28:55 +0200 Daniel Vetter <[email protected]> wrote:

I think the more interesting story is, what's your plan with all the other driver related subsystem? Especially the ones which already have full directories of their own, like e.g. Documentation/gpio/. I think those should be really part of the infrastructure section (or something equally high-level), together with other awesome servies like pwm, regman, irqchip, ... And then there's also the large-scale subsystems like media or gpu. What's the plan to tie them all together? Personally I'm leaning towards keeping the existing directories (where they exist already), but inserting links into the overall driver-api section.

To say I have a plan is to overstate things somewhat...

One objective I do have, though, is to declutter Documentation/. Presenting people looking for docs with a 270-file directory is unfriendly to say the least. We don't organize the code that way; the average in the kernel is <... find | wc -l ... > about 15 files/directory, which is rather more manageable. Someday I'd like Documentation/ to look a lot more like the top-level directory.

It seems to me that we have a few basic types of stuff here:

- Driver API documentation, obviously, is a lot of it, and I would like to organize it better and to move it out of the top-level directory.

Quoted 8 lines

- Hardware usage information - module parameters, sysfs files, supported hardware information, graphic descriptions of the ancestry of hardware engineers, etc. The readership for this stuff is quite different, and I think it should be separate; often it's intertwined with API information at the moment.

- Other usage information - a lot of what's under filesystems/ for example, and more.

Hm yeah, I don't have a plan really for what to do with usage docs for users (as opposed to api docs for kernel developers). With DRM comparatively few people end up writing userspace for our apis, hence I think this is a lower priority issue for us. Definitely something I'd like to address eventually. I think for drivers a big part here is documenting the ioctls and all the other uapi bits&pieces.

Quoted 1 line

- Core API documentation.

Personally I'm very much interesting in dragging all the locking primitives into the rst/sphinx world. We already make heavy use fo ww_mutex, and we started to make rather heavy use of rcu in drm and drm/i915. I'd like to be able to directly reference these underlying primitives. For KS I'll try to convince Paul that this is an awesome idea ;-)

Quoted 7 lines

- Kernel development tools - the stuff I started pulling together into the dev-tools/ subdirectory.

- How to deal with this unruly mob - SubmittingPatches, CodingStyle, development-process, etc. There's process stuff, and general development documents like volatile-considered-harmful.txt or memory-barriers.txt

tbh I think the process stuff is important enough that we should imo leave it in the top-level Documentation/ directory. Maybe collated together into a contributing.rst index file (besides the top-level index.rst ofc).

Quoted 4 lines

We can go a long way by organizing this stuff within the formatted documentation, but I really think we need to organize the directory structure as well. I see that as a slow-moving process that will take years, but I do think it's a direction we should go.

Fully agreed on the larger-scale picture, and I think what I've seen thus far from you looks great. Was simply wondering whether you have a more concrete plane for drivers specifically already. I'm wondering whether we should have Documentation/drivers/(gpu|media|...) too, but otoh nesting things too deeply isn't great either. Starting out with a proper driver directory in there is definitely the right step forward though. We can shuffle the other bits into that later on anytime we like really. -Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

In reply to Jonathan Corbet

Em Tue, 23 Aug 2016 08:16:33 -0600
Jonathan Corbet <[email protected]> escreveu:

Quoted 14 lines
Quoted 10 lines · On Tue, 23 Aug 2016 15:28:55 +0200 Daniel Vetter <[email protected]> wrote:

I think the more interesting story is, what's your plan with all the other driver related subsystem? Especially the ones which already have full directories of their own, like e.g. Documentation/gpio/. I think those should be really part of the infrastructure section (or something equally high-level), together with other awesome servies like pwm, regman, irqchip, ... And then there's also the large-scale subsystems like media or gpu. What's the plan to tie them all together? Personally I'm leaning towards keeping the existing directories (where they exist already), but inserting links into the overall driver-api section.

Quoted 8 lines

To say I have a plan is to overstate things somewhat...

One objective I do have, though, is to declutter Documentation/. Presenting people looking for docs with a 270-file directory is unfriendly to say the least. We don't organize the code that way; the average in the kernel is <... find | wc -l ... > about 15 files/directory, which is rather more manageable. Someday I'd like Documentation/ to look a lot more like the top-level directory.

Makes sense, although 15 files/dir doesn't seem feasible...

I actually grouped the media documentation on a more logical arrangement, grouping things per API type.

Yet, just the V4L userspace docs (Documentation/media/uapi/v4l/) has ~200 files :)

And I think that a few of them, like the extended-controls.rst one are too big and should likely be split in some future.

Quoted 11 lines

It seems to me that we have a few basic types of stuff here:

- Driver API documentation, obviously, is a lot of it, and I would like to organize it better and to move it out of the top-level directory.

- Hardware usage information - module parameters, sysfs files, supported hardware information, graphic descriptions of the ancestry of hardware engineers, etc. The readership for this stuff is quite different, and I think it should be separate; often it's intertwined with API information at the moment.

In the case or media, I ended by merging those into one subdir for V4L2 and another one for DVB (currently, we don't have hardware usage documents for Remote Controllers or CEC devices).

I wouldn't mind moving them to some other place, although a few rst files there are actually linked to kAPI documentation.

Btw, we have, at the media subsystem, several drivers using the kernel-doc syntax to describe functions that are internal to a driver, and even some alien markups using some Doxygen syntax out there. Maybe some day we'll end by adding such documentation on some driver-specific rst file, probably at a hardware section of the documentation.

Quoted 6 lines

- Other usage information - a lot of what's under filesystems/ for example, and more.

- Core API documentation.

Quoted 7 lines

- Kernel development tools - the stuff I started pulling together into the dev-tools/ subdirectory.

- How to deal with this unruly mob - SubmittingPatches, CodingStyle, development-process, etc. There's process stuff, and general development documents like volatile-considered-harmful.txt or memory-barriers.txt

I would actually keep at the top-level directory only the build system main conf.py, makefiles & similar stuff), moving everything else to subdirs.

IMHO, there are a few advantages on that:

1) the Sphinx build system is oriented per subdir. We can't ask it to build just the stuff at the top dir without building the subdirs;

2) it makes easier to identify what was ported and what wasn't;

3) it makes things more organized, as the subdir will be an alias to the group of documents that will be part of the subdir.

Quoted 5 lines

We can go a long way by organizing this stuff within the formatted documentation, but I really think we need to organize the directory structure as well. I see that as a slow-moving process that will take years, but I do think it's a direction we should go.

My suggestion is to create a directory structure for the things that are currently under the top /Documentation dir and at /Documentation/DocBook. Then, create an index.rst file for each of them, initially with an "empty" content like:

TODO: add stuff here

And then move stuff there as we finish the conversion.

I actually did something like that for the stuff that used to be at /Documentation/video4linux and Documentation/dvb and worked fine, IMHO.

Ah, btw, on my experience, converting a .txt file into a .rst one is a way easier than converting the DocBooks, as there's just one place to touch, while on DocBooks, you'll also need to touch at the included files, to fix format issues at the kernel-doc macros that won't work anymore with ReST.

If you want, I may get some of those non-subsystem specific documentation (like the documents describing the submission process) and convert into a book, in order to add some conversion examples.

Regards,
Mauro

#11 lore raw

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

In reply to Jonathan Corbet

Hi Jon,

Quoted 9 lines · Jonathan Corbet
Quoted 5 lines · On Tue, 23 Aug 2016 08:01:35 +0200 Daniel Vetter <[email protected]> wrote:

I'm also not too sure about whether dma-buf really should be it's own subdirectory. It's plucked from the device-drivers.tmpl, I think an overall device-drivers/ for all the misc subsystems and support code would be better. Then one toc there, which fans out to either kernel-doc and overview docs.

Quoted 8 lines

I'm quite convinced it shouldn't be.

If you get a chance, could you have a look at the "RFC: The beginning of a proper driver-api book" series I posted yesterday (yes, I should have copied more of you, sorry)? It shows the direction I would like to go with driver API documentation, and, assuming we go that way, I'd like the dma-buf documentation to fit into that.

Thanks for your comments, and direction. I'll rework the patches on top of yours then.
I'll have a look at your patches to think about how do we handle API guides / detailed documentation as well.

Quoted 3 lines

Thanks,

jon

Best,
Sumit.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel