Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp576431pxb; Fri, 8 Jan 2021 12:16:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJykEOr+EbaiONsR8xo5vGgRAJQfYvQ3QMcuQ0qzDdyGkHLnsMlleyxLQGq/G2LUpYiYAmoB X-Received: by 2002:a17:906:3a55:: with SMTP id a21mr3799778ejf.516.1610137001127; Fri, 08 Jan 2021 12:16:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610137001; cv=none; d=google.com; s=arc-20160816; b=Klrue1mb/FKVUsCBRkX2gy7LE8+1ssBScfE6LiGXgZWi1woQ8KbFNnvIR7lcEly5F7 Cn694xPitCNPrQ+Jj3c15+I33J2IKvP4i0pPpzlNgQ4mzrJ1RL7TVbQ3xwrwVA8eVKJ7 qqEb2hwXcQ1sk+CkcKnbStXV2ONPobNTAjSOaPSAhtBXAJyioBaAoVpbzy3GwgUEcmDb XOIh8I7I5zjo64otsGifC431iLxX/f485hFZY/Ln1ezBTKg3pNxoBt3y6PZoNL9Bx0U4 nrydT8NGeUhkvmQzMPse9KPfQRPXtJ9NRKtwIBrG0MRQ8iQBOQ4uuRnxOj5yhlenRyA8 sDeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=QeXXbkShC0KTgz4n+dtT2axDbKBu7SEofVtSgTaHdlA=; b=0yV/RhgE7Oj1Lrer2JSUpXBNIPzZ0PKfZk7K/UKaZYwZaCTmwe0Ru4ulWafkwXDGl1 O7D8mI7RnaShVWLBMW+CE8TQ3vWt/4qB09tA5Ryzb/T2w81YPLTEPEmlvd83RQYIjV71 UjyT8hI9vCS+XrVM5xwyKPw3pClU8LCkG7ZJrKIY9lKNqMtsgSh+U52ZwdqFIuGMIJ1y /qniHfOn8AJpLnPXVQWRQkZTI/8i7OoecCPHAR56PJTUCNcim/X5mJCZPwYRJNele5+u xhcaPTYTBb5qAPXVuSmonn/kzDAtMn3H454zBYiDq0Yx3GcQclFIFhaiuafbBohYJRSS mTBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EpUldkEu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r19si3726627ejz.538.2021.01.08.12.16.17; Fri, 08 Jan 2021 12:16:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EpUldkEu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728898AbhAHUPp (ORCPT + 99 others); Fri, 8 Jan 2021 15:15:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728591AbhAHUPo (ORCPT ); Fri, 8 Jan 2021 15:15:44 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 194A1C0612EA for ; Fri, 8 Jan 2021 12:15:04 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id q75so9453066wme.2 for ; Fri, 08 Jan 2021 12:15:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QeXXbkShC0KTgz4n+dtT2axDbKBu7SEofVtSgTaHdlA=; b=EpUldkEu63PuzXZYe8Jr/P+khJQOipAojDEohRiyHCTrwR0wQhBpn8uRQqxNWXdbFI L+dS4H5R6ZR6Nq1EnbNFG4xu1Ac1uz9nb8rmmiRJbO1/yFtULhfWjvOc+2S1rkJnnPpu 8Cwz3Ikl8cVre8c+OOmS2DtGaPSKre5SgJiCEFW9g5mO9CXo9AnmUwcr8T0m/4djIU/b ePHEJmMElk7oomdFJSXWhoidk98MWCrwHKc57ySEpTtXRKe6wXQwusjsoBXeE9/zJaH8 VeS5jFRmNpp+hqFVRac36sBQtcWD0EQMs+ioyWScgxcBIkYyXe3EQSenusSG1dL1dbhZ 0ZEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QeXXbkShC0KTgz4n+dtT2axDbKBu7SEofVtSgTaHdlA=; b=FW6dR1WC43h74OWP5KEcc35bBiARwOPY91XYmf7BfYg0RMWkIHCcmO1WRHhh0pSeNR R3gVtFdZUkdLba4kEfjP2/vCpkZiGAGTwNB2gTi1f/01OC5MilmIxwH/ll1Vfo0S/VL5 wqwOJjgCEVqWtoQQ2LP2GOaN95CxuZAAIe0f3Qu8psHYuIHlModVC3ThbPQA0QAKo/Fv mzd4w7/EgPo10RxfrzvedbZsJIOqVSZgqM7C8ebOCLivv/v5gVlDvBdfkM6Pgpvxi1qq hWFxzmVlHsXlzhVdmeB4oEejkbkuFxgf+gtTfeCubAKFod3wbLEt/cuzwFMSHjupBQ1F hwaQ== X-Gm-Message-State: AOAM530qdXnAjwuJnS1Wen8viDuF1ooATN1xFiD2pnNeoeNObIBNz8ck t/buoIye75RIqhGtDPPzOUxdnw== X-Received: by 2002:a1c:c308:: with SMTP id t8mr4593743wmf.22.1610136902655; Fri, 08 Jan 2021 12:15:02 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.14.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , amd-gfx@lists.freedesktop.org, Anthony Koo , Ben Skeggs , Bhawanpreet Lakha , Charlene Liu , =?UTF-8?q?Christian=20K=C3=B6nig?= , Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, Eric Bernstein , Eryk Brol , Evan Quan , Feifei Xu , Felix Kuehling , freedreno@lists.freedesktop.org, George Shen , Harry Wentland , Hawking Zhang , Igor Kravchenko , Krunoslav Kovac , Kuogee Hsieh , Leo Li , Lewis Huang , linux-arm-msm@vger.kernel.org, Maarten Lankhorst , Mauro Rossi , Maxime Ripard , Mikita Lipski , nouveau@lists.freedesktop.org, Qinglang Miao , Rob Clark , Sean Paul , Thomas Zimmermann , Wyatt Wood Subject: [PATCH 00/40] [Set 11] Rid W=1 warnings from GPU Date: Fri, 8 Jan 2021 20:14:17 +0000 Message-Id: <20210108201457.3078600-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 300 out of 5000 left! Lee Jones (40): drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc drm/nouveau/dispnv50/disp: Remove unused variable 'ret' drm/msm/dp/dp_display: Remove unused variable 'hpd' drm/amd/amdgpu/amdgpu_ih: Update 'amdgpu_ih_decode_iv_helper()'s function header drm/amd/amdgpu/vega20_ih: Add missing descriptions for 'ih' and fix spelling error drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0: Provide description of 'call_back_func' drm/amd/pm/powerplay/hwmgr/ppatomctrl: Fix documentation for 'mpll_param' drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Fix legacy function header formatting drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Fix legacy function header formatting drm/amd/pm/powerplay/hwmgr/smu7_hwmgr: Fix formatting and spelling issues drm/amd/pm/powerplay/hwmgr/hwmgr: Move prototype into shared header drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix a bunch of kernel-doc formatting issues drm/amd/display/dc/basics/conversion: Demote obvious kernel-doc abuse drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs: Demote non-kernel-doc comment blocks drm/amd/display/dc/bios/command_table_helper: Fix kernel-doc formatting drm/amd/display/dc/bios/command_table_helper2: Fix legacy formatting problems drm/amd/display/dc/bios/bios_parser: Make local functions static drm/amd/display/dc/bios/bios_parser: Fix a whole bunch of legacy doc formatting drm/amd/display/dc/bios/command_table: Remove unused variable include: drm: drm_atomic: Make use of 'new_plane_state' drm/amd/display/dc/calcs/dce_calcs: Remove unused variables 'v_filter_init_mode' and 'sclk_lvl' drm/amd/display/dc/bios/bios_parser2: Fix some formatting issues and missing parameter docs drm/amd/display/dc/dce/dce_audio: Make function invoked by reference static drm/amd/display/dc/dce/dce_stream_encoder: Remove unused variable 'regval' drm/amd/display/dc/dce/dce_link_encoder: Make functions invoked by reference static drm/amd/display/dc/dce/dce_clock_source: Fix formatting/spelling of worthy function headers drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix worthy function headers, demote barely documented one drm/amd/display/dc/dce/dce_transform: Remove 3 unused/legacy variables drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram' drm/amd/display/dc/dce/dce_dmcu: Move 'abm_gain_stepsize' to only source file it's used in drm/amd/display/dc/dce/dce_opp: Make local functions and ones invoked by reference static drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type' drm/nouveau/nvkm/subdev/volt/gk20a: Demote non-conformant kernel-doc headers drm/amd/display/dc/bios/bios_parser: Fix misspelling of function parameter drm/amd/display/dc/bios/command_table: Remove unused variable and associated comment drm/amd/display/dc/dce/dce_i2c_hw: Make functions called by reference static drm/amd/display/dc/dce/dce_i2c_sw: Make a bunch of local functions static drm/amd/display/dc/dce/dce_panel_cntl: Remove unused variables 'bl_pwm_cntl' and 'pwm_period_cntl' drm/amd/display/dc/dce/dmub_psr: Demote non-conformant kernel-doc headers drm/amd/display/dc/gpio/hw_factory: Delete unused function 'dal_hw_factory_destroy' drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 2 + drivers/gpu/drm/amd/amdgpu/vega20_ih.c | 5 +- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 4 +- .../drm/amd/display/dc/basics/conversion.c | 9 +- .../gpu/drm/amd/display/dc/bios/bios_parser.c | 119 +++++----- .../drm/amd/display/dc/bios/bios_parser2.c | 29 ++- .../drm/amd/display/dc/bios/command_table.c | 16 +- .../display/dc/bios/command_table_helper.c | 20 +- .../display/dc/bios/command_table_helper2.c | 20 +- .../gpu/drm/amd/display/dc/calcs/dce_calcs.c | 8 +- .../gpu/drm/amd/display/dc/dce/dce_audio.c | 2 +- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 6 - .../drm/amd/display/dc/dce/dce_clock_source.c | 57 +++-- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 6 +- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h | 2 - .../gpu/drm/amd/display/dc/dce/dce_i2c_hw.c | 4 +- .../gpu/drm/amd/display/dc/dce/dce_i2c_sw.c | 9 +- .../drm/amd/display/dc/dce/dce_link_encoder.c | 6 +- drivers/gpu/drm/amd/display/dc/dce/dce_opp.c | 8 +- .../drm/amd/display/dc/dce/dce_panel_cntl.c | 8 +- .../amd/display/dc/dce/dce_stream_encoder.c | 3 +- .../drm/amd/display/dc/dce/dce_transform.c | 13 -- drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 22 +- .../gpu/drm/amd/display/dc/gpio/hw_factory.c | 14 -- .../gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c | 2 +- .../drm/amd/pm/powerplay/hwmgr/ppatomctrl.c | 4 +- .../powerplay/hwmgr/process_pptables_v1_0.c | 1 + .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 4 +- .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 137 ++++++------ .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.h | 1 + .../drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 11 +- .../drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 11 +- drivers/gpu/drm/msm/dp/dp_display.c | 3 - drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +- .../gpu/drm/nouveau/nvkm/subdev/bios/init.c | 204 ++++++------------ .../gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c | 4 +- include/drm/drm_atomic.h | 3 +- 37 files changed, 325 insertions(+), 455 deletions(-) Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Anthony Koo Cc: Ben Skeggs Cc: Bhawanpreet Lakha Cc: Charlene Liu Cc: "Christian König" Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Eric Bernstein Cc: Eryk Brol Cc: Evan Quan Cc: Feifei Xu Cc: Felix Kuehling Cc: freedreno@lists.freedesktop.org Cc: George Shen Cc: Harry Wentland Cc: Hawking Zhang Cc: Igor Kravchenko Cc: Krunoslav Kovac Cc: Kuogee Hsieh Cc: Lee Jones Cc: Leo Li Cc: Lewis Huang Cc: linux-arm-msm@vger.kernel.org Cc: Maarten Lankhorst Cc: Mauro Rossi Cc: Maxime Ripard Cc: Mikita Lipski Cc: nouveau@lists.freedesktop.org Cc: Qinglang Miao Cc: Rob Clark Cc: Sean Paul Cc: Thomas Zimmermann Cc: Wyatt Wood -- 2.25.1