1. 07 Dec, 2012 3 commits
    • Tomi Valkeinen's avatar
      OMAPFB: simplify locking · b41deecb
      Tomi Valkeinen authored
      Kernel lock verification code has lately detected possible circular
      locking in omapfb. The exact problem is unclear, but omapfb's current
      locking seems to be overly complex.
      
      This patch simplifies the locking in the following ways:
      
      - Remove explicit omapfb mem region locking. I couldn't figure out the
        need for this, as long as we take care to take omapfb lock.
      
      - Get omapfb lock always, even if the operation is possibly only related
        to one fb_info. Better safe than sorry, and normally there's only one
        user for the fb so this shouldn't matter.
      
      - Make sure fb_info lock is taken first, then omapfb lock.
      
      With this patch the warnings about possible circular locking does not
      happen anymore.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      b41deecb
    • Tomi Valkeinen's avatar
      OMAPFB: move dssdev->sync call out from omapfb_realloc_fbmem · 636f4e1b
      Tomi Valkeinen authored
      Currently omapfb_realloc_fbmem() calls dssdev->sync to ensure any
      possible frame update is finished. This patch moves the call to
      dssdev->sync from omapfb_realloc_fbmem to the callers of
      omapfb_realloc_fbmem.
      
      This keeps dssdev related calls out from omapfb_realloc_fbmem, which
      makes sense as the function should only deal with fb memory. Also, this
      seems to avoid a lockdep warning about possible circular locking.
      However, the exact reason for that warning is still unclear.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      636f4e1b
    • Tomi Valkeinen's avatar
      OMAPFB: remove exported udpate window · 09645d25
      Tomi Valkeinen authored
      omapfb contains an exported omapfb_update_window function, which, at
      some point in history, was used by a closed source SGX driver. This was
      a hack even then, and should not be needed anymore. So remove it.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      09645d25
  2. 30 Nov, 2012 1 commit
  3. 29 Nov, 2012 3 commits
  4. 27 Nov, 2012 15 commits
  5. 26 Nov, 2012 1 commit
  6. 23 Nov, 2012 1 commit
    • Tomi Valkeinen's avatar
      OMAPFB: fix compilation error · 9b76c9cd
      Tomi Valkeinen authored
      omapfb compilation fails on x86 (but not on omap):
      
      drivers/video/omap2/omapfb/omapfb-ioctl.c: In function ‘omapfb_ioctl’:
      drivers/video/omap2/omapfb/omapfb-ioctl.c:861:23: error: ‘SZ_1M’ undeclared (first use in this function)
      drivers/video/omap2/omapfb/omapfb-ioctl.c:861:23: note: each undeclared identifier is reported only once for each function it appears in
      
      Fix this by including linux/sizes.h.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      9b76c9cd
  7. 22 Nov, 2012 2 commits
  8. 20 Nov, 2012 2 commits
  9. 19 Nov, 2012 2 commits
  10. 16 Nov, 2012 3 commits
  11. 13 Nov, 2012 5 commits
  12. 12 Nov, 2012 2 commits