[PATCH 00/40] [Set 12] Rid W=1 warnings from GPU
Lee Jones
lee.jones at linaro.org
Mon Jan 11 19:18:46 UTC 2021
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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 (40):
drm/amd/display/dc/dce/dce_aux: Mark 'dce_aux_transfer_raw' as
__maybe_unused
drm/amd/display/dc/dce/dce_link_encoder: Remove unused variable
'value0'
drm/amd/display/dc/gpio/hw_ddc: Remove unused variable 'reg2'
drm/amd/display/dc/dce/dce_opp: Demote non-compliant kernel-doc
headers
drm/amd/display/dc/dce/dce_transform: Demote kernel-doc abuse
drm/amd/display/dc/gpio/diagnostics/hw_translate_diag: Include our own
header containing prototypes
drm/amd/display/dc/irq/irq_service: Make local function static
drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Fix struct
declared inside parameter list error
drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Include our own
header containing prototypes
drm/amd/display/dc/dce120/dce120_hw_sequencer: Encompass defines in
same clause as their use
drm/amd/display/dc/dce120/dce120_timing_generator:
drm/amd/display/dc/dce120/Makefile: Ignore -Woverride-init warning
drm/amd/display/dc/calcs/dce_calcs: Move some large variables from the
stack to the heap
drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from
the stack
drm/amd/display/dc/dce120/dce120_resource: Staticify local functions
drm/amd/display/dc/dce120/dce120_timing_generator: Demote
non-kerneldoc headers
drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field
overwritten' issue
drm/amd/display/dc/dce112/Makefile: Ignore -Woverride-init warning
drm/amd/display/dc/dce/dce_opp: Remove duplicate entries causing
'field overwritten' issues
drm/amd/display/dc/dce110/dce110_timing_generator: Remove unused
variable 'value_crtc_vtotal'
drm/amd/display/dc/dce110/dce110_compressor: Remove unused function
'dce110_get_required_compressed_surfacesize
drm/amd/display/dc/dce110/dce110_hw_sequencer: Demote non-conformant
kernel-doc header
drm/amd/display/dc/dce110/dce110_mem_input_v: Make local functions
static
drm/amd/pm/swsmu/smu11/vangogh_ppt: Make local function
'vangogh_clk_dpm_is_enabled' static
drm/amd/display/dc/dce120/dce120_timing_generator: Remove unused
function 'dce120_timing_generator_get_position'
drm/amd/display/dc/dce110/dce110_timing_generator: Demote kernel-doc
abuses to standard function headers
drm/amd/display/dc/dce110/dce110_compressor: Strip out unused function
'controller_id_to_index'
drm/amd/display/dc/calcs/dce_calcs: Demote non-conformant kernel-doc
function headers
drm/amd/display/dc/dce112/dce112_resource: Make local functions and
ones called by reference static
drm/amd/display/dc/dce110/dce110_timing_generator_v: Demote kernel-doc
abuse and line up comments
drm/amd/display/dc/dce110/dce110_mem_input_v: Include our own header,
containing prototypes
drm/amd/display/dc/dce110/Makefile: Ignore -Woverride-init warning
drm/amd/display/dc/dce110/dce110_resource: Make local functions
invoked by reference static
drm/amd/display/dc/dce110/dce110_transform_v: Demote kernel-doc abuse
drm/amd/display/dc/dce60/dce60_timing_generator: Make
'dce60_configure_crc' invoked by reference static
drm/amd/display/dc/dce100/dce100_resource: Make local functions and
ones called by reference static
drm/amd/display/dc/dce60/dce60_resource: Make local functions static
drm/amd/display/dc/dce80/dce80_resource: Make local functions static
drm/amd/display/dc/core/dc_surface: Demote kernel-doc abuse
drm/amd/display/dc/core/dc_stream: Demote non-conformant kernel-doc
headers
.../gpu/drm/amd/display/dc/calcs/dce_calcs.c | 1141 +++++++++--------
.../gpu/drm/amd/display/dc/core/dc_stream.c | 5 +-
.../gpu/drm/amd/display/dc/core/dc_surface.c | 2 +-
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +-
drivers/gpu/drm/amd/display/dc/dce/dce_aux.h | 1 -
.../drm/amd/display/dc/dce/dce_link_encoder.c | 3 +-
drivers/gpu/drm/amd/display/dc/dce/dce_opp.c | 16 +-
drivers/gpu/drm/amd/display/dc/dce/dce_opp.h | 2 -
.../drm/amd/display/dc/dce/dce_transform.c | 2 +-
.../amd/display/dc/dce100/dce100_resource.c | 16 +-
.../gpu/drm/amd/display/dc/dce110/Makefile | 2 +
.../amd/display/dc/dce110/dce110_compressor.c | 55 -
.../display/dc/dce110/dce110_hw_sequencer.c | 2 +-
.../display/dc/dce110/dce110_mem_input_v.c | 17 +-
.../amd/display/dc/dce110/dce110_resource.c | 16 +-
.../dc/dce110/dce110_timing_generator.c | 76 +-
.../dc/dce110/dce110_timing_generator_v.c | 19 +-
.../display/dc/dce110/dce110_transform_v.c | 19 +-
.../gpu/drm/amd/display/dc/dce112/Makefile | 2 +
.../amd/display/dc/dce112/dce112_resource.c | 16 +-
.../gpu/drm/amd/display/dc/dce120/Makefile | 2 +
.../display/dc/dce120/dce120_hw_sequencer.c | 2 +-
.../amd/display/dc/dce120/dce120_resource.c | 6 +-
.../dc/dce120/dce120_timing_generator.c | 99 +-
.../drm/amd/display/dc/dce60/dce60_resource.c | 16 +-
.../display/dc/dce60/dce60_timing_generator.c | 4 +-
.../drm/amd/display/dc/dce80/dce80_resource.c | 16 +-
.../dc/gpio/diagnostics/hw_factory_diag.c | 1 +
.../dc/gpio/diagnostics/hw_factory_diag.h | 2 +
.../dc/gpio/diagnostics/hw_translate_diag.c | 1 +
drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c | 7 +-
.../gpu/drm/amd/display/dc/irq/irq_service.c | 2 +-
.../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 4 +-
33 files changed, 746 insertions(+), 830 deletions(-)
Cc: Alex Deucher <alexander.deucher at amd.com>
Cc: amd-gfx at lists.freedesktop.org
Cc: Anthony Koo <Anthony.Koo at amd.com>
Cc: Aric Cyr <aric.cyr at amd.com>
Cc: Aric Cyr <Aric.Cyr at amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai at amd.com>
Cc: "Christian König" <christian.koenig at amd.com>
Cc: Colin Ian King <colin.king at canonical.com>
Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: David Airlie <airlied at linux.ie>
Cc: dri-devel at lists.freedesktop.org
Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Josip Pavic <Josip.Pavic at amd.com>
Cc: Lee Jones <lee.jones at linaro.org>
Cc: Leo Li <sunpeng.li at amd.com>
Cc: Mauro Rossi <issor.oruam at gmail.com>
Cc: Tony Cheng <Tony.Cheng at amd.com>
Cc: Xiaojian Du <Xiaojian.Du at amd.com>
--
2.25.1
More information about the amd-gfx
mailing list