Re: [PATCH v2 1/5] drm: Add reservation_object to drm_gem_object

2019-02-12 Thread Christian Gmeiner via dri-devel
Am Di., 12. Feb. 2019 um 15:16 Uhr schrieb Daniel Vetter : > > On Fri, Feb 08, 2019 at 08:23:44AM +0100, Christian Gmeiner wrote: > > Am Sa., 2. Feb. 2019 um 16:42 Uhr schrieb Rob Herring : > > > > > > Many users of drm_gem_object embed a struct reservation_object into > > > their subclassed struct

Re: [PATCH v2 1/5] drm: Add reservation_object to drm_gem_object

2019-02-12 Thread Daniel Vetter
On Fri, Feb 08, 2019 at 08:23:44AM +0100, Christian Gmeiner wrote: > Am Sa., 2. Feb. 2019 um 16:42 Uhr schrieb Rob Herring : > > > > Many users of drm_gem_object embed a struct reservation_object into > > their subclassed struct, so let's add one to struct drm_gem_object. > > This will allow removi

Re: [PATCH v2 1/5] drm: Add reservation_object to drm_gem_object

2019-02-07 Thread Christian Gmeiner
Am Sa., 2. Feb. 2019 um 16:42 Uhr schrieb Rob Herring : > > Many users of drm_gem_object embed a struct reservation_object into > their subclassed struct, so let's add one to struct drm_gem_object. > This will allow removing the reservation object from the subclasses > and removing the ->gem_prime_

Re: [PATCH v2 1/5] drm: Add reservation_object to drm_gem_object

2019-02-06 Thread Eric Anholt
Rob Herring writes: > Many users of drm_gem_object embed a struct reservation_object into > their subclassed struct, so let's add one to struct drm_gem_object. > This will allow removing the reservation object from the subclasses > and removing the ->gem_prime_res_obj callback. > > With the addit

Re: [PATCH v2 1/5] drm: Add reservation_object to drm_gem_object

2019-02-04 Thread Daniel Vetter
On Sat, Feb 02, 2019 at 09:41:54AM -0600, Rob Herring wrote: > Many users of drm_gem_object embed a struct reservation_object into > their subclassed struct, so let's add one to struct drm_gem_object. > This will allow removing the reservation object from the subclasses > and removing the ->gem_pri

[PATCH v2 1/5] drm: Add reservation_object to drm_gem_object

2019-02-02 Thread Rob Herring
Many users of drm_gem_object embed a struct reservation_object into their subclassed struct, so let's add one to struct drm_gem_object. This will allow removing the reservation object from the subclasses and removing the ->gem_prime_res_obj callback. With the addition, add a drm_gem_reservation_ob