1. 25 1月, 2023 5 次提交
  2. 20 1月, 2023 2 次提交
  3. 19 1月, 2023 1 次提交
  4. 18 1月, 2023 1 次提交
  5. 14 1月, 2023 4 次提交
  6. 11 1月, 2023 3 次提交
  7. 10 1月, 2023 1 次提交
  8. 04 1月, 2023 5 次提交
  9. 21 12月, 2022 2 次提交
  10. 16 12月, 2022 4 次提交
  11. 14 12月, 2022 1 次提交
  12. 02 12月, 2022 2 次提交
  13. 30 11月, 2022 1 次提交
    • S
      drm/amd/display: Fix race condition in DPIA AUX transfer · ead08b95
      Stylon Wang 提交于
      [Why]
      This fix was intended for improving on coding style but in the process
      uncovers a race condition, which explains why we are getting incorrect
      length in DPIA AUX replies. Due to the call path of DPIA AUX going from
      DC back to DM layer then again into DC and the added complexities on top
      of current DC AUX implementation, a proper fix to rely on current dc_lock
      to address the race condition is difficult without a major overhual
      on how DPIA AUX is implemented.
      
      [How]
      - Add a mutex dpia_aux_lock to protect DPIA AUX transfers
      - Remove DMUB_ASYNC_TO_SYNC_ACCESS_* codes and rely solely on
        aux_return_code_type for error reporting and handling
      - Separate SET_CONFIG from DPIA AUX transfer because they have quiet
        different processing logic
      - Remove unnecessary type casting to and from void * type
      Reviewed-by: NNicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
      Acked-by: NJasdeep Dhillon <jdhillon@amd.com>
      Signed-off-by: NStylon Wang <stylon.wang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      ead08b95
  14. 23 11月, 2022 1 次提交
  15. 17 11月, 2022 1 次提交
    • L
      drm/amdgpu/mst: Stop ignoring error codes and deadlocking · 7cce4cd6
      Lyude Paul 提交于
      It appears that amdgpu makes the mistake of completely ignoring the return
      values from the DP MST helpers, and instead just returns a simple
      true/false. In this case, it seems to have come back to bite us because as
      a result of simply returning false from
      compute_mst_dsc_configs_for_state(), amdgpu had no way of telling when a
      deadlock happened from these helpers. This could definitely result in some
      kernel splats.
      
      V2:
      * Address Wayne's comments (fix another bunch of spots where we weren't
        passing down return codes)
      Signed-off-by: NLyude Paul <lyude@redhat.com>
      Fixes: 8c20a1ed ("drm/amd/display: MST DSC compute fair share")
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: <stable@vger.kernel.org> # v5.6+
      Reviewed-by: NWayne Lin <Wayne.Lin@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      7cce4cd6
  16. 16 11月, 2022 6 次提交