1. 02 Mar, 2022 2 commits
    • Meng Tang's avatar
      gpu/amd: vega10_hwmgr: fix inappropriate private variable name · b8cb6ab6
      Meng Tang authored
      In file vega10_hwmgr.c, the names of struct vega10_power_state *
      and struct pp_power_state * are confusingly used, which may lead
      to some confusion.
      
      Status quo is that variables of type struct vega10_power_state *
      are named "vega10_ps", "ps", "vega10_power_state". A more
      appropriate usage is that struct are named "ps" is used for
      variabled of type struct pp_power_state *.
      
      So rename struct vega10_power_state * which are named "ps" and
      "vega10_power_state" to "vega10_ps", I also renamed "psa" to
      "vega10_psa" and "psb" to "vega10_psb" to make it more clearly.
      
      The rows longer than 100 columns are involved.
      Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
      Signed-off-by: default avatarMeng Tang <tangmeng@uniontech.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      b8cb6ab6
    • Luben Tuikov's avatar
      drm/amd/display: Don't fill up the logs · 52e8da70
      Luben Tuikov authored
      Don't fill up the logs with:
      
      [253557.859575] [drm:amdgpu_dm_atomic_check [amdgpu]] DSC precompute is not needed.
      [253557.892966] [drm:amdgpu_dm_atomic_check [amdgpu]] DSC precompute is not needed.
      [253557.926070] [drm:amdgpu_dm_atomic_check [amdgpu]] DSC precompute is not needed.
      [253557.959344] [drm:amdgpu_dm_atomic_check [amdgpu]] DSC precompute is not needed.
      
      which prints many times a second, when the kernel is run with
      drm.debug=2.
      
      Instead of DRM_DEBUG_DRIVER(), make it DRM_INFO_ONCE().
      
      Cc: Alex Deucher <Alexander.Deucher@amd.com>
      Cc: Roman Li <Roman.Li@amd.com>
      Cc: Felix Kuehling <felix.kuehling@amd.com>
      Cc: Hersen Wu <hersenwu@amd.com>
      Cc: Daniel Wheeler <daniel.wheeler@amd.com>
      Fixes: 17ce8a69 ("drm/amd/display: Add dsc pre-validation in atomic check")
      Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
      Reviewed-by: default avatarRoman Li <Roman.Li@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      52e8da70
  2. 01 Mar, 2022 1 commit
  3. 28 Feb, 2022 2 commits
  4. 27 Feb, 2022 5 commits
  5. 26 Feb, 2022 22 commits
  6. 25 Feb, 2022 8 commits