linux/drivers/gpu/drm/omapdrm
David Herrmann 89c8233f82 drm/gem: simplify object initialization
drm_gem_object_init() and drm_gem_private_object_init() do exactly the
same (except for shmem alloc) so make the first use the latter to reduce
code duplication.

Also drop the return code from drm_gem_private_object_init(). It seems
unlikely that we will extend it any time soon so no reason to keep it
around. This simplifies code paths in drivers, too.

Last but not least, fix gma500 to call drm_gem_object_release() before
freeing objects that were allocated via drm_gem_private_object_init().
That isn't actually necessary for now, but might be in the future.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
2013-07-23 19:37:53 +10:00
..
Kconfig drm/omap: drop the !FB_OMAP2 dep 2013-06-28 12:08:10 +10:00
Makefile
TODO
omap_connector.c drm/omap: Make fixed resolution panels work 2013-04-11 13:25:52 +03:00
omap_crtc.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-07-09 16:04:31 -07:00
omap_debugfs.c
omap_dmm_priv.h
omap_dmm_tiler.c
omap_dmm_tiler.h
omap_drv.c drm/omap: DVI connector fix 2013-06-17 14:00:58 +03:00
omap_drv.h OMAPDRM: fix overlay manager handling 2013-06-17 14:00:43 +03:00
omap_encoder.c drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_fb.c
omap_fbdev.c drm: Drop all the stub gamma_get, gamma_set, load_lut functions from drivers 2013-06-17 19:42:47 +10:00
omap_gem.c drm/gem: simplify object initialization 2013-07-23 19:37:53 +10:00
omap_gem_dmabuf.c drm/gem: add mutex lock when using drm_gem_mmap_obj 2013-06-28 12:30:15 +10:00
omap_gem_helpers.c
omap_irq.c drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_plane.c drm/omap: Take a fb reference in omap_plane_update() 2013-04-11 13:25:57 +03:00
tcm-sita.c
tcm-sita.h
tcm.h