1. 11 Sep, 2018 7 commits
  2. 02 Sep, 2018 8 commits
  3. 30 Aug, 2018 2 commits
  4. 29 Aug, 2018 13 commits
  5. 28 Aug, 2018 7 commits
  6. 27 Aug, 2018 3 commits
    • Andrey Grodzovsky's avatar
      drm/amdgpu: Refine gmc9 VM fault print. · 7d0aa376
      Andrey Grodzovsky authored
      The fault reports the page number where the fault happend and not
      the exact faulty address. Update the print message to reflect that.
      Signed-off-by: default avatarAndrey Grodzovsky <andrey.grodzovsky@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      7d0aa376
    • David Francis's avatar
      drm/amd/display: Flatten unnecessary i2c functions · 9bbf6a53
      David Francis authored
      [Why]
      The dce_i2c_hw code contained four funtcions that were only
      called in one place and did not have a clearly delineated
      purpose.
      
      [How]
      Inline these functions, keeping the same functionality.
      
      This is not a functional change.
      
      The functions disable_i2c_hw_engine and release_engine_dce_hw were
      pulled into their respective callers.
      
      The most interesting part of this change is the acquire functions.
      dce_i2c_hw_engine_acquire_engine was pulled into
      dce_i2c_engine_acquire_hw, and dce_i2c_engine_acquire_hw was pulled
      into acquire_i2c_hw_engine.
      
      Some notes to show that this change is not functional:
      -Failure conditions in any function resulted in a cascade of calls that
      ended in a 'return NULL'.
      Those are replaced with a direct 'return NULL'.
      
      -The variable result is the one from dce_i2c_hw_engine_acquire_engine.
      The boolean result used as part of return logic was removed.
      
      -As the second half of dce_i2c_hw_engine_acquire_engine is only executed
      if that function is returning true and therefore exiting the do-while
      loop in dce_i2c_engine_acquire_hw, those lines were moved outside
      of the loop.
      Signed-off-by: default avatarDavid Francis <David.Francis@amd.com>
      Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      9bbf6a53
    • Eric Yang's avatar
      drm/amd/display: support 48 MHZ refclk off · ad908423
      Eric Yang authored
      [Why]
      On PCO and up, whenever SMU receive message to indicate active
      display count = 0. SMU will turn off 48MHZ TMDP reference clock
      by writing to 1 TMDP_48M_Refclk_Driver_PWDN. Once this clock is
      off, no PHY register will respond to register access. This means
      our current sequence of notifying display count along with requesting
      clock will cause driver to hang when accessing PHY registers after
      displays count goes to 0.
      
      [How]
      Separate the PPSMC_MSG_SetDisplayCount message from the SMU messages
      that request clocks, have display own sequencing of this message so
      that we can send it at the appropriate time.
      Do not redundantly power off HW when entering S3, S4, since display
      should already be called to disable all streams. And ASIC soon be
      powered down.
      Signed-off-by: default avatarEric Yang <Eric.Yang2@amd.com>
      Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
      Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      ad908423