summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_crtc.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 11:53:06 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 11:53:06 +0100
commit3cb13ac97bdfda5b301609256e3e0b59bc94f10a (patch)
tree897f5bd611fca748b47c44abd0298631ba06aa24 /drivers/gpu/drm/armada/armada_crtc.h
parentb1ec9ed6aa985be432f9ba29696029dc6779258e (diff)
downloadlinux-3cb13ac97bdfda5b301609256e3e0b59bc94f10a.tar.bz2
drm/armada: update planes after the dumb frame is complete
Write out the plane updates after the dumb frame has completed, but just before the blank period. This allows all the plane updates to be performed in a flicker-free non-tearing manner. 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 5b607d45f469..b95ea13d0705 100644
--- a/drivers/gpu/drm/armada/armada_crtc.h
+++ b/drivers/gpu/drm/armada/armada_crtc.h
@@ -70,6 +70,7 @@ struct armada_crtc {
spinlock_t irq_lock;
uint32_t irq_ena;
+ bool update_pending;
struct drm_pending_vblank_event *event;
struct armada_regs atomic_regs[32];
struct armada_regs *regs;