Re: [PATCH 2/6] drm: Introduce drm_mode_object_{get,put}()

2017-02-14 Thread Daniel Vetter
On Thu, Feb 09, 2017 at 09:55:22PM +, Emil Velikov wrote: > On 9 February 2017 at 20:41, Thierry Reding wrote: > > On Thu, Feb 09, 2017 at 06:08:10PM +0100, Daniel Vetter wrote: > >> On Wed, Feb 08, 2017 at 02:28:14PM -0500, Sean Paul wrote: > >> > On Wed, Feb 08,

Re: [PATCH 2/6] drm: Introduce drm_mode_object_{get,put}()

2017-02-09 Thread Emil Velikov
On 9 February 2017 at 20:41, Thierry Reding wrote: > On Thu, Feb 09, 2017 at 06:08:10PM +0100, Daniel Vetter wrote: >> On Wed, Feb 08, 2017 at 02:28:14PM -0500, Sean Paul wrote: >> > On Wed, Feb 08, 2017 at 07:24:04PM +0100, Thierry Reding wrote: >> > > From: Thierry

Re: [PATCH 2/6] drm: Introduce drm_mode_object_{get,put}()

2017-02-09 Thread Thierry Reding
On Thu, Feb 09, 2017 at 06:08:10PM +0100, Daniel Vetter wrote: > On Wed, Feb 08, 2017 at 02:28:14PM -0500, Sean Paul wrote: > > On Wed, Feb 08, 2017 at 07:24:04PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > For consistency with other reference counting

Re: [PATCH 2/6] drm: Introduce drm_mode_object_{get,put}()

2017-02-09 Thread Daniel Vetter
On Wed, Feb 08, 2017 at 02:28:14PM -0500, Sean Paul wrote: > On Wed, Feb 08, 2017 at 07:24:04PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > For consistency with other reference counting APIs in the kernel, add > > drm_mode_object_get() and

Re: [PATCH 2/6] drm: Introduce drm_mode_object_{get,put}()

2017-02-08 Thread Sean Paul
On Wed, Feb 08, 2017 at 07:24:04PM +0100, Thierry Reding wrote: > From: Thierry Reding > > For consistency with other reference counting APIs in the kernel, add > drm_mode_object_get() and drm_mode_object_put() to reference count DRM > mode objects. > > Compatibility aliases

[PATCH 2/6] drm: Introduce drm_mode_object_{get,put}()

2017-02-08 Thread Thierry Reding
From: Thierry Reding For consistency with other reference counting APIs in the kernel, add drm_mode_object_get() and drm_mode_object_put() to reference count DRM mode objects. Compatibility aliases are added to keep existing code working. To help speed up the transition, all