Re: [PATCHv7 4/6] drm/arm/malidp: Allocate an afbc-specific drm_framebuffer

2020-03-16 Thread Emil Velikov
On Wed, 11 Mar 2020 at 14:56, Andrzej Pietrasiewicz wrote: > > Prepare for using generic afbc helpers. > > Use an existing helper which allows allocating a struct drm_framebuffer > in the driver. > > afbc-specific checks should go after drm_gem_fb_init_with_funcs(). > > Signed-off-by: Andrzej Piet

[PATCHv7 4/6] drm/arm/malidp: Allocate an afbc-specific drm_framebuffer

2020-03-11 Thread Andrzej Pietrasiewicz
Prepare for using generic afbc helpers. Use an existing helper which allows allocating a struct drm_framebuffer in the driver. afbc-specific checks should go after drm_gem_fb_init_with_funcs(). Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/arm/malidp_drv.c | 50 +