Skip to content

Rid W=1 warnings from GPU

Lee Jones amd-gfx dri-devel linux-arm-kernel linux-media linux-mediatek linux-tegra lkml nouveau 1 version Applied

Status from this message: Applied. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest37 patches 42 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/37drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used indrivers/gpu/drm/amd/display/dc/dc_hdmi_types.h drivers/gpu/drm/amd/display/dc/link/link_detection.c+2 -11 reply
2/37drm/xlnx/zynqmp_disp: Use correct kerneldoc formatting in zynqmp_dispdrivers/gpu/drm/xlnx/zynqmp_disp.c+3 -35 replies
3/37drm/amd/amdgpu/amdgpu_device: Provide missing kerneldoc entry for 'reset_context'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c+1 -01 reply
4/37drm/xlnx/zynqmp_dp: Fix function name zynqmp_dp_link_train() -> zynqmp_dp_train()drivers/gpu/drm/xlnx/zynqmp_dp.c+1 -11 reply
5/37drm/ttm/ttm_bo: Provide a missing 'bulk' description and correct misnaming of 'placement'drivers/gpu/drm/ttm/ttm_bo.c+2 -11 reply
6/37drm/vkms/vkms_composer: Fix a few different kerneldoc formattingdrivers/gpu/drm/vkms/vkms_composer.c+4 -24 replies
7/37drm/mediatek/mtk_disp_aal: Remove half completed incorrect struct headerdrivers/gpu/drm/mediatek/mtk_disp_aal.c+0 -52 replies
8/37drm/mediatek/mtk_disp_ccorr: Remove half completed incorrect struct headerdrivers/gpu/drm/mediatek/mtk_disp_ccorr.c+0 -50 replies
9/37drm/tegra/dc: Remove set but unused variable 'state'drivers/gpu/drm/tegra/dc.c+0 -21 reply
10/37drm/nouveau/nvkm/nvfw/acr: Make local function ‘wpr_generic_header_dump’ staticdrivers/gpu/drm/nouveau/nvkm/nvfw/acr.c+1 -10 replies
11/37drm/nouveau/nvkm/subdev/acr/lsfw: Remove unused variable 'loc'drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c+1 -20 replies
12/37drm/nouveau/nvkm/subdev/bios/init: Demote a bunch of kernel-doc abusesdrivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c+68 -680 replies
13/37drm/amd/amdgpu/amdgpu_ucode: Remove unused function ‘amdgpu_ucode_print_imu_hdr’drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c+0 -131 reply
14/37drm/amd/amdgpu/amdgpu_vm_pt: Supply description for amdgpu_vm_pt_free_dfs()'s unlocked paramdrivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c+1 -01 reply
15/37drm/amd/amdgpu/gmc_v11_0: Provide a few missing param descriptions relating to hubs and flushesdrivers/gpu/drm/amd/amdgpu/gmc_v11_0.c+4 -01 reply
16/37drm/amd/amdgpu/ih_v6_0: Repair misspelling and provide descriptions for 'ih'drivers/gpu/drm/amd/amdgpu/ih_v6_0.c+4 -11 reply
17/37drm/amd/amdgpu/amdgpu_mes: Ensure amdgpu_bo_create_kernel()'s return value is checkeddrivers/gpu/drm/amd/amdgpu/amdgpu_mes.c+5 -01 reply
18/37drm/amd/amdgpu/amdgpu_vce: Provide description for amdgpu_vce_validate_bo()'s 'p' paramdrivers/gpu/drm/amd/amdgpu/amdgpu_vce.c+1 -01 reply
19/37drm/amd/pm/swsmu/smu11/vangogh_ppt: Provide a couple of missing parameter descriptionsdrivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c+2 -01 reply
20/37drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Move defines out to where they are actually useddrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c drivers/gpu/drm/amd/display/dc/link/link_detection.c +2 more+13 -131 reply
21/37drm/nouveau/nvkm/subdev/volt/gk20a: Demote kerneldoc abusesdrivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c+2 -20 replies
22/37drm/nouveau/nvkm/engine/fifo/runl: Staticify local function nvkm_engn_cgrp_get()drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c+1 -10 replies
23/37drm/nouveau/nvkm/engine/fifo/gf100: Staticify local function gf100_fifo_nonstall_block()drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c+1 -10 replies
24/37drm/nouveau/nvkm/engine/gr/gf100: Demote kerneldoc abusedrivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c+1 -10 replies
25/37drm/nouveau/nvkm/engine/gr/tu102: Staticify local function gf100_fifo_nonstall_block()drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c+1 -10 replies
26/37drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Move SYNAPTICS_DEVICE_ID into CONFIG_DRM_AMD_DC_DCN ifdefdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c+3 -31 reply
27/37drm/amd/display/dc/dce/dmub_psr: Demote kerneldoc abusedrivers/gpu/drm/amd/display/dc/dce/dmub_psr.c+1 -11 reply
28/37drm/amd/display/dc/core/dc_stat: Convert a couple of doc headers to kerneldoc formatdrivers/gpu/drm/amd/display/dc/core/dc_stat.c+10 -185 replies
29/37drm/amd/display/dc/link/link_detection: Remove unused variable 'status'drivers/gpu/drm/amd/display/dc/link/link_detection.c+1 -31 reply
30/37drm/amd/display/dc/link/protocols/link_dp_training: Remove set but unused variable 'result'drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c+1 -21 reply
31/37drm/nouveau/dispnv04/crtc: Demote kerneldoc abusesdrivers/gpu/drm/nouveau/dispnv04/crtc.c+2 -21 reply
32/37drm/amd/display/dc/link/protocols/link_dp_capability: Remove unused variable and mark another as __maybe_unuseddrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c+1 -11 reply
33/37drm/amd/display/dc/link/protocols/link_dp_capability: Demote non-compliant kerneldocdrivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c+1 -11 reply
34/37drm/nouveau/nvkm/engine/gr/tu102: Completely remove unused function ‘tu102_gr_load’drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c+0 -131 reply
35/37drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warningsdrivers/gpu/drm/amd/display/dc/dce60/Makefile+1 -11 reply
36/37drm/amd/display/dc/link/link_detection: Demote a couple of kerneldoc abusesdrivers/gpu/drm/amd/display/dc/link/link_detection.c+2 -22 replies
37/37drm/bridge/imx/Kconfig: Prevent imx-ldb-helper from appearing in 2 separate modulesdrivers/gpu/drm/bridge/imx/Kconfig drivers/gpu/drm/bridge/imx/Makefile drivers/gpu/drm/bridge/imx/imx-ldb-helper.c+25 -22 replies

