diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-07-15 15:48:08 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-07-19 08:12:00 -0400 |
| commit | a9eaa996a10a7b114f0f1cd6dd9e36d23d2df7c1 (patch) | |
| tree | fd2eebd0960e55e0c3e140081184122185b641c0 /Documentation/gpu | |
| parent | 132d49d728f3af67378ebb01b98cd513f4a2ab1b (diff) | |
drm/doc: Spinx leftovers
This is unfortunately not all the sphinx noise when building the gpu
documentations. But the remaining warnings have completely bogus line
and probably also file sources, and I just can't find them.
Probably some serious debuggging of the line annotations in the
sphinx/kernel-doc toolchain needed first.
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1468612088-9721-11-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'Documentation/gpu')
| -rw-r--r-- | Documentation/gpu/drm-internals.rst | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Documentation/gpu/drm-internals.rst b/Documentation/gpu/drm-internals.rst index 490d655cda20..3bb26135971f 100644 --- a/Documentation/gpu/drm-internals.rst +++ b/Documentation/gpu/drm-internals.rst | |||
| @@ -188,7 +188,8 @@ Manual IRQ Registration | |||
| 188 | Drivers that require multiple interrupt handlers can't use the managed | 188 | Drivers that require multiple interrupt handlers can't use the managed |
| 189 | IRQ registration functions. In that case IRQs must be registered and | 189 | IRQ registration functions. In that case IRQs must be registered and |
| 190 | unregistered manually (usually with the :c:func:`request_irq()` and | 190 | unregistered manually (usually with the :c:func:`request_irq()` and |
| 191 | :c:func:`free_irq()` functions, or their devm_\* equivalent). | 191 | :c:func:`free_irq()` functions, or their :c:func:`devm_request_irq()` and |
| 192 | :c:func:`devm_free_irq()` equivalents). | ||
| 192 | 193 | ||
| 193 | When manually registering IRQs, drivers must not set the | 194 | When manually registering IRQs, drivers must not set the |
| 194 | DRIVER_HAVE_IRQ driver feature flag, and must not provide the | 195 | DRIVER_HAVE_IRQ driver feature flag, and must not provide the |
| @@ -242,11 +243,13 @@ Open/Close, File Operations and IOCTLs | |||
| 242 | Open and Close | 243 | Open and Close |
| 243 | -------------- | 244 | -------------- |
| 244 | 245 | ||
| 245 | int (\*firstopen) (struct drm_device \*); void (\*lastclose) (struct | 246 | Open and close handlers. None of those methods are mandatory:: |
| 246 | drm_device \*); int (\*open) (struct drm_device \*, struct drm_file | 247 | |
| 247 | \*); void (\*preclose) (struct drm_device \*, struct drm_file \*); | 248 | int (*firstopen) (struct drm_device *); |
| 248 | void (\*postclose) (struct drm_device \*, struct drm_file \*); | 249 | void (*lastclose) (struct drm_device *); |
| 249 | Open and close handlers. None of those methods are mandatory. | 250 | int (*open) (struct drm_device *, struct drm_file *); |
| 251 | void (*preclose) (struct drm_device *, struct drm_file *); | ||
| 252 | void (*postclose) (struct drm_device *, struct drm_file *); | ||
| 250 | 253 | ||
| 251 | The firstopen method is called by the DRM core for legacy UMS (User Mode | 254 | The firstopen method is called by the DRM core for legacy UMS (User Mode |
| 252 | Setting) drivers only when an application opens a device that has no | 255 | Setting) drivers only when an application opens a device that has no |
