1. 16 Aug, 2021 23 commits
  2. 11 Aug, 2021 6 commits
  3. 10 Aug, 2021 8 commits
  4. 09 Aug, 2021 3 commits
    • Sergio Miguéns Iglesias's avatar
      drm/amdgpu: Removed unnecessary if statement · 6940db0f
      Sergio Miguéns Iglesias authored
      There was an "if" statement that did nothing so it was removed.
      Signed-off-by: default avatarSergio Miguéns Iglesias <sergio@lony.xyz>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      6940db0f
    • Randy Dunlap's avatar
      drm/amdgpu: fix kernel-doc warnings on non-kernel-doc comments · 7b42552b
      Randy Dunlap authored
      Don't use "begin kernel-doc notation" (/**) for comments that are
      not kernel-doc. This eliminates warnings reported by the 0day bot.
      
      drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:89: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
          * This shader is used to clear VGPRS and LDS, and also write the input
      drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:209: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
          * The below shaders are used to clear SGPRS, and also write the input
      drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:301: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
          * This shader is used to clear the uninitiated sgprs after the above
      
      Fixes: 0e0036c7 ("drm/amdgpu: fix no full coverage issue for gprs initialization")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: Dennis Li <Dennis.Li@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      7b42552b
    • Randy Dunlap's avatar
      drm/amd/display: use do-while-0 for DC_TRACE_LEVEL_MESSAGE() · f59a66c1
      Randy Dunlap authored
      Building with W=1 complains about an empty 'else' statement, so use the
      usual do-nothing-while-0 loop to quieten this warning.
      
      ../drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:113:53: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
        113 |                                 *state, retry_count);
      
      Fixes: b30eda8d ("drm/amd/display: Add ETW log to dmub_psr_get_state")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Wyatt Wood <wyatt.wood@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      f59a66c1