Re: [PATCHv5 03/34] drm/gem-fb-helper: Add special version of drm_gem_fb_size_check

2020-02-20 Thread Boris Brezillon
On Tue, 17 Dec 2019 15:49:49 +0100 Andrzej Pietrasiewicz wrote: > > static const struct drm_framebuffer_funcs drm_gem_fb_funcs_dirtyfb = { > diff --git a/include/drm/drm_gem_framebuffer_helper.h > b/include/drm/drm_gem_framebuffer_helper.h > index c85d4b152e91..4955af96d6c3 100644 > --- a/inc

Re: [PATCHv5 03/34] drm/gem-fb-helper: Add special version of drm_gem_fb_size_check

2020-02-17 Thread james qian wang (Arm Technology China)
On Tue, Dec 17, 2019 at 03:49:49PM +0100, Andrzej Pietrasiewicz wrote: > The new version accepts a struct describing deviations from standard way of > doing the size checks. The caller must provide the respective values. > > Signed-off-by: Andrzej Pietrasiewicz > --- > drivers/gpu/drm/drm_gem_fr

[PATCHv5 03/34] drm/gem-fb-helper: Add special version of drm_gem_fb_size_check

2019-12-17 Thread Andrzej Pietrasiewicz
The new version accepts a struct describing deviations from standard way of doing the size checks. The caller must provide the respective values. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 46 include/drm/drm_gem_framebuffer_helpe