diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-07-30 11:53:06 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-07-30 11:53:06 +0100 |
commit | 3cb13ac97bdfda5b301609256e3e0b59bc94f10a (patch) | |
tree | 897f5bd611fca748b47c44abd0298631ba06aa24 /drivers/gpu/drm/armada/armada_crtc.h | |
parent | b1ec9ed6aa985be432f9ba29696029dc6779258e (diff) | |
download | linux-stable-3cb13ac97bdfda5b301609256e3e0b59bc94f10a.tar.gz linux-stable-3cb13ac97bdfda5b301609256e3e0b59bc94f10a.tar.bz2 linux-stable-3cb13ac97bdfda5b301609256e3e0b59bc94f10a.zip |
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.h | 1 |
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; |