]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Undo damage to page_flip_ioctl
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Oct 2016 08:28:27 +0000 (10:28 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 4 Oct 2016 02:53:12 +0000 (12:53 +1000)
commit27892345c3aa9a5122ce5cede45bca06023805ba
treec6d5dbe6d2ee16a79df30dc0a2627a057810ca4f
parentedebc3e452439660bb10d501eaec5c53445718e7
drm: Undo damage to page_flip_ioctl

I screwed up rebasing of my patch in

commit 77f9b424681db479b91f4f545740aa9b8edbcfe1
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Sep 21 10:59:24 2016 +0200

    drm: Extract drm_plane.[hc]

which meant on error paths drm_crtc_vblank_put could be called without
a get, leading to an underrun of the refcount.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98020
Reported-and-tested-by: Andy Furniss <adf.lists@gmail.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161003082827.11586-1-daniel.vetter@ffwll.ch
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_plane.c