drm/exynos: Keep a reference to frame buffer GEM objects
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 16 May 2012 15:08:56 +0000 (17:08 +0200)
committerInki Dae <inki.dae@samsung.com>
Tue, 5 Jun 2012 02:53:58 +0000 (11:53 +0900)
commit07b6835f2c6bc3101ed7cf471f566d53319a6d50
tree80a1e19e84f096e7cf3bf4eef78d09368e5dbbc0
parent6037bafa2e676162a86e4f4dee366e394565a0ee
drm/exynos: Keep a reference to frame buffer GEM objects

GEM objects used by frame buffers must be referenced for the whole life
of the frame buffer. Release the references in the frame buffer
destructor instead of its constructor.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fb.c