1. 29 10月, 2014 3 次提交
  2. 26 9月, 2014 3 次提交
    • M
      [media] s5p_mfc: use static for some structs · ca5ea0c5
      Mauro Carvalho Chehab 提交于
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1334:28: warning: symbol 'mfc_buf_size_v5' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1341:25: warning: symbol 'buf_size_v5' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1347:26: warning: symbol 'mfc_buf_align_v5' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1360:28: warning: symbol 'mfc_buf_size_v6' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1368:25: warning: symbol 'buf_size_v6' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1374:26: warning: symbol 'mfc_buf_align_v6' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1392:28: warning: symbol 'mfc_buf_size_v7' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1400:25: warning: symbol 'buf_size_v7' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1406:26: warning: symbol 'mfc_buf_align_v7' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1419:28: warning: symbol 'mfc_buf_size_v8' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1427:25: warning: symbol 'buf_size_v8' was not declared. Should it be static?
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1433:26: warning: symbol 'mfc_buf_align_v8' was not declared. Should it be static?
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      ca5ea0c5
    • S
      [media] s5p-mfc: Use decode status instead of display status on MFCv5 · 7c672812
      Sjoerd Simons 提交于
      Commit 90c0ae50 changed how the frame_type of a decoded frame
      gets determined, by switching from the get_dec_frame_type to
      get_disp_frame_type operation. Unfortunately it seems that on MFC v5 the
      result of get_disp_frame_type is always 0 (no display) when decoding
      (tested with H264), resulting in no frame ever being output from the
      decoder.
      
      This patch reverts MFC v5 to the previous behaviour while keeping the
      new behaviour for v6 and up.
      Signed-off-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk>
      Signed-off-by: NKamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7c672812
    • K
      [media] s5p-mfc: Fix sparse errors in the MFC driver · e2c3be2a
      Kamil Debski 提交于
      The following error: "error: incompatible types in conditional expression
      (different base types)" was reported multiple times for the s5p-mfc
      driver. This error was caused by two macro definitions - s5p_mfc_hw_call
      (in s5p_mfc_common.h) and WRITEL (in s5p_mfc_opr_v6.c).
      
      In the former case the macro assumed that all ops return a value, but some
      ops return void. The solution to this problem was the addition of a
      s5p_mfc_hw_call_void macro.
      
      In the latter case the macro used the ?: construction to check whether
      the address is non zero. This is not necessary after the driver left the
      development and debugging cycle, so the READL and WRITEL macros were
      removed.
      Signed-off-by: NKamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      e2c3be2a
  3. 27 8月, 2014 2 次提交
    • M
      [media] s5p_mfc: get rid of several warnings · 8492ec69
      Mauro Carvalho Chehab 提交于
      drivers/media/platform/s5p-mfc/s5p_mfc_dec.c:826:5: warning: no previous prototype for 'vidioc_decoder_cmd' [-Wmissing-prototypes]
       int vidioc_decoder_cmd(struct file *file, void *priv,
           ^
      drivers/media/platform/s5p-mfc/s5p_mfc.c: In function 's5p_mfc_runtime_resume':
      drivers/media/platform/s5p-mfc/s5p_mfc.c:1314:6: warning: variable 'pre_power' set but not used [-Wunused-but-set-variable]
        int pre_power;
            ^
      drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c:163:25: warning: no previous prototype for 's5p_mfc_init_hw_cmds_v5' [-Wmissing-prototypes]
       struct s5p_mfc_hw_cmds *s5p_mfc_init_hw_cmds_v5(void)
                               ^
      drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c:156:25: warning: no previous prototype for 's5p_mfc_init_hw_cmds_v6' [-Wmissing-prototypes]
       struct s5p_mfc_hw_cmds *s5p_mfc_init_hw_cmds_v6(void)
                               ^
      drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c: In function 's5p_mfc_run_dec_frame':
      drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:1189:15: warning: variable 'index' set but not used [-Wunused-but-set-variable]
        unsigned int index;
                     ^
      drivers/media/platform/s5p-mfc/s5p_mfc_enc.c: In function 'cleanup_ref_queue':
      drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:742:27: warning: variable 'mb_c_addr' set but not used [-Wunused-but-set-variable]
        unsigned long mb_y_addr, mb_c_addr;
                                 ^
      drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:742:16: warning: variable 'mb_y_addr' set but not used [-Wunused-but-set-variable]
        unsigned long mb_y_addr, mb_c_addr;
                      ^
      drivers/media/platform/s5p-mfc/s5p_mfc_enc.c: At top level:
      drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1684:5: warning: no previous prototype for 'vidioc_encoder_cmd' [-Wmissing-prototypes]
       int vidioc_encoder_cmd(struct file *file, void *priv,
           ^
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      8492ec69
    • M
      [media] s5p_mfc: don't use an external symbol called 'debug' · 139adba6
      Mauro Carvalho Chehab 提交于
      The 'debug' name is known to cause conflicts with allyesconfig
      on several archs. So, localize its name.
      
      >> drivers/built-in.o:(.bss+0xc7ee2c): multiple definition of `debug'
         arch/x86/built-in.o:(.entry.text+0xf78): first defined here
         ld: Warning: size of symbol `debug' changed from 86 in arch/x86/built-in.o to 4 in drivers/built-in.o
      
      While here, fix a wrong file name reference
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      139adba6
  4. 31 7月, 2014 1 次提交
  5. 22 7月, 2014 2 次提交
  6. 24 5月, 2014 9 次提交
  7. 11 3月, 2014 1 次提交
  8. 06 3月, 2014 2 次提交
  9. 13 1月, 2014 1 次提交
  10. 10 12月, 2013 1 次提交
  11. 30 11月, 2013 1 次提交
  12. 29 10月, 2013 2 次提交
  13. 18 8月, 2013 1 次提交
  14. 13 6月, 2013 1 次提交
  15. 04 6月, 2013 3 次提交
  16. 25 4月, 2013 2 次提交
  17. 15 4月, 2013 1 次提交
  18. 12 4月, 2013 1 次提交
  19. 22 3月, 2013 1 次提交
  20. 06 3月, 2013 1 次提交
  21. 06 2月, 2013 1 次提交