diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-06-25 15:50:33 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-08-10 20:14:01 +0200 |
commit | c1736b9008cb06a95231410145d0b9d2709ec86f (patch) | |
tree | 655b99fed5655abbee552236da809033f178e664 /include/drm/drm_legacy.h | |
parent | drm: Remove unused devm_drm_irq_install() (diff) | |
download | linux-c1736b9008cb06a95231410145d0b9d2709ec86f.tar.xz linux-c1736b9008cb06a95231410145d0b9d2709ec86f.zip |
drm: IRQ midlayer is now legacy
Hide the DRM midlayer behind CONFIG_DRM_LEGACY, make functions use
the prefix drm_legacy_, and move declarations to drm_legacy.h.
In struct drm_device, move the fields irq and irq_enabled behind
CONFIG_DRM_LEGACY.
All callers have been updated.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210803090704.32152-15-tzimmermann@suse.de
Diffstat (limited to '')
-rw-r--r-- | include/drm/drm_legacy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_legacy.h b/include/drm/drm_legacy.h index b17e79e12bc2..58dc8d8cc907 100644 --- a/include/drm/drm_legacy.h +++ b/include/drm/drm_legacy.h @@ -192,6 +192,9 @@ do { \ void drm_legacy_idlelock_take(struct drm_lock_data *lock); void drm_legacy_idlelock_release(struct drm_lock_data *lock); +/* drm_irq.c */ +int drm_legacy_irq_uninstall(struct drm_device *dev); + /* drm_pci.c */ #ifdef CONFIG_PCI |