diff options
Diffstat (limited to 'Documentation/DocBook/drm.tmpl')
-rw-r--r-- | Documentation/DocBook/drm.tmpl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index c72e146e58d3..165749dec5af 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl | |||
@@ -342,21 +342,13 @@ char *date;</synopsis> | |||
342 | <sect4> | 342 | <sect4> |
343 | <title>Managed IRQ Registration</title> | 343 | <title>Managed IRQ Registration</title> |
344 | <para> | 344 | <para> |
345 | Both the <function>drm_irq_install</function> and | ||
346 | <function>drm_irq_uninstall</function> functions get the device IRQ by | ||
347 | calling <function>drm_dev_to_irq</function>. This inline function will | ||
348 | call a bus-specific operation to retrieve the IRQ number. For platform | ||
349 | devices, <function>platform_get_irq</function>(..., 0) is used to | ||
350 | retrieve the IRQ number. | ||
351 | </para> | ||
352 | <para> | ||
353 | <function>drm_irq_install</function> starts by calling the | 345 | <function>drm_irq_install</function> starts by calling the |
354 | <methodname>irq_preinstall</methodname> driver operation. The operation | 346 | <methodname>irq_preinstall</methodname> driver operation. The operation |
355 | is optional and must make sure that the interrupt will not get fired by | 347 | is optional and must make sure that the interrupt will not get fired by |
356 | clearing all pending interrupt flags or disabling the interrupt. | 348 | clearing all pending interrupt flags or disabling the interrupt. |
357 | </para> | 349 | </para> |
358 | <para> | 350 | <para> |
359 | The IRQ will then be requested by a call to | 351 | The passed-in IRQ will then be requested by a call to |
360 | <function>request_irq</function>. If the DRIVER_IRQ_SHARED driver | 352 | <function>request_irq</function>. If the DRIVER_IRQ_SHARED driver |
361 | feature flag is set, a shared (IRQF_SHARED) IRQ handler will be | 353 | feature flag is set, a shared (IRQF_SHARED) IRQ handler will be |
362 | requested. | 354 | requested. |