[PATCH v5] modify videobuf2-dma-contig and update sta2x11_vip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just one comment about the first patch. I modified the prototype of the 
dma-contig context allocator:

   -void *vb2_dma_contig_init_ctx(struct device *dev);
   +void *vb2_dma_contig_init_ctx(struct device *dev, gfp_t mem_flags);

Now it accepts a gfp_t parameter to specify the memory flags to use during
buffer allocation. I also modified all existent drivers according to this
modification. I cannot do a compile test on every different platform (I don't
have the time and it takes long time); the modification is tiny but just to
be sure please take a look at it.

To find all drivers which use this memory allocator, I simply did:

   git grep -n -C 1 vb2_dma_contig_init_ctx

and edited all the driver found. If I forgot someone, please tell me
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux