1. 14 Feb, 2014 2 commits
  2. 11 Feb, 2014 2 commits
    • Tomi Valkeinen's avatar
      OMAPDSS: fix fck field types · c56812fc
      Tomi Valkeinen authored
      'fck' field in dpi and sdi clock calculation struct is 'unsigned long
      long', even though it should be 'unsigned long'. This hasn't caused any
      issues so far.
      Fix the field's type.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    • Tomi Valkeinen's avatar
      OMAPDSS: DISPC: decimation rounding fix · eec77da2
      Tomi Valkeinen authored
      The driver uses DIV_ROUND_UP when calculating decimated width & height.
      For example, when decimating with 3, the width is calculated as:
        width = DIV_ROUND_UP(width, decim_x);
      This yields bad results for some values. For example, 800/3=266.666...,
      which is rounded to 267. When the input width is set to 267, and pixel
      increment is set to 3, this causes the dispc to read a line of 801
      pixels, i.e. it reads a wrong pixel at the end of the line.
      Even more pressing, the above rounding causes a BUG() in pixinc(), as
      the value of 801 is used to calculate row increment, leading to a bad
      value being passed to pixinc().
      This patch fixes the decimation by removing the DIV_ROUND_UP()s when
      calculating width and height for decimation.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
  3. 02 Feb, 2014 1 commit
  4. 31 Jan, 2014 1 commit
  5. 24 Jan, 2014 12 commits
  6. 17 Jan, 2014 20 commits
  7. 14 Jan, 2014 1 commit
    • Ivaylo Dimitrov's avatar
      OMAPDSS: DISPC: Fix 34xx overlay scaling calculation · e4998634
      Ivaylo Dimitrov authored
      commit 7faa9233
       OMAPDSS: DISPC: Handle
      synclost errors in OMAP3 introduces limits check to prevent SYNCLOST errors
      on OMAP3. However, it misses the logic found in Nokia kernels that is
      needed to correctly calculate whether 3 tap or 5 tap rescaler to be used as
      well as the logic to fallback to 3 taps if 5 taps clock results in too
      tight horizontal timings. Without that patch "horizontal timing too tight"
      errors are seen when a video with resolution above 640x350 is tried to be
      played. The patch is a forward-ported logic found in Nokia N900 and N9/50
      Signed-off-by: default avatarIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
  8. 13 Jan, 2014 1 commit
    • Tomi Valkeinen's avatar
      OMAPDSS: panel-acx565akm: clean-up locking · 0eb0dafb
      Tomi Valkeinen authored
      The locking in the acx565akm panel driver was getting too complex. Clean
      it up by making new functions, acx565akm_bl_get_intensity_locked and
      acx565akm_bl_update_status_locked, which are called by the backlight
      subsystem. This way the non-locked versions can be called by the panel's
      other funcs, simplifying the lock management.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>