diff options
author | Ayan Halder <Ayan.Halder@arm.com> | 2019-06-13 16:13:10 +0100 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2019-06-21 10:47:15 +0100 |
commit | 2cfb1981dd0d9505b59868a7f7591746f51794b0 (patch) | |
tree | 5b7d7091b4471a81c03dc6f55ae3653f0b5a4130 /sound/usb/midi.h | |
parent | 0b044a999e86ed1aa8791f8bd11a6d7083b33438 (diff) | |
download | kernel_replicant_linux-2cfb1981dd0d9505b59868a7f7591746f51794b0.tar.gz kernel_replicant_linux-2cfb1981dd0d9505b59868a7f7591746f51794b0.tar.bz2 kernel_replicant_linux-2cfb1981dd0d9505b59868a7f7591746f51794b0.zip |
drm/komeda: Make Komeda interrupts shareable
Komeda interrupts may be shared with other hardware blocks.
One needs to use devm_request_irq() with IRQF_SHARED to create a shared
interrupt handler.
As a result of not using drm_irq_install() api, one needs to set
"(struct drm_device *)->irq_enabled = true/false" to enable/disable
vblank interrupts.
Changes from v1:-
1. Squashed the following two patches into one (as the second patch is a
consequence of the first one):-
drm/komeda: Avoid using DRIVER_IRQ_SHARED
drm/komeda: Enable/Disable vblank interrupts
2. Fixed the commit message (as pointed by Daniel Vetter)
3. Removed calls to 'drm_irq_uninstall()' as we are no longer using
drm_irq_install()
4. Removed the struct member 'komeda_kms_driver.irq_handler' as it is not
used anywhere.
Signed-off-by: Ayan Halder <ayan.halder@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Diffstat (limited to 'sound/usb/midi.h')
0 files changed, 0 insertions, 0 deletions