]> git.baikalelectronics.ru Git - kernel.git/commit
drm/irq: Add the new api to install irq
authorTian Tao <tiantao6@hisilicon.com>
Wed, 2 Dec 2020 09:26:51 +0000 (17:26 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Thu, 3 Dec 2020 08:57:15 +0000 (03:57 -0500)
commit04e2984f7f20f5c6154adc2ff17045f69fc676f5
treee8fe3cddfba54821e44e069a0988ae04550f6613
parent521775fabe5bc77c5d34d3cce464347be2935500
drm/irq: Add the new api to install irq

Add new api devm_drm_irq_install() to register interrupts,
no need to call drm_irq_uninstall() when the drm module is removed.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1606901212-8214-3-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/drm_irq.c
include/drm/drm_irq.h