1. 16 6月, 2016 1 次提交
  2. 14 4月, 2016 1 次提交
  3. 19 2月, 2016 2 次提交
  4. 01 2月, 2016 1 次提交
  5. 25 1月, 2016 1 次提交
  6. 21 1月, 2016 1 次提交
    • C
      dma-mapping: always provide the dma_map_ops based implementation · e1c7e324
      Christoph Hellwig 提交于
      Move the generic implementation to <linux/dma-mapping.h> now that all
      architectures support it and remove the HAVE_DMA_ATTR Kconfig symbol now
      that everyone supports them.
      
      [valentinrothberg@gmail.com: remove leftovers in Kconfig]
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
      Cc: Chris Metcalf <cmetcalf@ezchip.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Helge Deller <deller@gmx.de>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Steven Miao <realmz6@gmail.com>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Joerg Roedel <jroedel@suse.de>
      Cc: Sebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: NValentin Rothberg <valentinrothberg@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e1c7e324
  7. 18 11月, 2015 1 次提交
    • A
      [media] sh-vou: clarify videobuf2 dependency · 3ff863b8
      Arnd Bergmann 提交于
      The sh-vou driver has been converted from videobuf to videobuf2, but
      the Kconfig file still lists VIDEOBUF_DMA_CONTIG as a dependency.
      Consequently we can build the driver without VIDEOBUF2_DMA_CONTIG
      and get a link error:
      
      drivers/built-in.o: In function `sh_vou_probe':
      vf610-ocotp.c:(.text+0x2dbf5c): undefined reference to `vb2_dma_contig_init_ctx'
      vf610-ocotp.c:(.text+0x2dc0b4): undefined reference to `vb2_dma_contig_cleanup_ctx'
      vf610-ocotp.c:(.text+0x2dc144): undefined reference to `vb2_dma_contig_memops'
      drivers/built-in.o: In function `sh_vou_remove':
      vf610-ocotp.c:(.text+0x2dc190): undefined reference to `vb2_dma_contig_cleanup_ctx'
      
      This changes the dependency to VIDEOBUF2_DMA_CONTIG instead.
      
      Fixes: 57af3ad5 ("[media] sh-vou: convert to vb2")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      3ff863b8
  8. 03 10月, 2015 1 次提交
    • G
      [media] VIDEO_RENESAS_JPU should depend on HAS_DMA · f8445646
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
          warning: (VIDEO_STI_BDISP && VIDEO_RENESAS_JPU && VIDEO_DM365_VPFE && VIDEO_OMAP4) selects VIDEOBUF2_DMA_CONTIG which has unmet direct dependencies (MEDIA_SUPPORT && HAS_DMA)
      
          drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’:
          drivers/media/v4l2-core/videobuf2-dma-contig.c:207: error: implicit declaration of function ‘dma_mmap_coherent’
          drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_base_sgt’:
          drivers/media/v4l2-core/videobuf2-dma-contig.c:390: error: implicit declaration of function ‘dma_get_sgtable’
      
      VIDEO_RENESAS_JPU selects VIDEOBUF2_DMA_CONTIG, which bypasses its
      dependency on HAS_DMA.  Make VIDEO_RENESAS_JPU depend on HAS_DMA to fix
      this.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NMikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      f8445646
  9. 17 8月, 2015 1 次提交
  10. 12 8月, 2015 2 次提交
  11. 11 8月, 2015 1 次提交
    • M
      [media] V4L2: platform: Add Renesas R-Car JPEG codec driver · 2c42cdba
      Mikhail Ulyanov 提交于
      Here's the driver for the Renesas R-Car JPEG processing unit.
      
      The driver is implemented within the V4L2 framework as a memory-to-memory
      device.  It presents two video nodes to userspace, one for the encoding part,
      and one for the decoding part.
      
      It was found that the only working mode for encoding is no markers output, so we
      generate markers with software. In the current version of driver we also use
      software JPEG header parsing because with hardware parsing performance is lower
      than desired.
      
      >From a userspace point of view the process is typical (S_FMT, REQBUF,
      optionally QUERYBUF, QBUF, STREAMON, DQBUF) for both the source and destination
      queues. STREAMON can return -EINVAL in case of mismatch of output and capture
      queues format. Also during decoding driver can return buffers if queued
      buffer with JPEG image contains image with inappropriate subsampling (e.g.
      4:2:0 in JPEG and 4:2:2 in capture).  If JPEG image and queue format dimensions
      differ driver will return buffer on QBUF with VB2_BUF_STATE_ERROR flag.
      
      During encoding the available formats are: V4L2_PIX_FMT_NV12M,
      V4L2_PIX_FMT_NV12, V4L2_PIX_FMT_NV16, V4L2_PIX_FMT_NV16M for source and
      V4L2_PIX_FMT_JPEG for destination.
      
      During decoding the available formats are: V4L2_PIX_FMT_JPEG for source and
      V4L2_PIX_FMT_NV12M, V4L2_PIX_FMT_NV16M, V4L2_PIX_FMT_NV12, V4L2_PIX_FMT_NV16
      for destination.
      
      Performance of current version:
      1280x800 NV12 image encoding/decoding
      	decoding ~122 FPS
      	encoding ~191 FPS
      Signed-off-by: NMikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      2c42cdba
  12. 22 6月, 2015 1 次提交
    • M
      [media] bdisp: prevent compiling on random arch · 1c8a866d
      Mauro Carvalho Chehab 提交于
      This driver requires support for DMA attrs function, and not
      just DMA. Change the options accordingly to remove those errors:
      
      /devel/v4l/to_next/drivers/media/platform/sti/bdisp/bdisp-hw.c: In function ‘bdisp_hw_free_nodes’:
      /devel/v4l/to_next/drivers/media/platform/sti/bdisp/bdisp-hw.c:132:3: error: implicit declaration of function ‘dma_free_attrs’ [-Werror=implicit-function-declaration]
         dma_free_attrs(ctx->bdisp_dev->dev,
         ^
      /devel/v4l/to_next/drivers/media/platform/sti/bdisp/bdisp-hw.c: In function ‘bdisp_hw_alloc_nodes’:
      /devel/v4l/to_next/drivers/media/platform/sti/bdisp/bdisp-hw.c:157:9: error: implicit declaration of function ‘dma_alloc_attrs’ [-Werror=implicit-function-declaration]
        base = dma_alloc_attrs(dev, node_size * MAX_NB_NODE, &paddr,
               ^
      /devel/v4l/to_next/drivers/media/platform/sti/bdisp/bdisp-hw.c:157:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
        base = dma_alloc_attrs(dev, node_size * MAX_NB_NODE, &paddr,
             ^
      /devel/v4l/to_next/drivers/media/platform/sti/bdisp/bdisp-hw.c: In function ‘bdisp_hw_alloc_filters’:
      /devel/v4l/to_next/drivers/media/platform/sti/bdisp/bdisp-hw.c:219:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
        base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL | GFP_DMA, &attrs);
      
      Also, get rid of bogus, unused and duplicated symbol declaration
      for the config option done at bdisp/Kconfig.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      1c8a866d
  13. 10 6月, 2015 1 次提交
  14. 02 6月, 2015 1 次提交
    • G
      break kconfig dependency loop · 06b718c0
      Gerd Hoffmann 提交于
      After adding virtio-gpu I get this funky kconfig dependency loop.
      
      scripts/kconfig/conf --oldconfig Kconfig
      drivers/video/fbdev/Kconfig:5:error: recursive dependency detected!
      drivers/video/fbdev/Kconfig:5:  symbol FB is selected by DRM_KMS_FB_HELPER
      drivers/gpu/drm/Kconfig:34:     symbol DRM_KMS_FB_HELPER is selected by DRM_VIRTIO_GPU
      drivers/gpu/drm/virtio/Kconfig:1:       symbol DRM_VIRTIO_GPU depends on VIRTIO
      drivers/virtio/Kconfig:1:       symbol VIRTIO is selected by REMOTEPROC
      drivers/remoteproc/Kconfig:4:   symbol REMOTEPROC is selected by OMAP_REMOTEPROC
      drivers/remoteproc/Kconfig:12:  symbol OMAP_REMOTEPROC depends on OMAP_IOMMU
      drivers/iommu/Kconfig:141:      symbol OMAP_IOMMU is selected by VIDEO_OMAP3
      drivers/media/platform/Kconfig:96:      symbol VIDEO_OMAP3 depends on VIDEO_V4L2
      drivers/media/v4l2-core/Kconfig:6:      symbol VIDEO_V4L2 depends on I2C
      drivers/i2c/Kconfig:7:  symbol I2C is selected by FB_DDC
      drivers/video/fbdev/Kconfig:59: symbol FB_DDC is selected by FB_CYBER2000_DDC
      drivers/video/fbdev/Kconfig:374:        symbol FB_CYBER2000_DDC depends on FB_CYBER2000
      drivers/video/fbdev/Kconfig:362:        symbol FB_CYBER2000 depends on FB
      
      Making VIDEO_OMAP3 depend on OMAP_IOMMU instead of selecting it breaks the
      loop, which looks like the best way to handle it to me.  Updated OMAP_IOMMU
      help text accordingly.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Acked-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      06b718c0
  15. 03 4月, 2015 2 次提交
  16. 03 3月, 2015 1 次提交
    • G
      [media] timberdale: VIDEO_TIMBERDALE should depend on HAS_DMA · 50d8e46f
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
          warning: (VIDEO_OMAP2_VOUT && VIDEO_VIU && VIDEO_TIMBERDALE) selects VIDEOBUF_DMA_CONTIG which has unmet direct dependencies (MEDIA_SUPPORT && HAS_DMA)
      
          drivers/built-in.o: In function `__videobuf_dc_free':
          videobuf-dma-contig.c:(.text+0x6f4d32): undefined reference to `dma_free_coherent'
          drivers/built-in.o: In function `__videobuf_dc_alloc':
          videobuf-dma-contig.c:(.text+0x6f4fe6): undefined reference to `dma_alloc_coherent'
          drivers/built-in.o: In function `__videobuf_mmap_mapper':
          videobuf-dma-contig.c:(.text+0x6f518e): undefined reference to `dma_free_coherent'
      
      Commit 24482922 ("[media] timberdale: do not select TIMB_DMA")
      dropped the dependency of VIDEO_TIMBERDALE on DMADEVICES, and thus the
      implicit dependency on HAS_DMA.  VIDEO_TIMBERDALE selects
      VIDEOBUF_DMA_CONTIG, which bypasses its dependency on HAS_DMA.  Make
      VIDEO_TIMBERDALE depend on HAS_DMA to fix this.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      50d8e46f
  17. 02 2月, 2015 3 次提交
  18. 27 1月, 2015 1 次提交
  19. 23 12月, 2014 2 次提交
  20. 17 12月, 2014 1 次提交
  21. 13 12月, 2014 1 次提交
  22. 28 10月, 2014 1 次提交
  23. 24 10月, 2014 1 次提交
  24. 03 9月, 2014 3 次提交
  25. 27 8月, 2014 4 次提交
  26. 31 7月, 2014 1 次提交
  27. 22 7月, 2014 2 次提交
  28. 25 5月, 2014 1 次提交