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)
commitd96bc380a50f1e89769d38dd9c5739be3cb014b2
treee8fe3cddfba54821e44e069a0988ae04550f6613
parent770729f77d232495a5ba52daf5df3ed5cf1e9edf
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