1. 06 8月, 2021 6 次提交
  2. 29 7月, 2021 3 次提交
  3. 23 7月, 2021 4 次提交
  4. 17 7月, 2021 2 次提交
  5. 13 7月, 2021 1 次提交
  6. 09 7月, 2021 2 次提交
  7. 30 6月, 2021 3 次提交
  8. 23 6月, 2021 1 次提交
  9. 22 6月, 2021 1 次提交
  10. 19 6月, 2021 2 次提交
  11. 16 6月, 2021 1 次提交
  12. 12 6月, 2021 1 次提交
  13. 09 6月, 2021 3 次提交
  14. 06 6月, 2021 1 次提交
  15. 05 6月, 2021 3 次提交
  16. 03 6月, 2021 4 次提交
  17. 02 6月, 2021 2 次提交
    • B
      drm/amd/display: fix warning: ‘update_dsc_caps’ and... · ea2be5c0
      Baokun Li 提交于
      drm/amd/display: fix warning: ‘update_dsc_caps’ and ‘apply_dsc_policy_for_stream’ defined but not used
      
      Fixes gcc '-Wunused-function' warning:
      
      ‘update_dsc_caps’ and ‘apply_dsc_policy_for_stream’ are only used
      if 'CONFIG_DRM_AMD_DC_DCN' is defined,
      
      however, it's defined even if 'CONFIG_DRM_AMD_DC_DCN' is not defined.
      Thus gcc will report following warning
      if 'CONFIG_DRM_AMD_DC_DCN' is not defined:
      
      drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5572:13: warning:
      ‘apply_dsc_policy_for_stream’ defined but not used [-Wunused-function]
      
      drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5556:13: warning:
      ‘update_dsc_caps’ defined but not used [-Wunused-function]
      
      Thus move the definition of ‘update_dsc_caps’ and
      ‘apply_dsc_policy_for_stream’ inside define macro to fix it.
      Signed-off-by: NBaokun Li <libaokun1@huawei.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      ea2be5c0
    • Y
      drm/amd/display: fix gcc set but not used warning of variable 'old_plane_state' · a6c3c37b
      Yu Kuai 提交于
      define a new macro for_each_new_plane_in_state_reverse to replace
      for_each_oldnew_plane_in_state_reverse, so that the unused variable
      'old_plane_state' can be removed.
      
      Fix gcc warning:
      drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:10066:26: warning:
       variable ‘old_plane_state’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: NYu Kuai <yukuai3@huawei.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      a6c3c37b