1. 24 10月, 2014 1 次提交
  2. 03 9月, 2014 3 次提交
  3. 27 8月, 2014 4 次提交
  4. 31 7月, 2014 1 次提交
  5. 22 7月, 2014 2 次提交
  6. 25 5月, 2014 1 次提交
  7. 16 4月, 2014 1 次提交
    • J
      platform: Fix timberdale dependencies · 2dda47d1
      Jean Delvare 提交于
      VIDEO_TIMBERDALE selects TIMB_DMA which itself depends on
      MFD_TIMBERDALE, so VIDEO_TIMBERDALE should either select or depend on
      MFD_TIMBERDALE as well. I chose to make it depend on it because I
      think it makes more sense and it is consistent with what other options
      are doing.
      
      Adding a "|| HAS_IOMEM" to the TIMB_DMA dependencies silenced the
      kconfig warning about unmet direct dependencies but it was wrong:
      without MFD_TIMBERDALE, TIMB_DMA is useless as the driver has no
      device to bind to.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      2dda47d1
  8. 11 3月, 2014 1 次提交
    • G
      [media] v4l: VIDEO_SH_VOU should depend on HAS_DMA · 111eeaa7
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
          warning: (VIDEO_DM6446_CCDC && VIDEO_DM355_CCDC && VIDEO_DM365_ISIF && VIDEO_OMAP2_VOUT && VIDEO_SH_VOU && VIDEO_VIU && VIDEO_TIMBERDALE && VIDEO_MX1 && VIDEO_OMAP1) selects VIDEOBUF_DMA_CONTIG which has unmet direct dependencies (MEDIA_SUPPORT && HAS_DMA)
      
          drivers/built-in.o: In function `videobuf_vm_close':
          videobuf-dma-contig.c:(.text+0x407aa0): undefined reference to `videobuf_queue_cancel'
          drivers/built-in.o: In function `__videobuf_dc_alloc':
          videobuf-dma-contig.c:(.text+0x407ba2): undefined reference to `dma_alloc_coherent'
          drivers/built-in.o: In function `__videobuf_mmap_mapper':
          videobuf-dma-contig.c:(.text+0x407d44): undefined reference to `dma_free_coherent'
          drivers/built-in.o: In function `free_buffer':
          sh_vou.c:(.text+0x41f73a): undefined reference to `videobuf_waiton'
          drivers/built-in.o: In function `sh_vou_poll':
          sh_vou.c:(.text+0x41f884): undefined reference to `videobuf_poll_stream'
          drivers/built-in.o: In function `sh_vou_buf_prepare':
          sh_vou.c:(.text+0x41fdf6): undefined reference to `videobuf_iolock'
          drivers/built-in.o: In function `sh_vou_reqbufs':
          sh_vou.c:(.text+0x4203b0): undefined reference to `videobuf_reqbufs'
          drivers/built-in.o: In function `sh_vou_querybuf':
          sh_vou.c:(.text+0x42040a): undefined reference to `videobuf_querybuf'
          drivers/built-in.o: In function `sh_vou_qbuf':
          sh_vou.c:(.text+0x42045e): undefined reference to `videobuf_qbuf'
          drivers/built-in.o: In function `sh_vou_dqbuf':
          sh_vou.c:(.text+0x4204c2): undefined reference to `videobuf_dqbuf'
          drivers/built-in.o: In function `sh_vou_streamon':
          sh_vou.c:(.text+0x420572): undefined reference to `videobuf_streamon'
          drivers/built-in.o: In function `sh_vou_streamoff':
          sh_vou.c:(.text+0x4205d2): undefined reference to `videobuf_streamoff'
          drivers/built-in.o: In function `sh_vou_mmap':
          sh_vou.c:(.text+0x420c46): undefined reference to `videobuf_mmap_mapper'
      
      VIDEO_SH_VOU selects VIDEOBUF_DMA_CONTIG, which bypasses its dependency on
      HAS_DMA.  Make VIDEO_SH_VOU 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 <m.chehab@samsung.com>
      111eeaa7
  9. 20 12月, 2013 1 次提交
    • H
      [media] omap24xx/tcm825x: move to staging for future removal · a03636cb
      Hans Verkuil 提交于
      The omap24xx driver and the tcm825x sensor driver are the only two
      remaining drivers to still use the old deprecated v4l2-int-device API.
      
      Nobody maintains these drivers anymore. But unfortunately the v4l2-int-device
      API is used by out-of-tree drivers (MXC platform). This is a very bad situation
      since as long as this deprecated API stays in the kernel there is no reason for
      those out-of-tree drivers to convert.
      
      This patch moves v4l2-int-device and the two drivers that depend on it to
      staging in preparation for their removal.
      
      If someone would be interested in getting these drivers to work, then start with
      this since it's not very far from the state where they used to work:
      
      <URL:http://vihersipuli.retiisi.org.uk/cgi-bin/gitweb.cgi?p=~sailus/linux-omap/.git;a=summary>
      
      The branch is n800-cam. Porting to up-to-date APIs can then be done. David
      might have done some work in that area, so check with him first.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Cc: Sakari Ailus <sakari.ailus@iki.fi>
      Cc: David Cohen <dacohen@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      a03636cb
  10. 10 12月, 2013 1 次提交
  11. 29 10月, 2013 2 次提交
    • F
      [media] platform: Kconfig: Select SRAM for VIDEO_CODA · e9436344
      Fabio Estevam 提交于
      Running the coda driver without CONFIG_SRAM selected leads to the following
      probe error:
      coda 63ff4000.vpu: iram pool not available
      coda: probe of 63ff4000.vpu failed with error -12
      In order to avoid it, select CONFIG_SRAM inside VIDEO_CODA.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NKamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      e9436344
    • A
      [media] v4l: ti-vpe: Add VPE mem to mem driver · 45719127
      Archit Taneja 提交于
      VPE is a block which consists of a single memory to memory path which
      can perform chrominance up/down sampling, de-interlacing, scaling, and
      color space conversion of raster or tiled YUV420 coplanar, YUV422
      coplanar or YUV422 interleaved video formats.
      
      We create a mem2mem driver based primarily on the mem2mem-testdev
      example. The de-interlacer, scaler and color space converter are all
      bypassed for now to keep the driver simple. Chroma up/down sampler
      blocks are implemented, so conversion beteen different YUV formats is
      possible.
      
      Each mem2mem context allocates a buffer for VPE MMR values which it will
      use when it gets access to the VPE HW via the mem2mem queue, it also
      allocates a VPDMA descriptor list to which configuration and data
      descriptors are added.
      
      Based on the information received via v4l2 ioctls for the source and
      destination queues, the driver configures the values for the MMRs, and
      stores them in the buffer. There are also some VPDMA parameters like
      frame start and line mode which needs to be configured, these are
      configured by direct register writes via the VPDMA helper functions.
      
      The driver's device_run() mem2mem op will add each descriptor based on
      how the source and destination queues are set up for the given ctx, once
      the list is prepared, it's submitted to VPDMA, these descriptors when
      parsed by VPDMA will upload MMR registers, start DMA of video buffers on
      the various input and output clients/ports.
      
      When the list is parsed completely(and the DMAs on all the output ports
      done), an interrupt is generated which we use to notify that the source
      and destination buffers are done. The rest of the driver is quite
      similar to other mem2mem drivers, we use the multiplane v4l2 ioctls as
      the HW support coplanar formats.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NKamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      45719127
  12. 06 10月, 2013 1 次提交
  13. 04 10月, 2013 1 次提交
    • G
      [media] media/v4l2: VIDEO_RENESAS_VSP1 should depend on HAS_DMA · 66bf8fa2
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      warning: (... && VIDEO_RENESAS_VSP1 && ...) 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:202: 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:385: error: implicit declaration of function ‘dma_get_sgtable’
      make[7]: *** [drivers/media/v4l2-core/videobuf2-dma-contig.o] Error 1
      VIDEO_RENESAS_VSP1 (which doesn't have a platform dependency) selects
      VIDEOBUF2_DMA_CONTIG, but the latter depends on HAS_DMA.
      Make VIDEO_RENESAS_VSP1 depend on HAS_DMA to fix this.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      66bf8fa2
  14. 13 9月, 2013 1 次提交
  15. 23 8月, 2013 1 次提交
    • G
      [media] media/v4l2: VIDEO_SH_VEU should depend on HAS_DMA · 976f375d
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’:
      drivers/media/v4l2-core/videobuf2-dma-contig.c:204: 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:387: error: implicit declaration of function ‘dma_get_sgtable’
      Commit da508f57 ("[media] media/v4l2:
      VIDEOBUF2_DMA_CONTIG should depend on HAS_DMA") added a dependency on
      HAS_DMA to VIDEO_SH_VEU, as it selects VIDEOBUF2_DMA_CONTIG.
      However, this got lost in the merge conflict resolution in commit
      df90e225 ("Merge branch 'devel-for-v3.10'
      into v4l_for_linus").
      Re-add the dependency to fix this.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      976f375d
  16. 18 8月, 2013 1 次提交
  17. 29 6月, 2013 1 次提交
  18. 23 6月, 2013 1 次提交
    • G
      console/font: Refactor font support code selection logic · d1e183c8
      Geert Uytterhoeven 提交于
      The current Makefile rules to build font support are messy and buggy.
      Replace them by Kconfig rules:
        - Introduce CONFIG_FONT_SUPPORT, which controls the building of all font
          code,
        - Select CONFIG_FONT_SUPPORT for all drivers that use fonts,
        - Select CONFIG_FONT_8x16 for all drivers that default to the VGA8x16
          font,
        - Drop the bogus console dependency for CONFIG_VIDEO_VIVI,
        - Always process drivers/video/console/Makefile, as some drivers need
          fonts even if CONFIG_VT is not set.
      
      This fixes (if CONFIG_SOLO6X10=y and there are no built-in console
      drivers):
      
      drivers/built-in.o: In function `solo_osd_print':
      drivers/staging/media/solo6x10/solo6x10-enc.c:144: undefined reference to `.find_font'
      
      This fixes (if CONFIG_VT=n):
      
      drivers/built-in.o: In function `vivi_init':
      vivi.c:(.init.text+0x1a3da): undefined reference to `find_font'
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: Hans Verkuil <hans.verkuil@cisco.com> [original part]
      Acked-by: Randy Dunlap <rdunlap@infradead.org> [drivers/video/Makefile]
      d1e183c8
  19. 19 6月, 2013 1 次提交
  20. 30 4月, 2013 1 次提交
  21. 31 3月, 2013 1 次提交
  22. 21 3月, 2013 1 次提交
  23. 19 3月, 2013 1 次提交
  24. 22 1月, 2013 1 次提交
  25. 06 1月, 2013 1 次提交
  26. 21 12月, 2012 1 次提交
  27. 28 11月, 2012 1 次提交
  28. 06 10月, 2012 1 次提交
  29. 27 9月, 2012 1 次提交
  30. 16 9月, 2012 1 次提交
  31. 15 9月, 2012 2 次提交
  32. 21 8月, 2012 1 次提交
    • M
      [media] Kconfig: merge all customise options into just one · fccea74f
      Mauro Carvalho Chehab 提交于
      Instead of having 3 options to allow customizing the media
      sub-drivers (tuners, I2C drivers, frontends), merge all of
      them into just one.
      
      That simplifies the life for users, as they can just keep
      this untouched.
      
      Life for developers is also simpler, as there's now just
      one Kconfig item to remember, for the ancillary sub-drivers
      providing supports for chips that could change from one
      board design to another.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      fccea74f