drm/omap: keep ref to old_fb
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 10 Feb 2015 12:15:52 +0000 (14:15 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 24 Mar 2015 11:50:59 +0000 (13:50 +0200)
commit223bfd6911a0129d819b4dadb0eec93da014a9d9
treee3725eac6e1a557fc5dad428cb0e622f4b1ee5e4
parent7439507f0118c2e806a9c7644882ee33f73e46a9
drm/omap: keep ref to old_fb

We store the fb being page-flipped to 'old_fb' field, but we don't
increase the ref count of the fb when doing that. While I am not
sure if it can cause problem in practice, it's still safer to keep a ref
when storing a pointer to a fb.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c