]> git.baikalelectronics.ru Git - kernel.git/commit
DRM: UDL: get rid of useless vblank initialization
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Fri, 28 Sep 2018 14:41:26 +0000 (17:41 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Oct 2018 13:59:01 +0000 (15:59 +0200)
commit422a406ec91c290e5b18acf30260b9343c761d9d
tree87cc357429aab179671bff696691e10bafd7c85a
parent275c6f7779c6300c6eccff2d180663acbd2de63d
DRM: UDL: get rid of useless vblank initialization

UDL doesn't support vblank functionality so we don't need to
initialize vblank here (we are able to send page flip
completion events even without vblank initialization)

Moreover current drm_vblank_init call with num_crtcs > 0 causes
sending DRM_EVENT_FLIP_COMPLETE event with zero timestamp every
time. This breaks userspace apps (for example weston) which
relies on timestamp value.

Cc: stable@vger.kernel.org
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180928144126.21598-1-Eugeniy.Paltsev@synopsys.com
drivers/gpu/drm/udl/udl_main.c