Reviews trailers per patch

5 of 37 patches have a Reviewed-by or Acked-by.

PatchChristian KönigKarol HerbstLaurent PinchartHarry WentlandMelissa Wen
1/37
2/37
3/37
4/37R-b
5/37R-b
6/37R-b
7/37
8/37
9/37
10/37
11/37
12/37
13/37
14/37
15/37
16/37
17/37
18/37
19/37
20/37
21/37
22/37
23/37
24/37
25/37
26/37
27/37
28/37R-b
29/37
30/37
31/37R-b
32/37
33/37
34/37
35/37
36/37
37/37

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 00/37] Rid W=1 warnings from GPU

This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings.

Lee Jones (37):
drm/amd/display/dc/dc_hdmi_types: Move string definition to the only
file it's used in
drm/xlnx/zynqmp_disp: Use correct kerneldoc formatting in zynqmp_disp drm/amd/amdgpu/amdgpu_device: Provide missing kerneldoc entry for
'reset_context'
drm/xlnx/zynqmp_dp: Fix function name zynqmp_dp_link_train() ->
zynqmp_dp_train()
drm/ttm/ttm_bo: Provide a missing 'bulk' description and correct
misnaming of 'placement'
drm/vkms/vkms_composer: Fix a few different kerneldoc formatting drm/mediatek/mtk_disp_aal: Remove half completed incorrect struct
header
drm/mediatek/mtk_disp_ccorr: Remove half completed incorrect struct
header
drm/tegra/dc: Remove set but unused variable 'state' drm/nouveau/nvkm/nvfw/acr: Make local function
‘wpr_generic_header_dump’ static
drm/nouveau/nvkm/subdev/acr/lsfw: Remove unused variable 'loc' drm/nouveau/nvkm/subdev/bios/init: Demote a bunch of kernel-doc abuses drm/amd/amdgpu/amdgpu_ucode: Remove unused function
‘amdgpu_ucode_print_imu_hdr’
drm/amd/amdgpu/amdgpu_vm_pt: Supply description for
amdgpu_vm_pt_free_dfs()'s unlocked param
drm/amd/amdgpu/gmc_v11_0: Provide a few missing param descriptions
relating to hubs and flushes
drm/amd/amdgpu/ih_v6_0: Repair misspelling and provide descriptions
for 'ih'
drm/amd/amdgpu/amdgpu_mes: Ensure amdgpu_bo_create_kernel()'s return
value is checked
drm/amd/amdgpu/amdgpu_vce: Provide description for
amdgpu_vce_validate_bo()'s 'p' param
drm/amd/pm/swsmu/smu11/vangogh_ppt: Provide a couple of missing
parameter descriptions
drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Move defines out to where
they are actually used
drm/nouveau/nvkm/subdev/volt/gk20a: Demote kerneldoc abuses drm/nouveau/nvkm/engine/fifo/runl: Staticify local function
nvkm_engn_cgrp_get()
drm/nouveau/nvkm/engine/fifo/gf100: Staticify local function

    gf100_fifo_nonstall_block()
  drm/nouveau/nvkm/engine/gr/gf100: Demote kerneldoc abuse
  drm/nouveau/nvkm/engine/gr/tu102: Staticify local function
    gf100_fifo_nonstall_block()
  drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Move SYNAPTICS_DEVICE_ID
    into CONFIG_DRM_AMD_DC_DCN ifdef
  drm/amd/display/dc/dce/dmub_psr: Demote kerneldoc abuse
  drm/amd/display/dc/core/dc_stat: Convert a couple of doc headers to
    kerneldoc format
  drm/amd/display/dc/link/link_detection: Remove unused variable
    'status'
  drm/amd/display/dc/link/protocols/link_dp_training: Remove set but
    unused variable 'result'
  drm/nouveau/dispnv04/crtc: Demote kerneldoc abuses
  drm/amd/display/dc/link/protocols/link_dp_capability: Remove unused
    variable and mark another as __maybe_unused
  drm/amd/display/dc/link/protocols/link_dp_capability: Demote
    non-compliant kerneldoc
  drm/nouveau/nvkm/engine/gr/tu102: Completely remove unused function
    ‘tu102_gr_load’

drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence
known override-init warnings
drm/amd/display/dc/link/link_detection: Demote a couple of kerneldoc
abuses
drm/bridge/imx/Kconfig: Prevent imx-ldb-helper from appearing in 2
separate modules

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c       |   5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c     |  13 --
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c       |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c     |   1 +
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c        |   4 +
 drivers/gpu/drm/amd/amdgpu/ih_v6_0.c          |   5 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c |   3 +
 drivers/gpu/drm/amd/display/dc/core/dc_stat.c |  28 ++--
 .../gpu/drm/amd/display/dc/dc_hdmi_types.h    |   1 -
 drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c |   5 +-
 drivers/gpu/drm/amd/display/dc/dce60/Makefile |   2 +-
 .../drm/amd/display/dc/link/link_detection.c  |  12 +-
 .../dc/link/protocols/link_dp_capability.c    |   4 +-
 .../dc/link/protocols/link_dp_training.c      |   3 +-
 .../link/protocols/link_edp_panel_control.c   |   5 +
 .../amd/display/include/ddc_service_types.h   |  13 --
 .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c  |   2 +
 drivers/gpu/drm/bridge/imx/Kconfig            |   7 +
 drivers/gpu/drm/bridge/imx/Makefile           |   7 +-
 drivers/gpu/drm/bridge/imx/imx-ldb-helper.c   |  13 ++
 drivers/gpu/drm/mediatek/mtk_disp_aal.c       |   5 -
 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c     |   5 -
 drivers/gpu/drm/nouveau/dispnv04/crtc.c       |   4 +-
 .../gpu/drm/nouveau/nvkm/engine/fifo/gf100.c  |   2 +-
 .../gpu/drm/nouveau/nvkm/engine/fifo/runl.c   |   2 +-
 .../gpu/drm/nouveau/nvkm/engine/gr/gf100.c    |   2 +-
 .../gpu/drm/nouveau/nvkm/engine/gr/tu102.c    |  13 --
 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c       |   2 +-
 .../gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c    |   3 +-
 .../gpu/drm/nouveau/nvkm/subdev/bios/init.c   | 136 +++++++++---------
 .../gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c  |   4 +-
 drivers/gpu/drm/tegra/dc.c                    |   2 -
 drivers/gpu/drm/ttm/ttm_bo.c                  |   3 +-
 drivers/gpu/drm/vkms/vkms_composer.c          |   6 +-
 drivers/gpu/drm/xlnx/zynqmp_disp.c            |   6 +-
 drivers/gpu/drm/xlnx/zynqmp_dp.c              |   2 +-
 37 files changed, 163 insertions(+), 169 deletions(-)

--
2.40.0.rc1.284.g88254d51c5-goog