19 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 8 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Alexios Zavras
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190602204654.096873163@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

25 Apr, 2013

1 commit


20 May, 2012

1 commit


21 Oct, 2010

1 commit


06 Dec, 2009

1 commit


20 Jul, 2008

1 commit

  • This is V3 of the physically contiguous videobuf queues patch.
    Useful for hardware such as the SuperH Mobile CEU which doesn't
    support scatter gatter bus mastering.

    Since it may be difficult to allocate large chunks of physically
    contiguous memory after some uptime due to fragmentation, this code
    allocates memory using dma_alloc_coherent(). Architectures supporting
    dma_declare_coherent_memory() can easily avoid fragmentation issues
    by using dma_declare_coherent_memory() to force dma_alloc_coherent()
    to allocate from a certain pre-allocated memory area.

    Changes since V2
    - use dma_handle for physical address
    - use "scatter gather" instead of "scatter gatter"

    Changes since V1:
    - use dev_err() instead of pr_err()
    - remember size in struct videobuf_dma_contig_memory
    - keep struct videobuf_dma_contig_memory in .c file
    - let videobuf_to_dma_contig() return dma_addr_t
    - implement __videobuf_sync()
    - return statements, white space and other minor fixes

    Signed-off-by: Magnus Damm
    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Magnus Damm