1. 08 3月, 2018 3 次提交
  2. 06 3月, 2018 1 次提交
  3. 21 2月, 2018 1 次提交
  4. 21 12月, 2017 2 次提交
  5. 16 12月, 2017 2 次提交
  6. 14 12月, 2017 1 次提交
  7. 07 12月, 2017 9 次提交
  8. 05 12月, 2017 10 次提交
  9. 29 11月, 2017 7 次提交
  10. 15 11月, 2017 1 次提交
    • L
      drm/amd/display: Fix warnings on S3 resume · fcb4019e
      Leo (Sunpeng) Li 提交于
      This is a followup to the following revert:
      
      Rex Zhu    Revert "drm/amd/display: Match actual state during S3
                 resume."
      
      Three things needed to be addressed:
      
      1. Potential memory leak on dc_state creation in atomic_check during
         s3 resume
      2. Warnings are now seen in dmesg during S3 resume
      3. Since dc_state is now created in atomic_check, what the reverted
         patch was addressing needs to be reevaluated.
      
      This change addresses the above:
      
      1. Since the suspend procedure calls drm_atomic_state_clear, our hook
         for releasing the dc_state is called. This frees it before
         atomic_check creates it during resume. The leak does not occur.
      
      2. The dc_crtc/plane_state references kept by the atomic states need to
         be released before calling atomic_check, which warns if they are
         non-null. This is because atomic_check is responsible for creating
         the dc_*_states. This is a special case for S3 resume, since the
         atomic state duplication that occurs during suspend also copies a
         reference to the dc_*_states.
      
      3. See 2. comments are also updated to reflect this.
      Reviewed-by: NAndrey Grodzovsky <andrey.grodzovsky@amd.com>
      Signed-off-by: NLeo (Sunpeng) Li <sunpeng.li@amd.com>
      Reviewed-by: NHarry Wentland <Harry.Wentland@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      fcb4019e
  11. 14 11月, 2017 1 次提交
  12. 10 11月, 2017 1 次提交
  13. 08 11月, 2017 1 次提交