aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-06-22 22:25:26 +0200
committerEric Anholt <eric@anholt.net>2017-07-14 13:19:48 -0700
commit1ed134e6526b1b513a14fba938f6d96aa1c7f3dd (patch)
treed57d2e7a6373cf7d9536d30f7b65c84dc462733f /include
parentdrm/rockchip: fix NULL check on devm_kzalloc() return value (diff)
downloadlinux-dev-1ed134e6526b1b513a14fba938f6d96aa1c7f3dd.tar.xz
linux-dev-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 'include')
0 files changed, 0 insertions, 0 deletions