staging: drm/omap: hold a ref to the bo while waiting for flip
authorRob Clark <rob@ti.com>
Tue, 4 Sep 2012 22:46:22 +0000 (17:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:44:22 +0000 (16:44 -0700)
commit119c08149ab5135eda67a1503484aacbf2164af3
treeb03b584e55d12e1e7e3ec85fca7abf7736059923
parent1004689cd9ece7f613b48d351c6f00b7aec1bae3
staging: drm/omap: hold a ref to the bo while waiting for flip

Since the plane hasn't yet taken a reference, we need to hold a
reference while waiting to ensure the backing GEM bo doesn't get
freed from under us.

Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_crtc.c