1. 10 Mar, 2015 6 commits
  2. 09 Mar, 2015 1 commit
  3. 07 Mar, 2015 17 commits
  4. 06 Mar, 2015 2 commits
    • Mathias Nyman's avatar
      xhci: Workaround for PME stuck issues in Intel xhci · b8cb91e0
      Mathias Nyman authored
      
      The xhci in Intel Sunrisepoint and Cherryview platforms need a driver
      workaround for a Stuck PME that might either block PME events in suspend,
      or create spurious PME events preventing runtime suspend.
      
      Workaround is to clear a internal PME flag, BIT(28) in a vendor specific
      PMCTRL register at offset 0x80a4, in both suspend resume callbacks
      
      Without this, xhci connected usb devices might never be able to wake up the
      system from suspend, or prevent device from going to suspend (xhci d3)
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b8cb91e0
    • Aleksander Morgado's avatar
      xhci: fix reporting of 0-sized URBs in control endpoint · 45ba2154
      Aleksander Morgado authored
      
      When a control transfer has a short data stage, the xHCI controller generates
      two transfer events: a COMP_SHORT_TX event that specifies the untransferred
      amount, and a COMP_SUCCESS event. But when the data stage is not short, only the
      COMP_SUCCESS event occurs. Therefore, xhci-hcd must set urb->actual_length to
      urb->transfer_buffer_length while processing the COMP_SUCCESS event, unless
      urb->actual_length was set already by a previous COMP_SHORT_TX event.
      
      The driver checks this by seeing whether urb->actual_length == 0, but this alone
      is the wrong test, as it is entirely possible for a short transfer to have an
      urb->actual_length = 0.
      
      This patch changes the xhci driver to rely on a new td->urb_length_set flag,
      which is set to true when a COMP_SHORT_TX event is received and the URB length
      updated at that stage.
      
      This fixes a bug which affected the HSO plugin, which relies on URBs with
      urb->actual_length == 0 to halt re-submitting the RX URB in the control
      endpoint.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAleksander Morgado <aleksander@aleksander.es>
      Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      45ba2154
  5. 05 Mar, 2015 11 commits
  6. 04 Mar, 2015 3 commits
    • Tvrtko Ursulin's avatar
      drm: Pass in new and old plane state to prepare_fb and cleanup_fb · d136dfee
      Tvrtko Ursulin authored
      
      Use cases like rotation require these hooks to have some context so they
      know how to prepare and cleanup the frame buffer correctly.
      
      For i915 specifically, object backing pages need to be mapped differently
      for different rotation modes and the driver needs to know which mapping to
      instantiate and which to tear down when transitioning between them.
      
      v2: Made passed in states const. (Daniel Vetter)
      
      [airlied: add mdp5 and atmel fixups]
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: dri-devel@lists.freedesktop.org
      Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      d136dfee
    • Rob Clark's avatar
      drm/msm: kexec fixes · aa80a4a5
      Rob Clark authored
      
      In kexec environment, we are more likely to encounter irq's already
      enabled from previous environment.  At which point we find that writes
      to disable/clear pending irq's are slightly less than useless without
      first enabling clocks.
      
      TODO: full blown state read-in so kexec'd kernel can inherit the mode
      already setup.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      aa80a4a5
    • Rob Clark's avatar
      drm/msm/mdp5: fix cursor blending · 757fdfaf
      Rob Clark authored
      
      Seems like we just want BLEND_EN and not BLEND_TRANSP_EN (setting the
      latter results in black pixels in the cursor image treated as
      transparent).
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      757fdfaf