1. 15 2月, 2018 1 次提交
  2. 23 9月, 2017 2 次提交
  3. 26 8月, 2017 1 次提交
  4. 09 8月, 2017 1 次提交
  5. 06 4月, 2017 1 次提交
  6. 29 11月, 2016 1 次提交
  7. 13 7月, 2016 1 次提交
    • H
      [media] adv7604/adv7842: fix quantization range handling · fd74246d
      Hans Verkuil 提交于
      Fix a number of bugs that appeared when support for mediabus formats was
      added:
      
      - Support for V4L2_DV_RGB_RANGE_FULL/LIMITED should only be enabled
        for HDMI RGB formats, not for YCbCr formats. Since, as the name
        says, this setting is for RGB only. So read the InfoFrame to check
        the format.
      
      - the quantization range for the pixelport depends on whether the
        mediabus code is RGB or not: if it is RGB, then produce full range
        RGB values, otherwise produce limited range YCbCr values.
      
        This means that the op_656_range and alt_data_sat fields of the
        platform data are no longer used and these will be removed in a
        following patch.
      
      - when setting up a new format the RGB quantization range settings
        were never updated. Do so, since this depends on the format.
      
      - fix the log_status output which was confusing and incorrect.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      fd74246d
  8. 09 7月, 2016 1 次提交
    • B
      [media] adv7842: Remove deprecated create_singlethread_workqueue · 1d3e1543
      Bhaktipriya Shridhar 提交于
      The workqueue "work_queues" enables hotplugging.
      It has a single work item(&state->delayed_work_enable_hotplug) and hence
      doesn't require ordering. Also, it is not being used on a memory
      reclaim path. Hence, the singlethreaded workqueue has been replaced with
      the use of system_wq.
      
      System workqueues have been able to handle high level of concurrency
      for a long time now and hence it's not required to have a singlethreaded
      workqueue just to gain concurrency. Unlike a dedicated per-cpu workqueue
      created with create_singlethread_workqueue(), system_wq allows multiple
      work items to overlap executions even on the same CPU; however, a
      per-cpu workqueue doesn't have any CPU locality or global ordering
      guarantee unless the target CPU is explicitly specified and thus the
      increase of local concurrency shouldn't make any difference.
      
      Work item has been sync cancelled in adv7842_remove() to ensure
      that there are no pending tasks while disconnecting the driver.
      Signed-off-by: NBhaktipriya Shridhar <bhaktipriya96@gmail.com>
      Acked-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      1d3e1543
  9. 28 6月, 2016 1 次提交
  10. 24 6月, 2016 1 次提交
  11. 25 4月, 2016 1 次提交
  12. 10 2月, 2016 1 次提交
  13. 11 1月, 2016 2 次提交
  14. 03 12月, 2015 1 次提交
  15. 17 11月, 2015 1 次提交
    • M
      [media] include/media: split I2C headers from V4L2 core · b5dcee22
      Mauro Carvalho Chehab 提交于
      Currently, include/media is messy, as it contains both the V4L2 core
      headers and some driver-specific headers on the same place. That makes
      harder to identify what core headers should be documented and what
      headers belong to I2C drivers that are included only by bridge/main
      drivers that would require the functions provided by them.
      
      Let's move those i2c specific files to its own subdirectory.
      
      The files to move were produced via the following script:
      	mkdir include/media/i2c
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/*/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	for i in include/media/*.h; do n=`basename $i`;  (for j in $(git grep -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep i2c list`" != "" ]; then git mv $i include/media/i2c; fi; fi; done
      
      And the references corrected via this script:
          MAIN_DIR="media/"
          PREV_DIR="media/"
          DIRS="i2c/"
      
          echo "Checking affected files" >&2
          for i in $DIRS; do
      	for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
      		 n=`basename $j`
      		git grep -l $n
      	done
          done|sort|uniq >files && (
      	echo "Handling files..." >&2;
      	echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "perl -ne 's,(include [\\\"\\<])$PREV_DIR($i)([\\\"\\>]),\1$MAIN_DIR$j\2\3,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done";
      	);
      	echo "Handling documentation..." >&2;
      	echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "  perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done"
      	);
          ) >script && . ./script
      
      Merged Sakari Ailus patch that moves smiapp.h to include/media/i2c.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      b5dcee22
  16. 12 8月, 2015 1 次提交
  17. 17 7月, 2015 2 次提交
  18. 06 7月, 2015 1 次提交
    • P
      [media] v4l2-dv-timings: add support for reduced blanking v2 · 5fea1bb7
      Prashant Laddha 提交于
      Added support for reduced blanking version 2 (RB v2) in cvt timings.
      Standard specifies a fixed vsync pulse of 8 lines to indicate RB v2
      timings. Vertical back porch is fixed at 6 lines and vertical front
      porch is remainder of vertical blanking time.
      
      For RB v2, horizontal blanking is fixed at 80 pixels. Horizontal sync
      is fixed at 32. All horizontal timing counts (active pixels, front,
      back porches) can be specified upto a precision of 1.
      
      RB v2 allows for non standard aspect ratios. In RB v2 vsync does not
      indicate aspect ratio. In absence of aspect ratio v4l2_detect_cvt()
      cannot calculate image width from image height. Hence extending the
      v4l2_detect_cvt() to pass image width in case of RB v2.
      Signed-off-by: NPrashant Laddha <prladdha@cisco.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      5fea1bb7
  19. 10 6月, 2015 2 次提交
  20. 21 5月, 2015 2 次提交
  21. 01 5月, 2015 2 次提交
  22. 08 4月, 2015 1 次提交
  23. 27 1月, 2015 2 次提交
  24. 15 11月, 2014 1 次提交
  25. 11 11月, 2014 1 次提交
  26. 22 9月, 2014 1 次提交
  27. 25 5月, 2014 4 次提交
  28. 17 4月, 2014 2 次提交
  29. 11 3月, 2014 1 次提交