1. 22 Nov, 2011 3 commits
  2. 18 Nov, 2011 3 commits
    • Tomi Valkeinen's avatar
      OMAPDSS: DISPC: skip scaling calculations when not scaling · f95cb5eb
      Tomi Valkeinen authored
      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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      f95cb5eb
    • Tomi Valkeinen's avatar
      OMAPFB: fix compilation warnings due to missing include · 1c6bc899
      Tomi Valkeinen authored
      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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      1c6bc899
    • Tomi Valkeinen's avatar
      OMAPDSS: HDMI: fix returned HDMI pixel clock · ef319c6e
      Tomi Valkeinen authored
      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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      ef319c6e
  3. 15 Nov, 2011 7 commits
  4. 14 Nov, 2011 7 commits
  5. 13 Nov, 2011 1 commit
  6. 12 Nov, 2011 17 commits
  7. 11 Nov, 2011 2 commits