Re: [Intel-gfx] [PATCH v5 3/5] drm/gem: Add drm_gem_object_funcs

2018-11-01 Thread Daniel Vetter
On Thu, Nov 01, 2018 at 12:37:14AM +0100, Noralf Trønnes wrote: > > Den 17.10.2018 15.04, skrev Noralf Trønnes: > > This adds an optional function table on GEM objects. > > The main benefit is for drivers that support more than one type of > > memory (shmem,vram,cma) for their buffers depending on

Re: [Intel-gfx] [PATCH v5 3/5] drm/gem: Add drm_gem_object_funcs

2018-10-31 Thread Noralf Trønnes
Den 17.10.2018 15.04, skrev Noralf Trønnes: This adds an optional function table on GEM objects. The main benefit is for drivers that support more than one type of memory (shmem,vram,cma) for their buffers depending on the hardware it runs on. With the callbacks attached to the GEM object itself

Re: [Intel-gfx] [PATCH v5 3/5] drm/gem: Add drm_gem_object_funcs

2018-10-23 Thread Daniel Vetter
On Mon, Oct 22, 2018 at 02:57:28PM +0200, Christian König wrote: > Am 17.10.18 um 15:04 schrieb Noralf Trønnes: > > This adds an optional function table on GEM objects. > > The main benefit is for drivers that support more than one type of > > memory (shmem,vram,cma) for their buffers depending on

Re: [Intel-gfx] [PATCH v5 3/5] drm/gem: Add drm_gem_object_funcs

2018-10-22 Thread Christian König
Am 17.10.18 um 15:04 schrieb Noralf Trønnes: This adds an optional function table on GEM objects. The main benefit is for drivers that support more than one type of memory (shmem,vram,cma) for their buffers depending on the hardware it runs on. With the callbacks attached to the GEM object itself

[Intel-gfx] [PATCH v5 3/5] drm/gem: Add drm_gem_object_funcs

2018-10-17 Thread Noralf Trønnes
This adds an optional function table on GEM objects. The main benefit is for drivers that support more than one type of memory (shmem,vram,cma) for their buffers depending on the hardware it runs on. With the callbacks attached to the GEM object itself, it is easier to have core helpers for the the