Re: [PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-08-16 Thread Liviu Dudau
On Thu, Aug 16, 2018 at 12:42:59PM +0200, Daniel Vetter wrote: > On Thu, Aug 16, 2018 at 12:25 PM, Liviu Dudau wrote: > > On Wed, Aug 15, 2018 at 03:40:17PM +0200, Daniel Vetter wrote: > >> On Wed, Aug 15, 2018 at 2:27 PM, Alexandru-Cosmin Gheorghe > >> wrote: > >> > On Wed, Aug 15, 2018 at 01:54

Re: [PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-08-16 Thread Daniel Vetter
On Thu, Aug 16, 2018 at 12:25 PM, Liviu Dudau wrote: > On Wed, Aug 15, 2018 at 03:40:17PM +0200, Daniel Vetter wrote: >> On Wed, Aug 15, 2018 at 2:27 PM, Alexandru-Cosmin Gheorghe >> wrote: >> > On Wed, Aug 15, 2018 at 01:54:12PM +0200, Daniel Vetter wrote: >> >> On Wed, Aug 15, 2018 at 12:08:38P

Re: [PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-08-16 Thread Liviu Dudau
On Wed, Aug 15, 2018 at 03:40:17PM +0200, Daniel Vetter wrote: > On Wed, Aug 15, 2018 at 2:27 PM, Alexandru-Cosmin Gheorghe > wrote: > > On Wed, Aug 15, 2018 at 01:54:12PM +0200, Daniel Vetter wrote: > >> On Wed, Aug 15, 2018 at 12:08:38PM +0100, Liviu Dudau wrote: > >> > On Thu, Jul 26, 2018 at 0

Re: [PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-08-15 Thread Daniel Vetter
On Wed, Aug 15, 2018 at 2:27 PM, Alexandru-Cosmin Gheorghe wrote: > On Wed, Aug 15, 2018 at 01:54:12PM +0200, Daniel Vetter wrote: >> On Wed, Aug 15, 2018 at 12:08:38PM +0100, Liviu Dudau wrote: >> > On Thu, Jul 26, 2018 at 03:10:04PM +0100, Alexandru Gheorghe wrote: >> > > Some drivers can't use

Re: [PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-08-15 Thread Alexandru-Cosmin Gheorghe
On Wed, Aug 15, 2018 at 01:54:12PM +0200, Daniel Vetter wrote: > On Wed, Aug 15, 2018 at 12:08:38PM +0100, Liviu Dudau wrote: > > On Thu, Jul 26, 2018 at 03:10:04PM +0100, Alexandru Gheorghe wrote: > > > Some drivers can't use drm_gem_fb_create, so instead of copying the > > > logic that does the f

Re: [PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-08-15 Thread Daniel Vetter
On Wed, Aug 15, 2018 at 12:08:38PM +0100, Liviu Dudau wrote: > On Thu, Jul 26, 2018 at 03:10:04PM +0100, Alexandru Gheorghe wrote: > > Some drivers can't use drm_gem_fb_create, so instead of copying the > > logic that does the framebuffer allocation allow them to use core > > drm_gem_fb_alloc. > >

Re: [PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-08-15 Thread Liviu Dudau
On Thu, Jul 26, 2018 at 03:10:04PM +0100, Alexandru Gheorghe wrote: > Some drivers can't use drm_gem_fb_create, so instead of copying the > logic that does the framebuffer allocation allow them to use core > drm_gem_fb_alloc. > > Signed-off-by: Alexandru Gheorghe To me it looks like an useful th

[PATCH 2/3] drm: Make drm_gem_fb_alloc available for drivers to use

2018-07-26 Thread Alexandru Gheorghe
Some drivers can't use drm_gem_fb_create, so instead of copying the logic that does the framebuffer allocation allow them to use core drm_gem_fb_alloc. Signed-off-by: Alexandru Gheorghe --- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 3 ++- include/drm/drm_gem_framebuffer_helper.h | 5 +++