diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-06-22 22:25:26 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-07-14 13:19:48 -0700 |
commit | 1ed134e6526b1b513a14fba938f6d96aa1c7f3dd (patch) | |
tree | d57d2e7a6373cf7d9536d30f7b65c84dc462733f /crypto/lz4hc.c | |
parent | 6f6e0b217a93011f8e11b9a2d5521a08fcf36990 (diff) |
drm/vc4: Fix VBLANK handling in crtc->enable() path
When we are enabling a CRTC, drm_crtc_vblank_get() is called before
drm_crtc_vblank_on(), which is not supposed to happen (hence the
WARN_ON() in the code). To solve the problem, we delay the 'update
display list' operation after the CRTC is actually enabled.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/1498163126-26678-1-git-send-email-boris.brezillon@free-electrons.com
Fixes: 34c8ea400ff6 ("drm/vc4: Mimic drm_atomic_helper_commit() behavior")
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions