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 22:19:48 +0200 |
commit | 1ed134e6526b1b513a14fba938f6d96aa1c7f3dd (patch) | |
tree | d57d2e7a6373cf7d9536d30f7b65c84dc462733f /drivers/dma-buf/sync_debug.c | |
parent | drm/rockchip: fix NULL check on devm_kzalloc() return value (diff) | |
download | linux-1ed134e6526b1b513a14fba938f6d96aa1c7f3dd.tar.xz linux-1ed134e6526b1b513a14fba938f6d96aa1c7f3dd.zip |
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 'drivers/dma-buf/sync_debug.c')
0 files changed, 0 insertions, 0 deletions