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 /drivers/gpu/drm/r128 | |
parent | 0b05dd6b453da1479f635c4e96a962837c8a389b (diff) | |
download | linux-stable-c1736b9008cb06a95231410145d0b9d2709ec86f.tar.gz linux-stable-c1736b9008cb06a95231410145d0b9d2709ec86f.tar.bz2 linux-stable-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 'drivers/gpu/drm/r128')
-rw-r--r-- | drivers/gpu/drm/r128/r128_cce.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/r128/r128_cce.c b/drivers/gpu/drm/r128/r128_cce.c index 2a2933c16308..c04d84a69dd2 100644 --- a/drivers/gpu/drm/r128/r128_cce.c +++ b/drivers/gpu/drm/r128/r128_cce.c @@ -39,7 +39,6 @@ #include <drm/drm_device.h> #include <drm/drm_file.h> -#include <drm/drm_irq.h> #include <drm/drm_legacy.h> #include <drm/drm_print.h> #include <drm/r128_drm.h> @@ -603,7 +602,7 @@ int r128_do_cleanup_cce(struct drm_device *dev) * is freed, it's too late. */ if (dev->irq_enabled) - drm_irq_uninstall(dev); + drm_legacy_irq_uninstall(dev); if (dev->dev_private) { drm_r128_private_t *dev_priv = dev->dev_private; |