drm: Move LEAVE/ENTER_ATOMIC_MODESET to fbdev helpers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Dec 2015 08:45:43 +0000 (09:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Dec 2015 15:07:51 +0000 (16:07 +0100)
commitb516a9efb7af38733ba2308fc7c0f49f034f53bd
tree9daf6e9781dca6a77b540a08c409ecc146aee43f
parent264d6970e16c68f851086d6f7fbf9aba18910e62
drm: Move LEAVE/ENTER_ATOMIC_MODESET to fbdev helpers

This is only used for kgdb (and previously panic) handlers in
the fbdev emulation, so belongs there.

Note that this means we'll leave behind a forward declaration, but
once all the helper vtables are consolidated (in the next patch) that
will make more sense.

v2: fixup radone/amdgpu.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449218769-16577-3-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: Thierry Reding <treding@nvidia.com> (v2)
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
include/drm/drm_crtc_helper.h
include/drm/drm_fb_helper.h