1. 11 9月, 2018 7 次提交
  2. 02 9月, 2018 8 次提交
  3. 30 8月, 2018 15 次提交
  4. 29 8月, 2018 7 次提交
  5. 28 8月, 2018 3 次提交
    • A
      drm/amdgpu: Refine gmc9 VM fault print. · 7d0aa376
      Andrey Grodzovsky 提交于
      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: NAndrey Grodzovsky <andrey.grodzovsky@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Reviewed-by: NMarek Olšák <marek.olsak@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      7d0aa376
    • D
      drm/amd/display: Flatten unnecessary i2c functions · 9bbf6a53
      David Francis 提交于
      [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: NDavid Francis <David.Francis@amd.com>
      Acked-by: NLeo Li <sunpeng.li@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      9bbf6a53
    • E
      drm/amd/display: support 48 MHZ refclk off · ad908423
      Eric Yang 提交于
      [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: NEric Yang <Eric.Yang2@amd.com>
      Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
      Acked-by: NLeo Li <sunpeng.li@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      ad908423