1. 02 Aug, 2019 2 commits
    • Monk Liu's avatar
      drm/amdgpu: cleanup vega10 SRIOV code path · 4cd4c5c0
      Monk Liu authored
      we can simplify all those unnecessary function under
      SRIOV for vega10 since:
      1) PSP L1 policy is by force enabled in SRIOV
      2) original logic always set all flags which make itself
         a dummy step
      
      besides,
      1) the ih_doorbell_range set should also be skipped
      for VEGA10 SRIOV.
      2) the gfx_common registers should also be skipped
      for VEGA10 SRIOV.
      Signed-off-by: default avatarMonk Liu <Monk.Liu@amd.com>
      Reviewed-by: default avatarEmily Deng <Emily.Deng@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      4cd4c5c0
    • Kevin Wang's avatar
      drm/amd/powerplay: sort feature status index by asic feature id for smu · 67194518
      Kevin Wang authored
      before this change, the pp_feature sysfs show feature enable state by
      logic feature id, it is not easy to read.
      this change will sort pp_features show index by asic feature id.
      
      before:
      features high: 0x00000623 low: 0xb3cdaffb
      00. DPM_PREFETCHER       ( 0) : enabeld
      01. DPM_GFXCLK           ( 1) : enabeld
      02. DPM_UCLK             ( 3) : enabeld
      03. DPM_SOCCLK           ( 4) : enabeld
      04. DPM_MP0CLK           ( 5) : enabeld
      05. DPM_LINK             ( 6) : enabeld
      06. DPM_DCEFCLK          ( 7) : enabeld
      07. DS_GFXCLK            (10) : enabeld
      08. DS_SOCCLK            (11) : enabeld
      09. DS_LCLK              (12) : disabled
      10. PPT                  (23) : enabeld
      11. TDC                  (24) : enabeld
      12. THERMAL              (33) : enabeld
      13. RM                   (35) : disabled
      ......
      
      after:
      features high: 0x00000623 low: 0xb3cdaffb
      00. DPM_PREFETCHER       ( 0) : enabeld
      01. DPM_GFXCLK           ( 1) : enabeld
      02. DPM_GFX_PACE         ( 2) : disabled
      03. DPM_UCLK             ( 3) : enabeld
      04. DPM_SOCCLK           ( 4) : enabeld
      05. DPM_MP0CLK           ( 5) : enabeld
      06. DPM_LINK             ( 6) : enabeld
      07. DPM_DCEFCLK          ( 7) : enabeld
      08. MEM_VDDCI_SCALING    ( 8) : enabeld
      09. MEM_MVDD_SCALING     ( 9) : enabeld
      10. DS_GFXCLK            (10) : enabeld
      11. DS_SOCCLK            (11) : enabeld
      12. DS_LCLK              (12) : disabled
      13. DS_DCEFCLK           (13) : enabeld
      ......
      Signed-off-by: default avatarKevin Wang <kevin1.wang@amd.com>
      Reviewed-by: default avatarKenneth Feng <kenneth.feng@amd.com>
      Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      67194518
  2. 31 Jul, 2019 38 commits