1. 16 6月, 2018 11 次提交
  2. 15 6月, 2018 6 次提交
  3. 14 6月, 2018 14 次提交
  4. 09 6月, 2018 1 次提交
  5. 08 6月, 2018 2 次提交
  6. 07 6月, 2018 4 次提交
  7. 05 6月, 2018 2 次提交
    • S
      drm/msm: Fix NULL deref on bind/probe deferral · 74d3a3a7
      Sean Paul 提交于
      This patch avoids dereferencing msm_host->dev when it is NULL.
      
      If we find ourselves tearing down dsi before calling
      (mdp4|mdp5|dpu)_kms_init(), we'll end up in a state where the dev
      pointer is NULL and trying to extract priv from it will fail.
      
      This was introduced in a seemingly innocuous commit to ensure the
      arguments to msm_gem_put_iova() are correct (even though that
      function has been a stub for ~5 years). Correctness FTW! \o/
      
      Fixes: b01884a286b0 drm/msm: use correct aspace pointer in msm_gem_put_iova()
      Cc: Daniel Mack <daniel@zonque.org>
      Cc: Rob Clark <robdclark@gmail.com>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      74d3a3a7
    • S
      drm/msm: Switch to atomic_helper_commit() · d14659f5
      Sean Paul 提交于
      Now that all of the msm-specific goo is tucked safely away we can switch
      over to using the atomic helper commit directly. \o/
      
      Changes in v2:
      - None
      Changes in v3:
      - Rebased on Archit's private_obj set
      Changes in v4:
      - None
      
      Cc: Abhinav Kumar <abhinavk@codeaurora.org>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      d14659f5