[PATCH 00/40] [Set 12] Rid W=1 warnings from GPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
Cc: amd-gfx@xxxxxxxxxxxxxxxxxxxxx
Cc: Anthony Koo <Anthony.Koo@xxxxxxx>
Cc: Aric Cyr <aric.cyr@xxxxxxx>
Cc: Aric Cyr <Aric.Cyr@xxxxxxx>
Cc: Aurabindo Pillai <aurabindo.pillai@xxxxxxx>
Cc: "Christian König" <christian.koenig@xxxxxxx>
Cc: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Cc: Daniel Vetter <daniel@xxxxxxxx>
Cc: David Airlie <airlied@xxxxxxxx>
Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
Cc: Harry Wentland <harry.wentland@xxxxxxx>
Cc: Josip Pavic <Josip.Pavic@xxxxxxx>
Cc: Lee Jones <lee.jones@xxxxxxxxxx>
Cc: Leo Li <sunpeng.li@xxxxxxx>
Cc: Mauro Rossi <issor.oruam@xxxxxxxxx>
Cc: Tony Cheng <Tony.Cheng@xxxxxxx>
Cc: Xiaojian Du <Xiaojian.Du@xxxxxxx>
-- 
2.25.1

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux