mbox series

[00/19,Set,5] Rid W=1 warnings from GPU

Message ID 20201111183545.1756994-1-lee.jones@linaro.org
Headers show
Series Rid W=1 warnings from GPU | expand

Message

Lee Jones Nov. 11, 2020, 6:35 p.m. UTC
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.

This finishes cleaning up Radeon.  AMD next!

Lee Jones (19):
  drm/radeon/evergreen_dma: Move 'evergreen_gpu_check_soft_reset()'s
    prototype to shared header
  drm/radeon/r600: Move 'evergreen_rlc_resume()'s prototype to shared
    header
  drm/radeon/ni_dma: Move 'cayman_gpu_check_soft_reset()'s prototype to
    shared header
  drm/radeon/radeon_atombios: Move 'radeon_add_atom_encoder()'s
    prototype to shared header
  drm/radeon/radeon_encoders: Move 'radeon_atom_backlight_init's
    prototype to shared header
  drm/radeon/ci_dpm: Move 'ci_*()'s prototypes to shared header
  drm/radeon/si_dpm: Move 'si_mc_load_microcode()'s prototype to shared
    header
  drm/radeon/si_dma: Move 'si_gpu_check_soft_reset()'s prototype to
    shared header
  drm/radeon/cik: Move 'si_*()'s prototypes to shared header
  drm/radeon/btc_dpm: Move 'evergreen_get_pi's prototype to shared
    header
  drm/radeon/radeon_audio: Move 'dce6_*()'s prototypes to shared header
  drm/radeon/evergreen: Move 'si_get_csb_*()'s prototypes to shared
    header
  drm/radeon/cik_sdma: Move 'amdgpu_cik_gpu_check_soft_reset()'s
    prototype to shared header
  drm/radeon/evergreen: Move 'cik_*()'s prototypes to shared header
  drm/radeon/ci_dpm: Move 'si_*()'s prototypes to shared header
  drm/radeon/cik: Move 'Move 'cik_sdma_*()'s prototypes to shared header
  drm/radeon/si_dpm: Move 'vce_v1_0_enable_mgcg()'s prototype to shared
    header
  drm/radeon/cik: Move 'vce_v2_0_enable_mgcg()'s prototype to shared
    header
  drm/radeon/evergreen_cs: Move 'r600_dma_cs_next_reloc()'s prototype to
    shared header

 drivers/gpu/drm/radeon/btc_dpm.c         |  3 +-
 drivers/gpu/drm/radeon/ci_dpm.c          | 13 +-----
 drivers/gpu/drm/radeon/cik.c             | 10 ++---
 drivers/gpu/drm/radeon/cik.h             | 40 ++++++++++++++++++
 drivers/gpu/drm/radeon/cik_sdma.c        |  3 +-
 drivers/gpu/drm/radeon/cypress_dpm.c     |  3 +-
 drivers/gpu/drm/radeon/dce6_afmt.c       |  1 +
 drivers/gpu/drm/radeon/dce6_afmt.h       | 52 ++++++++++++++++++++++++
 drivers/gpu/drm/radeon/evergreen.c       |  8 +---
 drivers/gpu/drm/radeon/evergreen.h       |  4 ++
 drivers/gpu/drm/radeon/evergreen_cs.c    |  3 +-
 drivers/gpu/drm/radeon/evergreen_dma.c   |  3 +-
 drivers/gpu/drm/radeon/ni.h              |  1 +
 drivers/gpu/drm/radeon/ni_dma.c          |  3 +-
 drivers/gpu/drm/radeon/ni_dpm.c          |  3 +-
 drivers/gpu/drm/radeon/r600.c            |  2 +-
 drivers/gpu/drm/radeon/r600.h            |  4 ++
 drivers/gpu/drm/radeon/r600_cs.c         |  1 +
 drivers/gpu/drm/radeon/radeon_atombios.c |  4 --
 drivers/gpu/drm/radeon/radeon_atombios.h |  8 ++++
 drivers/gpu/drm/radeon/radeon_audio.c    | 17 +-------
 drivers/gpu/drm/radeon/radeon_encoders.c |  6 +--
 drivers/gpu/drm/radeon/rv770_dpm.c       |  1 +
 drivers/gpu/drm/radeon/si.c              |  1 +
 drivers/gpu/drm/radeon/si.h              | 38 +++++++++++++++++
 drivers/gpu/drm/radeon/si_dma.c          |  3 +-
 drivers/gpu/drm/radeon/si_dpm.c          |  8 ++--
 drivers/gpu/drm/radeon/si_dpm.h          |  5 +++
 drivers/gpu/drm/radeon/trinity_dpm.c     |  2 +-
 drivers/gpu/drm/radeon/vce.h             | 35 ++++++++++++++++
 drivers/gpu/drm/radeon/vce_v1_0.c        |  1 +
 drivers/gpu/drm/radeon/vce_v2_0.c        |  1 +
 32 files changed, 215 insertions(+), 72 deletions(-)
 create mode 100644 drivers/gpu/drm/radeon/cik.h
 create mode 100644 drivers/gpu/drm/radeon/dce6_afmt.h
 create mode 100644 drivers/gpu/drm/radeon/si.h
 create mode 100644 drivers/gpu/drm/radeon/vce.h

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: linux-media@vger.kernel.org
Cc: Slava Grigorev <slava.grigorev@amd.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>