1. 04 12月, 2011 6 次提交
  2. 22 11月, 2011 22 次提交
  3. 18 11月, 2011 3 次提交
    • T
      OMAPDSS: DISPC: skip scaling calculations when not scaling · f95cb5eb
      Tomi Valkeinen 提交于
      Current code calculates scaling factors for video overlays even when the
      overlays are not scaled. Change the code to skip calculations when not
      scaling.
      
      This optimizes the code a bit, but also fixes a problem when configuring
      an overlay for a disabled display: if the display is disabled we don't
      necessarily know the pixel clock used when the display is enabled, and
      in some cases (like HDMI) the pixel clock is set to zero until a proper
      video mode is set later. A wrong pixel clock will mess up the
      scaling calculations, causing an error like:
      
      omapdss DISPC error: failed to set up scaling, required fclk rate = 0
      Hz, current fclk rate = 170666666 Hz
      
      A proper fix would be to check later whether the clocks are enough for the
      scaling, at the point when the overlay or display is actually enabled,
      but this patch removes the problem for now.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      f95cb5eb
    • T
      OMAPFB: fix compilation warnings due to missing include · 1c6bc899
      Tomi Valkeinen 提交于
      Fix warnings similar to this by including module.h:
      
      drivers/video/omap/dispc.c:276:1: warning: data definition has no type
      or storage class
      drivers/video/omap/dispc.c:276:1: warning: type defaults to 'int' in
      declaration of 'EXPORT_SYMBOL'
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      1c6bc899
    • T
      OMAPDSS: HDMI: fix returned HDMI pixel clock · ef319c6e
      Tomi Valkeinen 提交于
      hdmi_get_pixel_clock() returns the pixel clock in Hz, but the pck is
      stored as kHz. This means the return value has to be multiplied by 1000,
      not by 10000 as the code did.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      ef319c6e
  4. 16 11月, 2011 7 次提交
  5. 15 11月, 2011 1 次提交
    • L
      fsl-rio: fix compile error · e0ce42e1
      Liu Gang 提交于
      The "#include <linux/module.h>" was replaced by "#include <linux/export.h>"
      in the patch "powerpc: various straight conversions from module.h --> export.h".
      This will cause the following compile problem:
      arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
      arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of function 'search_exception_tables'.
      
      The file fsl_rio.c needs the declaration of function "search_exception_tables"
      in the header file "linux/module.h".
      Signed-off-by: NLiu Gang <Gang.Liu@freescale.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      e0ce42e1
  6. 14 11月, 2011 1 次提交
    • L
      blackfin: Fixup export.h includes · 90590543
      Lars-Peter Clausen 提交于
      Commit 8dc7a9c8 ("blackfin: Add export.h to files using
      EXPORT_SYMBOL/THIS_MODULE") inserted some of the include statements into
      sections protected by an unrelated #if CONFIG_... statement. This can cause,
      depending on the configuration used, warnings like this one:
      
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: data definition has no type or storage class
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: parameter names (without types) in function declaration
      
      This patch fixes it by moving the includes out of the #if protected sections.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NBob Liu <lliubbo@gmail.com>
      90590543