[PATCH 2/9] mm: Provide new get_vaddr_frames() helper

Jan Kara jack at suse.cz
Wed Jun 3 02:34:43 PDT 2015


On Tue 02-06-15 15:29:12, Andrew Morton wrote:
> On Tue, 2 Jun 2015 17:23:00 +0200 Jan Kara <jack at suse.cz> wrote:
> 
> > > That's a lump of new code which many kernels won't be needing.  Can we
> > > put all this in a new .c file and select it within drivers/media
> > > Kconfig?
> >   So the attached patch should do what you had in mind. OK?
> 
> lgtm.
> 
> >  drivers/gpu/drm/exynos/Kconfig      |   1 +
> >  drivers/media/platform/omap/Kconfig |   1 +
> >  drivers/media/v4l2-core/Kconfig     |   1 +
> >  mm/Kconfig                          |   3 +
> >  mm/Makefile                         |   1 +
> >  mm/frame-vec.c                      | 233 ++++++++++++++++++++++++++++++++++++
> 
> But frame_vector.c would be a more pleasing name.  For `struct frame_vector'.
  OK, makes sense. Updated patch attached.

								Honza
-- 
Jan Kara <jack at suse.cz>
SUSE Labs, CR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mm-Move-get_vaddr_frames-behind-a-config-option.patch
Type: text/x-patch
Size: 16477 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150603/1bb89e2a/attachment-0001.bin>


More information about the dri-devel mailing list