]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Use active instead of enable in wait_for_vblanks.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 8 Dec 2016 13:45:24 +0000 (14:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Dec 2016 15:37:06 +0000 (16:37 +0100)
commit853983e696e241237666eb996edb0b186b233e09
treefbc371afb2a808ed695632c73d901670ed6d0b1d
parent15b619a9f5ae6615f9cbd29d714ffb5071ee8e63
drm/atomic: Use active instead of enable in wait_for_vblanks.

When DPMS was introduced to atomic, vblanks only worked when the crtc
was enabled and active. wait_for_vblanks were not converted to check for
crtc_state->active, which may cause an attempt for vblank_get to fail.

This is probably harmless, but convert from enable to active anyway.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1481204729-9058-2-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/drm_atomic_helper.c