]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/tilcdc: Remove drm_framebuffer_get() and *_put() calls
authorJyri Sarha <jsarha@ti.com>
Fri, 3 Nov 2017 21:30:54 +0000 (23:30 +0200)
committerJyri Sarha <jsarha@ti.com>
Mon, 18 Dec 2017 11:24:30 +0000 (13:24 +0200)
commit1775ede035a425ff35b73d6daceb619061278ade
tree368e57a723c09c7e089971c59f3df52994f60892
parent4e5ca2d930aa8714400aedf4bf1dc959cb04280f
drm/tilcdc: Remove drm_framebuffer_get() and *_put() calls

The drm_framebuffer_get() and drm_framebuffer_put() calls in the
tilcdc driver are obsolete. The drm atomic modesetting core should
take care of holding the references while the atomic state object is
in use. The old state is deleted when a commit of a new one is
completed after drm_atomic_helper_wait_for_vblanks().

This also fixes an occasional framebuffer leak the old
drm_framebuffer_get() and drm_framebuffer_put() code had.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c