Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-19 Thread Daniel Vetter
On Wed, Jun 19, 2019 at 9:00 AM Noralf Trønnes wrote: > > > > Den 18.06.2019 19.23, skrev Noralf Trønnes: > > > > Den 18.06.2019 18.35, skrev Laurent Pinchart: > >> Hi Noralf, > >> > >> On Tue, Jun 18, 2019 at 03:56:19PM +0200, Noralf Trønnes wrote: > >>> Den 18.06.2019 15.13, skrev Laurent

Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-19 Thread Noralf Trønnes
Den 18.06.2019 19.23, skrev Noralf Trønnes: > > Den 18.06.2019 18.35, skrev Laurent Pinchart: >> Hi Noralf, >> >> On Tue, Jun 18, 2019 at 03:56:19PM +0200, Noralf Trønnes wrote: >>> Den 18.06.2019 15.13, skrev Laurent Pinchart: The recommended way to specify GEM object functions is to

Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-18 Thread Noralf Trønnes
Den 18.06.2019 18.35, skrev Laurent Pinchart: > Hi Noralf, > > On Tue, Jun 18, 2019 at 03:56:19PM +0200, Noralf Trønnes wrote: >> Den 18.06.2019 15.13, skrev Laurent Pinchart: >>> The recommended way to specify GEM object functions is to provide a >>> drm_gem_object_funcs structure instance and

Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-18 Thread Laurent Pinchart
Hi Noralf, On Tue, Jun 18, 2019 at 03:56:19PM +0200, Noralf Trønnes wrote: > Den 18.06.2019 15.13, skrev Laurent Pinchart: > > The recommended way to specify GEM object functions is to provide a > > drm_gem_object_funcs structure instance and set the GEM object to point > > to it. The

Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-18 Thread Daniel Vetter
On Tue, Jun 18, 2019 at 04:26:51PM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Tue, Jun 18, 2019 at 03:21:55PM +0200, Daniel Vetter wrote: > > On Tue, Jun 18, 2019 at 3:13 PM Laurent Pinchart > > wrote: > > > > > > The recommended way to specify GEM object functions is to provide a > > >

Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-18 Thread Noralf Trønnes
Den 18.06.2019 15.13, skrev Laurent Pinchart: > The recommended way to specify GEM object functions is to provide a > drm_gem_object_funcs structure instance and set the GEM object to point > to it. The drm_cma_gem_create_object_default_funcs() function provided > by the GEM CMA helper does so

Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-18 Thread Laurent Pinchart
Hi Daniel, On Tue, Jun 18, 2019 at 03:21:55PM +0200, Daniel Vetter wrote: > On Tue, Jun 18, 2019 at 3:13 PM Laurent Pinchart > wrote: > > > > The recommended way to specify GEM object functions is to provide a > > drm_gem_object_funcs structure instance and set the GEM object to point > > to

Re: [PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-18 Thread Daniel Vetter
On Tue, Jun 18, 2019 at 3:13 PM Laurent Pinchart wrote: > > The recommended way to specify GEM object functions is to provide a > drm_gem_object_funcs structure instance and set the GEM object to point > to it. The drm_cma_gem_create_object_default_funcs() function provided > by the GEM CMA

[PATCH] drm: rcar-du: Replace drm_driver GEM ops with GEM object functions

2019-06-18 Thread Laurent Pinchart
The recommended way to specify GEM object functions is to provide a drm_gem_object_funcs structure instance and set the GEM object to point to it. The drm_cma_gem_create_object_default_funcs() function provided by the GEM CMA helper does so when creating the GEM object, simplifying the driver