1. 02 Jul, 2015 3 commits
    • Tomi Valkeinen's avatar
      drm/omap: fix omap_framebuffer_unpin() error handling · 9c368506
      Tomi Valkeinen authored
      omap_framebuffer_unpin() check the return value of omap_gem_put_paddr()
      and return immediately if omap_gem_put_paddr() fails.
      
      This patch removes the check for the return value, and also removes the
      return value of omap_framebuffer_unpin(), because:
      
       * Nothing checks the return value of omap_framebuffer_unpin(), and even
         something did check it, there's nothing the caller can do to handle
         the error.
      
       * If a omap_gem_put_paddr() fails, the framebuffer's other planes will
         be left unreleased. So it's better to call omap_gem_put_paddr() for
         all the planes, even if one would fail.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      9c368506
    • Tomi Valkeinen's avatar
      drm/omap: increase DMM transaction timeout · 96cbd142
      Tomi Valkeinen authored
      The DMM driver uses a timeout of 1 ms to wait for DMM transaction to
      finish. While DMM should always finish the operation within that time,
      the timeout is rather strict. Small misbehavior of the system (e.g. an
      irq taking too long) could trigger the timeout.
      
      As the DMM is a critical piece of code for display memory management,
      let's increase the timeout to 100 ms so that we are less likely to fail
      a memory allocation in case of system misbehaviors. 100 ms is just a
      guess of a reasonably large timeout. The HW should accomplish the task
      in less than 1 ms.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      96cbd142
    • Tomi Valkeinen's avatar
      drm/omap: check that plane is inside crtc · c423bc85
      Tomi Valkeinen authored
      DRM allows planes to be partially off-screen, but DSS hardware does not.
      This patch adds the necessary check to reject plane configs if the plane
      is not fully inside the crtc.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      c423bc85
  2. 24 Jun, 2015 1 commit
  3. 12 Jun, 2015 36 commits