[PATCH 12/20] drm/gem: make drm_gem_object_handle_unreference_unlocked static

2013-07-17 Thread Daniel Vetter
On Wed, Jul 17, 2013 at 06:41:05PM +0200, David Herrmann wrote: > Hi > > On Tue, Jul 16, 2013 at 9:12 AM, Daniel Vetter > wrote: > > No one outside of drm should use this, the official interfaces are > > drm_gem_handle_create and drm_gem_handle_delete. The handle refcounting > > is purely an

[PATCH 12/20] drm/gem: make drm_gem_object_handle_unreference_unlocked static

2013-07-17 Thread David Herrmann
Hi On Tue, Jul 16, 2013 at 9:12 AM, Daniel Vetter wrote: > No one outside of drm should use this, the official interfaces are > drm_gem_handle_create and drm_gem_handle_delete. The handle refcounting > is purely an implementation detail of gem. Yepp. Maybe we could even remove them as

Re: [PATCH 12/20] drm/gem: make drm_gem_object_handle_unreference_unlocked static

2013-07-17 Thread David Herrmann
Hi On Tue, Jul 16, 2013 at 9:12 AM, Daniel Vetter daniel.vet...@ffwll.ch wrote: No one outside of drm should use this, the official interfaces are drm_gem_handle_create and drm_gem_handle_delete. The handle refcounting is purely an implementation detail of gem. Yepp. Maybe we could even

Re: [PATCH 12/20] drm/gem: make drm_gem_object_handle_unreference_unlocked static

2013-07-17 Thread Daniel Vetter
On Wed, Jul 17, 2013 at 06:41:05PM +0200, David Herrmann wrote: Hi On Tue, Jul 16, 2013 at 9:12 AM, Daniel Vetter daniel.vet...@ffwll.ch wrote: No one outside of drm should use this, the official interfaces are drm_gem_handle_create and drm_gem_handle_delete. The handle refcounting is

[PATCH 12/20] drm/gem: make drm_gem_object_handle_unreference_unlocked static

2013-07-16 Thread Daniel Vetter
No one outside of drm should use this, the official interfaces are drm_gem_handle_create and drm_gem_handle_delete. The handle refcounting is purely an implementation detail of gem. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_gem.c | 2 +- include/drm/drmP.h| 1 - 2 files

[PATCH 12/20] drm/gem: make drm_gem_object_handle_unreference_unlocked static

2013-07-16 Thread Daniel Vetter
No one outside of drm should use this, the official interfaces are drm_gem_handle_create and drm_gem_handle_delete. The handle refcounting is purely an implementation detail of gem. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/gpu/drm/drm_gem.c | 2 +- include/drm/drmP.h