summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/armada/armada_crtc.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 13:52:34 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 13:52:34 +0300
commitf9a13bb3baf6009225e91f2b9748ed27f2db9c2c (patch)
tree13e8cedeefdfe078dae788789a48d2a07869b4fe /drivers/gpu/drm/armada/armada_crtc.h
parent0239520e0290e7d5f186f7fb7f7ce307c478a439 (diff)
downloadlinux-f9a13bb3baf6009225e91f2b9748ed27f2db9c2c.tar.xz
drm/armada: move mode set vblank handling and disable/enable
Move the mode set vblank handling and controller enable/disable to the prepare() and commit() callbacks. This will be needed when we move to mode_set_nofb() as we should not enable the controller without the plane coordinates and location having been properly updated. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_crtc.h')
-rw-r--r--drivers/gpu/drm/armada/armada_crtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.h b/drivers/gpu/drm/armada/armada_crtc.h
index 445829b8877a..8edcfd1fa75f 100644
--- a/drivers/gpu/drm/armada/armada_crtc.h
+++ b/drivers/gpu/drm/armada/armada_crtc.h
@@ -93,6 +93,7 @@ struct armada_crtc {
uint8_t csc_rgb_mode;
struct drm_plane *plane;
+ struct drm_framebuffer *old_modeset_fb;
struct armada_gem_object *cursor_obj;
int cursor_x;