OSDN Git Service

drm: IRQ midlayer is now legacy
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 25 Jun 2021 13:50:33 +0000 (15:50 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 10 Aug 2021 18:14:01 +0000 (20:14 +0200)
commitc1736b9008cb06a95231410145d0b9d2709ec86f
tree655b99fed5655abbee552236da809033f178e664
parent0b05dd6b453da1479f635c4e96a962837c8a389b
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
12 files changed:
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/drm_legacy_misc.c
drivers/gpu/drm/drm_vblank.c
drivers/gpu/drm/i810/i810_dma.c
drivers/gpu/drm/mga/mga_dma.c
drivers/gpu/drm/mga/mga_drv.h
drivers/gpu/drm/r128/r128_cce.c
drivers/gpu/drm/via/via_mm.c
include/drm/drm_device.h
include/drm/drm_drv.h
include/drm/drm_irq.h [deleted file]
include/drm/drm_legacy.h