From patchwork Fri Nov 13 13:48:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324286 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212613ils; Fri, 13 Nov 2020 05:49:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzn9rvQ9sFLf8ZuycKoIsTHMNboH3W9q7zAFDZziRyvTi1eIVTQmHtHewvMro8T7vZ8Z9p+ X-Received: by 2002:aa7:91cf:0:b029:18a:9972:1aa9 with SMTP id z15-20020aa791cf0000b029018a99721aa9mr2155220pfa.46.1605275394473; Fri, 13 Nov 2020 05:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275394; cv=none; d=google.com; s=arc-20160816; b=u8fP6t3S2qtrWhno1UWFntm8/wxU77C2e7lGOeUl1cZ5bzvE3ZG/gs9DiJOS3jADqe JjYjh5eDve1lL6Uu2NChvPLw+QzOeiqmxbrgzJltd5Mq2EJf5reEZ0Qkgj0ADvqmYhCl NCd0KTkClj8UdoWYjQgMZP1gGCppzOZPfXYPehz81ig1Zb5EvoIjiYXZ0BRo+OTCQHMe lhIVIZ5s7FAtLaCbut0GpXKUpkASF9AR3VWSZ6PmAGe901Wr4Y7vMyBu+iXmgWPKaVDk CbQlCEmAeakIBe51YHaoACFaXWdFNACTeHELPuOXVeUvacetMHkONTZ5W54GPilysmo1 NWyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=uSa1eg6M9GqCvGDKJ5NuPbOlnfKvW1OO1xjSb5WiCJ8=; b=Bffwwn6KUConVyFSrmEfxf5xjR4y0DcnvaK+6n/hDmQk/LmdQl3NQQ+9nj6MR4DgY/ yV/hAHPnL8sz4oI6TRg1U/4tP+5n2nkQdwKPavldd3m+x53jr7pIIVxXYVAwnwMg8PrL tn2HI15HCJwmcf/dgokUeOjb//GrxKp6WgCUOFMCClABXngIv7oUn7g9kyv6GEHdC18O R747dIj+CK3SbtFZdqquRbR/7z+jBHOIYcKcUu8yKftx5OHYANITAVF1ro3x/xOwpoiU 5I9KH1nLRHD9wfG4YYNjT4jO03T9TnFb9am59ZvgrfMIH2EO1LUnx+Se1VVhx4V5khYZ pXgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZdiNluaS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id r10si7816318pjp.63.2020.11.13.05.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZdiNluaS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F06C6E50D; Fri, 13 Nov 2020 13:49:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 634766E4F3 for ; Fri, 13 Nov 2020 13:49:45 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id c17so9946024wrc.11 for ; Fri, 13 Nov 2020 05:49:45 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=QEthodLp7zvU/usXf0Jd0tX794GA416VlkIhPueoa+8=; b=ZdiNluaSHrfyOSKiCyfIsfzHnN2Ubklqxy5e05xB5noS3l4Qp2ccLJohbanBayWkyC 17l2Gw5aDJEX1j23na1uoagh+3/vhv6xyXmvXrqUFgOAHKFxsS6gO7ppNxQICzr6Ztly fMcb/6VgEilAxRWJbIm43gWFxOkYGgTMwCT9z4VjmwDir+B9FHFVw92C0lt6x4cM8Y71 fReNNPIb7uOcOWlXVG8Cnp789ThiDLK5Zb7/ymHtcNAzLlzFViRxl/NUOXmC6Faf+bc+ vEem3AiLKmDSdwJfIBzEGWAxs9IFWHKBiT0XUAlnCLMEMRcaIghkdkyJ0Do25SxLhS4h x+yQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QEthodLp7zvU/usXf0Jd0tX794GA416VlkIhPueoa+8=; b=ocCKwLq29EKbgfwDa8pMUt7UNA3aMl4Ip5b92Rz++rV6GvxE2O4nZSm3xSaiCT3PEy NrvmSQd3kCSxZwxe+mYlV1OO71yEehlN5UrvEdxDTn27kQaulOu2VnoNokdER9bx5tGm epdmhmYm1Lw7q0ace7c8AN8bf6ZuvLRAk7GeCrlcxwoMZ9x5KJP16lyF/ugQxDUZqXDK 9yPH3OKURdKMofE/6vJz7nxgfoGc9yzHaYmjWHYm6kNcLYJOkr/sumLaYzU4D6f5UIQK wXUhmAl+BI0PAxsxmLodTwKwJ+ZH1y/zjNze6nmV5gZcDHyWjPX2YDVGaxCCvBrCZ0MC J3dA== X-Gm-Message-State: AOAM531Xexijnav4MDOp4e1sLuZmhIOUtqqk/ZiJJcRdXcX+lVOUuiUq 5N5kMUglXrOHoUSRVV91UgY9Vg== X-Received: by 2002:a5d:6946:: with SMTP id r6mr3592679wrw.125.1605275384043; Fri, 13 Nov 2020 05:49:44 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:43 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/40] drm/amd/include/vega10_ip_offset: Mark _BASE structs as __maybe_unused Date: Fri, 13 Nov 2020 13:48:59 +0000 Message-Id: <20201113134938.4004947-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch fixes nearly 400 warnings! These structures are too widely used in too many varying configurations to be split-up into different headers or moved into source files. Instead, we'll mark them as __maybe_unused which tells the compiler that we're aware they're being included into source files which do not make use of them - but we've looked into it, and it's okay. Let's tidy-up whilst were here. Just alignment stuff. Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/navi14_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/navi14_ip_offset.h:179:29: warning: ‘USB0_BASE’ defined but not used [-Wunused-const-variable=] 179 | static const struct IP_BASE USB0_BASE ={ { { { 0x0242A800, 0x05B00000, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi14_ip_offset.h:172:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] 172 | static const struct IP_BASE UMC_BASE ={ { { { 0x00014000, 0x02425800, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi14_ip_offset.h:151:29: warning: ‘SDMA_BASE’ defined but not used [-Wunused-const-variable=] 151 | static const struct IP_BASE SDMA_BASE ={ { { { 0x00001260, 0x0000A000, 0x02402C00, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi14_ip_offset.h:144:29: warning: ‘PCIE0_BASE’ defined but not used [-Wunused-const-variable=] 144 | static const struct IP_BASE PCIE0_BASE ={ { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0x0241B000 } }, | ^~~~~~~~~~ NB: Snipped for brevity Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../gpu/drm/amd/include/vega10_ip_offset.h | 76 +++++++++---------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/drivers/gpu/drm/amd/include/vega10_ip_offset.h b/drivers/gpu/drm/amd/include/vega10_ip_offset.h index 976dd2d565ba4..bb5463152f6b0 100644 --- a/drivers/gpu/drm/amd/include/vega10_ip_offset.h +++ b/drivers/gpu/drm/amd/include/vega10_ip_offset.h @@ -35,177 +35,177 @@ struct IP_BASE }; -static const struct IP_BASE NBIF_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, +static const struct IP_BASE __maybe_unused NBIF_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE NBIO_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, +static const struct IP_BASE __maybe_unused NBIO_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE DCE_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DCE_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE DCN_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DCN_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE MP0_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused MP0_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE MP1_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused MP1_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE MP2_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused MP2_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE DF_BASE = { { { { 0x00007000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DF_BASE = { { { { 0x00007000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE UVD_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused UVD_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; //note: GLN does not use the first segment -static const struct IP_BASE VCN_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused VCN_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; //note: GLN does not use the first segment -static const struct IP_BASE DBGU_BASE = { { { { 0x00000180, 0x000001A0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DBGU_BASE = { { { { 0x00000180, 0x000001A0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; // not exist -static const struct IP_BASE DBGU_NBIO_BASE = { { { { 0x000001C0, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DBGU_NBIO_BASE = { { { { 0x000001C0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; // not exist -static const struct IP_BASE DBGU_IO_BASE = { { { { 0x000001E0, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DBGU_IO_BASE = { { { { 0x000001E0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; // not exist -static const struct IP_BASE DFX_DAP_BASE = { { { { 0x000005A0, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DFX_DAP_BASE = { { { { 0x000005A0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; // not exist -static const struct IP_BASE DFX_BASE = { { { { 0x00000580, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused DFX_BASE = { { { { 0x00000580, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; // this file does not contain registers -static const struct IP_BASE ISP_BASE = { { { { 0x00018000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused ISP_BASE = { { { { 0x00018000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; // not exist -static const struct IP_BASE SYSTEMHUB_BASE = { { { { 0x00000EA0, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused SYSTEMHUB_BASE = { { { { 0x00000EA0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; // not exist -static const struct IP_BASE L2IMU_BASE = { { { { 0x00007DC0, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused L2IMU_BASE = { { { { 0x00007DC0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE IOHC_BASE = { { { { 0x00010000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused IOHC_BASE = { { { { 0x00010000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE ATHUB_BASE = { { { { 0x00000C20, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused ATHUB_BASE = { { { { 0x00000C20, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE VCE_BASE = { { { { 0x00007E00, 0x00048800, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused VCE_BASE = { { { { 0x00007E00, 0x00048800, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE GC_BASE = { { { { 0x00002000, 0x0000A000, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused GC_BASE = { { { { 0x00002000, 0x0000A000, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE MMHUB_BASE = { { { { 0x0001A000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused MMHUB_BASE = { { { { 0x0001A000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE RSMU_BASE = { { { { 0x00012000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused RSMU_BASE = { { { { 0x00012000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE HDP_BASE = { { { { 0x00000F20, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused HDP_BASE = { { { { 0x00000F20, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE OSSSYS_BASE = { { { { 0x000010A0, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused OSSSYS_BASE = { { { { 0x000010A0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE SDMA0_BASE = { { { { 0x00001260, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused SDMA0_BASE = { { { { 0x00001260, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE SDMA1_BASE = { { { { 0x00001460, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused SDMA1_BASE = { { { { 0x00001460, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE XDMA_BASE = { { { { 0x00003400, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused XDMA_BASE = { { { { 0x00003400, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE UMC_BASE = { { { { 0x00014000, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused UMC_BASE = { { { { 0x00014000, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE THM_BASE = { { { { 0x00016600, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused THM_BASE = { { { { 0x00016600, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE SMUIO_BASE = { { { { 0x00016800, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused SMUIO_BASE = { { { { 0x00016800, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE PWR_BASE = { { { { 0x00016A00, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused PWR_BASE = { { { { 0x00016A00, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } } } }; -static const struct IP_BASE CLK_BASE = { { { { 0x00016C00, 0, 0, 0, 0 } }, - { { 0x00016E00, 0, 0, 0, 0 } }, +static const struct IP_BASE __maybe_unused CLK_BASE = { { { { 0x00016C00, 0, 0, 0, 0 } }, + { { 0x00016E00, 0, 0, 0, 0 } }, { { 0x00017000, 0, 0, 0, 0 } }, - { { 0x00017200, 0, 0, 0, 0 } }, - { { 0x00017E00, 0, 0, 0, 0 } } } }; -static const struct IP_BASE FUSE_BASE = { { { { 0x00017400, 0, 0, 0, 0 } }, + { { 0x00017200, 0, 0, 0, 0 } }, + { { 0x00017E00, 0, 0, 0, 0 } } } }; +static const struct IP_BASE __maybe_unused FUSE_BASE = { { { { 0x00017400, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, { { 0, 0, 0, 0, 0 } }, From patchwork Fri Nov 13 13:49:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324285 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212579ils; Fri, 13 Nov 2020 05:49:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAYWH7JKk4jKDgR+TnXzh3bKdCuVvK8IjTx3eUkdoenWEGdTgAfv1x0HhFIB5diUd9IGw6 X-Received: by 2002:a63:210f:: with SMTP id h15mr2232842pgh.365.1605275392027; Fri, 13 Nov 2020 05:49:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275392; cv=none; d=google.com; s=arc-20160816; b=RqzJ2CjafQkaauhvT64SbQZJnl09xCyv/J1UYwsVBRuvtG251Wj7HZp/DTacat+YSM s27jmdKdtR5bCRFlOysyCPZSbU0DSEcv8ELqxY5dAsT6Uk+T/daEqITvAzpVDL9+L3y4 sQ/Yu8IWhvEEnF9vecLrKQ7gbvU+KQUuGZn48wS+yzCjgroI9qEc6n40oCSLgyQgwQvv WQYhWwLKYFRyQij1Gg1wFjXLMQArQJexz54aTLSMoyidcq6KZarXCHCrnkS0VjqFR+Cl 7R/8z6QgikZ8HgnCgk7+/mv+AoEGqSsCa5etXiK3v9kVwCYklp3thajBN7qdhTqgVXnA vm5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=DV0WkTok7m2tlboZTsJNrdsJQVlUlfbZIyMY7dbMoUY=; b=ZHMW6k+YXFSsqN+dAtZvL8jVd/iToSSYQyAtHMb545/CjF2e0Pvq/OunXlHd/bhcfD yxvyDE4SGuEl4K61L4F+f0wrIWHrkDCmhUCbI5IpCdOMogLs9ImpKQjtP5UpXK0RntHf ZGYQyRWtWh1sIzxd1Ty1EKkPEdBZQVQ9mLieIyw4PH/lcCsG88LmUiFJwEOpf2R79PPs yfsByRuaQA8jnDExGgi9YMk7WhPm8d3EYal6LAnOeyWCIcJ5exhFVfBJU7PDbQaGx/z9 K26X2he6R0KG16RrKgfg52WltdqwcQPV19so3sLj2cjAn9lc1xkHOltbiJ41r9yKMs/H C+SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=it1slg7e; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 2si3848874pgy.254.2020.11.13.05.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=it1slg7e; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CB526E500; Fri, 13 Nov 2020 13:49:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id A2B156E500 for ; Fri, 13 Nov 2020 13:49:46 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id b6so9992288wrt.4 for ; Fri, 13 Nov 2020 05:49:46 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=UkvWdURTsPkEdVDzyHJ8FYZlYEKq+y0hj/4CtFCIFp4=; b=it1slg7eKp4pW5KEZ7vtYMFSfeU183JFhubZH/qEBglZ8gc2voRRHBhujz3X936q5b +GVVysYWqybRxo9yD89WDkhMwxfHo+LuchKiHgoHcQ2gJXPV/7HRRVeubA2tSXQLAMfG mC6diUMtNPUA5UQGKuOoJO6KrBaduJmWWbiEgMT+hiqY2Kw+zDp5BYifY7RIm46ASjr0 SWkmDqmf5q9w1Tto3DKwzzdWjTRTdYhNAqyfztmrvvWgN7II9jiaKHa4vOBjygqNu3PK EILFa43AKAy6VL+b1aQ7cXSAeiKoyOthV07rLPzm+JcX2NASAGhGdm8fWoR7AP6OFQk+ rkfQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=UkvWdURTsPkEdVDzyHJ8FYZlYEKq+y0hj/4CtFCIFp4=; b=q3hOmvn9Rn7hCi9Is+ADBDK+Hc1NH2DsIv9wwILqbxloM3Tl52YrzI050lwY1O2qOl iD+wd0haOqH6RaFt1FXiXMRIpIKZRibfgfNrWxGbr0yFI9Awu2+Cx/bUS1ryH5lJZHgC VkqQSUEEWYG3eG3o92f86K3iqsBLq0rrisOoRiKhEuXvtgUG/mAeHTs8ivAlQdU0O57F Rn6QTEL8mJBCCzw0BEXLwlpoqyVSxyrXv6lBJsn7gmJL7o18w6mjERYZSxD4uaZjQcfg e3IowdCLk8ACL3d0oDr9JkVHATkLrXBfKKOohbuHvBwAS29YDiFuELh491eRW2DWG0SY bbcg== X-Gm-Message-State: AOAM530chak7Flfl+GGW6hKG9D5nk9RPA2D7QX1QrGtZGI9HUGC7z5J7 2RBJM2SsGjwFlnQShTWVLnwmPMp5cCQnMK2P X-Received: by 2002:adf:f852:: with SMTP id d18mr3463400wrq.232.1605275385374; Fri, 13 Nov 2020 05:49:45 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:44 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/40] drm/amd/display/dc/core/dc_link_dp: Move DP_VGA_LVDS_CONVERTER_ID_{2, 3} to where they're used Date: Fri, 13 Nov 2020 13:49:00 +0000 Message-Id: <20201113134938.4004947-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch fixes >200 warnings. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:123:22: warning: ‘DP_VGA_LVDS_CONVERTER_ID_3’ defined but not used [-Wunused-const-variable=] 123 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_3[] = "dnomlA"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: warning: ‘DP_VGA_LVDS_CONVERTER_ID_2’ defined but not used [-Wunused-const-variable=] 121 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_2[] = "sivarT"; NB: Repeated ~100 times - snipped for brevity Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 5 +++++ drivers/gpu/drm/amd/display/include/ddc_service_types.h | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 6c60c1fdebdc1..f2023d2b53234 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -15,6 +15,11 @@ #include "dc_dmub_srv.h" #include "dce/dmub_hw_lock_mgr.h" +/*Travis*/ +static const uint8_t DP_VGA_LVDS_CONVERTER_ID_2[] = "sivarT"; +/*Nutmeg*/ +static const uint8_t DP_VGA_LVDS_CONVERTER_ID_3[] = "dnomlA"; + #define DC_LOGGER \ link->ctx->logger #define DC_TRACE_LEVEL_MESSAGE(...) /* do nothing */ diff --git a/drivers/gpu/drm/amd/display/include/ddc_service_types.h b/drivers/gpu/drm/amd/display/include/ddc_service_types.h index c9be899cd25cd..b453ce5a9bfdb 100644 --- a/drivers/gpu/drm/amd/display/include/ddc_service_types.h +++ b/drivers/gpu/drm/amd/display/include/ddc_service_types.h @@ -117,10 +117,6 @@ struct av_sync_data { uint8_t aud_del_ins3;/* DPCD 0002Dh */ }; -/*Travis*/ -static const uint8_t DP_VGA_LVDS_CONVERTER_ID_2[] = "sivarT"; -/*Nutmeg*/ -static const uint8_t DP_VGA_LVDS_CONVERTER_ID_3[] = "dnomlA"; /*DP to Dual link DVI converter*/ static const uint8_t DP_DVI_CONVERTER_ID_4[] = "m2DVIa"; static const uint8_t DP_DVI_CONVERTER_ID_5[] = "3393N2"; From patchwork Fri Nov 13 13:49:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324290 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212715ils; Fri, 13 Nov 2020 05:50:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXC8dMC1siK7z1aC8H8QZdwNxs6dCZZKzO0a0apa0pkFnEXfZ0GX/3yTIZ8PWdZ4UqDUzm X-Received: by 2002:a17:90b:88b:: with SMTP id bj11mr3154767pjb.229.1605275403550; Fri, 13 Nov 2020 05:50:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275403; cv=none; d=google.com; s=arc-20160816; b=XkJy+RqZhOQcqj5+WYS0EIolHvInxCG2KG9j9Jidm5xeKxy6xL3RLykbH7XLiR/ekv wEH0JpjNCFKZcF7CDBnX32mUUZ07+A/7pahFjBbY34nPrz1iDUscEIz01x6x51QwGEC+ rj7gvabEFUn4bJlAOjxvMUfKLAYuK7rn/UmHepW1uua+u+6w17PqbaJ9SS6wI8WGRtjQ EN2qq2WySVcn9VWmDQizQINdq89j7cInhkAkBtaLsCqAN1freup+WzMbk5TGUUirYGUX vbp8J9LxA1qzd+Q6w81nikUQZarwnaJbyJP0TwAI8sTv19z7JiN+/F4ZHxEoy1oXC7Fo XPEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=G+YMgcPQDTOvPIV5mDeFsNTM2rUbGUecXctXKM7mfzc=; b=topNS3fgMOZ8r8qYaz3s3BKxcJo4UB2oKDOkV3mAMO988PwDIJehMO7e44c9XBBTW5 EZ54WWRAgz37DQuaHdw43H/U3vAJIAmxOPGyGucOlICuPtj27I2sqtxMGiPpbL1ZGBdv FAQyybaSYQxbMwr0D9STzi1Vi9bmL0NquWPiTEvnkjWXHrdoTjOR1rjWkbxCI0Sj+EyX hz+I8jl1lz6j/OTGkq1VEuPOLdxUJdY6nda6wpmC+oFpv/L7z8+7iLjfRU/SSXo/8XiW gmVhKXzGejPftUlzxxkdlsWz0gfhsfBTjRg9XS2lE8frhRBJLlZFUWcF2kljFSru0ThB AsVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=y+C8gxmn; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id i123si8500909pfe.16.2020.11.13.05.50.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=y+C8gxmn; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5AB776E51B; Fri, 13 Nov 2020 13:49:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id D2B4C6E4F3 for ; Fri, 13 Nov 2020 13:49:47 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id 23so8097752wmg.1 for ; Fri, 13 Nov 2020 05:49:47 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=z/8viFdCzNWHnSXDW2EunFyaI/d41Skp7gtV6qeYb0o=; b=y+C8gxmn2CgNAthyNMnIAqnLUwLH4naZTgbJSpTdoD73gKQFGYgWDnZ8/pu87+N3My 3Z5QYUXjogsA6are0/qHHGs4Pm0ky8IDgD4q2wVolPvVk9/7del+06HVnzXbYLOsHnUa y0utOgFt23KAzeKXkP+hksNHB1PME8rQ5hy5mBy5L9BcrtbzhrfoNl5TFsuG+eSAP9Bk Y5grD862KHbiX5jvyYjwoXCt6Ebdc45fMNWMs9Cv+wBzoQ/OmOEU+mdYUzLj8waneUZk 8IyfzinwFH/5AyA44qCDXcQd9ew9kVyAGMfWkII3O5JuO9AJhBbU+lB/6BZ2oXTa2IfF ohFA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=z/8viFdCzNWHnSXDW2EunFyaI/d41Skp7gtV6qeYb0o=; b=owCiUOymE2GUS1eFlZFROefhjlmVu3PnMs8jTo18+XyxvD2yJQifoDG8JZfd9nOAdY DnCFS3e6aSG+tojNSO3g7psK0iFPw4RgrAEm5eofWmZ68xBM0nze1po7aU2ckI5SrJ58 e7Iq7eM1m5huxr/G3kNUsObsXt94gFZofYVetX/t7rUrGs6q/k6VkKgY0l0OWWgO1Y3l PJNyIc0cvgYMw3xLggx/F5J8Qu46uMYpKKgNwKObzIinHGkzlXXHxKKxppSefkJq5Fxv Ywd1bkx3paedXd6ISihMQCdF+7TkQwZdjoldkYGSKeoAClrqnwHEayzBwFuDJTZiI2u7 PUKw== X-Gm-Message-State: AOAM533J+G5ZmUf2uy2UYiAgAVYAMMMb6jJGPiRbbWCHNWN5qTx9Rdhc AAxVPzfYp2NtvrNB8NvvvXAzLw== X-Received: by 2002:a1c:2842:: with SMTP id o63mr2652810wmo.59.1605275386536; Fri, 13 Nov 2020 05:49:46 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/40] drm/amd/display/dc/core/dc_link_ddc: Move DP_DVI_CONVERTER_ID_{4, 5} to where they're used Date: Fri, 13 Nov 2020 13:49:01 +0000 Message-Id: <20201113134938.4004947-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch fixes >200 warnings. Fixes the following W=1 kernel build warning(s): from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:31: drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:126:22: warning: ‘DP_DVI_CONVERTER_ID_5’ defined but not used [-Wunused-const-variable=] 126 | static const uint8_t DP_DVI_CONVERTER_ID_5[] = "3393N2"; | ^~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:125:22: warning: ‘DP_DVI_CONVERTER_ID_4’ defined but not used [-Wunused-const-variable=] 125 | static const uint8_t DP_DVI_CONVERTER_ID_4[] = "m2DVIa"; | ^~~~~~~~~~~~~~~~~~~~~ Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c | 4 ++++ drivers/gpu/drm/amd/display/include/ddc_service_types.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c index 54beda4d4e85d..c5936e0643606 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c @@ -37,6 +37,10 @@ #include "dc_link_ddc.h" #include "dce/dce_aux.h" +/*DP to Dual link DVI converter*/ +static const uint8_t DP_DVI_CONVERTER_ID_4[] = "m2DVIa"; +static const uint8_t DP_DVI_CONVERTER_ID_5[] = "3393N2"; + #define AUX_POWER_UP_WA_DELAY 500 #define I2C_OVER_AUX_DEFER_WA_DELAY 70 #define I2C_OVER_AUX_DEFER_WA_DELAY_1MS 1 diff --git a/drivers/gpu/drm/amd/display/include/ddc_service_types.h b/drivers/gpu/drm/amd/display/include/ddc_service_types.h index b453ce5a9bfdb..4de59b66bb1a3 100644 --- a/drivers/gpu/drm/amd/display/include/ddc_service_types.h +++ b/drivers/gpu/drm/amd/display/include/ddc_service_types.h @@ -117,8 +117,4 @@ struct av_sync_data { uint8_t aud_del_ins3;/* DPCD 0002Dh */ }; -/*DP to Dual link DVI converter*/ -static const uint8_t DP_DVI_CONVERTER_ID_4[] = "m2DVIa"; -static const uint8_t DP_DVI_CONVERTER_ID_5[] = "3393N2"; - #endif /* __DAL_DDC_SERVICE_TYPES_H__ */ From patchwork Fri Nov 13 13:49:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324287 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212636ils; Fri, 13 Nov 2020 05:49:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrNVPypH1mavjo+r0rN9pgiUiwaLKg47fE4pv59cqyhFvPdD1RnDaCto7x2GkjtDC8ejMe X-Received: by 2002:a17:90b:93:: with SMTP id bb19mr3116803pjb.102.1605275397246; Fri, 13 Nov 2020 05:49:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275397; cv=none; d=google.com; s=arc-20160816; b=BZQP1Ulrk44cpg13vsnj60xNmrJaTeAaQ9JrWL0yGAbpVxL69tUOPx4yekg7ek8oG1 0CBplMaquTvn6ZxLLZKVTcPASGfKYd66SJkOdY5M8SfIFehh/+7JGmO1R+oboQstAWfI JVCC4q1XoyD/ekyWV6mRuKhA6kvblWn0xs/L2Vw5DgrLVB5NLdUiHG4XzviLuPEYt6ef pawPv8OMPC/uWfKfeYq5l+J0xd3WXCM0FrF0YEOwfLNgqwQivzhdD9M7xd2Op/OXEiy2 IFRkgJnEtQsarTePr3WVVWE4KfkDZ0LRbSZY8y/RZS7eqB0shyU4zjISI072q3NZTkPA HTWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=aTYLqVfgYIJWP8gAVZ7y/NOCct2AHnXEsarsQ8tSLD4=; b=iigFj5JL9Sy/CR8fBhIGH7iHD2ddT8NP+9q6SPI5fSspS/ldKpZe7byeCVIXqvw4Ep zAbG1k7geV0FitCQPP4RmRlGc1vmI5I1XkiNpTsA95lc2d26+jCA12SR+6tDhuPEbTAC wtiKRvDNCA/92D4ShISmfazkvDtzhL+474QtKVE41KXvzwqrFJjsQLL6t/1eHATxGG4o m5A2wgf7v6hPqx0jtjtM0lLqhsCN15ceLkXz4OMMRK8a/HDsPYw9PPCBEeVI84eMfDC8 OaGlw5dyG3ePOg0WKfuoTYK29AaLWJj9nIcfhlNJHkCxU/Mz+RI78ak0avN80rkJan1b wyhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XwFxvGa9; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id l137si8153125pfd.98.2020.11.13.05.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XwFxvGa9; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3986E6E4F3; Fri, 13 Nov 2020 13:49:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id D36146E514 for ; Fri, 13 Nov 2020 13:49:48 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id s13so8549272wmh.4 for ; Fri, 13 Nov 2020 05:49:48 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=+yLMECfz4SQeh3+r6t6vIS8Tp4hfLiHYcv2v7xPbbH8=; b=XwFxvGa9Xc8VSIwGJA9BMdIQW9mUlNFmQAqTyunI02+OZcgeOhYLBswJPnWTzruwhx mo2BJ/8T2PrZu9oTvXUxAG0l3V9EYDdFyx7DsRMMIdRybw/crYokPbqPGjgsX1OrvKg4 EuqJPpQkRnhM/0e2vZJTF4poIpcDRj4YipAu3SOfO88BrBy4UvVqd6Oj6r7hGQb0nBCl G7TVdOXrrDTrsVtibgzInH4IYVN7myIIjGIn1Azb4qlkyWs2s5seN8RWVtcVNwjVALRa WnWakzteQsdODnVicJ5uPCUXG2Htl3eFcSD+gBt//wKClhkOCRFtaX3Pdpj9eQAFs918 VaGA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+yLMECfz4SQeh3+r6t6vIS8Tp4hfLiHYcv2v7xPbbH8=; b=PvxKH2K9q59XC/WRdvcR3jetG6XJto+zoIGaIOWc8/QvTWaBWxrIzPoHrMGVqTodPY L4hk9NPqjTeTDQD3cClpoUdOC5l6UjgfN/JWJKZQLrbGSRMTM+iCISjdHnlm7rKe9viy 4Tdc0YjYkR71XqaVIowm13wxI1HelzN+lUsvPgsP0IXUrYbFWyVVk6XO/DxJgKhf9feq kjzBVhXBqPIFA7TtmlSr3rlp3salFuKXxoFK/vwTYY9pQaS2G8iI6pwzq31XudyCjO/c cwi4AmvforIVl4ZBDvYwQtvQX4mJkGxgHX3mLo47WVFEk5wRN+uNQj3wEMy5PAE5dOUm LL0w== X-Gm-Message-State: AOAM532LH7axda/uX5oFos+O/wLiNP7qGq3ZDKDTU0mODuQQJVPJGGip HSeWcU69Ilfbhvryjzoj0Ptr2g== X-Received: by 2002:a1c:bac1:: with SMTP id k184mr2593413wmf.76.1605275387562; Fri, 13 Nov 2020 05:49:47 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/40] drm/amd/amdgpu/amdgpu_drv: Move 'amdgpu_info_ioctl()'s prototype to shared header Date: Fri, 13 Nov 2020 13:49:02 +0000 Message-Id: <20201113134938.4004947-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:486:5: warning: no previous prototype for ‘amdgpu_info_ioctl’ [-Wmissing-prototypes] 486 | int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) | ^~~~~~~~~~~~~~~~~ Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 +--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.h | 31 +++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.h diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 1dfea15bbec36..afd357df0f886 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -43,7 +43,7 @@ #include "amdgpu_sched.h" #include "amdgpu_amdkfd.h" - +#include "amdgpu_kms.h" #include "amdgpu_ras.h" /* @@ -1521,8 +1521,6 @@ int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv) return 0; } -int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp); - const struct drm_ioctl_desc amdgpu_ioctls_kms[] = { DRM_IOCTL_DEF_DRV(AMDGPU_GEM_CREATE, amdgpu_gem_create_ioctl, DRM_AUTH|DRM_RENDER_ALLOW), DRM_IOCTL_DEF_DRV(AMDGPU_CTX, amdgpu_ctx_ioctl, DRM_AUTH|DRM_RENDER_ALLOW), diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 98721ae931841..54c4ee6d230d8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -41,6 +41,7 @@ #include "amdgpu_amdkfd.h" #include "amdgpu_gem.h" #include "amdgpu_display.h" +#include "amdgpu_kms.h" #include "amdgpu_ras.h" void amdgpu_unregister_gpu_instance(struct amdgpu_device *adev) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.h new file mode 100644 index 0000000000000..f3111aef76cae --- /dev/null +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.h @@ -0,0 +1,31 @@ +/* amdgpu_kms.h -- Private header for radeon driver -*- linux-c -*- + * + * Copyright 2008 Advanced Micro Devices, Inc. + * Copyright 2008 Red Hat Inc. + * Copyright 2009 Jerome Glisse. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef __AMDGPU_KMS_H__ +#define __AMDGPU_KMS_H__ + +int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp); + +#endif /* __AMDGPU_KMS_H__ */ From patchwork Fri Nov 13 13:49:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324288 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212653ils; Fri, 13 Nov 2020 05:49:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUCwOK0sbQdvOBoxE+jhxwECYQ1IpXYq65JL0R22+USnwg4WpCDnqM2OOLhSg9QfBdemmr X-Received: by 2002:a63:3041:: with SMTP id w62mr2212776pgw.166.1605275399267; Fri, 13 Nov 2020 05:49:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275399; cv=none; d=google.com; s=arc-20160816; b=lyRRyur12jHq+YZDSc7zA1V93528j8RNfF3ab6PQOMh8Ua6eaLAiKrdqimxtf+FbI+ K4V1MMZoB/CM9Fcj8kOALqlbwDiS9MKn4dsREv/JGh/+aSqTu6DycGIae2OhkhXmH9Af yo8Dzw/DjWVDOrSlJq6zwqjzfrcIZChdxWNMG4KHcNZMpN3WxK+SOfzMkzWsmil0eONm s2vuKvD8o9lPLRo0nWwlHzyL//Jf8Hk/5RUqnAg+rqR/zBznEHHaX5DRJqJEZuXI2jpY Sr7gCCA4weaTuHUL9bCKyzFdZ73tWNwD3vL+njMXskoHlpXpE/LrSLmAtv3HdfHKcd0W Tnzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=i/rh9qU1cTBYY5gc5xRroPwPTpXizcGkFOIL3Lra740=; b=s2KjuPOMdpYMu+BuVzu6WWFNx9RyebqSPi7WYfMIexP36mcWVAT2Oo32WuPidIB2wd u2QBrtCv/hnZpqx0UzJfBJMgpkqbYEhddzWYvlEJCMHEUoXuq0CECpqqLR4C4mr2WGAO T4I6XptE3SZsax55E43LtO4mX0sYFlOuURwWSjcejR13Ql5jbUr4MruSp36TjdkjCBrf 9Ep1XUy8cD9inw8MrXFQXI4AbIOWUDpCl0MULv+IcrB6pv5saFQcEw+Ak/rxoe9kIIDN p4e3VOrdG3syyHek8rzOJmFNyAI4AZ7pfpTAseuCxk1Ox0ByiTAv3/3eo4ctQjDFTnfh 4/ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qrvSVoup; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id ba7si8199184plb.153.2020.11.13.05.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qrvSVoup; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 051156E50B; Fri, 13 Nov 2020 13:49:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2F05C6E527 for ; Fri, 13 Nov 2020 13:49:51 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id c16so8553751wmd.2 for ; Fri, 13 Nov 2020 05:49:51 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=tTwQDvBtnpWbM0srw/EUqdspNhCuLlcukla9ix/INuQ=; b=qrvSVoup3n8u8pYQhoQWokhMcBFhpiN8nyF8qI0HnXLJQlB3KuihkzMOb9FuMYyNKC Kwj2BDP1Qxst46LBOeu4iGuvzAo6b7i+r6auLDVQmLv5NWVIfKerRhDn/m21fMAn3nmj zcBFB3BAmgebJUsvaamTnF/gmJIY7uP3vEWpNG94/YecvIyHFnYNK0fchgmJcb/79T+g FABDe/gxMs5OwehhsHSkiX0/0yrHrd23HLfP36heprsQXK4kWsw5Tzviqg0r1Q3iRi0n rr3FS4f6gFsuvX+xsiobwmul2yiHCGgjSYXFlt8grMLJoxtiWDWJRAMm/JXjlfWJaD9E 2ggg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=tTwQDvBtnpWbM0srw/EUqdspNhCuLlcukla9ix/INuQ=; b=TWnUChEjPjeGUeOPhQP6Tzu1B1b9y61HFOGWjevb29t76Oy2A7LQrh8IQg4+f/cdav Mimu2EcSeUDpA3wfZqTUHDNqoR1iEW1yR628meMa4Oh9rlK3tCeFaB3WYmEW7zu3oTYN 7inxiPTaYUV/qfFOzbUE8SCpqoTPZ80UIJL2J6bck278iyQ+dJHZYqoiNEGh2pqV9OGr DBCqX/a9Jv8aA/8erKGDz4YcILS7zEKRSWkxSfXX8xokuTogRqQDOBO8oei+Diu4KV7n bw/FeAj3Xs8fkPtwEH60Wkdx8V2CPrzcMlQ3WHdtek+vIzj9yFcXbUTZdbqEUT2JHzqw oKZQ== X-Gm-Message-State: AOAM5314h/eY8PL4ubevoW9j8YhdzHi9bMUml3v/r5EEVOd/VAwZW4xm EVBAhA4u1GpXzNM5eaTiBeGoPg== X-Received: by 2002:a7b:c308:: with SMTP id k8mr2620978wmj.76.1605275389843; Fri, 13 Nov 2020 05:49:49 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/msm/adreno/a6xx_gpu: Staticise local function 'a6xx_idle' Date: Fri, 13 Nov 2020 13:49:04 +0000 Message-Id: <20201113134938.4004947-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/adreno/a6xx_gpu.c:33:6: warning: no previous prototype for ‘a6xx_idle’ [-Wmissing-prototypes] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c index fcb0aabbc9852..03c2f7e0c9497 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c @@ -30,7 +30,7 @@ static inline bool _a6xx_check_idle(struct msm_gpu *gpu) A6XX_RBBM_INT_0_MASK_RBBM_HANG_DETECT); } -bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) +static bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) { /* wait for CP to drain ringbuffer: */ if (!adreno_idle(gpu, ring)) From patchwork Fri Nov 13 13:49:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324291 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212735ils; Fri, 13 Nov 2020 05:50:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZB06srbfBiNs5f8MMARbN8lz1Rhu96WhDwaYWT/sPQi4KcIwMvFWrEchyKiz79Tt6ISBx X-Received: by 2002:a17:90a:a10e:: with SMTP id s14mr2980699pjp.62.1605275405587; Fri, 13 Nov 2020 05:50:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275405; cv=none; d=google.com; s=arc-20160816; b=pLpPZ5LVeK3K8UrkAM+FdLbs7FJ6r6BEoZCsRgwvZ2tyAaVE5UT7HcgvFQGN25iWDd 8ilGCH+cNlKElWOPbGQv7X4HqHjdLmEB7cwSS5v9l7mgg+52zsBp0VxDfOvH6iZjJnJO en3fq9ScGStQmhiAYFfC6RQ1vs0Va2P7JZDdzr7TuNWdE5WlA0aq0UpYgPNVZ0W0Jxoz UyOGyH7GK/hxhkSt1/HDVBUOOdxYrIdmmt4jR1wwWPW1laf4sI8XLj4a43laus8rg2kV uuwpRHnfmCUbWAga0z8Eh68M2WzsBnA1P3dvdwgpbm5OpFa6gySXqAq1DQwVruCBrlSQ oJMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=USV1LSLWYq7gkU3+E0NeEwp03KH5ExLOGb4Ely4sbh0=; b=leToyESKgXdUyTzuG2geToOD6ApHo9wMyeGkcxtxgmsDirD3rlyQWeBlIedOnV3dnU qwItDAZmDsT9erVvwHj9k1mCWopKV6iZQHPqCMDRAWYPa7UD/dAqIjBF9RORrxcgDZ1a 0fnBwL1DYHfcuvev0LJfcwHkuEnBNuFWpB/yFCmpcnj75I6DZ70x3uXV3ZMx35QvcFyd KjhEDI+TxJpJIFxfudsAISu5wsraw6UfdgSKVMnvqjAROV2VkqAIt90mU68Ux3DH6epq f60RUmpTLLats4ISs6sPHuJmSHdV8j3TnytMlqV3w2IPAZuYbtS/361eeb9RpBAtaLMa msoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OcVFHvgo; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id k33si7936305pgm.176.2020.11.13.05.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OcVFHvgo; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6BA446E51D; Fri, 13 Nov 2020 13:49:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4C0946E51D for ; Fri, 13 Nov 2020 13:49:52 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id o15so9986766wru.6 for ; Fri, 13 Nov 2020 05:49:52 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=vlKk1bN1CES0mgH+wUmCXkMlZA1CVtbOfxEG6y0GM50=; b=OcVFHvgowhYl0ECvQLfpLorqw2RlulROMnX4KA0JdKlQSLv9mVUpHCZi3/3LowHNyd pPbib+JUF/TZx8WcxyO/ewyRBfjMIKS3UtXxxiapN+aLc3DL3tKjsK1RstnLzU6A7OOu raaPYzUHAk9pQHEX8DdhINPQHyXgCWD+EGqFlUaImR9oRRNSCrg3RwlpBO1rA8gRThur 5ufXOxBBG3r/CwQgQ17S2gixxqvFYvcJhY5owIsbOAQnLy+muaiTQpOZiviP7ChJaRsR WQ+DcU7lcgVDScBOZS3SuTdJr7c9G5qztri+ctAZ9PmmnfGvXcyuvz22sG4Ynfu8k5ZR rg3g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=vlKk1bN1CES0mgH+wUmCXkMlZA1CVtbOfxEG6y0GM50=; b=fUI17zldREopI8WUJz0O0+IML61Mql3We/eCFwmcOnMRxeUPpkWT6NyaUT+7+XxrZN +f93R1GcYAygJF2cc1LiYnTE6RjJnUSRHuXDMfal1xIs6svp73xnl1Bgp5omWmrS/Ld7 i8N3zMJ8orces95HqncV4BcwuWNFNrOYtS2v19CXKToGaLcFFXEM9oY/QpshrKgNmhrj GZXPaq1Kl9sjyQKiRHX3nNLVAwy6qiCCt+tX5Ke1oHgFUTMrVAI/kU4nyt6oUXNSLTrf SXAEMaSj/8bxBbtoIetOPqsNRleH2ZVXKLP28ZzBUq7/j9/df0MQBD5IrFe8kNyafh2+ PjWA== X-Gm-Message-State: AOAM5303XTLW0CsFzRh9ndHiHtjBAfMq7eqeaXLiRF/Vhab/aYW2p02V RRQMVXKYLVEuuxiMBjD2oWyW3w== X-Received: by 2002:adf:ead1:: with SMTP id o17mr3629612wrn.396.1605275391038; Fri, 13 Nov 2020 05:49:51 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/40] drm/mediatek/mtk_disp_rdma: Fix formatting and supply missing struct member description Date: Fri, 13 Nov 2020 13:49:05 +0000 Message-Id: <20201113134938.4004947-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_rdma.c:66: warning: Function parameter or member 'ddp_comp' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:66: warning: Function parameter or member 'crtc' not described in 'mtk_disp_rdma' drivers/gpu/drm/mediatek/mtk_disp_rdma.c:66: warning: Function parameter or member 'data' not described in 'mtk_disp_rdma' Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/mediatek/mtk_disp_rdma.c b/drivers/gpu/drm/mediatek/mtk_disp_rdma.c index e04319fedf463..d46b8ae1d0800 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_rdma.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_rdma.c @@ -56,8 +56,9 @@ struct mtk_disp_rdma_data { /** * struct mtk_disp_rdma - DISP_RDMA driver structure - * @ddp_comp - structure containing type enum and hardware resources - * @crtc - associated crtc to report irq events to + * @ddp_comp: structure containing type enum and hardware resources + * @crtc: associated crtc to report irq events to + * @data: local driver data */ struct mtk_disp_rdma { struct mtk_ddp_comp ddp_comp; From patchwork Fri Nov 13 13:49:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324292 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212760ils; Fri, 13 Nov 2020 05:50:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWZWPWYz5IVEAk5i/2KymBCsH9AX2vrn0dYuksje081/wQY0Ph0DYFTyWZ2epK98n+UOr7 X-Received: by 2002:a17:902:a404:b029:d6:ebe0:6e57 with SMTP id p4-20020a170902a404b02900d6ebe06e57mr2311872plq.12.1605275407529; Fri, 13 Nov 2020 05:50:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275407; cv=none; d=google.com; s=arc-20160816; b=B5sZFrsqp05/TSi5enARxw2PW6ADxUziWaDOiY4AvlSfGX4KrFHLuQ9dRElmmSGloi Yatn082C9YUkwtbcMqaVV/EU9Yy1M5Oe514mtThJJPw65kIQiPISsolc4dsYdEaxA2wE 8lmha/W9/wfVyvRDBvq8kLN+zwJs319md5b5T9ZFr1qdnk5HSo3SOLiUOroinu/3CieA DTgMp9kl8o4LjajPcVbO0zxxkRmB/xkn+eIT2mmpbb4lUUeQVE/FNYV0j8Flm8KGXNHq V1yqYld8u3LwEqrxuHokIM5WpbH8v/qB9Zd+gje9Vtnqv4Lu6tlbupr0iONOnxJ8n99D OsRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=fhG/+DUv+o6z+JdFXOEiLOkQpPN8SfUt2e3sbgDqvRM=; b=0/ovBM2GNjjRbpz9bzYeOToUY3+wiJowOI661fz0F2JUe226jtMjNvr6/ZuU+IeaxC Lirb16NiRD0pj9SUBMHAfNgLvOF3d8QU+IRRiKfrmVAaW4hFggXyGGbf3KTToYSugLU9 PzhXAm4iRmFNa24+wmaMsgCyu9k/MIjfsuFkYyAOsz5vUO6qIH1Z+qIJpBhepzR1npmB 5D4Co/oi+xeTXV5kb8kOIvAQSNSYpDczMvTQsFC3VbDZ6tv8PoLcG0DzDSZ74cTsIECP 8+NQlDpTuMVUv+rvCaTKeF08P+LMWqmwVjEsSDSr36rfF/8zt4l1Pl3OylisKdPBLVHw hYbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iKoC8B6k; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id t21si7910171pga.339.2020.11.13.05.50.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iKoC8B6k; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2100F6E527; Fri, 13 Nov 2020 13:49:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6DFCE6E520 for ; Fri, 13 Nov 2020 13:49:53 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p8so9999884wrx.5 for ; Fri, 13 Nov 2020 05:49:53 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=wz9PYnHV1aU7HpVwR+iBYjW10NIO6mvxzzKOFF06bog=; b=iKoC8B6k4QLo4AWSzbSH0Yrm7UKDvnSV0l7UwGmamQfyeBV2XLjR211KOhMkiXIisO IDz+WNVInujhwmf9aaXfhzFILS7NiSh3vsj5eF+RfyTdnaNmjnhOkPIfyoC1ApUGpwXy WjRZvxDpzJ4UQJA0JvtL3ym5KMN2kwldsYCptf3xhEPtJRtR4XPPDyYl5pqVLSMfUfhq DKcTM3MotgxZzP7gCG+T4LVpjHTH4qh5JMszYbGsrHS6tba1wEO/qGVRjpDHN7gpbP/n +OqfOZ0mM+GGy3ezTwuagbFHABQCfou0M/gz0pVp3T/IYK9BBrP4AQwSBVx84X7GP6hc aWbw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=wz9PYnHV1aU7HpVwR+iBYjW10NIO6mvxzzKOFF06bog=; b=JGd72D97pD1/sCfU4ePcqt8H8yzfRgoRVLzMVhC1aMYwV0ZxLa2jRfUMEwa2MR9QX2 Ypn3KENnJHtjb/857c5jOBTx3S43NRNYI3o6osfFXg5Kg9UHptGkS1m21u4DFN3ymuop QZpgP9iKXsYOxefBCY8KFViEh60HSHTmA8hzHfbKVDz7JUq4VmcZB7J9LYts92W2TQqo 7udXQk16QoLH2shHmg9kKu0FvI6Ub4Yc8e9NChkh5GCbB/BXNsNpcLcoze09GGRDVy/6 9gMFzA/oOio/rrSca0DSl14CBg7Su/uy8M7WlUsrbIFr0SYcFH1em5KNFmlXlXhE9Rxq w5TA== X-Gm-Message-State: AOAM533sc7zSP+BkywHglG5hEJjBohWQ5ZHw8ktzGVKXwIV9FjW23cR3 aILXc4u3QLOq/ITQgpgTmR3Biw== X-Received: by 2002:adf:f808:: with SMTP id s8mr3615775wrp.257.1605275392170; Fri, 13 Nov 2020 05:49:52 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:51 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/40] drm/amd/amdgpu/amdgpu_ib: Fix some incorrect/incomplete function documentation Date: Fri, 13 Nov 2020 13:49:06 +0000 Message-Id: <20201113134938.4004947-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:66: warning: Function parameter or member 'adev' not described in 'amdgpu_ib_get' drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:66: warning: Function parameter or member 'vm' not described in 'amdgpu_ib_get' drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:66: warning: Function parameter or member 'pool_type' not described in 'amdgpu_ib_get' drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:66: warning: Excess function parameter 'ring' description in 'amdgpu_ib_get' drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:125: warning: Function parameter or member 'ring' not described in 'amdgpu_ib_schedule' drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:125: warning: Function parameter or member 'job' not described in 'amdgpu_ib_schedule' drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c:125: warning: Excess function parameter 'adev' description in 'amdgpu_ib_schedule' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index 2f53fa0ae9a62..c69af9b86cc60 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c @@ -52,8 +52,10 @@ /** * amdgpu_ib_get - request an IB (Indirect Buffer) * - * @ring: ring index the IB is associated with + * @adev: amdgpu_device pointer + * @vm: amdgpu_vm pointer * @size: requested IB size + * @pool_type: IB pool type (delayed, immediate, direct) * @ib: IB object returned * * Request an IB (all asics). IBs are allocated using the @@ -101,7 +103,7 @@ void amdgpu_ib_free(struct amdgpu_device *adev, struct amdgpu_ib *ib, /** * amdgpu_ib_schedule - schedule an IB (Indirect Buffer) on the ring * - * @adev: amdgpu_device pointer + * @ring: ring index the IB is associated with * @num_ibs: number of IBs to schedule * @ibs: IB objects to schedule * @f: fence created during this submission From patchwork Fri Nov 13 13:49:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324295 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212827ils; Fri, 13 Nov 2020 05:50:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZGLvy7PEV31bURnCGQ6N9cR48DKw3Yj2ThSo4b3sVWsD7mOKqWqVQT5bhDRPCHhNuZv82 X-Received: by 2002:a17:90a:d244:: with SMTP id o4mr3138853pjw.183.1605275413094; Fri, 13 Nov 2020 05:50:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275413; cv=none; d=google.com; s=arc-20160816; b=qrGDmQ5op9wMVVabU1v0OJo9wNHvy8hWl35Fy5zSCuCbJepHwXmQ6zGc8ofwGCY4FT rGkXPh1a6JUNd+tpXnmrtyfNTGsMiYPbQ9oWmn2wwMelQq9R3S25Srz45OFJgpugtTCS KpaaYYZkLdE2Qk8wjKrn0270MpBxqJFWYk3Jdzv2cOjz/Qr98yYTaoEPq/zfH1Zs/0/C 3RCZMA+79DJsyWQEMPlySdUm08uDsKDtiyogJC/rRmV1H1AktIMPvZDiyF4lll+6kkkb h5rOxXuX9f0Fxf9ZqekwTK368eD9wcNSpxKXgukHiVpEh+nZxdu8dtUV9R2O2i2Sm2XO oVww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=5TnLGeIEh9fWAKDd2hyl92SMhHT8ni8MVbWbPDANmI8=; b=HPkwqi8Yh6g5tQs3zqPh6qmPkvrxYQQ4XXRCL2ImQWz4B9pROxFb/byG+IdVfz9Yjy UNQNvdjGwbVytR1gtSmFebKGcYIFvaAxAT3b/rbzC4FyFz+wOsnvR1gxjqsdWYfLAO7Z xPC4N2rW+Yfl116MVD1YCnzMwV3j/9j8exHYHJjEJBNNWBkzcxqiuq9MRdOYp+MbKClX yw/D2SkErnnKqpD3EddkLoCEuGHPdRmQ7AnxxQbkCS1Qypcqwz2hqifCHSEI7iEqgKp7 BNrsd+hiLJcp9Xa0H0oz8QPauZWxncDmiouzfQH/rNDJiD2ePtblzKvMrU3ERHLVbx2s dPAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sDMRPQsw; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id d8si7355247pgv.555.2020.11.13.05.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sDMRPQsw; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C44896E52E; Fri, 13 Nov 2020 13:49:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9EE5F6E527 for ; Fri, 13 Nov 2020 13:49:54 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id b6so9992730wrt.4 for ; Fri, 13 Nov 2020 05:49:54 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=pCTuXmjwQai/CDFPUzQ3kg8YDOVHQv+4DVCFDqYGwk4=; b=sDMRPQswWGSH++5S2Loy2vzVU6PKTlMKGyiB2LA3prnW76xMrNwZA0nmexJsaEobkL 38w/XO7PKggGRLVdb2wtak4X17JNVk35qD6R3pbK0i8q6LyutT3Iou5Y94lsl1k4blLz p2xkf3ETUNYs6hssfPEjjPlm89LkhETsVduJvbmkM3oEMJrW5ApTPE2MkFqTfGAQ5U5R w7ZuvayjNoZuO5u87vJsYPZsZ0HoKo43J0Vty3iLo3fpfA8NBAVzw4EFGH1TJZbsHJnA tvdmSrzbQTEsCnu2Izn1p6tYQRXU5QZq3hdTi8ApEpzNiZ6yyhAX2cc6OmgfC51eg6y8 0meA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=pCTuXmjwQai/CDFPUzQ3kg8YDOVHQv+4DVCFDqYGwk4=; b=uBL1MYTqcGbpD6hLOgZ3ph44iLrva9+tqWPe7oZ9QFugutesnTwfrYE5suwr8rwQfN wxhsHjxpCki4IPVG0FlfMGV9GlvSGTmUWerwyofL3tZTi0VcBDAf0mxksohbwSjtdmGT uikjq42yiiMaVuraW6GwBWJ/RnDMwWP+D0+DowfHgRzksRcRadtt/414KVt+Bt1gbjEk TPVMWa/dCI99LaWGfKPYrBMCFPF8h82ZcpTmU3RldMgxvt8Na/fsh6xnhw3A6h1rbuKq pgRzYDWP0YcnKG612tH6w+DhAawsf+b4TQg3Z0MFn/cd88sLiLFN9qfL8Ybr69B3oR+d 32+g== X-Gm-Message-State: AOAM532foBVDT3BFoGHA82xwG+Vx0bm9GfqjwYjkDjeCMHAIOgFkqMBI WGhYxGDn/EzkRsbjFKCObobFF/5F3g6Olpiw X-Received: by 2002:a5d:654c:: with SMTP id z12mr3461026wrv.46.1605275393304; Fri, 13 Nov 2020 05:49:53 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:52 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/40] drm/mediatek/mtk_drm_crtc: Demote seriously out-of-date struct header Date: Fri, 13 Nov 2020 13:49:07 +0000 Message-Id: <20201113134938.4004947-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This needs someone with in-depth knowledge of the driver to complete. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_drm_crtc.c:62: warning: Function parameter or member 'pending_needs_vblank' not described in 'mtk_drm_crtc' drivers/gpu/drm/mediatek/mtk_drm_crtc.c:62: warning: Function parameter or member 'event' not described in 'mtk_drm_crtc' drivers/gpu/drm/mediatek/mtk_drm_crtc.c:62: warning: Function parameter or member 'layer_nr' not described in 'mtk_drm_crtc' drivers/gpu/drm/mediatek/mtk_drm_crtc.c:62: warning: Function parameter or member 'pending_async_planes' not described in 'mtk_drm_crtc' drivers/gpu/drm/mediatek/mtk_drm_crtc.c:62: warning: Function parameter or member 'cmdq_client' not described in 'mtk_drm_crtc' drivers/gpu/drm/mediatek/mtk_drm_crtc.c:62: warning: Function parameter or member 'cmdq_event' not described in 'mtk_drm_crtc' drivers/gpu/drm/mediatek/mtk_drm_crtc.c:62: warning: Function parameter or member 'hw_lock' not described in 'mtk_drm_crtc' Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c index 193848fd75154..bfe9942305435 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c @@ -24,7 +24,7 @@ #include "mtk_drm_gem.h" #include "mtk_drm_plane.h" -/** +/* * struct mtk_drm_crtc - MediaTek specific crtc structure. * @base: crtc object. * @enabled: records whether crtc_enable succeeded @@ -34,6 +34,8 @@ * @mutex: handle to one of the ten disp_mutex streams * @ddp_comp_nr: number of components in ddp_comp * @ddp_comp: array of pointers the mtk_ddp_comp structures used by this crtc + * + * TODO: Needs update: this header is missing a bunch of member descriptions. */ struct mtk_drm_crtc { struct drm_crtc base; From patchwork Fri Nov 13 13:49:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324293 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212784ils; Fri, 13 Nov 2020 05:50:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIOWuNIuT4fMoWBCSv2XcSRtx1bGfkPVrP+u1+OZBIbrcij0bv07LOp+QxfbtDnVKKIWUU X-Received: by 2002:a17:902:6943:b029:d6:bd35:c84b with SMTP id k3-20020a1709026943b02900d6bd35c84bmr2240220plt.53.1605275409497; Fri, 13 Nov 2020 05:50:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275409; cv=none; d=google.com; s=arc-20160816; b=ybZy797KmH1HTCKUN8dMtZv5unQdV/F0VIvA5tvS2LDoHoE92Cq5CE7gyXiqr+KoRv TE5T5BkS9rV9CYZgcZq5gIoaU1P+LhRLedIzIabdEAKQTwYLeI41CDd+udlIMnP57OhO I/4EmmSj+xRQ6Ya0fODDNk67VQG6KYdH5Kcxi70L0F1sEjGaWHYWwXMfvfBlgMdD9lqV j0EnIg/n4obYkgJ3MGSvyzNwHBvrMo0VyvLRTD0A+RLPIMsLAyFCM4+ng/AYWdneaW7P /clYLdH+VJpKI+Io7yee77zds5oDTL9RUr/qtmRc3gJzXD0vPUVMASg14b1sym4rfCBz pbdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=bh2Afdo4XwdFIx2lHYNcFMxGMDf42YpFLrYcyxq6Mqo=; b=PWRE4XiUJrvXhylgF0QctJsFy764YXBq77xqCLgzaberHLT0D3TBiWT+exfWVrVgcc 6qblETFVexZIwp0Nj1D2YqHKF6khxGWAvcILGKhC42S544Nwc+3LulEgzdw8VQ4dBkRI AaR4pcq2n0D0yo8O1KSbIXRXPF/JZxljgwAvoqh6Ow1dchhAhQUXLkWF3jKg7tiBCK3m O8CbEDNJUiBL60QpfLrMYpXbp9pCU22qQzBwM9d+/mA/jwmppGPBesBhWApOJyk87dW5 2TmeR+Um6sRCMpyiULDueDZh4bMCosCldpTf6YJuLgOER4I9Unmjj0FhqjMl7kXQ6Gjs 0Jbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Yv+njuEX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id h26si7671007pgn.499.2020.11.13.05.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Yv+njuEX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C203F6E52A; Fri, 13 Nov 2020 13:49:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id D5BE26E530 for ; Fri, 13 Nov 2020 13:49:55 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id h62so8558676wme.3 for ; Fri, 13 Nov 2020 05:49:55 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=e/knA7px3ItuZjnu7kmhshhnJxUB7qJyEjkrpKqZtiA=; b=Yv+njuEXEnBreJ8gLTiSi7E/xj85s7S1U0w/6zQmiPZ1aSp7ZCFuVeOXtQ700dVUZY 9cYICnqGX8VqTm9uswhkeCOG1WtAgHPlSd0c5esIEBrxnfKNGIGJ7N8p3mHPOWhQfTc1 nC3wfYKKdObN0Tc9WdhW5lnWd2XE2C8FVH/YwzSsMK/FEI4Sr8lWCjkLc40a3q/X6SyT UgKx9M745DJvAIjlEINmUn1V9VoRLqlMR+Mzj+ZgD/IZxefVR1P/a0fFZ2ta9U0SnQuq SE8cIQ/hFaUu8KdY84nozKy8eDIdoFOTixMUC5F5T/SUqdfdqRWs1tIjHdgcknmYQkwG RpPQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=e/knA7px3ItuZjnu7kmhshhnJxUB7qJyEjkrpKqZtiA=; b=to0ozNtPcWhJHgZybyZDRL9JATtbp1ssIrhHsfRW8axG/ErWhiS/rxw4VwQb99m2GY nkaXD9U9IgCpCX6lS8bhzLnj80o1PsV/Aa3edm3HLLKCChpfZbI4I8OkdMy81MoP0q0W FynHMHzyuALcDOn7MiMXWtTy5p6w3Ipggae/u4w/qJzax8c0ALVS5WkzfyifNV+jfJQy UqjzR5EituA/2czFBn48WBJL/7pPus9YHoKZ55rzi5sqodsLVbzPRV/E5gvoAl/I921y 2ic+HaxrrETMrsljlnH2+3x4YplTupFoIdqLZ5mQDEa5Syukh0Yk1Tg5Z+B+K5iUWnUw NHEg== X-Gm-Message-State: AOAM532vsL5yLgERDiL36knk63LtszrYsnpFRuZ/n6klfPY6NB8APoY7 kExMOjnBToQZGHOUSv97hvHB8w== X-Received: by 2002:a1c:9d08:: with SMTP id g8mr2624009wme.171.1605275394497; Fri, 13 Nov 2020 05:49:54 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:53 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/40] drm/mediatek/mtk_drm_drv: Staticise local function invoked by reference Date: Fri, 13 Nov 2020 13:49:08 +0000 Message-Id: <20201113134938.4004947-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_drm_drv.c:316:24: warning: no previous prototype for ‘mtk_drm_gem_prime_import’ [-Wmissing-prototypes] Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: Sumit Semwal Cc: "Christian König" Cc: YT SHEN Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 2e8065b1e2bbc..401311453e7d0 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -313,8 +313,8 @@ static const struct file_operations mtk_drm_fops = { * We need to override this because the device used to import the memory is * not dev->dev, as drm_gem_prime_import() expects. */ -struct drm_gem_object *mtk_drm_gem_prime_import(struct drm_device *dev, - struct dma_buf *dma_buf) +static struct drm_gem_object *mtk_drm_gem_prime_import(struct drm_device *dev, + struct dma_buf *dma_buf) { struct mtk_drm_private *private = dev->dev_private; From patchwork Fri Nov 13 13:49:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324294 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212809ils; Fri, 13 Nov 2020 05:50:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyx5T03v/LzJ0kWEGZi8dzTe1d/Zyx4LRjI132HIRj+DsayhsuPOH81KAlelWkxKeGi8BhR X-Received: by 2002:a05:6a00:158b:b029:18b:fd84:956d with SMTP id u11-20020a056a00158bb029018bfd84956dmr2247207pfk.22.1605275411402; Fri, 13 Nov 2020 05:50:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275411; cv=none; d=google.com; s=arc-20160816; b=hilmN+FWOkfVZuGKWWTuZh0CoihmmRBIF201XagiKlQs2NNqs/XpbzkFwlPhSlFuv4 knW49kd0+TpnWR8mE7JhPb5DX7dGFkfDW/MsjuNzhHEd6sRgAadVJglt4a0kiqS38/vN ho8PqhhTZUzn6SM+mP6aRw6uxeYWiOaq2QpFK1z6XHRMdh7h8y76rF6lH8jplejwnLlO pbfO8SLcm5BZSdLHKfhwwJ4+ckKZrsLeujxJHd1Qezkp9GL8GyZPX1RNgk/Ggz2nwAEf Ox1fpTARSiK19tZFRjadfbttdwvMIqrDpW/t3oljDeE3k9H8+E7NX+4S95QG+3U5EHBe BFhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=l3KkaLramvG+7OU/VNMB4C/wZNgG6uJmLWl1h3braio=; b=OAPPfEG8dgvlJrMZ2yx/n5jg6M2vAe0ygi9Upfgx5T/9Lr194mBK2jzmdaKPykKFEp i2K9fT7kgoUtQQzjwXnMCneJ46Aq5Y0gR9nQPBC8tXVFdT5w0Aao+tzaLZLgX14thX09 RWerKSjckfIJgq6tOSVpTQGWL0VTaJZ9hfxcFXd9iDXdOmVPxHxyalzz82V3CngmTpSg iJGexqb2Ppq/fzA982bja/MswqCHvOSsvxzmpUeccs0h1wltjwqBS18BXSuZAfto54/k CHvbQ6TvLdDbktDAXJgb2CTbp8gbpd8RzH5eH4buZs60Jqdk+EvI/Dr8ZJGphOJimKaw JVZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oVPSe3gK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id o9si7723857pji.112.2020.11.13.05.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oVPSe3gK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B8EC6E52C; Fri, 13 Nov 2020 13:49:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 070B76E52C for ; Fri, 13 Nov 2020 13:49:57 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id d142so8200018wmd.4 for ; Fri, 13 Nov 2020 05:49:56 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=7u3R7+OjGQISbkuCs2m/TsCWsUoo+j2lw9OomX7FkgE=; b=oVPSe3gKajXzmTwgKcAiPMc6n66vSQUTIbxQGrlpz617vtWWaflWGSCujuQ8cnhsl8 Flp6j1U3fpCW7BBDGzKQP/99ib4s8fxs/3AQJXmBbOgVUYM9cW6lcnZJ6CnLvJKja8Ko d8CatTkf5GLBuTFXz+J+cf8WtmeIFmL5KsDnbuSwPcotT3zNcJ6w1GsXt+oCK9Lbw+nZ gm0psYuaDRRopbobUkafy6BIEHXJI+i+Eh5apV9e39CP9yF7cHUUGtaYNL6A+xjJB/xM 6gmjz6brGCBOeN1cuNZFWtroPbG536JOhvA1Fyspe4+AV4ymKme21mmgH9JPXwIC3zjR ZyPA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=7u3R7+OjGQISbkuCs2m/TsCWsUoo+j2lw9OomX7FkgE=; b=QQv1vpw5bGcLz5VSiiWYtUlKnqKlp0HJSlt0EI7KYj75db48hnvXjGJn33MIRoHb++ Avn9YSF49U52+JYJShUJu26uS8mjXnLRbyKpf3o7xAy+OLRQCYiDv2zMOt3nCsaRuTNh H0NY89LNpj61x/zxXIMbqxoaHCZx/XwUXmWXd5fyfHzGi8t0/8l7banmPUYV/BenZCia yiu8TK4fU17aROsY6Vj5zJ/V1/QqVnZhKSk2wu02Q77NauZ5zrj+Y7qgZvwti/XJhADO 0U8k0FOPPGI78Usdsvdg2v/T/rgL0TXF+kB1nrdKsSQLzVL5xrB8fvW6JkSJLpCPyvWF 5Xug== X-Gm-Message-State: AOAM532PK2KM/iN4cBE540zlWub1S+amkfsvIm1zunkRB2Z014AHGhf7 YN1N4aWr6sGmHPZFI8aos83Pmg== X-Received: by 2002:a1c:2cd7:: with SMTP id s206mr2531152wms.182.1605275395681; Fri, 13 Nov 2020 05:49:55 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:55 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/40] drm/amd/amdgpu/amdgpu_pll: Fix kernel-doc formatting, missing and extra params Date: Fri, 13 Nov 2020 13:49:09 +0000 Message-Id: <20201113134938.4004947-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'freq' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'fb_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'frac_fb_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'ref_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'post_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:317: warning: Excess function parameter 'encoder' description in 'amdgpu_pll_get_shared_nondp_ppll' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c index 1f2305b7bd135..f2e20666c9c1b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c @@ -102,11 +102,12 @@ static void amdgpu_pll_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_ * amdgpu_pll_compute - compute PLL paramaters * * @pll: information about the PLL + * @freq: requested frequency * @dot_clock_p: resulting pixel clock - * fb_div_p: resulting feedback divider - * frac_fb_div_p: fractional part of the feedback divider - * ref_div_p: resulting reference divider - * post_div_p: resulting reference divider + * @fb_div_p: resulting feedback divider + * @frac_fb_div_p: fractional part of the feedback divider + * @ref_div_p: resulting reference divider + * @post_div_p: resulting reference divider * * Try to calculate the PLL parameters to generate the given frequency: * dot_clock = (ref_freq * feedback_div) / (ref_div * post_div) @@ -308,7 +309,6 @@ int amdgpu_pll_get_shared_dp_ppll(struct drm_crtc *crtc) * amdgpu_pll_get_shared_nondp_ppll - return the PPLL used by another non-DP crtc * * @crtc: drm crtc - * @encoder: drm encoder * * Returns the PPLL (Pixel PLL) used by another non-DP crtc/encoder which can * be shared (i.e., same clock). From patchwork Fri Nov 13 13:49:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324297 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212851ils; Fri, 13 Nov 2020 05:50:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlrc7OScYMgoIEpHz3quWHjEl+VpaYXWJCOw6QsaPXc7277b36gy4QEr6eedaCKgw1v1cZ X-Received: by 2002:a17:90a:fa93:: with SMTP id cu19mr3295340pjb.117.1605275416201; Fri, 13 Nov 2020 05:50:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275416; cv=none; d=google.com; s=arc-20160816; b=qxVTSuQ8yFPpVWMh8pNTRm+On6AT5c1shSgGd7qNl3QhJw7e634zk13UPyY40b0ewk 8IwTykaeQDT8pLGAt/dveqiBBHMX91gTBkEboPNVmF/3IAxgTLdx2A/DDzlIs0HubzYm YRw6PAN9K8joDoBHrS/fq+wZebELPmWwY3IPILPrU8m6u039+8UBONp5pRKdRjFC6zjN JhzJEQAKGZA1eyOB8+o3l7AKP9ytxE1xAeWQ5UQ08Ydow5+DMan/FUKSg/0lTFHKN5DW yDTFfLiP2s+rO76TqKl71KDQSLCgsYB/OWCCDNYP1PW7D67Cow2ZdFuDSsMW6WdCpJYw CfgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=AdCNzvsJN0CCBIEuSMBbe77f3NmYbES0g9ulWItuCnA=; b=C1EEgbn+bz1XVy9sypLdRur8qDLxN33Ig7Cf4PH5hqUcZoHclYK/7I23pnKcYvMuX/ bLh8CdQ6VFarp/aziy2sdm10wksP1LUpVWtQnTVwj8ir9/0sE59ArNbMWBULxwx6dk3Z RXtU22PI2apsbBrwDgsm64hfEcODOCPSiO42iixeWA7tnRxHO+NffYY27VqwFJMcL73J ur28tRCIPjuB1+AAEMkuov3Cx71bzU6y5dDDUL9wLe7+ZbIMfdYg0fcHY4Whpxqu1QKA OzVTaEfQS6DMEG1TkDAv4Bd1t9CloxiUltPrBlaeXoqDgRd+AxMgfrIQ0QkBfMW9OX6W nwJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EQpRZyqJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id j16si8576203pgh.375.2020.11.13.05.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EQpRZyqJ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B57406E50E; Fri, 13 Nov 2020 13:49:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 022646E4EC for ; Fri, 13 Nov 2020 13:49:58 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id c17so9946750wrc.11 for ; Fri, 13 Nov 2020 05:49:57 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=+170YZVUptUVP8b8DCIuLCBL2J9gnyH4hHHhpysSOuQ=; b=EQpRZyqJUsVS4E/rFG6b8qdqj3RFz0tJHBcF1joK7ObcVM37yHd54OpRfevso3poBE M5OLhmyu7OkAIv70yzV+TJDxDkNXhyMs1fRWneF6elDNWjnWFwBRutoWPDfzP4+tY65O WWovQI0//2V8n9+aZMQtFE0vB7R5yzfroi/LJrQkbDRBnFsghAyXlFhrCdxPlz356hrR H03q3WVIa+V3oIvCzXAzTSRqtg+E0xP5+tnLloYx4W0w++YwwuUvPr4Nv1qmm0xfb7uq dQKrZB3olz26+UKqQXCgWyvbmODltp1tYhJLRMzwEdW731pX63JSgPKBUEXD33pKvqhV I3Kg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+170YZVUptUVP8b8DCIuLCBL2J9gnyH4hHHhpysSOuQ=; b=lTKi7RTGYGfKeEvwhFRYqv+IgDYP12xoPBlQJFBwB4zu+7i5bQarWa+NSlQOA/t9tY 1r27c4zL2KQA4WMRD5kJCoWB6oJ/f2vix0uORifB2DlZ68DeJNKiGhVumYfWJaCov2Kz tDNpZT1dIF7baFwezJ6AOWVYddOLwZ5uEUgoZZJYFRzjCy6mm2k8/qqhIIPpoepJm7Fh w/w+Sw0i05de094LUCL8wPRYLMeYFyUseYrxbLDwIMtLSRRIrP2JP9PHtBt9GPq7dOrg +uuOoQIdaVp4YvXlPIClHaL6x4uXk+91dZV4kbeE0tRQGTlek+Loxr/5ZAWeO/X8yTAY wcFw== X-Gm-Message-State: AOAM5313gbLuTUDkbIc8cu/jOgFSJZkC8zAeap8kJia1MI4aO5WuyWPg SUbtz9DfSDrHuNMWs4JvlDNP7w== X-Received: by 2002:a5d:4612:: with SMTP id t18mr3537576wrq.401.1605275396744; Fri, 13 Nov 2020 05:49:56 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:56 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/40] drm/pl111/pl111_display: Make local function static Date: Fri, 13 Nov 2020 13:49:10 +0000 Message-Id: <20201113134938.4004947-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/pl111/pl111_display.c:356:6: warning: no previous prototype for ‘pl111_display_disable’ [-Wmissing-prototypes] Cc: Eric Anholt Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/pl111/pl111_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c index b3e8697cafcf1..69c02e7c82b7e 100644 --- a/drivers/gpu/drm/pl111/pl111_display.c +++ b/drivers/gpu/drm/pl111/pl111_display.c @@ -353,7 +353,7 @@ static void pl111_display_enable(struct drm_simple_display_pipe *pipe, drm_crtc_vblank_on(crtc); } -void pl111_display_disable(struct drm_simple_display_pipe *pipe) +static void pl111_display_disable(struct drm_simple_display_pipe *pipe) { struct drm_crtc *crtc = &pipe->crtc; struct drm_device *drm = crtc->dev; From patchwork Fri Nov 13 13:49:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324296 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212839ils; Fri, 13 Nov 2020 05:50:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2xOkV562klF0XJDljGoWgDRNQbH3pPZMYJnK1CgeKN7BWljEik3kt3poXbaLXFbGEEMVa X-Received: by 2002:a17:90a:cc0b:: with SMTP id b11mr3075611pju.97.1605275414672; Fri, 13 Nov 2020 05:50:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275414; cv=none; d=google.com; s=arc-20160816; b=z1PIzH3Lf3Y9QOSn1nAc3C+8BUdXAyWHQve4zDEW3/3sjxYWRMD/OCF1yo/F7FvOiF 6NCADvpk62Y2ImZ77QmDYx++zfwxsidsICU4ri/kN4t3N+5lMFl78YyHZXaQ+5c4A6nW ZFOUpk7OBdm1YiVh1l1EKLmy8n4vttfoiLjWG88pioAt/7oZqe0517xoHbt+7uwca9Dj rpppXzYTxXJ2h6ul6Eg3QdgTm0vsrTrgqDCfGsU3Je4BgDHxZdmBI8XoT2vPMJ4oC3NK uhMh3/s8y7dLHYjDmroJ88C+dcS7jd6AZTiktbJ0OsNDnaG8mwwzsHqkLmivmze//XDc MB4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=c6M68tB2EX4YvH6SE2QTjoiNKAvfwJnN7rGEQbTron8=; b=JiY6rAWH+WLLMIFx3Oa48xVYnM17dSQMV0t7K2PoMKrhhQATGcw5/WeWBmgxzpS/kf QR/n+3qdiNM/ZyZQTLOXG0TuUgMZD/EdaDfUWKu23IvIWNtYa9f2BpIZdJjz7E2daFji 4NiMu4pThHQJD2qUPwPL49yENWR5f7owOAy3EE2mSoBbS/gg2pZh5j55c/mZmPoaQooM +5Dk1rB/TVWophYc8jCOPK4D9PHsDIe/w2RXtgy/r7jftHy2zGQ6wzHiVYxoPvXIi/KN qlTBlx3v8OKm2Qk8w1c3vJ6VJvgsf4mmoCXtsj0IxjIJw5KycsOmy/DqoPcVChemz8fM 8iVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DCwq41Tk; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m10si5733490pfo.215.2020.11.13.05.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DCwq41Tk; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D76B46E536; Fri, 13 Nov 2020 13:49:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 334FB6E52E for ; Fri, 13 Nov 2020 13:49:59 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id 23so9964940wrc.8 for ; Fri, 13 Nov 2020 05:49:59 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=p3wgCBGmvivdJ007ItmhaKztBJ2SUW1onp/hFOY65gg=; b=DCwq41Tk7ZmgHAC/3+JoPkDNQ/4pMsacxYcZwe0I8Mhp3Y63vdk5PhXtNsTT1DKnj6 lOrrm/witkSChNyeh3AmdSDIeiuWBN3AD3PZi96ahopOMhgO5n7Rtx1+spZwtSeX42dm tK8AYkULQSFwzudv4l1jezyqiksoFHxS4jHCJ+A8xUfjWX4f0NnICZ6LNb5bQYcf5Y6i iLadzB26xmshGMu2bAA7lU9Frx5nJeRKiK1bMvyOonMcwlYjhDZajlwgdZIAF+6+8hL3 pBeEmtSSgi60N2XjVdnuJ0WhiFifGMogsnFtNuB8md5shdnSFpZ7cYIRu5vHxT6NV13s c31g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=p3wgCBGmvivdJ007ItmhaKztBJ2SUW1onp/hFOY65gg=; b=rLjHQMhIfbe7oGoFRuyAXYG+JB3KUfMgQSOwyjhCdncsatsM7j+mDlYg6ZszPQ/4k3 WpHeD1sK7C6QVdUoDXQgsWIp+kJk70AX0oc+czXtqLjZEVyIi0be6a3MCHBLz7dtPJ1d BQ/93NHKl9NBCe2So+VJyVlrPIkMnYLf3El1UuuwvVIwYuibcEfGHMz+t0KIzNiR/qep 1C8kKpNm/r/hotY/rRcna1nW1rLeyEm1xkvP0dXAWkLAZFDSRFWP1tiN722fslqN4m1v 00kOnqCGBvdmehgsbkCcXDUcTuLtRXfs+ig5tFXT126pGUgHIhwY9gcGIAlZiIAo7pdh +YPw== X-Gm-Message-State: AOAM533ihWN7Y/ONEH6PE4NIwhqP05M2oA3rXSdA8ht/vQr1R7zsCe9i U7uKhp4xYr3b1yo4Fcju8CBXXw== X-Received: by 2002:adf:eb4f:: with SMTP id u15mr3583701wrn.165.1605275397854; Fri, 13 Nov 2020 05:49:57 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:57 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/40] drm/panel/panel-tpo-tpg110: Correct misnaming and supply missing param description Date: Fri, 13 Nov 2020 13:49:11 +0000 Message-Id: <20201113134938.4004947-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/panel/panel-tpo-tpg110.c:94: warning: Function parameter or member 'panel_mode' not described in 'tpg110' drivers/gpu/drm/panel/panel-tpo-tpg110.c:372: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes' Cc: Linus Walleij Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/panel/panel-tpo-tpg110.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/panel/panel-tpo-tpg110.c b/drivers/gpu/drm/panel/panel-tpo-tpg110.c index d57ed75a977c3..e3791dad6830c 100644 --- a/drivers/gpu/drm/panel/panel-tpo-tpg110.c +++ b/drivers/gpu/drm/panel/panel-tpo-tpg110.c @@ -76,7 +76,7 @@ struct tpg110 { */ struct drm_panel panel; /** - * @panel_type: the panel mode as detected + * @panel_mode: the panel mode as detected */ const struct tpg110_panel_mode *panel_mode; /** @@ -362,6 +362,7 @@ static int tpg110_enable(struct drm_panel *panel) /** * tpg110_get_modes() - return the appropriate mode * @panel: the panel to get the mode for + * @connector: reference to the central DRM connector control structure * * This currently does not present a forest of modes, instead it * presents the mode that is configured for the system under use, From patchwork Fri Nov 13 13:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324301 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212929ils; Fri, 13 Nov 2020 05:50:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8VpEngMCp54vsgApOiz1SlSPLHHa63pkFjg2GbGjJGQKlJnI9B76lkxrTWcfncmnAfJic X-Received: by 2002:a17:90a:a602:: with SMTP id c2mr3136760pjq.224.1605275424008; Fri, 13 Nov 2020 05:50:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275424; cv=none; d=google.com; s=arc-20160816; b=g/OMsdN+PhJ344TMRnPerQeiILKwpqgt2dHV2S7N+lmgqXH1ohjsygbnzMKKi5IS7Z GWlLqRc8D0ZN2esrc3Chq2fXRBbhH6U4k4gTDZUy8VGnhytq2hY8mrMFTxZcsJ+HtNGX flJJrBWJss8BeUK8GWK8aXzCZl3KQX1/jBJQbH21jKTJMKT1o5qMxsEdmWlJonRpMq9w o4LsiqC2FcgYeV0VyYyOY8J24I41khsfcB+PB7u9J0eS/R+cB/4dOxow0EloDfx269e+ LDk6YPl67WqXI6DdQUTrvrSAhAEpqNPUAan2qjf0x4YkFKL8hyAA5KPmDSALH9JicM1l 0FFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=NnvEtVYCHcjPQ/2kv9vlQCij1egNCo2xffDZrZ7QFeo=; b=g4ak8L4y7DfaCCHL+jxkWlRHuVaDKfgY2aF8Yw0HE65Y8QfnbJwWFDpKSEaLJy7ef8 lb/9/JQlIPivOiHh0IDd4IpQoI3ZySk6m5Kp7hVO/9yO7hnRi5uKB0oBtrtELQos/NlM 4ts3/UZrqUiHtda+EFoaSIkqnGc1kAtY/bKhquOYNxod+6Q802TDWg79hYh5Ifc9BM3G Tc1lVNofERSfvmAOf1YQTFNNqT6GiO6resPuBcr6yiM1aLdoW+Fc3Jh2qqhJEdfji5EZ BuzAmaHJp6HLgZl7rktZjtEkSCCPVket/zPWeAZsq3VJZg/vx9QkVLNNHd8EcDarPiKW f5qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Cy0FIFBO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id co12si7363007pjb.65.2020.11.13.05.50.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Cy0FIFBO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0D236E4FF; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6C79F6E526 for ; Fri, 13 Nov 2020 13:50:00 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id o15so9987226wru.6 for ; Fri, 13 Nov 2020 05:50:00 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=yt85C2+NzGAlI5emEV4T+vNOl5giBIbnEfifffD7CnE=; b=Cy0FIFBOqKt9Owiq+Dqg7+C23huzVDETryFyww7hngaX44EDG2i3SfAegg/ufoaL2u uzX5zuxtv9ViDaCFPsw8oXmaaEtTFHVWqtn6aZ7Bvype0KXwKlw2IXtMoy4hRUdSmi0C XlbjQlhdV0BLzWGUf1FDhesPOdHZTy0bXVpBs8gWwToqFsTfXI1NibEEdysQ8CdwzdaH Rb+7WADVUWE0eDtwkGg3n46j/NSuLXVSqWKAMRLw/kmi/Q/MDBAg5abRJbcVE+XvI1TD uoRTVC/CIqtQpSsEKCrHaagzSqer6TxrW5YMW2V4zVC1UhYE2rLoBCyGTamzEAqx53j6 Y7XQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=yt85C2+NzGAlI5emEV4T+vNOl5giBIbnEfifffD7CnE=; b=TStqZQi3M//fasriDuBkrCvfLnwQKy7VQAGW6laLewfwxw5E6q1KpZAbLEWpR9QfzK jmVtxhEHCizQCAe4BX3iaVT+mZ+U0M8KAy0BRP4Ivkh2EY5LkpoiN5AbcRZ/Gx/HL5na sPJIj6B9Y7eUpEZBmRqo12DJr+HmxPfQaWWc1IA3IkD40q2Q70kxIW+gMoZ4tDbzYnzs IvkoQc4xMzq7J+2CFFe/K1yAyLDc8rQkCvkvphXql1XQcKgJa03UngK+32LALlY8j5NQ 7A6p8R1nh+833sddkuQza6UPhVPQHUel6l8FQM/m5+8T26ADaFqYVua2TF7eLzemep8z +U7w== X-Gm-Message-State: AOAM532DbEmgWxmoY2oAqJzpmkzHLoQx4kirm68SZiB4lsOjrH9a3vMb xaPEhmRdwfTD4OuLReLP823nZQ== X-Received: by 2002:adf:ebcb:: with SMTP id v11mr3575994wrn.408.1605275399152; Fri, 13 Nov 2020 05:49:59 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/40] drm/meson/meson_venc: Make local function 'meson_venc_hdmi_get_dmt_vmode' static Date: Fri, 13 Nov 2020 13:49:12 +0000 Message-Id: <20201113134938.4004947-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , David Airlie , Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Martin Blumenstingl , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/meson/meson_venc.c:893:6: warning: no previous prototype for ‘meson_venc_hdmi_get_dmt_vmode’ [-Wmissing-prototypes] Cc: Neil Armstrong Cc: David Airlie Cc: Daniel Vetter Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Reviewed-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_venc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c index f93c725b6f02d..5e2236ec189fa 100644 --- a/drivers/gpu/drm/meson/meson_venc.c +++ b/drivers/gpu/drm/meson/meson_venc.c @@ -890,8 +890,8 @@ bool meson_venc_hdmi_supported_vic(int vic) } EXPORT_SYMBOL_GPL(meson_venc_hdmi_supported_vic); -void meson_venc_hdmi_get_dmt_vmode(const struct drm_display_mode *mode, - union meson_hdmi_venc_mode *dmt_mode) +static void meson_venc_hdmi_get_dmt_vmode(const struct drm_display_mode *mode, + union meson_hdmi_venc_mode *dmt_mode) { memset(dmt_mode, 0, sizeof(*dmt_mode)); From patchwork Fri Nov 13 13:49:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324305 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213014ils; Fri, 13 Nov 2020 05:50:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRBDNYBqKiUtc1ZtpH0yioFBbShG0Be46/mwg0eJZDBwwDsuu8K5hvZBUQUVczhtvf9UuY X-Received: by 2002:a62:7b4a:0:b029:18b:b3f:3fe6 with SMTP id w71-20020a627b4a0000b029018b0b3f3fe6mr2100600pfc.80.1605275430158; Fri, 13 Nov 2020 05:50:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275430; cv=none; d=google.com; s=arc-20160816; b=LZOFiCtnBmin3AxOjlpLIWkRYikQIixAy2Nfr53OFgs+tGLebdPVPmo/ku+5/yf1Sr nje+DRwwkfM3zor0xNw8W3muKtPVees/ot1TGORTTGuJ1eoAP5wTe/V5lgx57TzPiUgK dkdSVxhwoCfIm275xLX4G0uhPkIQL9/LjcE1rZ91auZVEo1Oqx5fNy51+G2IqSzQOlTZ QdbJvUge64II3FNJXMu10lr0akQBzJDUeXd84zf7fl97P2mFm63GmJh2gaGl6AyuYUDM KLXyuCwbLK8O4FkGONcLZHxyNJJ2I2S6sT1nR6TWlCnxUg7WfbhPo3ITlWjPNEho7RAB VOPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=QM9//B543f1cwprL72zICq0JKmsCiS4IoIy6JZ+mmTA=; b=DBxVs5Afw8jGkfTaDpq+L2GIWNBsYAt0UwgsYMSnca7m1CUCfGw7V69prZKram/L4D BYQtqCiHAcggOr7I9vOLEnCyt9eZgG2Qf1u7Qq3QBKoWNsx0z3pE/oABgvVjClephqzC jCUnZcVeiR0sv/gA4TDzzLHSZabANl36TD7tHrtwfSqEURQEty0/1xNSZqspM5PE/gRI QwfLSnnD/FYaUiwnOIz/O4POvNnyL9onbKKkZwt2PNjH2LE5ZhLWu315RxYWry6o5VZ2 kFnv8pZUrw18ouhAaTg8EllMZ+18DaR4hSY05AQB631MweKuMC+MDp+NnDuLBf/JzbcT CulQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ljkhqYyS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id o1si7617666pfu.83.2020.11.13.05.50.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ljkhqYyS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 46BB96E53C; Fri, 13 Nov 2020 13:50:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id A348C6E4DD for ; Fri, 13 Nov 2020 13:50:01 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id j7so10001040wrp.3 for ; Fri, 13 Nov 2020 05:50:01 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=tsA84tchu/fVBD8BOW0vRm+o6+cq+5iG+jRvtUiphpA=; b=ljkhqYySRrWFIwFjkjtJqAOVwEjQpjcXz+P0dCfR06bxVDX+TFbuC9nUsXJd/9wlJl Dn174tiIjfzxErd2027y8/GR6KJZsMnqluLTnVaSVT393O7ablFJhKZThhKDvfLsmEO4 CDkKcSiRsOKOxRicNS8l2wW80We25vptVDk0vs1ahrW9ONB/bAIAmPheEhWa2xIo7oFy uZ+2r2cCKWJQNJyiG26Cfe7MJIr6Uc9P2iNZwu80ma2/ckIYZYH7RGmBpLh+rjph00z/ adlERjv3mnMt4UrG0hHN9Qd1dznr+yVA0DL1oJ6cK1B+ZPBVNwSAGH7Y7GIpWVIhDbsu CDWQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=tsA84tchu/fVBD8BOW0vRm+o6+cq+5iG+jRvtUiphpA=; b=UZ3kdVWHDyYNYddzqLbUHG1g6Y2Cg7ANfljfzGoN7w0XnO7nGP0WBUtn5YT4ycaHAX jfBIIbzbelW+qLWhIpfs6eBa4Ibfa1u5m2LbAgz0qgvjnA54njCnbyQArgxwsYcxdcsR 0VtV0VU4osUmvhcm1KAlLyGw6AfbAa0KhzDu1QY0IjeUohL6YM4QhdmoZ/grP9gxW96W n6k6pYDgixI5aEBRZ2+Hc/5ltaXXsTd/76tOnTXVbbSpLLUkGcJKJNM4NBKDU48fWMrC Iy+u8wpVqtW2oiHbyxrZpyIOd9k3mE1MQprKQV9jV/J+rDznPLwb7t6B4Ax0UCAcprHA gPcw== X-Gm-Message-State: AOAM533UmZjY8FQd4g+z2A/r0LNt01zKkH3rRru9NlCUA4Wc1/HhgZbS tciRXvQG98VUKlOlnFr4ODJD/Q== X-Received: by 2002:adf:9e08:: with SMTP id u8mr3517443wre.282.1605275400292; Fri, 13 Nov 2020 05:50:00 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/40] drm/lima/lima_drv: Demote kernel-doc formatting abuse Date: Fri, 13 Nov 2020 13:49:13 +0000 Message-Id: <20201113134938.4004947-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lima@lists.freedesktop.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Qiang Yu Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/lima/lima_drv.c:264: warning: cannot understand function prototype: 'const struct drm_driver lima_drm_driver = ' Cc: Qiang Yu Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: lima@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/lima/lima_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/lima/lima_drv.c b/drivers/gpu/drm/lima/lima_drv.c index d497af91d8505..7b8d7178d09aa 100644 --- a/drivers/gpu/drm/lima/lima_drv.c +++ b/drivers/gpu/drm/lima/lima_drv.c @@ -255,7 +255,7 @@ static const struct drm_ioctl_desc lima_drm_driver_ioctls[] = { DEFINE_DRM_GEM_FOPS(lima_drm_driver_fops); -/** +/* * Changelog: * * - 1.1.0 - add heap buffer support From patchwork Fri Nov 13 13:49:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324299 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212905ils; Fri, 13 Nov 2020 05:50:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxK4xPmoL28++mzsyAbmFhDpFlib7X7UHVx/o5xMG7BgNJejtdebty6M/3gUMqWY3pnY2TZ X-Received: by 2002:a63:c50b:: with SMTP id f11mr2127210pgd.254.1605275421123; Fri, 13 Nov 2020 05:50:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275421; cv=none; d=google.com; s=arc-20160816; b=VUASI2qcY74aPE2PCAOafoXn2+U+XDeHBfG8D+X7urIN/yigp/QH66PEwFiqPKSHFw wA2DcEinhiHa1q2afZj8jnDBObjrgB7Lfgd54jvBwLYJUbAd2RZWibByFbs7r9UTD+q9 HqWYo+MZjk4+LrRDl+x1HyCW7WL9JMRki5sg0shtKZod1rikBY/GKTYxCIcLULqjIrGw TvQeWrunfxXLI0tJCiTgqCy98Kq5UsqIZcdiJYuW0F21N4R7UXi/wlc0pY2v714CDD2P pMHaOq/qaml8MQMkiScx7b9QehaLeHbxJfFkN05vkUQEu4qf5i0L+P9OJt2eJ4dpfzk4 uwlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=Cqo9vj7KTexFb66H+pG5L7OsGxUf3umAfR+ybV09jDU=; b=hiey+TpDqN6/6E8iIKmCzoXNxk3V7VD6e/xfkx4o4xNvFMOWDU3nVWMf19tWBNCcTI fcqRiaONFtIyXokeOWkiUjG2XJypHbpidbABWCIOtGpAi9HeKc5El3Y1azRp2Qy5SDIe LB4TN3T4EL5KKC0QC2LO7FAQZ5VKHyeGIO4A9ekeJ79+BH6ckGXHBg8H6918h8Ymhvjz mVpP6pfQLbSzT1Js4ABtf1KZwbbPhKe6o85VhMSFUwRKFcRAj9hZ93xc3MgeH//57BTO 8XPMKt0AIyGx+4tn5UjrC/BK1vIphYAZM9lShNkpHtJLBgLFttIgI4xXcyTb2Jf8/Ygs 26PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=N+zM6zcZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id r17si7758407pgb.117.2020.11.13.05.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=N+zM6zcZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B3A2B6E4EA; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id E1B2A6E4EC for ; Fri, 13 Nov 2020 13:50:02 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id 33so9980938wrl.7 for ; Fri, 13 Nov 2020 05:50:02 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=z4Rt5MfpdBDV0pCvJqA/7OOspni5CCJQuMFleU8qAsI=; b=N+zM6zcZSVFZCdJrsj9mEKmy9LZp5xIJvVdJJOafLItXmWclcO1seEQot59X2vEN+w bSSFvnDESI+BXkh18u4frFboxNp/Zsh+WDRUEnVccULFIUmPkdRnIqGkBl8cWCRs7FZ0 NIZoh5uDPA5xR8R0TpAZDiJeGdaHeoOs6ny1ukNzxgV8YtJL7uaG0VJWfzf56e6qYWUc xuPAfqt3r5t9ltpEXF8RfhRyDn65i/O6VCpZmvQSiCxiLVanxYpfxCk7th1SV9qhR1mA 5vwX900qX5B5BGhC1qN/gvuOyJQnV/JkcIHm97z97SOCx/wejQBjzrUiLbQ93PyAjUIb WtSw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=z4Rt5MfpdBDV0pCvJqA/7OOspni5CCJQuMFleU8qAsI=; b=N60/7lhCKicV6K/sLocnqP6aFg2zvqkzdkpyeHvx3wkr7cBTNv+aHrucOIUQ0f7QVC eM3lD//XBIu/uIxNAjb295d45HMWew8rK+0Ty/iqpGZydZfUOeNYgrQhLRG8GMCmpz/0 Ie416mqM/qe1CDK18M2DyDZQstqBMuB3k6PoSW/Uoj0hHDI2XZz5W5o7Ei040xNcdl/s d+9IDW+eZ1B7GowqTVaKZ15JKuWE3TxYmH6KtSHdRwsDcCpuNo3vXWYuXW0y1aF+CrKt EVwNMM7P1ilB20k3oyN9btNFUKpIRQPtX7cyMPsjHvO2uP1IvuanwMZm748VlIr0k5XV DJ5A== X-Gm-Message-State: AOAM530JEjZYvGy5JPZgQWEfcsDmS6tMt3wFdqVFGHZgkLHQW0hZMCQS lQHKTxkvlTX+hnDYjrOYJTz0JA== X-Received: by 2002:adf:ce87:: with SMTP id r7mr3568696wrn.212.1605275401516; Fri, 13 Nov 2020 05:50:01 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/40] drm/amd/amdgpu/amdgpu_sync: Fix misnamed, missing and extra param descriptions Date: Fri, 13 Nov 2020 13:49:14 +0000 Message-Id: <20201113134938.4004947-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Felix Kuehling , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:86: warning: Function parameter or member 'f' not described in 'amdgpu_sync_get_owner' drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:86: warning: Excess function parameter 'fence' description in 'amdgpu_sync_get_owner' drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:182: warning: Excess function parameter 'adev' description in 'amdgpu_sync_vm_fence' drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:203: warning: Function parameter or member 'adev' not described in 'amdgpu_sync_resv' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Felix Kuehling Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c index 8ea6c49529e7d..4e558632a5d2b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c @@ -78,7 +78,7 @@ static bool amdgpu_sync_same_dev(struct amdgpu_device *adev, /** * amdgpu_sync_get_owner - extract the owner of a fence * - * @fence: fence get the owner from + * @f: fence get the owner from * * Extract who originally created the fence. */ @@ -172,7 +172,6 @@ int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f) /** * amdgpu_sync_vm_fence - remember to sync to this VM fence * - * @adev: amdgpu device * @sync: sync object to add fence to * @fence: the VM fence to add * @@ -190,6 +189,7 @@ int amdgpu_sync_vm_fence(struct amdgpu_sync *sync, struct dma_fence *fence) /** * amdgpu_sync_resv - sync to a reservation object * + * @adev: amdgpu device * @sync: sync object to add fences from reservation object to * @resv: reservation object with embedded fence * @mode: how owner affects which fences we sync to From patchwork Fri Nov 13 13:49:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324303 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212974ils; Fri, 13 Nov 2020 05:50:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwItGEc+/yIwXwAbj3a7va8WR9TbpYkgkKfTSfWTxhbuk829hYWzPdMcE+f9GBU362gg0v+ X-Received: by 2002:a17:90a:680e:: with SMTP id p14mr3328163pjj.34.1605275426802; Fri, 13 Nov 2020 05:50:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275426; cv=none; d=google.com; s=arc-20160816; b=jtmHvr9qHlPYroc5BOhTQUq3TtNR3micpGBQRjeqEnXs3zw/9ohtI8kQswpRw2pr7q 8ttVNivfaJOo+7yuY3UrPolVJoKUekxUWZTvW8OFypqtFGs4VLnnIQmL2o0zYKnGKwVS h8fB0IA0RMO8Z5yAUVviW3c8NAykwswS6Ll9yPJVVnQv9OE15wYOQc/zDQYmS3uJpFsS X1LLhlcQ6r1/zVBWY4H3nDFmZAuE8iazI7VOce61ICarBxFdjrc/KaTQ0p/9lb5vMhU0 zjjFoRBkj3XjfSyX1cOdmkLqBKg5AX1yFNhtmiA8bG0QBYWNFP87gpEdKlZlJBHPK355 RoGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=XiZRMHnvksbwRbRqPGe1mDubur2APjneJBcryTBZf20=; b=MjEvy/UJSF4t2N0Ahala2sRZCg8xlCZfUcvyVyzktFicxPlNiiVLTixebAXWLmJ9FN RcFxP65JBXUDEUWNtLwf76L9fvf8q3U2iNLffEZ1rbYPEJB42KsVzPj/1MIN37JYdurY xccZGqR8LAsqvp2NytOuIQ/3j7fdFDNcl67aUIkEkI7m4SsQ5EBfEFM3jbo17VU22O/F oEU1nCk4sRsoYaNKMpObASd6V4vTyrvzoNYBuVSCFBYQ5vkCmH8fKVxtm5FaQBH51THA BT7DFeJaQpbc2zFQK4yao24UUKrTW8SxN2aN0ApoOpv3NHf/stQfJGxFsD75HHjhf6l5 DtiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=atNqYZ8k; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id y14si7672157pga.435.2020.11.13.05.50.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=atNqYZ8k; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 656AC6E523; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7973C6E4DD for ; Fri, 13 Nov 2020 13:50:04 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id u12so2763571wrt.0 for ; Fri, 13 Nov 2020 05:50:04 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=FPP0KPBE9bJ91PMqYQecftz5TXmHEXYH6/4+Sl+qsTE=; b=atNqYZ8kRbRqU8GNbprKEAbi23pRTlYb5L0MmlYxC7m6PmpZNGQuhqP6ASY22r5shn j1W43Id8OBhgGoyS3zM/JamzfB6UNXGFblqrp5WI1jIz1bxgmVD6gTxPvE+CWSipHFfK 6n5Rryizvvc9J6mIbOwX2TP6WkS9/ZKzFI+xgT5oMcJ2rpcOtdgCpf7WOcrRH78gg+vn ywhJNI9DQHewqFej2ROXNGRf0ixudva9FfMawIBD5Z8MJcrzAIPrTLPNKGoydcPVKRLU 1JJPW4cqi4cGWAkpwJmhjSGNo2ofbJA1/N6sih1n/2VAD+c9DbDFpseCcXv1ncnGQMxr QadA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=FPP0KPBE9bJ91PMqYQecftz5TXmHEXYH6/4+Sl+qsTE=; b=BoHov9FrhnJYEMqDBnNctVWQi9ckh+NQsiarb0gecpkPBcx0xCN6tf4MWC49Hkj0SU WIzG9AyEN73tux62HlHZ/NUHkzxsF1eUWwwsTkUwcxY6XpdqA9P0AQ3SO4DMhuJ4L1pP J4BQr/2dspI++7dbE6tnvyWGAPOzbFQExggRnMk2os2OfYk3Wkc8PUcLp6IZkvlrXHr2 /IR1eBGNfXTU4RJJVHv0CXSx+RCG89o+1F88Ga+0On+ZQf9/j5snMfXCAduNomZZpVbZ Ma8aG/funzY0Dnn0+QPbkSue9yV3lku9cOYyFmfwR0Dur+8eI8q1zqyBxtA/DSRZNaSN ISBw== X-Gm-Message-State: AOAM532/R11COB7dh9NedQhnIb3qkTeO+2A4oKQSXFhF3IS4+T6pauuH fTsMA3U/z9dozPCjBNK+Cu7ucQ== X-Received: by 2002:a5d:44cf:: with SMTP id z15mr3550191wrr.353.1605275402684; Fri, 13 Nov 2020 05:50:02 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/meson/meson_vclk: Make two local functions static Date: Fri, 13 Nov 2020 13:49:15 +0000 Message-Id: <20201113134938.4004947-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , David Airlie , Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Martin Blumenstingl , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/meson/meson_vclk.c:134:6: warning: no previous prototype for ‘meson_vid_pll_set’ [-Wmissing-prototypes] drivers/gpu/drm/meson/meson_vclk.c:490:6: warning: no previous prototype for ‘meson_hdmi_pll_set_params’ [-Wmissing-prototypes] Cc: Neil Armstrong Cc: David Airlie Cc: Daniel Vetter Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Reviewed-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_vclk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_vclk.c b/drivers/gpu/drm/meson/meson_vclk.c index 0eb86943a3588..2a82119eb58ed 100644 --- a/drivers/gpu/drm/meson/meson_vclk.c +++ b/drivers/gpu/drm/meson/meson_vclk.c @@ -131,7 +131,7 @@ enum { VID_PLL_DIV_15, }; -void meson_vid_pll_set(struct meson_drm *priv, unsigned int div) +static void meson_vid_pll_set(struct meson_drm *priv, unsigned int div) { unsigned int shift_val = 0; unsigned int shift_sel = 0; @@ -487,9 +487,9 @@ static inline unsigned int pll_od_to_reg(unsigned int od) return 0; } -void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, - unsigned int frac, unsigned int od1, - unsigned int od2, unsigned int od3) +static void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, + unsigned int frac, unsigned int od1, + unsigned int od2, unsigned int od3) { unsigned int val; From patchwork Fri Nov 13 13:49:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324304 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213003ils; Fri, 13 Nov 2020 05:50:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlQatCx6RxvTjV1vpSHLHzACkvhqzKpw0WrMXiELXw6w3Fpn9XhNDza9jSoU0A8EQlEdWH X-Received: by 2002:a17:90a:9dc2:: with SMTP id x2mr3181524pjv.98.1605275428845; Fri, 13 Nov 2020 05:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275428; cv=none; d=google.com; s=arc-20160816; b=bGl8cjr5DD6cAlE6OdQYEMT664tZ1jAPSmwZqr4PCt+huA+G8zMXqTTKNDv1RaqDYG GGntPk2GXvvakrYgM1TGixB/YrhuoQYeO6TwLU8cgPOejxEDwxQzChIKu9B0wiY6+QbO Q2WkOucVuxWAYjPvmZ68M0b2hMKnzkKxOvoqqVX81A99Qa4DVdEY8n514Q53imzvU6Bv dHy5JbA0JKh3CTDp89P7D4P2/lWajiqaTOuopaePArphpR+tu19OubIymaMRffq9gJRQ j34xOp2f903ySeyLv2CqiiNh+Q643m+TA4UF7jNEmuRPnJ7qTsZY2qxSoEN0jQWKQGSq EBpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=ma56tmmzGi/X7FohNMLTpLqGocSNeLeymxzSVGhmVNQ=; b=P4hEWhFUr22OM47hAEj9TAwEV+lMSqDys9JG982BhO0/L2CU+0+Ud//fSQYr32s6t2 IYKnfPhXuTbn3arAHfFebfwFbsW13CSupl3QF4yJdPBWQb7Idaqn0BOWOUN5PwjVUtJ3 yXJ/2VVQ3Hsd/liqp0d+uKw2eDaeAtmzJkz+/uW8u4GR9ocTXW+ou88u4au/RXHlf4yC DnpQVlgsZOzh13ztSy0HsT1zxcS66tGn0zRlY+JBJxLuFLrPw5gM4ZSDMFT80vixEDCA aAPhqeV3fVj1Hl+gJJXNa/lIUWscS4//qFh/301AZCDbuXARHKkn3UUvbKsbzXLurTQe fBOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oU+bZDcI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 8si7960142pgk.194.2020.11.13.05.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oU+bZDcI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A8DB26E524; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5819D6E4DD for ; Fri, 13 Nov 2020 13:50:05 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id 33so9981092wrl.7 for ; Fri, 13 Nov 2020 05:50:05 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=NO2flJnZQ5gKgn/ih0D6aTqpwf9ViRniG5BiRkSE7jU=; b=oU+bZDcIA8AQ53jLjMhsbcTjoc0o9aqwixUMDFaPxx4SjacHt/w7oe9W1HMKSdIsn9 6MbabSjAFbSm0k1Wtzvrq0NdT42aTWaBzzmUWCU8zrAC1ar1JcV5agJQhKKqmsvQRDx8 DugB2mjm1THeElsZsw+uY85zNMeJ8YXM1g5rjMPx7fYOia71z/cOlFmrj0P/AASK1cLd a19gm/PUefiBML3NgcSMj3reICam5oEhlLKz5NZeKUjHwCdh3UqBZfXHS+7mwb1CQBMp 083hgZs8utmuWHk8W0+RbnRiirUW1LsWFcExyMHgs8HKN+uangYIThSsaPlgGG/FncvU Wb1A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=NO2flJnZQ5gKgn/ih0D6aTqpwf9ViRniG5BiRkSE7jU=; b=QUIMW9VxubnE3QMuRRWY2TylT5B3aqJKRZO1u1Mz6qKwWoiSCbjjxWvFC0kHG9jH/k gO/yp+C1D4ySazlWQdA+INKM2RydLcwMIpAKKPhQh4jVMXXnySIS76WnlQzsjwUtgk5h FNc7HasP7OUf5+jbsAwyJUPDOxXiRfigYxVvYym4kaa00Qi+X2J2O6EO0hRdCK4dx8+w NspAksNR6tydquvoQdGQDUtXJHrNK30g7Kh+mq+BKyDQRmS39cCOxbTvE02eUj2z8o8c NR2J5ql4lqTxevIM2IRbBrr1t5IPyqQgd8rMRWvBWByPNE/RtymISp5+fovyA7RIdMiv /yMQ== X-Gm-Message-State: AOAM532HuVZl0+IjLGhYaT5Hy90zbvduMw+MSyzYPAgAs2p8qjVtMUPu IEwHvUgRvdla572qq6mXo8DusQ== X-Received: by 2002:a5d:4e46:: with SMTP id r6mr3589306wrt.218.1605275403918; Fri, 13 Nov 2020 05:50:03 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/40] drm/mediatek/mtk_dpi: Remove unused struct definition 'mtk_dpi_encoder_funcs' Date: Fri, 13 Nov 2020 13:49:16 +0000 Message-Id: <20201113134938.4004947-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , Jie Qiu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_dpi.c:530:39: warning: ‘mtk_dpi_encoder_funcs’ defined but not used [-Wunused-const-variable=] Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: Jie Qiu Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_dpi.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index cf11c4850b405..52f11a63a3304 100644 --- a/drivers/gpu/drm/mediatek/mtk_dpi.c +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c @@ -522,15 +522,6 @@ static int mtk_dpi_set_display_mode(struct mtk_dpi *dpi, return 0; } -static void mtk_dpi_encoder_destroy(struct drm_encoder *encoder) -{ - drm_encoder_cleanup(encoder); -} - -static const struct drm_encoder_funcs mtk_dpi_encoder_funcs = { - .destroy = mtk_dpi_encoder_destroy, -}; - static int mtk_dpi_bridge_attach(struct drm_bridge *bridge, enum drm_bridge_attach_flags flags) { From patchwork Fri Nov 13 13:49:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324306 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213028ils; Fri, 13 Nov 2020 05:50:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJznZqgcodcpcOus8S/FcpkOaEv2ejDfUwQApBO0r/lDKBnDGUXN+o08rCb5RY9bFeqCUW2H X-Received: by 2002:a17:902:778e:b029:d8:d024:a9a with SMTP id o14-20020a170902778eb02900d8d0240a9amr2348891pll.12.1605275431881; Fri, 13 Nov 2020 05:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275431; cv=none; d=google.com; s=arc-20160816; b=Yt64gJLbibTAUrvXifhZq6DTsVBcnhMu4CH/S8mp+AvSgvLijpCxXKR7LU1fRia8GA WGMljabcnlswDXvnax4ZykCDq33OtPkzddX5v4zrX/FylvVn8Yhjo5BOFWfNUv+R54Fj Dw3JVCbmquTj4NJ1eAv5u8GxZrFe7AWYszo1NH7QgX9XSJ+gYpNnHe9Ly0rfNQ72vcl4 QyU0qyc39Pby5GEzkzhn+k43qtdoGPYFTB9p5WG6lnVUZGevVMv1o0qF9mVUGBrwW/cZ x+rxHC2ra2x7PvTfExfZOMHfz9QSRSkVQnrid3H+2USGTt5PEqWZvI7ovvUU9aU6Bi8K gzUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=0IK5azi2SFjGIPFyJWGqyG+SuiWkUX0A2j3+V+8lBRI=; b=QJmh9NM+mM7Rf+GV6hJxmitS6TawmORniGrA0bg4z2P8s8vr0B1YdNMI5RRvoULA9i DQSFasq/rZlZ7L4L4Z7f+7y6sjtIyRWpEp0q35d0XQY5kOZplRgjYBM6BzQeATuajXX4 BlI93hqhRlFd2QkF/muyjI4PlYd1g00sG8qILEBZNBuf0UpT6AjJG3f/Ky0jAkOPV1UC 3mOjx0q2q4OM3xNUydy4G+jhgRPKtphStoJ+IBJ74sb4WwFsiiax53NyKFHU3Z6IuE8v bfUOdZF7KMWuMULxN9O1s2ZiiE7vCGpuNo4YjpgQGxbBLT8qYEMRqeT8KPvEmlKtTRJ9 vcDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jcRc33Fq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id gv20si7917058pjb.41.2020.11.13.05.50.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jcRc33Fq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 168B86E4DD; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66F356E4EC for ; Fri, 13 Nov 2020 13:50:06 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id c9so8201424wml.5 for ; Fri, 13 Nov 2020 05:50:06 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=46jV9p3NGfHHD7RmZzAF9wCbEXnPQwL3oGoQw/6SZqY=; b=jcRc33FqvvXfYZDq2w/hkAOKcF2M6UsYfjQCTBQFmt48Mc/W99snUkSH56/FCyd/sR 2Icd+6Ibx5xO76vEda91ScW6Obx+2JGyG53DC8PMv/rJQHZCkXaJ2jV3ZsFYzX47Gr/Y Ydzw+SuXuP0MYCj+U+iC/209+05xF7z+uajdM4hrF7mw9iWqkycWyjqK/OnZ4XgHuNbT s7bFMXSTomsPs8pw3U3BmBp+X+CX8onf+3Wt+M/rszLw4RmUWR4fLEeMphKfw0MltKh4 nzOAPpOhj5Vnrsr6KrPvwgDOntRpLtFNJy73zF+W6qs6FQ4HgUtNRQqTrb0LcGOnx9Aw Lazg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=46jV9p3NGfHHD7RmZzAF9wCbEXnPQwL3oGoQw/6SZqY=; b=rxvwfFMdgp3t0NiPvpxXIxVG38r1BNQE3dLrmeSj9EJ1WeUQrxuHtiu+Wb9rKHg+xV beP6u6ZZI/90X6T5wBjplEpy7FNnIZKMfVIQ/WApRTQ4zi4ulJ63T3Zj3AdguI3lSGvy bTgqYI9/asnRan8WcgDrPbnESIV3Xj2KC4atnIGmsgVoMTZfSCpAqqfdaWzZODxK/tgz zEtVTy8O0jauAN/hgMDQ6s4SvJ/0V1RzBWLLeilNfCGbkZnzDLXoaTY9NEmWxZ1r0K9u RwaFkx7X+BdF4sfz65YHf1cTWrhyqhIx8f72RH3nl9CfOU+ERi+VUme7pKbXDc2NJ2p6 MG7g== X-Gm-Message-State: AOAM532u2znsbVdvrb/+Qi46VmfP3oFYd6DzVjqyefnnNsJn8uysBhvp 2Ki4b8DNwtRS6XCwxmr2lvwIJw== X-Received: by 2002:a1c:f31a:: with SMTP id q26mr2635450wmq.178.1605275405100; Fri, 13 Nov 2020 05:50:05 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/40] drm/amd/amdgpu/amdgpu_vram_mgr: Add missing descriptions for 'dev' and 'dir' Date: Fri, 13 Nov 2020 13:49:17 +0000 Message-Id: <20201113134938.4004947-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:648: warning: Function parameter or member 'dev' not described in 'amdgpu_vram_mgr_free_sgt' drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:648: warning: Function parameter or member 'dir' not described in 'amdgpu_vram_mgr_free_sgt' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c index c99c2180785fe..d2de2a720a3d8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c @@ -637,6 +637,8 @@ int amdgpu_vram_mgr_alloc_sgt(struct amdgpu_device *adev, * amdgpu_vram_mgr_free_sgt - allocate and fill a sg table * * @adev: amdgpu device pointer + * @dev: device pointer + * @dir: data direction of resource to unmap * @sgt: sg table to free * * Free a previously allocate sg table. From patchwork Fri Nov 13 13:49:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324323 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214614ils; Fri, 13 Nov 2020 05:52:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtH9EYrbcjx5hm7Jefzznp/Ld6ZI07NbQ8nMOzkKQoT3k2htpwV2T/88GkQz19Sb+gDhaC X-Received: by 2002:a17:90a:6f84:: with SMTP id e4mr1583030pjk.129.1605275462255; Fri, 13 Nov 2020 05:51:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275462; cv=none; d=google.com; s=arc-20160816; b=tv6TplJqU31rm3TLhEdgLVrNLvWtsrPABy8es1GRGSccf+FKxmjK+Rx7SJ3b6TPWBn UM4q/amKctrXUHI2AE3ky2pAHXhOplMx1Xg8DCnWrcq68euINUlMq4EdJUkvk6VZj3Z2 XhCTod7S2tU3EdyqWpfbhrDH2YCGSbwG6rYojCCRfIcpUKwJfhkDobWnd+hYfhlP2rCb 1UZA6P1MiFz8taoCogS8d7czg4GEt/o/4twvm0yQ9blxg32tIj6RmAA0pvj+5eMSHElF CXLOQ3whg9RcahST+zlU8lYipDz6kg+FapmmjBIvc4QUr+PrHXDCl4XQF/TIfGMAqjbO BiPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=1tsWmXw5yV6hDDiO6HES4il7NIVTYOYvS/j+FPKwbvI=; b=040MuRv3xTSyREyRigL4PWpIXlwX1gmFIuXreLhLWaP5xxrZJ2lYoPNl21wdcaSyoN jYpntSqme2ej+TTQTJcd4vwxKAIycXXcP0zuezj13xM2fWnin2s3itqFDo33PF6ONj4F HKb5x8dG3CaCpJUEHYUf6TZAbpDv+WavcI7ySLlX7M1wEcEuAHK4/mYwR3DvSsh4NwyF uo0AVTZDJD8yhc8Iyf70L4m/ucl5aa5S3oa/Ja2Nd9sLstCPw3wmvIVlFQVSVtt5RKZV XwQ19xS+xjxBgnZkUejUBNLfdGwxDlGFE4YS/Ex8hqhQigHgm8jPOk0wkSjU5k7+KpAa 4ruA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GQ2nGnd7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id k12si7929559pll.175.2020.11.13.05.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:51:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GQ2nGnd7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 15B446E588; Fri, 13 Nov 2020 13:50:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id E4E466E4EA for ; Fri, 13 Nov 2020 13:50:07 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id p8so10000735wrx.5 for ; Fri, 13 Nov 2020 05:50:07 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=6ly2vy0YXlYaSPJSVrw6dCp9MyYzaUlBE3q9eSYRtTE=; b=GQ2nGnd7ei9cM5vD1JEPCD7VBWcLAZDk9tid5K2m1xB+49husnSK/V/fuJKikI0pJ2 jy1I+r7PYWoJlfHHSwpCmz3O8VIJer6bYuPQrIfusLAwvQd/dr+NFAd03BYUpLjj1HCn o/CNud2pA03ra46Eoojnh3roIyHaeUuTCXnuWocrauXB4AjYHI3mBdr2crnYp+ZIRoeW I991Y4euR9IKVcPE3mLFtSxlrrst7X5qViXjT0nOamfVU9oPzPNq3ISGr7T41vitiSGG VxopJOVPIXrdplhprsaLEkD1NXrt1bxBB9Ey97Amfw2JrdELeLoJcp5z3bu8vH6QF04l wQyg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=6ly2vy0YXlYaSPJSVrw6dCp9MyYzaUlBE3q9eSYRtTE=; b=NLWYs1gWaZ3g/wLP7N2GhiwfJEidW77ErZbeCCXv9xHJzqqa9rH7jalsI3v0oZefhP j8w/ElSKt8LDVFmwGVeUJiFSDaWHOpkaahLGD9d/NWlh2fSF/aXNOX6PeIsSi1OnkUHZ QSvPgFx00Xm1Evv16KJmp+h/HFxKLMt5hCQhKk4k0SKYb14CNvFkzfCDhCgo99mh6bYZ My0d41cAzXcrei1jQuqthtK4b2ki+/z6ijo28clhXXkCNYnoITh6TQLDPx/btjGvzeVO oMjFtdmjpVrrspCZlecnA9SwzgndLG60O8p4FZs67XmG9oUSQAr6ARSYgPaluB5cf05a BRSQ== X-Gm-Message-State: AOAM5310XpdBaoYe8rud9PB8VjT4nvGr463Uj+NJzqSGqvBW/a2ZpHcA EKVci4imVDUOxQpsIECBDcLCaw== X-Received: by 2002:a5d:488f:: with SMTP id g15mr3566282wrq.151.1605275406578; Fri, 13 Nov 2020 05:50:06 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/40] drm/pl111/pl111_debugfs: Make local function 'pl111_debugfs_regs()' static Date: Fri, 13 Nov 2020 13:49:18 +0000 Message-Id: <20201113134938.4004947-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/pl111/pl111_debugfs.c:33:5: warning: no previous prototype for ‘pl111_debugfs_regs’ [-Wmissing-prototypes] Cc: Eric Anholt Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/pl111/pl111_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/pl111/pl111_debugfs.c b/drivers/gpu/drm/pl111/pl111_debugfs.c index 317f68abf18b0..6744fa16f4644 100644 --- a/drivers/gpu/drm/pl111/pl111_debugfs.c +++ b/drivers/gpu/drm/pl111/pl111_debugfs.c @@ -30,7 +30,7 @@ static const struct { REGDEF(CLCD_PL111_LCUR), }; -int pl111_debugfs_regs(struct seq_file *m, void *unused) +static int pl111_debugfs_regs(struct seq_file *m, void *unused) { struct drm_info_node *node = (struct drm_info_node *)m->private; struct drm_device *dev = node->minor->dev; From patchwork Fri Nov 13 13:49:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324307 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213043ils; Fri, 13 Nov 2020 05:50:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhjM8dC699P1CHGIYyZaTWRYzWZ/c3zFLc2+mxjTOcaxqfxUfn5PoA5fVcekLvUueGsv07 X-Received: by 2002:a17:902:968f:b029:d8:d0c6:969b with SMTP id n15-20020a170902968fb02900d8d0c6969bmr2286612plp.69.1605275433152; Fri, 13 Nov 2020 05:50:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275433; cv=none; d=google.com; s=arc-20160816; b=VLRMohQYOlD/ntlQEdS0TsAXu69ZL+D4AB7NbwA0uLyvJsSNNgS1nQGkmU+mWV3gx5 qocFzxV+VErjwGt/jIIE6ljxg5+Rb917/p6Z/BDtGaiHbEU/wfrbTJgz3XzljJ3RLTCY lIJwkgChTLjS8QYVPaXUdR/xDj6lAi1PGfIvT1720LuV0EqepV0xKqAYEN+I8V0TSrJA gc9Dfob4IphR7UQ0+MtgL6qJa3kuo/Oas8vDvp3XojH/rpw9DeQYIcLwttxs98Cjy5np NaLbPdkLUhvqNFlrZt01zU672g9cakFwp3HZdmuCumO5guNi2lkYcmAvRg570S2FT5M1 uhEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=uT2l8ktO4N+WhoPEsscvoQl6nMngVu5jSRCYYG9bF0I=; b=CNhP1KOtvcA4pVcK57Li28cksin+pjqbaTqeg4gKoDizH1H0C4lLmp7IuUGP8pbE6A fejUu/LwY8w3liW2wqFhtqVpVoE0M4tSOBljrTNFviuZfyGEPUigS8yksNwJstBj+aOS /8a5f3prFZUNzjabY33ko+JD84HvRVE7REVIcATEYkx4L7NEUT3Q7dh7isXPiFOmJbbB pLsd8OR2N48Ur6GB776/YkIsavdRFA3GHwDjFh6fUf0hJc95XTQSIfUh8GWVFk3wbKe2 yVJWc1T/dYm5emPd5KOWhmGIwF8fV6dWrXGPei26tEyIZ6lEH+cGKvm9ZH2/MWmtWuED zrVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="tq3YEaY/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r13si8286780pfg.252.2020.11.13.05.50.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="tq3YEaY/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 65CA96E554; Fri, 13 Nov 2020 13:50:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0EB3C6E4EC for ; Fri, 13 Nov 2020 13:50:09 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id h2so8243373wmm.0 for ; Fri, 13 Nov 2020 05:50:08 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=XGQ7i9boPClQe1oyR8utsPB6lLJWRf0r7to87NlJAVY=; b=tq3YEaY/3TDVCn8qdDXnhOaaOrrxOH5BxxOKr+wdKm7kChxUnNxuggo9rpj/reOkjV y2Vq9KREeLPXJ2WPiKYB3kyRIdXpbfStNqg8NRiCJGsQPIv4MByCZaHm49tkAMEe2wBs cfNqUTziP7ShG4PEJp8SzklYk/xeH3dDelLf/Wx2lp+x31i3n0JZoW9dx2eYNwmEwAKm RnODfEx3Pa5h79269T7DHlX6YJwhZRbTZBp1deopMe5/QXVB7d6soWsuO75rkZsRYhPk kqtEpTC9r9eMqE13Rg74gHGz0LWVhWtVR/MoppqMCXKEF4pTzRd7lbijMk2oOz7YZdp7 hjAA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=XGQ7i9boPClQe1oyR8utsPB6lLJWRf0r7to87NlJAVY=; b=AEMzHQ1I/3F66T015iEqtQ7DcFfZ+jHVYf48ylNipUZ8GpCoubD+CiGp9iiavjPFp2 5TGDqMH0k82wg1F8ItKGViPLeSzpHSciCry9VpQ4S4OrXPsFt1SY+8ILJiCDC31+8S0K tqXJf959fLTs0FSYsIcGZ/Zs7RWhI/VbSv86HBL/4NX/GYZkuBGz6DJwqxvi73i8OLvM ETLUfDi/7qZixEUiYBbZVodwPv+MdBlgYdW1I+j6wsVyw35aj3pFaMKVWagYOnt+KE3P tKYB+FqYYTvPmokEFUHJEFHYWJnC+LDAWrZ8T76zfirOKcCnZuw9SR6j8ArZjkflO3rq Kw7A== X-Gm-Message-State: AOAM532rkXyJVHiKiZrUWjjcczhSPNDCHeUXBKzp/ikAHvkXAaT/4+X7 9HG7BiuF4G1O7YlnxWx6+TD5Lw== X-Received: by 2002:a1c:bb02:: with SMTP id l2mr2555867wmf.166.1605275407774; Fri, 13 Nov 2020 05:50:07 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/40] drm/amd/amdgpu/amdgpu_virt: Make local function 'amdgpu_virt_update_vf2pf_work_item()' static Date: Fri, 13 Nov 2020 13:49:19 +0000 Message-Id: <20201113134938.4004947-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:560:6: warning: no previous prototype for ‘amdgpu_virt_update_vf2pf_work_item’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c index 8aff6ef50f918..905b85391e64a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c @@ -557,7 +557,7 @@ static int amdgpu_virt_write_vf2pf_data(struct amdgpu_device *adev) return 0; } -void amdgpu_virt_update_vf2pf_work_item(struct work_struct *work) +static void amdgpu_virt_update_vf2pf_work_item(struct work_struct *work) { struct amdgpu_device *adev = container_of(work, struct amdgpu_device, virt.vf2pf_work.work); From patchwork Fri Nov 13 13:49:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324298 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212887ils; Fri, 13 Nov 2020 05:50:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFJlFuyGiHyKuTLUi3ssyIycSYZ/7gqZe3X6XzNKbBR/qzm5gIMRDSZGDpBdWx3epGZDUc X-Received: by 2002:a17:90a:4a15:: with SMTP id e21mr3048931pjh.130.1605275419835; Fri, 13 Nov 2020 05:50:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275419; cv=none; d=google.com; s=arc-20160816; b=soDwLrcrtzntRi0Sz+Q+4HicYuZ4oiFsDlQ6/4ETscO5lY8R8GRgzfCMxsVgcvhnV5 QwTyX1uP+bWB+IvPmdGYgOvlwZMKAvtdzo6iR50dcm6u2yBUGzNmGNx4iALfKdAjDtdQ 4SVhM8e1aFrNxeb//SA35Uk3QCwB/uf3wD+DpOlBTzSAtWjyjiCqSN9yyfDEiGoPoxlL vVZmEc4BVGIyxfqagG96tA5l6YeZ4SEdi4sGqS2GjUeWrZLI4eT9wpS6C1LoWT6xZ+ps zcaeQUNYOwoCzn69FJcKA50cG3VO6lScb93jmDm48i+hnUZbIfN1m6ZyyEl0Q4Lz8zTd 4VWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=AlXIr2YmexbAE2woYPn95s1rIGaZIkrVRQEOAJeqFXY=; b=K1k7SRBAZOZafePZ5kglSFGW1a9vxSAc6k1YVTpsEzmfwlMviXlTUfgGPD6p/UbpJi RdwoVTr8ZuxpjXjTKtMXUhaT8gpIEPxgms75EkhGHosdLRn4MrBlIik+9BjFvinHv+9P 09fyTpQ3PE+qJLURhH5pqjjR8h7LjsWUXOxFde25Ld0k9nAI7XlzQ2QqGut+ECWUa34s aa+kM8Nxv2FgUThlvZAop7KJuSPnCWJ6BD/zL7d3Nl5a/UQDf5UKGpVYqUNip8Axc9yG ix7p7GpQOz4iFZZ0RE4uvFir2wk5yT86bEmyzr0yBXUTZH87C2gonxLGRORAa7Gl3+s+ oBKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R1shnNVe; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id l5si8130557pgg.31.2020.11.13.05.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R1shnNVe; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 408586E4F9; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4AF7B6E4DD for ; Fri, 13 Nov 2020 13:50:10 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id c9so8201610wml.5 for ; Fri, 13 Nov 2020 05:50:10 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Fbx/i6xkdl5U3TCyGHC7OwtokMdU84+FveVergF6/Ok=; b=R1shnNVetX4luA2olSUjEUcn8RXbxoyUmnCpZ4pRXk8LujJR/7t/PmhuT/jdLA0YG8 xdD0sDqtV4pG7nM8HQoEmSLcyNOcnklXEXFWPprk1HzH6oLPRMe5Fr9o0dn+a7JVklBJ AOTs4bmp6IjZ4AfdE8x0MIOIsH8NcoCqCq/sRmde2nuqAllLptX0ST7D4MjQoyp6LwXf 98S1AE24vbzy5BEPTalNeNPn8kzE1W1M1RMP1zwRYbvH1oAKvH6IrHr3iLcroO7PnjzQ peUSjRSdghyuoehDuQU18l3Ps2p3pKevRGrvwtdEJPWnF8CIpwUpgVqVQRjVjzMciRnM WqHw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Fbx/i6xkdl5U3TCyGHC7OwtokMdU84+FveVergF6/Ok=; b=sMj6Pt4xUOyIwRWG13l0iwpp5+kHUAKxle3vpk+IOP19z4YAg5qD27G1T8x9wMbieG eLUv6JR/gkSKoXEzqVKfJkdqb5cZxdrZs39C50pBwM3vAdIhyCy9hbkdRQZAdypqHJuU 24MnK/H0vq5yuCGQ/4PJdIHU4ODa2fCN7/HdSV3J2FZJ0PBYPqbBS00XCHWoXpqNc1Bo L7Sc6VuHgbm1/mj71WxfSGsLcOxwemH82sZjjKbbFd53w0cBtxCa6Aa9I4lISrjeUfAC AktxoudpgVBlY5t+dPSjeBRqs0dL9tURtyrwg5sbfGhXOYr7K6uvaJpDVRUqM9XcjLXv uALQ== X-Gm-Message-State: AOAM531m2pdPs8gyAkE8P6OYvczIMgAyD0b0Hqog4XLe8dtUDWSxpX3d Gwu8SqJiQzYS7/LWTz8MiE9uXQ== X-Received: by 2002:a05:600c:2204:: with SMTP id z4mr2536234wml.57.1605275408939; Fri, 13 Nov 2020 05:50:08 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/40] drm/amd/amdgpu/amdgpu_sched: Consume our own header containing prototypes Date: Fri, 13 Nov 2020 13:49:20 +0000 Message-Id: <20201113134938.4004947-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Luben Tuikov , Andres Rodriguez , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:35:5: warning: no previous prototype for ‘amdgpu_to_sched_priority’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:122:5: warning: no previous prototype for ‘amdgpu_sched_ioctl’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Luben Tuikov Cc: Andres Rodriguez Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c index 0da0a0d986720..b7d861ed52849 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c @@ -29,7 +29,7 @@ #include #include "amdgpu.h" - +#include "amdgpu_sched.h" #include "amdgpu_vm.h" int amdgpu_to_sched_priority(int amdgpu_priority, From patchwork Fri Nov 13 13:49:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324308 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213092ils; Fri, 13 Nov 2020 05:50:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9zI3nWvA0tzobzx+N/O9JmlOQptf/fQFKOKy9SX9tr71V77mYHKsgQozq2T33nxC/GUk0 X-Received: by 2002:a63:e:: with SMTP id 14mr2102234pga.253.1605275437638; Fri, 13 Nov 2020 05:50:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275437; cv=none; d=google.com; s=arc-20160816; b=vD8/UoUq092a6Cs0g2WCSTv1TGF54BrpUIcwGny/A39EMwpw0xbqwpQqPhIXzKfO5u lvWpymJHuIqkJe6ghhFs2leHdvgXofc1RC3rVtuUhryrklBXj4CF+1Ei4TMT9usS9/Az 75bumuQ6VkebYZ7zsc4ckcw8d8w6Zw/FPE3rGNIa2FdLvQHDvvehApJAaMpvJbelc0SP C51rl+WxSDN8bqcIiIxkcN0tZodVSqO5sMou2+PkXzH8bAoWRlYP73ecP/t0viTzX2y3 alU30GrSbbHvMs6Cx+W+3KZsejrjtenFU11/9W8f5iVdWzAomTx2+y01yyLC8vh4MCOZ xu+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=RX9vJD37gAIkwmmzV4ls2JpMl1jRmfhXMWtVpoH46hs=; b=baGyJve7B+XDnjsQXBXDVZ6oQPYbnhYYu8RbJW3lXNFPHilC7pv9f4K8b0bygwAERO Z8e0VbL1vU4nyflvjFlkQ0kkU53xEUxtbF409RrE9rE3okwKsopuMnIYABTjCgfHON5I hDWA/PPuyJyeDn4gelpmunyXlH/UpF7RA/7MGRukLK2uxn95YqSYjOTj1fHW85+4Nzb0 GtDR1DrWzcmkDE/z2/59FX0I4hYywkSoy0KqHIjnNpsZruDPiSXwy+9rTe2hHbMB9cJv lv69dbRDAzEXkGT7Ani2N09Ub+Lft3eRHZn0pv1YvKH+tBjLsn8LuXJCtsmNH7hPTDSF 0KlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=p+qCr72t; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id j13si1561209pjc.23.2020.11.13.05.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=p+qCr72t; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF7226E530; Fri, 13 Nov 2020 13:50:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7A8916E4EA for ; Fri, 13 Nov 2020 13:50:11 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id h62so8559538wme.3 for ; Fri, 13 Nov 2020 05:50:11 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=CQkfxQ/U8Tk4/T1pD4+koDIKxw+zqPvW8TyQwINa4Hk=; b=p+qCr72t4ihE18soadDlaCQDbatISUugUvivCXWYBcpCtMq7piGK6yvdMfWe5dOlUz epwJ2cODurA7r/6VuUAYrYXfYCAU309NoyA05LOmjaELk3tFujk8ElkHboNXnaQcpc8G zZLHqhh1zUmkJivv/y8jjofUTY2mjY/xirZHrK5r42BuPbpXaoaH2hGm0sBHW0PClrfn G3tz9jkPvZiZZK0f28wsPfX8I29xo+ErTlJfaLfsnvomw33WeZmaQHc1upjKvr0LlHdV UJLl0EKZ4iN0XSw7CplmsnLCoN3kUHPWQWCAquy6HaUTX8YX0wKSNf3DqpVb36uZwhnF 2k/Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=CQkfxQ/U8Tk4/T1pD4+koDIKxw+zqPvW8TyQwINa4Hk=; b=VLJq9KWEakKMHIufg2SCJfX6QYj9XXuMi8J6GDgYpneB0d6iL6nNOw8v2wct6+eTej J7O4Ni6twCN1GyG63YclC/DYjpy3hRnTVacW5eNnNkSkTMDL0tutXJtT4IRGgZ6muk5l W27civHtlYdTRx4vChqaiClhLUmfqigannJWeeO4KHhLysxe59vRPkmwKz2PAwWJtSCs fdeaH54I+zQC0ra8wZQLEsgmdzMj8fCJd5TtfJEzBI6avnqq7dqrjyb94AmXZCI7OTp9 aEK6COAw1KvQoKWFg6rmPXFnn901fw2xwjBfhYhnul7IO1HiGZ1hjJLBULoW5L/gTPkK r61w== X-Gm-Message-State: AOAM531zl2h0D5z4DNWMzP/Ej6lMxaHMvE+bXma2EislQg2wo2JlDAlJ F6IgXS6343G493RnzK7K2FaJcw== X-Received: by 2002:a1c:6209:: with SMTP id w9mr2608331wmb.120.1605275410099; Fri, 13 Nov 2020 05:50:10 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/40] drm/lima/lima_sched: Remove unused and unnecessary variable 'ret' Date: Fri, 13 Nov 2020 13:49:21 +0000 Message-Id: <20201113134938.4004947-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lima@lists.freedesktop.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Qiang Yu , =?utf-8?q?Christian_K=C3=B6nig?= , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/lima/lima_sched.c: In function ‘lima_sched_run_job’: drivers/gpu/drm/lima/lima_sched.c:227:20: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Qiang Yu Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: dri-devel@lists.freedesktop.org Cc: lima@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/lima/lima_sched.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/lima/lima_sched.c b/drivers/gpu/drm/lima/lima_sched.c index a070a85f8f368..63b4c5643f9cd 100644 --- a/drivers/gpu/drm/lima/lima_sched.c +++ b/drivers/gpu/drm/lima/lima_sched.c @@ -224,7 +224,6 @@ static struct dma_fence *lima_sched_run_job(struct drm_sched_job *job) struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); struct lima_device *ldev = pipe->ldev; struct lima_fence *fence; - struct dma_fence *ret; int i, err; /* after GPU reset */ @@ -246,7 +245,7 @@ static struct dma_fence *lima_sched_run_job(struct drm_sched_job *job) /* for caller usage of the fence, otherwise irq handler * may consume the fence before caller use it */ - ret = dma_fence_get(task->fence); + dma_fence_get(task->fence); pipe->current_task = task; From patchwork Fri Nov 13 13:49:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324302 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212949ils; Fri, 13 Nov 2020 05:50:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJznmfHo41G5KZDu5TA0X/9crzyab+iAYwQDLbbAqv7mDu6HI9oAqpJ740VbVmpeIoCefyx8 X-Received: by 2002:a17:90a:d246:: with SMTP id o6mr3081952pjw.14.1605275425465; Fri, 13 Nov 2020 05:50:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275425; cv=none; d=google.com; s=arc-20160816; b=sTRkjwSCrE0LRNwHIjtzvQZoItzTvrUnClHc1YkJ+qbvhYZ1hKVP9qYlD1LDqCcG9F 6nLUhaMZYxtzjKKxUNmA+TIq/6uHGt9ZqWE0AxRNEOCVMKRz6IwllwOQv4zvF/FnLRiy mMxABrtOvcbuk6rB3ApkIcPv3VfyLtm08AYHhEVJIXAeEwWbPe+GZQXCOWJs+lAVaScF IGc6lNffbjdMaLzrmz3RkaS90Wts1pKGyYtusylz8lY8sKEVNEHcqufoMPErGnUZCU1n QGKNj/5Q9dK6YJdEQVcvoJtEc2ykRzX5/mcYOq8AimBwAsbOIVkhEkukERYT58AMWBc7 yD3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=ym5cY9x+VYAsc+z462vtJ+5VbrhRU0mFQXjgjdE7VEQ=; b=jEYHqwCWAWiMyb/lJGv9ryrNFxM38lmCaNpXtcSLbKOdb4IJqDEWVR5JHL/2Jqucks lkj0FkcKf2S2djMgZkC6mH8mP+BKz5eN7pFOrEU5A3jMtPhT82SkG8JbpRbhoi7I9i6g VlJ19tnO2R/VUy1KFbPPD/nmx8RYeQprPUnAiLGBzDRNS/RrVoGx5E2q2n16PNcDgRuy t8i3c/I7Ztoe9OkClqoWL10So5H05XD0Q9rAz8SBXqXkpFwv+fLrO1fi7qlG/QsqFEQM /cPIbhZfgc/e7eALMG4y7nQovdXvyn+F1o/QShQnlNJn8XO4GEYjIrdUe6aWXu9K1DmT BLHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QWB7Rb3u; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id go17si1567907pjb.26.2020.11.13.05.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QWB7Rb3u; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1A3DA6E4EC; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id B79AA6E4EA for ; Fri, 13 Nov 2020 13:50:12 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id a65so8577822wme.1 for ; Fri, 13 Nov 2020 05:50:12 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=WGHBLLfArp3MHXb6jRmdWLcwUbJpj6uRO7upfU2OHuw=; b=QWB7Rb3uSLXYnQQ2cEAuBHkFwyMP09ZejFdY7z3yP4RvHuVLM8LVdxKcPQGfkX0TKa SVSi+znYIGs/2/tYZ/ZM7cf4ByhJpxXQ1r84QAhba/dAqu7NVoXFlaxI4/C8eZR1/+hG RIPQmHWl95mquQI5VjH7Var1GM0bDOgfEcy8Dk1k3CVLUlDdsDYrkKv85BsjY/OKbJUh JHKjCn8N4k+Se9bxCU06GpXUD0K37g+NsFV4+PVAHjDUROTTE+NPOCiZOYZqcT/8EWoM 8VeZhX3TU86f3ojfoRTtOqaJN5quuiNEOpOHsuJdVbvH+o2SM9aDX4dtxdn5EQiojVNx k1Gg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=WGHBLLfArp3MHXb6jRmdWLcwUbJpj6uRO7upfU2OHuw=; b=pJNjVO95O0kEAu2+OxUAu/6Uy0DxUr0/YVBXt0ixjFhaIoq+pjf3ZjqEqI/yB6zNLw ncsczQOhjwLYtFgMzIxTJz091KEmc31BUlhbR8LmKHWZkqDZaWiF+U9ADPjunK8/9rOe qKPJXAF/tpC6HKniENyi4lwY3wxTneLUBztMmJuTg9G9Wkb4XCdR4xgezIrZt/ba4uTy 0wC6aLv6TKHHZA0StRR9dAtZoItEWx4bR5OvmmjPu93R1J8Y3+Tn8LQCtIYkagI2g6A1 WCvhjf1QGrYUc0TPrZrV5CPsPTMsejL67lq9dAd2VJ8XZO57bwOTk2p3I8R0zraQ1AYp 0r7g== X-Gm-Message-State: AOAM530Jj79LshQic69wVA9Th/JbOlOvTVgeOnYx/4jM71McOpyShRMW OB4LoOPYP0mn2yoxzE55IkEYdA== X-Received: by 2002:a1c:2583:: with SMTP id l125mr2655884wml.50.1605275411325; Fri, 13 Nov 2020 05:50:11 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:10 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/40] drm/amd/amdgpu/amdgpu_ids: Supply missing docs for 'id' and 'vmhub' Date: Fri, 13 Nov 2020 13:49:22 +0000 Message-Id: <20201113134938.4004947-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Felix Kuehling , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:271: warning: Function parameter or member 'id' not described in 'amdgpu_vmid_grab_reserved' drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:523: warning: Function parameter or member 'vmhub' not described in 'amdgpu_vmid_reset' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Felix Kuehling Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c index 6e9a9e5dbea07..61a1331f482c5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c @@ -259,6 +259,7 @@ static int amdgpu_vmid_grab_idle(struct amdgpu_vm *vm, * @sync: sync object where we add dependencies * @fence: fence protecting ID from reuse * @job: job who wants to use the VMID + * @id: resulting VMID * * Try to assign a reserved VMID. */ @@ -514,6 +515,7 @@ void amdgpu_vmid_free_reserved(struct amdgpu_device *adev, * amdgpu_vmid_reset - reset VMID to zero * * @adev: amdgpu device structure + * @vmhub: vmhub type * @vmid: vmid number to use * * Reset saved GDW, GWS and OA to force switch on next flush. From patchwork Fri Nov 13 13:49:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324300 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212918ils; Fri, 13 Nov 2020 05:50:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJywr5/OT7mrsVbgMKuZGVFlx2rtMiMB5fxRFziXoi/phL8s7tp40MILPkj4tCStVgGsnvek X-Received: by 2002:a17:90b:3648:: with SMTP id nh8mr2933501pjb.27.1605275422655; Fri, 13 Nov 2020 05:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275422; cv=none; d=google.com; s=arc-20160816; b=nf2RAsGn+EfMOQVN0loxFFJLdosdl6j/rOO8lIMdR+FMM0v23IMhSXMinxUmiBx8h6 tcNFSDjCNVbK4L3+A/2EjsB07X97oSm+EAI8AcDZoUkC2lQLdpjYuf+Zevl47UGM2yvS BRqzguSGIIeNgU/kAGQ4qdhBoIeeT/deyFjRfTw/lL1WTkZZlC0RsKtRqQqMKU4O4g5v N4X+n0DPK4AvqSEi5j8qAwCQ5u7AGj+vPyXhAZk5TBvC7NDIXlfXJI1dn0WJpzJ0hnxm ijt1VPHm3C4djqwufDQwD9uISZfm66sTHkXQPp8uSoXBzsSMvmOuRU5FpRKqKgFVA0Iu R4Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=JyviTdi45S5TzUXT2lvBn1flZC2QJl9z1ShCg1pDIsE=; b=qrTdRR1nGWIVllCQp9NQJq+ef4SPlXFG7MNWCdgXq4t5uaExRLGNd9enWAi4sUyIKh tDyQKaRC0gmYzrr0D5k0V+tZTM7TRngqFV3QtTUv7x963/KCcmbuk9SOTOR/9uwsPUXe 2o5qmlYttS4uVNOEIsThC2K1VuG0oEONHNvvNMq0Okz4Co12UUuBiN4TWofVVtkyWv84 4mLLnMmmE027rnegniPIjQgxBvOuRvVh3gp4WMukN1ZIakiyIq8sx/CXNh6RbcrgDz5i AW5NSPETM1AhMOajgQVpYJXTKrKJ1fuchu/CM7aUAV89AP6kpWbEWE+cpAQGuQDYGEtP EUgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ox7jf1lZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id t35si7606476pgm.450.2020.11.13.05.50.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ox7jf1lZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A8FA56E526; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 25D9D6E4EA for ; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id b6so9993872wrt.4 for ; Fri, 13 Nov 2020 05:50:15 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=BzoA0/p90w69kCv3e5Q2d2JhA6KtEucuiNdT/rFnC4I=; b=ox7jf1lZwfwZsOGGRxrgIuDFmMt/t3EA9CY44da6nxv97y3o6P6e3V3SK8STEuDHTx uieKR6jD3bQvVud1bFo69dW/kuNx60kde6emW4UAetcflcKaRTsuDtMcDWUlmxyaJwT9 wOuJ42ZmsGwUk5Cd9hwHMfR2knehgRRvTAfmqo2DDU33pgXSrhJGPEx40GUvbRPorBxG jAt3PWNRMXwOxUkY6KekxOtr8lyHSCT3eTVnL+MlKsbvcZDU4Zmn9ZRUCW01FI1S8fNc pFScRBfMNP9nq7H3qm4Zz/b7hlbWIg336mGnECdKl9XfzjDeWdTBlXyjqjYCZftHhCP/ ReoA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=BzoA0/p90w69kCv3e5Q2d2JhA6KtEucuiNdT/rFnC4I=; b=AoCzKWanfILwVzGl93KY1RyAk6JbgxAp0wYJ/PxlU/ceXv0UrpFCjgcIbNCAx0L8vL HKqkcxHInMbCLAoAnCKzjYkPU5E6uIdvwWv+fJNDzgx3k45QwdErpRICMRJHfLpzR1bb lT6TJKYWpt+cIi4/iB3KztTSzbJbLR2/e3HYf8eT6+WVOwi5o6p5u7FE27X9Le7zNJpy tTOisOxEIy0yjX0dLwfdvDUY4SNAaek/GGyVWKEWM2OI39ToDIqeI177xox26/pvPdVA 5UYRIY93NzQHfgufquOMaoDqji1uQ7ZVMFVW9TDXznQ6ajPwOKTBj4Uo7bXZgPstZfBN nWPg== X-Gm-Message-State: AOAM531J3FnYzUj02wJcTnzqZ8mN4u2Kahv2cgnGqGsXlKgIYBeT+tOW ZDRcT0yxJFpt8L2VbJECK3FcPg== X-Received: by 2002:a5d:5752:: with SMTP id q18mr3531340wrw.176.1605275413797; Fri, 13 Nov 2020 05:50:13 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 26/40] drm/amd/amdgpu/amdgpu_gmc: Demote one and fix another function header Date: Fri, 13 Nov 2020 13:49:24 +0000 Message-Id: <20201113134938.4004947-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:69: warning: Function parameter or member 'bo' not described in 'amdgpu_gmc_pd_addr' drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:121: warning: Function parameter or member 'bo' not described in 'amdgpu_gmc_agp_addr' drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:121: warning: Excess function parameter 'tbo' description in 'amdgpu_gmc_agp_addr' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c index 056cb87d09ea3..fede84509dbca 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c @@ -61,9 +61,8 @@ void amdgpu_gmc_get_pde_for_bo(struct amdgpu_bo *bo, int level, amdgpu_gmc_get_vm_pde(adev, level, addr, flags); } -/** +/* * amdgpu_gmc_pd_addr - return the address of the root directory - * */ uint64_t amdgpu_gmc_pd_addr(struct amdgpu_bo *bo) { @@ -112,7 +111,7 @@ int amdgpu_gmc_set_pte_pde(struct amdgpu_device *adev, void *cpu_pt_addr, /** * amdgpu_gmc_agp_addr - return the address in the AGP address space * - * @tbo: TTM BO which needs the address, must be in GTT domain + * @bo: TTM BO which needs the address, must be in GTT domain * * Tries to figure out how to access the BO through the AGP aperture. Returns * AMDGPU_BO_INVALID_OFFSET if that is not possible. From patchwork Fri Nov 13 13:49:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324317 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214163ils; Fri, 13 Nov 2020 05:52:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXDlXYnvuTE9o4B9v6r5WoTugJHvMBX0w0hz+OcUqv6gLZM7DjzV/7bzlmSq+0qvVcxH/I X-Received: by 2002:a17:902:d713:b029:d6:c5aa:c163 with SMTP id w19-20020a170902d713b02900d6c5aac163mr2067456ply.59.1605275443020; Fri, 13 Nov 2020 05:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275443; cv=none; d=google.com; s=arc-20160816; b=fa0TnuJDYfFeiUk040xNNkfXbjC6HzeWHJ++uhHmvFsfbsi6JhB4XrnvDnhKzYvh9I ffxrZ1tD4oWBDZWRUR5FyW+xZlI46pStnBRrE7r5JuDKf5ia0caFdFRHteC9jsrFxFUb Oux1/OC8QCwT7b7+HrdfszCjQx/+f69PXdyepRTmqNXZzkpPELiEpK5pLrT4wRRRw0fR lPhXywOeeN2evjEjd1npBFpStB38gRnnoCI45cbvpZypgTX1Jv29yDTdGlczNQFcP0GV Q08vO/Fz6kAcAIsCHzjglRS06rhHqa8uAB30lnCxmfcErTxCrbheUJ26EQHCyV3LplNq ffVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=O3WS1WYHCqB6uGCjRG8DTI7aC75V0Cog0d2aG9y6/3Q=; b=RmcRQNt8xJA3dLHlNPja1XvtCnwC+U6SYvGvlg29Xyo9XxDWlIpvl3nVjBtFBHFHnd JnVt7zbz3MyWU9WOt1/x7GDZ2oYtqHDCwQ9ekqKD7yfArJnbwGD+DJhK9KygjyOWN6+F JCapLwx1dhYvaiK29d8Dm65td4DNC+1P5YQha+abAGI1qWz78sVAn6SWjJd8laaJX3Eg Quz7zgDnQC1g0M/cFT6Ehfb0BvYptgr47hWfBMqc3NDlMn7uFXRgkPFZV/nYNHyil/vO T/4Mip+QQD/gE91KKHgtCMdsNP+QPF634uTtvJkZkSlU1r0U5ySPEGrYX4haGvqut8c9 4k7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XgoN5URO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id g1si8153370plq.81.2020.11.13.05.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XgoN5URO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4ADFF6E511; Fri, 13 Nov 2020 13:50:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 615166E513 for ; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id j7so10001991wrp.3 for ; Fri, 13 Nov 2020 05:50:16 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=q9ZMy9yV2j61eWz6SjAdF0UqQLfaNl51XLKZiRseNxA=; b=XgoN5UROCU74VPm0D6Gls7Y1ukWa5LQzEWehKotsuQV5kktrJh+HttfN1sHyw4l5/g 07v8zOyhGYA21GAy3RlWbSHEisIPtE2LF/+VLLhtjSmvQb9dsNSMY8L2xN66Zlf1K7d8 6RF4WZoD0y0TB3RoLJURUnsMHyS2azk2aYXQZxPAquIrGnFIviJ3lIttEqdiQpCFFgRM lWoNVox2yrau1SurBJYU+y2EscCGmhnVbuO15ymULXP0EtxutOTj1R90QiCX96UWYX1g 32HpSCBEM3I6h15HD6MxmSj/7jJP+vEtL6UHjfQKpbWwHuzPJrvM59B9DjLlElzF+Wim CX9g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=q9ZMy9yV2j61eWz6SjAdF0UqQLfaNl51XLKZiRseNxA=; b=O31uU9MywwMUYlOh0QDy1aXXsenLXkhmhlOF7lTSSo+bkPlFrLKH7m6gNHdatZMT/L RLapw2nZyP0PSsrgubTB85NkldvK5cqYEHc81uz15kVCZuAA11TboTU/36zHyxibcDJ3 a+UQVWfrNwMcoLNQSYK6Z7YOEJVKVDl4jToNFlaj0zSpGQd7cvF1SbAKXqHs+oUzzD5S lz0KTuUKZw+OLZfHMRDKNCRP0/+gF+2DzXBuzfTEIzE2/hwo3M2CvA9BKbPlEpDudd4n PjEcON3uVSUeMEBhLWqACZGa+PPubsKLz/qih9JMVZhTyp0Cc6nGe2zvPPFqwq4nQxK5 CKqg== X-Gm-Message-State: AOAM531nexGbaAglaffqbD6hDFff9XImtByflUm319d4RBtoDNJsUTqm ah7TSQsAOcJhmVbVsyCRfyAoOQ== X-Received: by 2002:adf:e945:: with SMTP id m5mr3445312wrn.98.1605275414993; Fri, 13 Nov 2020 05:50:14 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/40] drm/amd/amdgpu/amdgpu_ras: Remove unused function 'amdgpu_ras_error_cure' Date: Fri, 13 Nov 2020 13:49:25 +0000 Message-Id: <20201113134938.4004947-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:908:5: warning: no previous prototype for ‘amdgpu_ras_error_cure’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index b96267068a72d..f89a991999428 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -905,13 +905,6 @@ int amdgpu_ras_error_inject(struct amdgpu_device *adev, return ret; } -int amdgpu_ras_error_cure(struct amdgpu_device *adev, - struct ras_cure_if *info) -{ - /* psp fw has no cure interface for now. */ - return 0; -} - /* get the total error counts on all IPs */ unsigned long amdgpu_ras_query_error_count(struct amdgpu_device *adev, bool is_ce) From patchwork Fri Nov 13 13:49:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324320 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214362ils; Fri, 13 Nov 2020 05:52:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+zY7/8B0CFbhXLH8xzZBKuSyWvX75Vof5zogVnOB9pffqVQBG0OKvJ88MX43ZyHfeC/Z7 X-Received: by 2002:a17:90a:2ec3:: with SMTP id h3mr3221436pjs.54.1605275446352; Fri, 13 Nov 2020 05:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275446; cv=none; d=google.com; s=arc-20160816; b=aq0UexxRMlZArzrKcTDrSV8VQmiQ3kPE6GZ8s5iUCzJjPUsA9wKqTlCBwuy6uAuR3+ 96DQTuq/r+r777iNqvoy/8U8txQ+oA5iOY3MqibyMbPsglvWKBw4XkWgbakgr0YUIVOI 0zXyybXnJ3FTYkYzwzRgtljKTvK3gpJNydu+v7aBS4F8XNWIb/tnux42TqgzPqYa8ip/ xHS+JX1MG2FqBCgy5IO0iU3gEXrqwrp6aWFRuQTPXLqvxi3Chpu5tb9qKHeNfa8u4LWc AivSxEp0ZeyrSkVlHovPLtni4Jn/2x0POX06a+eHJLqziz8FPn/nV/4MPhHm5M0fRxhL LiSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=AvR8mPuoayjdgWziwWmmBud3CbTJqtUTYaffSttkWhQ=; b=HOi1wQFAdVsdjjS7H7U0T7a5jeyaDd4lJ5uL87iBAj9VUN8ukLHLfdFxsIfFaQxK1N GhbjpSCUuhdbE1KBp8kkrednDOzvC//nv4IdJlzSCWNxEjK0KUuWf2MM83btgbJQWPWQ /Jf3Q2QVB4/qzLvZwm9xCLPxZhANkg20p9doRRdKqbDCr2K1fqqR8+9ATlb3T7Xs3kBD +lQ6Z/V7RgrUOjuidZof+LsSgEzZNFWZJQykTio1vF3RZEvu/EnWkvCsYEFxyxLR9Qpf 2Xr5PUvsRcKeanOO+yiK1/cua8uaD4Tm9ryi+TefR7VgZcgP3AswKtU1dI2lWuyQQdAa 8MPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n4DRu6ud; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v6si8513134ply.204.2020.11.13.05.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n4DRu6ud; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B942F6E532; Fri, 13 Nov 2020 13:50:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 105866E544 for ; Fri, 13 Nov 2020 13:50:18 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p8so10001296wrx.5 for ; Fri, 13 Nov 2020 05:50:17 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=4fbIgQuSd7qx2Uw2PNoVR5q/2EBKr9ikJs14+3PNgZs=; b=n4DRu6udIoyajnEV5cYhZElN9i8TgkAMzWGe2XXO8ZJAtYQn5MO7IMOTwcJKM7snU9 JqPnyBnWOlcnU/T21rzOcwxuyqy/YqZQIRnFwrNhrXPMSSPdiF3vagDOA9lzf7m8sCkS P6upsPYAj91zk7+AQIlxbK4GxzVVMlYDAmdq7JzKe742gAi6bOyd1aJpogxYwpxPjfam 6fh/2Jnt7GS3QFBfKuPgxTxVRHEsqcST5Z/5kex7Nd3qOzjB5szFrz1oHxHH1vSwV6nm JdwijeFcrJb6v608c3XTw2RKXAfMl3ruV4hyrimERbrJ75RNT8ou4IwZ4nP+zsSXYXX9 niRQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=4fbIgQuSd7qx2Uw2PNoVR5q/2EBKr9ikJs14+3PNgZs=; b=n2FqvuaMqnOa5hJTAnzeLrjGlkFAw+iHP0YRyXGlq+AShBaVN6fBSXquJJa6OJValI HpPEW+nBKBNCsYIZ4ibgnisAy9mj/iXdyCvj06Rdsm3XVEqw9K0mseQZeyT95ulsAooH x1/iw3FXBS2shYcUAYlluKIr+h8+BDj4Js1y0rv90XqgcTyaGrVgrS+Y2s8hNqS2eUmz vZZlVcsl8BcxcgJpCwIxL0qkMx2MDZXzh7Sx9wR/i+UxNaPJJVmMjUFfTIG1Ld8wr5FH mrgP70q4RyHwhTDWCWoVohDDFXwBPo7f7vKsXpF71uvt6ajzj5xBTarohpJ4vqpBwBc1 2UZw== X-Gm-Message-State: AOAM531SKu0S8QrL7XnUEjnDvnyEfxbLt0yyBr/NBh3o1zJalXsT4g5R SQ9VCg7tOKZARMndv+gdQrotWQ== X-Received: by 2002:adf:9e08:: with SMTP id u8mr3518812wre.282.1605275416485; Fri, 13 Nov 2020 05:50:16 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/40] drm/amd/amdgpu/amdgpu_ras: Make local function 'amdgpu_ras_error_status_query' static Date: Fri, 13 Nov 2020 13:49:26 +0000 Message-Id: <20201113134938.4004947-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1482:6: warning: no previous prototype for ‘amdgpu_ras_error_status_query’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index f89a991999428..9d11b847e6efe 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -1472,8 +1472,8 @@ static void amdgpu_ras_log_on_err_counter(struct amdgpu_device *adev) } /* Parse RdRspStatus and WrRspStatus */ -void amdgpu_ras_error_status_query(struct amdgpu_device *adev, - struct ras_query_if *info) +static void amdgpu_ras_error_status_query(struct amdgpu_device *adev, + struct ras_query_if *info) { /* * Only two block need to query read/write From patchwork Fri Nov 13 13:49:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324309 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213102ils; Fri, 13 Nov 2020 05:50:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXpBiM7VZvCKMZZmpk1oBk20GEpFY2PTbufS2IHuoTpj7eMLimIYKx3w3huzn/aBbJQC3T X-Received: by 2002:a17:90a:9f82:: with SMTP id o2mr3169200pjp.52.1605275438325; Fri, 13 Nov 2020 05:50:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275438; cv=none; d=google.com; s=arc-20160816; b=aC20bV9E5ZQVa3MRDKr2eST0srhLzLEfw+BtHNh9vinjfr3u0kVNF1WMMxzTOhPfSM KnzGHClALSdEYpjnTAiO2mJGnsVyA7xo5HIBgBm6eqjzXB6sRVC2nnqGsvBk5FeeYIUI vefFqcaWoPNVsEpLCQDelDiea6kLPTktQ2M/a4U+8uQOSfyicNGWGTE1vvjGzS4EsvW8 h+ZseKP9Z/mLhXLqONftFwkBzjIEyeGw9MZr2k/vn6bDhCEM8HUfCA4CN+CjpDvkwqxh Oium+O6z9oToYdGD4Z7yqhx36eQpZu1i8WJYLvqp3dsqm6B4tZnpP3OP8ras0RvahuDC o4xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=rBakl6a/jF/JqyegLzC5OCSaHl4p2c9B+SFvWn0JBXA=; b=UJ0UzjfZlZyFJBA4GgTltdD7J9GKLXHhNfZpry7vOgOi1IAyaja+eItdeKmQuSOtqS pzGem/aEMmyAGA3XTFNrPAMLGCdWZ7RWg5aZ0UsVQa+EnJGNEfnooFewJpjRXqOhkfnj zhZ5keSBEP/mpfokgL6jsarjdDSFa1DYAxoCy86tji6I8TSnEn5mjmELlkwHPcK7Mx2d lwilQJlyT37VPdTQoyYvb7j4pFfvBxj1sPrIQRo+95wb5kZmjCW5tZVlW+rSALwq5kp/ zpDY7NGmgNlJlwC8XZhYY0+1TXnxCwXEFx2YwLQIDHefxSLRHBlf5cD6AgNr9JrTuFx5 pmSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MZqbEth6; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id co12si7363475pjb.65.2020.11.13.05.50.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MZqbEth6; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 92DA26E519; Fri, 13 Nov 2020 13:50:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 134886E542 for ; Fri, 13 Nov 2020 13:50:19 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id h62so8559989wme.3 for ; Fri, 13 Nov 2020 05:50:18 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=0nBtcs67BpWpOtsS+lroYBZ8Diqx4j2HTgrmz/2vMqY=; b=MZqbEth6gfS7gsdu8IDgb7OmV3SEY4rst4Sy2mkC6oksoLOtw6fd22wjt+QT2/Yw2H 62bL1YqeHmtIX6VodEiiU+N74OMmHF2P3tuz/aHXhCn+9HMoG7z9b4NJBuXg6ytgHid6 HE2Sk7dx4QRuNx7vDJ1UG6liqfUrpDPgTGAY0pP+XzXaQQ1lqH4kw2gTA3NUxQtTrLtl wi0i/JshReJaWzdC+Wqguzyj/iwJZIDR2991HnAHfb2QxqoEFRV9LfJH38BHW6tTzqBW JZNCBDhKFa8U64wvxMiCTkhmUgv+ojpTS4RSvfMh6LDeBb9EPee4VhoqIC0Uh5N+lw+7 leMA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0nBtcs67BpWpOtsS+lroYBZ8Diqx4j2HTgrmz/2vMqY=; b=eOSB/Fn/yOUtLkOuJCa68AHydvizgH9v4PGu2bus+Z6Pv5/HZa9K9NMan1pj3N/NWY vhBFE5Cqx5yAQu5/vNyO05HXP0l9YQjs4aNLr1ERXXpF4Syl3sdnXy1Tdg+jPjGaDABQ zC4s8cfRuXWL7pMODAgzl88CGlGbrXlEYkig2scKo+vygl1XmTDnD5kQZbs8WAxlZAky 1IUzSfnFqXdvf3flrKJpT71VtkMKYid3oslN+lOO514Ic2meEU9SN6aHPRNuMw7yUOwO HkWzXVPwx/bdqPyI3p6mE0twIL+ypotLflAbLgfEYrSlib8Rg95Fn7ggE7wvEpYW0H9A GhCQ== X-Gm-Message-State: AOAM5337TH+uu8hR6jjQ+zBDMiC1esjEnf3QuIAL3Dn/H5RQ0+5X3RpL VeBNA/dGy6C4OfGfOCgGjiONDA== X-Received: by 2002:a7b:c089:: with SMTP id r9mr2532584wmh.45.1605275417717; Fri, 13 Nov 2020 05:50:17 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 29/40] drm/amd/amdgpu/amdgpu_csa: Remove set but unused variable 'r' Date: Fri, 13 Nov 2020 13:49:27 +0000 Message-Id: <20201113134938.4004947-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= , Monk.liu@amd.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c: In function ‘amdgpu_allocate_static_csa’: drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:40:6: warning: variable ‘r’ set but not used [-Wunused-but-set-variable] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Monk.liu@amd.com Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c index 08047bc4d5886..da21e60bb8272 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c @@ -37,10 +37,9 @@ uint64_t amdgpu_csa_vaddr(struct amdgpu_device *adev) int amdgpu_allocate_static_csa(struct amdgpu_device *adev, struct amdgpu_bo **bo, u32 domain, uint32_t size) { - int r; void *ptr; - r = amdgpu_bo_create_kernel(adev, size, PAGE_SIZE, + amdgpu_bo_create_kernel(adev, size, PAGE_SIZE, domain, bo, NULL, &ptr); if (!*bo) From patchwork Fri Nov 13 13:49:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324318 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214198ils; Fri, 13 Nov 2020 05:52:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9DWcvqYk9KoEgywC4nwJbuizJiM/gLJ1D+dscCif1KYx39nN+yU0Ne51dCS8IUU13bRdi X-Received: by 2002:a17:90b:b06:: with SMTP id bf6mr2782425pjb.11.1605275441471; Fri, 13 Nov 2020 05:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275441; cv=none; d=google.com; s=arc-20160816; b=p4hGp5F2s/ia+y6mBmH4G7/n4EkV5AMfZLFkJ/OuAxZtgvTkJYwzV4WUEIrF5ZBt/G uAZWtNumNKhVW86gbwAh5/OT53Mh3HhJLok6EVDSf3S6/Dd9xVYLlpiDdZEH5SYvw9lY HVtxK40XQV3OLK3ayTSpJmTHd9JqES+WiFVM2dr+QmZ2FKpgAuyQhLipdeX0A1Ye6rgT OnVqe3xvCk96KdqN7Vvg70a6pUyGGXyv3k/xMCxCA9ytRvXziKQYM1G4dTMenuzSlrKj 7dVV3YDQYQ+Tl4MXNDzaIcdz5ySUGHHurhTGSnJUJdz5Q7HfCZzZFEaT+HiPLs0dF1kO 2f2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=ghqZ6ExwI4WSkhfsWmI/u4j9nNQcVUk+pj47FTIa5Z8=; b=v/H26A5wCzAsqYNKbGOFA12+ydtom72u8nknjiUB4SKnxwoBGQTVZNtfeNG6g/N6U7 vXwei1aCkQneCAeoM4jhofU6rIKTZLqrbK1FmDyMV1vy6+TxNzR1y7gUOop2TUO9BEFD bQ5PigN6U4P1w++JBKmtpT0ji5claRut4Z2MxnuLRcl/U1VCg9lXAvbobCqaWIUe5tw7 ETMZFCo5kqPk33pAZ1Czf0rEt6wB6+qY9sj4hs1Xdu1TUXAmsD8UjdwtSFn8JsGUuu/m Bn7g+d1kjlgD6CnfyNwMvcoZ0MHEgXwVr5IAr6dSPK0owPzeAlIm+5kHhAyCBRB2hjD5 PxgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L05jL7z2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id o73si8091130pfg.92.2020.11.13.05.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L05jL7z2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 492C56E54C; Fri, 13 Nov 2020 13:50:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D11C6E513 for ; Fri, 13 Nov 2020 13:50:20 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id 23so9966144wrc.8 for ; Fri, 13 Nov 2020 05:50:20 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=a52ICVH+xE+6XFb27F1p5fPxl4mBgRlINo5mYgFGiGQ=; b=L05jL7z2ETjWI9KIsm7A5p4VGI9RsHiDec6sbmMFg65N8W/3J2fLj8Gize4e3TKmij HbeGEC+Jkb6BGQy9k6jMszJ5Q2Yv6A/poxxZ+HidxYyMzMaJkyj8FnFRzfP6acpRrLHs +lsvbVezKoAwn4Yc5OmFzXaVssxUlV/nlF/Lz9hJn2Ii2njVhZGF17dwmDo+jxrHzeGY sHe317SIWSifDtomdptySzHypaTbMJCwGEiP7Oork0h5OlGWH5SJS7aef0HgK+9xKWYX /JufKCuIU5fSvai1z4mdUsGZ+Yer6KWirS9w0tDtnpFWcMq0DvfiRETtkERwB6wqBr+L rW4A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=a52ICVH+xE+6XFb27F1p5fPxl4mBgRlINo5mYgFGiGQ=; b=UV0iMdwGoxdE76IcZeKsAPD/MlWgHWJMuuUkKbs3CUUPK/daO/LHgOsJOeBkvsqB8+ RegPACR0gTCSQ0ZqsTkYslw9hUwXJqfSSlTNxpLnr7AQgdOgoJISdz4gUftQbqCqHwx+ S5l2UApVvjVYQYQF3R7D4IJY9B3Nn4qLPZ3nuSG3GbR0ksDkJD+D8z8iJQcv2w9lWgMd Ahv+fyzVtuL9pf9URbtZ2mGOscggNSq+a6QRdtmdX8Joe1kH8jpkIomS5CJK/eUNtBX6 8KxGa5/enbMPKWBzCvfIbHJ9mceawVkX46a+3CsGP8C6R2G3oaNDPVWy0+I/suwC1qMy b9yQ== X-Gm-Message-State: AOAM532T4D7Vdvqi/XOztUqWQ0khHsEwLAY0blSfYREtNrpRvFsh/PBB vxyXp+fpy6IH34QrW/OzrP94KA== X-Received: by 2002:adf:e983:: with SMTP id h3mr3474235wrm.382.1605275418913; Fri, 13 Nov 2020 05:50:18 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/40] drm/amd/amdgpu/amdgpu_vm_cpu: Fix 'amdgpu_vm_cpu_prepare()'s doc-rot Date: Fri, 13 Nov 2020 13:49:28 +0000 Message-Id: <20201113134938.4004947-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Felix Kuehling , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Function parameter or member 'resv' not described in 'amdgpu_vm_cpu_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Function parameter or member 'sync_mode' not described in 'amdgpu_vm_cpu_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Excess function parameter 'owner' description in 'amdgpu_vm_cpu_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Excess function parameter 'exclusive' description in 'amdgpu_vm_cpu_prepare' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Felix Kuehling Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c index 0786e7555554b..ac45d9c7a4e94 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c @@ -38,8 +38,8 @@ static int amdgpu_vm_cpu_map_table(struct amdgpu_bo *table) * amdgpu_vm_cpu_prepare - prepare page table update with the CPU * * @p: see amdgpu_vm_update_params definition - * @owner: owner we need to sync to - * @exclusive: exclusive move fence we need to sync to + * @resv: reservation object with embedded fence + * @sync_mode: synchronization mode * * Returns: * Negativ errno, 0 for success. From patchwork Fri Nov 13 13:49:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324311 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213270ils; Fri, 13 Nov 2020 05:50:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwijRrQ3YLEDvdgYAoCJvmKhZKYpHHdtQFxNACwITK1o6uinclU/Sd91AxKz8v1Jz478rt2 X-Received: by 2002:aa7:9903:0:b029:18b:9271:a468 with SMTP id z3-20020aa799030000b029018b9271a468mr2097834pff.11.1605275450924; Fri, 13 Nov 2020 05:50:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275450; cv=none; d=google.com; s=arc-20160816; b=ktNmTTG3L6oKOC9coctFIPJALXvKD9a67I4L8/PRRbM6futGghfWrtboehn4EYE+KF Uj1CgU+S+l34TGjCi/L9vin63NYZffPHsoiY4yBUoR4fqBgR9uEmVfk8nQl2TU2oRAN3 ajW/mrVJVebOmHRoUwH4TIXawGbn3rloFHFJMP82wppJC2bnxPNHult5b7fH2zGG7UEN ufFmhd0WEDk7dDaj46MFh6jUI2aGKYJ0SzJ6f3HqZ+AVpSojQ8OhAazvzD+2GG1jXvtv qWh6eAC29QdigmcbHs5JsZ8S+sFLufB5T2hV/lSzcs2qtin3MnT8H2Z8syvvV8KF2jDN bfOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=e04e56QcpdCfp6uWCeifIc0zfED8yHfF8N8jHRLJxqY=; b=GwuVN5tTPOBG0JR+vO/qNLYDevUb/SegJv8A2UZU1vczWtQ/LUwQ4Urf47vcM/twx+ 80Zw9eugkpvb7P+xA84NZqABHhMgcmtLiEJkofp4N++PqwmXYSP+5NPpl7G2FlFCNZ5+ 1dLaTsHca9GPro5HQkZBxrtAGkk1u6GKCYxHH1C2hbw5Gl6071nN8c3vHrpMpzygGa5k f7GhG0/S1kYs5XE9hKToGmifaOjMlXYNYY8jPX4qced9DAqcCBl4kL5cEMBCZ4NI7d4Q Db2GAW1V8APnAhj+2WKEVEZkqkfLJ8PG6I/jLmq6wQBknWuNbfw9VZat7XjFcLWe1KCX olDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="xzX7/w5J"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id j11si1613085pgm.42.2020.11.13.05.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="xzX7/w5J"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 558716E563; Fri, 13 Nov 2020 13:50:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 880D46E520 for ; Fri, 13 Nov 2020 13:50:21 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id 10so8208306wml.2 for ; Fri, 13 Nov 2020 05:50:21 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xrnyrit0v6fzfrooRNMi88M6HiPrfycz27kzVEg4yYM=; b=xzX7/w5JkEJWFNmWJ9XhEULYWxZdlL484sgDqokJC2N74ZDAzRW9fNa/+pZRfQXoPX w8vSlD7sbufyf6Tbg3R5IVs4V60sFs7/H1PbDBA3gNe9bY4Alpdn5tnIKN9vL33TD/0/ mBKobWhQGaWzcEpKoZgfmMMnI6AFkzBZ2vwAbhyHidq2K495ZRsaes76xKfe29AD2cyR nySZLdB8HAYVQO489IHNmmRwG9MTK+nyLd/nS9jyON3UfUIlWkwfmGp8vli3eiE1+llt U96cfho0m+d73d4rKqV6kECpeYyodlf1MvO+KdIAWSFaXtAEGdGp4kXCjLjro1ttEEA5 qnag== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xrnyrit0v6fzfrooRNMi88M6HiPrfycz27kzVEg4yYM=; b=m2VorLTlQrmeKngdYISnu37O9px+ENmdgS1sE1vmIyOTxtclhYSvHhGJkP3Bvplapu cQHgTrsMTno6Kk8g62aHt5fygFX5BoI9QZcYJnx1p+F9KeZxZEx+i9WASV+RpIw6cgdO 9ZrcRKmPtsOTmzxBnY9aUIyPDIFYBUUoFI9kfpAkLwkUlQBt7xtS18ExTU8ghcNR4Rhk b9WF0jpkuk0BhjYlZilX559Tp0d3aHpvxDyCPF4vnMmuAj/FKp2tie5FaMdrXbmXz4zu 8SQGkGPAwi7bAkYkrzX+K4pHCqmFzg03X0jX5NMGpy1sc+GjI+gyfdIlXqjad/Hw83SE q30g== X-Gm-Message-State: AOAM531zBk4Gav8u+b3mwfysgKxSggeOWgErKOpijqsdbQ5zl2NjlJad p2g7hG52rU+kDyUEVq+irKaCzA== X-Received: by 2002:a1c:448:: with SMTP id 69mr2516516wme.12.1605275420178; Fri, 13 Nov 2020 05:50:20 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:19 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 31/40] drm/amd/amdgpu/amdgpu_vm_sdma: Fix 'amdgpu_vm_sdma_prepare()'s doc-rot Date: Fri, 13 Nov 2020 13:49:29 +0000 Message-Id: <20201113134938.4004947-32-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c:63: warning: Function parameter or member 'resv' not described in 'amdgpu_vm_sdma_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c:63: warning: Function parameter or member 'sync_mode' not described in 'amdgpu_vm_sdma_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c:63: warning: Excess function parameter 'owner' description in 'amdgpu_vm_sdma_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c:63: warning: Excess function parameter 'exclusive' description in 'amdgpu_vm_sdma_prepare' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c index db790574dc2e8..a83a646759c58 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c @@ -51,8 +51,8 @@ static int amdgpu_vm_sdma_map_table(struct amdgpu_bo *table) * amdgpu_vm_sdma_prepare - prepare SDMA command submission * * @p: see amdgpu_vm_update_params definition - * @owner: owner we need to sync to - * @exclusive: exclusive move fence we need to sync to + * @resv: reservation object with embedded fence + * @sync_mode: synchronization mode * * Returns: * Negativ errno, 0 for success. From patchwork Fri Nov 13 13:49:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324310 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213240ils; Fri, 13 Nov 2020 05:50:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwai1449/5cXWzxFpLQBWk7x25jJP2Jxm7NSMYZo4AEAwOaZtkzwI7GlJ6Jt9ZqnwZYK7Rw X-Received: by 2002:a17:902:6b08:b029:d6:c471:8b5b with SMTP id o8-20020a1709026b08b02900d6c4718b5bmr2330026plk.78.1605275449109; Fri, 13 Nov 2020 05:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275449; cv=none; d=google.com; s=arc-20160816; b=0gdgw63KIMKg7k59ynyKZHWQZQ5/dEk7sPnxXb+yez57RMBY0OWKdvwQf80S4QHCOt 8R+kQYXPP5gy55grx60jYlhhCjsZ/WhbGImhKSvoiODtU/mdtDkQWAlhZdFu4kQrgsWq lGqkXMXhwj9a4DdNJ72Sy92NdZ78AV1VFGF7ryXFPxcasPvxF9P+vOQ2iwUzBCYajuvm EBLJXgq/4ZXmAiG+MrobuEA0eZGQrxyivQ5OslaDnbIJ7Ob41W5cSYefwd5Fe06vpi3y uXIJHvTipd6z+0Ilzlf8GkfeU6sSfCr5HXmJDQfkHxCSpngU02SXh5V1JiOo+5WlmUVD J9xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=bkcAQ4Ovtft1p4no1x8tGraBHrUYNmUoXOqKPDFE7Ew=; b=DajTt3UHbvcE5kp3hhW7Dws0luzZvXUDwnfBs2yt6XvhXbx1BtGv+FVBWmzmL4HuR5 Xti9vqXHn/MW/yoOS17crxpTWv0U9fXUJskFE/IgnaC02LFELxpEP4cxW3dRAzH2V2jD hArn2/FTUzpfuqrTNMoBcgzGEis4rLXdO1J99eniWc1CYsLT+NEus859GjHJCWs3K76Q w/5v9IHzxLZSPcQqMmzVgZARas36q28DR0ro9hGUXV7mtqdX4CVzHYndWdcXoEccsYFU yo8bDKz7i8bPX5kJQjh5sTwZ6P8jMukbM9ix/BZps8FDD+dEFqfRX8YUxjyoqGfTsTol ewKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pe6e21nu; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id t35si7607356pgm.450.2020.11.13.05.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pe6e21nu; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 279486E528; Fri, 13 Nov 2020 13:50:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 724D36E4FE for ; Fri, 13 Nov 2020 13:50:24 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id b6so9994436wrt.4 for ; Fri, 13 Nov 2020 05:50:24 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=451+tFthAljOAh2f/Wv8bktxEJYp2PVcrpZPPSF00gU=; b=pe6e21nu0qjtMO7L/dhgnVP1pOLq2uLl2Q603f2mIEfsxLZ4RIF5ndrN5ElCTk5gBH qQChgdrqm4R3PWyX5mMgOaxx9OkofEfBCcsS2ylOlDJ7yGlIIK5W9xGGJPcsDPMjho8J 0j2P0H2AQeAsAZf+VeoXuXFXESasVb2kJfTC2fFe3IqwTvNbzmL61XTiAJLVbf//ktvE 7wgdTtkmRnKSQmwwcqNylRCy7SZdv0M1aolSP2I49SYf0yYufITdguFUZ3pxAGSsFjQ3 3Wi/1IjSnNLf+E/nmecH+3SNI7gxA8ulpguIdKsungNlVSzRdzgfEjtTVghmCWTbEB79 ZvZA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=451+tFthAljOAh2f/Wv8bktxEJYp2PVcrpZPPSF00gU=; b=nLOoLrLUYogTHp3ngqzr60Chn/QrEapmgCan4mT6SzjQPfc6UKi63WyRwDlVISQZJR t5Jl2qJVv50ReNm0KqVsl3uOb6VSjz/sMpt5tN23ds9PCw2NbNqOvcnJ51jhVy6k/3Kb Hd0VwxwpZQjybiwPkbZFNFOCRsV4rZ2ywiWxqqIcnC82wwgeSEvRyBKnLOa0MYA8IgKX idc1XcNuCGtVgU8WMmenZNYg5+BLEJ3CHJgfy5g103Ytt9nM0as7qHvTUZNjfTMxX6Au CWu6S6VwpUGKS42wPACpAyIs1St5eaCNDGDVYZwDu5bl40pp118X074AoIukJ7qhSQ+f zrLA== X-Gm-Message-State: AOAM533WBKsLZki0sCugVGKMUqiHaTkRl5H3qjQCJWua9Rv+8v1M7puQ T7jRekNHveiNhPJtoXjsprHYaQ== X-Received: by 2002:adf:f852:: with SMTP id d18mr3466397wrq.232.1605275423174; Fri, 13 Nov 2020 05:50:23 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 33/40] drm/drm_dp_mst_topology: Remove set but never used variable 'len' Date: Fri, 13 Nov 2020 13:49:31 +0000 Message-Id: <20201113134938.4004947-34-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/drm_dp_mst_topology.c: In function ‘drm_dp_send_query_stream_enc_status’: drivers/gpu/drm/drm_dp_mst_topology.c:3263:6: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/drm_dp_mst_topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index e875425336406..0401b2f475002 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -3260,7 +3260,7 @@ int drm_dp_send_query_stream_enc_status(struct drm_dp_mst_topology_mgr *mgr, { struct drm_dp_sideband_msg_tx *txmsg; u8 nonce[7]; - int len, ret; + int ret; txmsg = kzalloc(sizeof(*txmsg), GFP_KERNEL); if (!txmsg) @@ -3281,7 +3281,7 @@ int drm_dp_send_query_stream_enc_status(struct drm_dp_mst_topology_mgr *mgr, */ txmsg->dst = mgr->mst_primary; - len = build_query_stream_enc_status(txmsg, port->vcpi.vcpi, nonce); + build_query_stream_enc_status(txmsg, port->vcpi.vcpi, nonce); drm_dp_queue_down_tx(mgr, txmsg); From patchwork Fri Nov 13 13:49:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324313 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213382ils; Fri, 13 Nov 2020 05:50:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHCZ7AuBUhJFtcLkqWNqjFElKOs35CcDh6n/SP1JhDvaXJgqaQ3EtdANeKQzuxQ4FU7EAm X-Received: by 2002:a05:6a00:158b:b029:18b:fd84:956d with SMTP id u11-20020a056a00158bb029018bfd84956dmr2249662pfk.22.1605275457587; Fri, 13 Nov 2020 05:50:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275457; cv=none; d=google.com; s=arc-20160816; b=G0lwlQPBFAhSaX17skrEvSWZCFSejfS6AMsK7GVfk8WDrrJ5BOFdf/9n3bn3bL9iEw Tl2dDNuW8Vo6hRG3U5duQJjsGWlYE9k4L3VnpfZUHnOJ3WGHeoH1INGdPNsKZdD0qu/E w+yhD0GbUmB6FwelLmCnVD7vB74+vVWBD4s2HaRnrOSqtJ3l4Y1uiTPRWzW3niWR9uDL Bd5Fet6gfgt8yr7bwBKdmS5HMhD0KDk2ZMh0z9pj/2i9qkMHUH3ZY7mememt5OUOZEXx I5J6DXTbV+B1T/xl9Xjf7oMZBo2dP4OMr/dYLBKOsp/3+naASFoqn8rNaT6dzf/2RLpy XpVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=fUOubODQCxKajjuEhvWbuIa61fOqrPAp1YV2WsML9VE=; b=WmzKz02hqDN++IV8RtgmbtoVqUIseThV9TedWYNIGTvbO75cKVGFNPZL4aubG4Nm/x BIKDDRTkmRdKVQ8pYWmcBiGy6HXILBrz3tRgyssPgmYFBmhPAoFyZpQ9vsfjzyFexZeS pZK0bvOhabOEZrQ3ppg+J0C2NVBabU54f6z2LL6HtUyX3R8wAzez8DkJrshka+nTF+fQ TqbcPdFUnEMCAG0o1V/sf9T4XzsxQPaya7fUxEE6Q7N1WT6YNbqjdHsLv5hTsxlAs/9B wW4zjmAshQ/i4d42j3Aa7ZbTePODp9qsP8y6Kc4dyEKFtjYZ0Xd2FDVSA4B8WyGJfMCa mjFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hDDNRtwm; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id w16si8272436pgi.19.2020.11.13.05.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hDDNRtwm; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FEEA6E56D; Fri, 13 Nov 2020 13:50:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id AB5D56E511 for ; Fri, 13 Nov 2020 13:50:25 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id 10so8208479wml.2 for ; Fri, 13 Nov 2020 05:50:25 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=OFGPsQBWaqIstUovZEQuV7ZoQw1xUxoIPu10HqknCTI=; b=hDDNRtwmjy7UzVPZNCJaQ+bu+PRm7kW3v0HnLqD/oaFNjNOldbhgb4hKirvW7RQ3XG txtByjBe8inFiRzGvNE+0ZhuM7fV8Syu7RL2PxTSw2iQ4LD1FFAVBa7/GJ93TuAgl0XA ACpV0/PDpouzHfBWTiLt7rJyhWBmcfvQ9qFIvNY4YbDDotBVfQmZZoxQ8vEKkrAwZ3DS i3XKYmnsRMMZb3YU7tGhZTUDY4RrTNSSIqPhVlTAfqW/ZFop7DarUDsHz7+LSVLhD4vD hnfZR+RX+VS+Bxjl5AVbcbeSDW5bYjOBDFd4HsO95GvFkJNQ/mV9Ogq4rZyjmic5vcYi FTZw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=OFGPsQBWaqIstUovZEQuV7ZoQw1xUxoIPu10HqknCTI=; b=UEQ4TbYCnEeXFTmqmqRHg/aW4SeZq+ifwuEOBTak37oN87OaF3ZYvX372dIvFz/zpd AR4c8ZJy36dTScHfmcBpmTSI9LbnQ4ocy83DLzvrKYxJhlGeZoxVU24rtgx9Da3X7v/4 EKKTt9aJRw0iy8uhL8IhIpEWxt+feoJ0wYmnPdnYjMGCYuAdlAMMuYNwzjXY5PIKVZFa OkcV1o2Ke+OloiHH67Z+0eVQrZr3HzRW1qzf1394Hta6J3x1cm8qQe2JNQRy8OEWXv+Y FnUVcLMfJiYc6+AiGvUX7sHS/9SKDUUEi5iApgk0RUNfY9JVZGIS/ABWRDDg/m9pDUte CTfg== X-Gm-Message-State: AOAM530icjkgbYv+L83G2jqYKyKjAUG4LZskGLoktOgu58q5ZGv/h179 kOU2pJh8fYX8Xq70zmCf5gT0GQ== X-Received: by 2002:a1c:2cd7:: with SMTP id s206mr2533032wms.182.1605275424372; Fri, 13 Nov 2020 05:50:24 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 34/40] drm/msm/disp/mdp5/mdp5_ctl: Demote non-conformant kernel-doc headers Date: Fri, 13 Nov 2020 13:49:32 +0000 Message-Id: <20201113134938.4004947-35-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Very little attempt has been made to document these functions. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:227: warning: Function parameter or member 'ctl' not described in 'mdp5_ctl_set_encoder_state' drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:227: warning: Function parameter or member 'pipeline' not described in 'mdp5_ctl_set_encoder_state' drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:227: warning: Function parameter or member 'enabled' not described in 'mdp5_ctl_set_encoder_state' drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:227: warning: Excess function parameter 'enable' description in 'mdp5_ctl_set_encoder_state' drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:529: warning: Function parameter or member 'ctl' not described in 'mdp5_ctl_commit' drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:529: warning: Function parameter or member 'pipeline' not described in 'mdp5_ctl_commit' drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:529: warning: Function parameter or member 'flush_mask' not described in 'mdp5_ctl_commit' drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c:529: warning: Function parameter or member 'start' not described in 'mdp5_ctl_commit' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c index 030279d7b64b7..b5c40f9773629 100644 --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c @@ -213,10 +213,10 @@ static void send_start_signal(struct mdp5_ctl *ctl) spin_unlock_irqrestore(&ctl->hw_lock, flags); } -/** +/* * mdp5_ctl_set_encoder_state() - set the encoder state * - * @enable: true, when encoder is ready for data streaming; false, otherwise. + * @enabled: true, when encoder is ready for data streaming; false, otherwise. * * Note: * This encoder state is needed to trigger START signal (data path kickoff). @@ -507,7 +507,7 @@ static void fix_for_single_flush(struct mdp5_ctl *ctl, u32 *flush_mask, } } -/** +/* * mdp5_ctl_commit() - Register Flush * * The flush register is used to indicate several registers are all From patchwork Fri Nov 13 13:49:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324324 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214625ils; Fri, 13 Nov 2020 05:52:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyA+zAD3pxlPTaFVAhI80MtZ0kxi83pHvKnhkSWRbaBdUQ6x5KD1cfz62NS2SXtbRfJEqQP X-Received: by 2002:a62:26c1:0:b029:18a:e262:b6dc with SMTP id m184-20020a6226c10000b029018ae262b6dcmr2008080pfm.28.1605275455965; Fri, 13 Nov 2020 05:50:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275455; cv=none; d=google.com; s=arc-20160816; b=HYSMGHMnHYdd4TcxCp6r5aifExH6UmzlHTo/gwDRgkghrAbUNZM21jXSBlSECnigr0 KC8i/VBwsdqutsJfIJy8KtGFfxc9JVHXw3MA+/5aiEYA/81/fzgmVSjNTW7XVPL6oU7u ePo4Mw3nJjVplsuJnLVZoF46vsWj7u9dnf/T27jmu+gx1laLHHWzoaLGXviywQEZJGnh jLN5fuMOTWb12Pco5rVDdAAcQAt+Q2iyYZ57eDv5fOx/eWFcDn05E2vvB97KtryxjhVx NR+p63USA8ljRLKg2RK2Cka7qkBNE/WuZXZsJ4J6SmxupTGOHVNQTju6Vwr+VV68VTnw 87sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=R/JUyggdZSjL3uBykgx77djLHhv+O5FI64+Cl6W/zts=; b=TnfsljVrJV5VFlnRhiQwtQiSy5UxTjDOV2bHOUOiQWe7QsXOgHY44gPlxz5AJHoe2n dlMCgJoY/jbnOWFzma09/ldlVEUk8ZEIzXjTXWAQiKXBpyZymte5P8xHdRRCzTmmt+tD cJ/Z5mFkHq2wAh8k20F2J56vscWX+AEsNGAhq5FzCvJo6i6tPnFacGH95TfpP6zHq8+J 8nwK+yvIx1OufvzAaA4OjbEXkvy5Fr14Z+o+h4UR+47eOuUGADWuNvzcx6nXOsNNweA1 e1L4MhwmxuQiAPo/WVJH8aijmMahZamMQRBUhe0slCGefWoHZtyRbc7UcjUhlVlpGmyA CQMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FYPms3ZC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id p2si7954311plq.9.2020.11.13.05.50.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FYPms3ZC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EAB296E520; Fri, 13 Nov 2020 13:50:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id C8A876E511 for ; Fri, 13 Nov 2020 13:50:26 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id 23so9966513wrc.8 for ; Fri, 13 Nov 2020 05:50:26 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=B874/wtDOWYUimH8rXUdl9sC7ZHgpAhfTu7itpIsNws=; b=FYPms3ZCfPub5iaespY6VDZIg/UmY32Kvxev64zmWZOrrM4041a5OdDqUOv0kfH8AR 3C7hNCP7cHZ0v/h4e+8cnFjaoPM8bPL36QaZW1kHFqKjLzsUm9UKnD/r5GWAm4pm2JPF m5GQZ7E6qKCbUWYUxZW5hhW5RsOh+iJOedQtBtLS26vz4XNap9+BnUufDta+Z+wuno/e cezrhZqtIg08ewYF3AS7M96FkeJ4tPgEl4A+tx5pyJ207sxO1w/43KMcuKFKdyaKLigI 6i9UleZKkZeYOU5nKl8O3JdsOZp+ZshJ7jnDF06QFnQyRtCjg1Swf0tfrvn0v6E8IYaH nyqQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=B874/wtDOWYUimH8rXUdl9sC7ZHgpAhfTu7itpIsNws=; b=A1g0YmoHK9P1hHhT6jL14UnpfvhqTSB6PBuKvIB4aOUhPPJy1CSDygYRO5INfiqPSo nL/3KF3EWAufeGtlLE8nhcLk+eU4KvmA9g4Aa0niSlfoNi8cpHVq5Y7T/DWxgSw79UZz w+thEsrrH1hmvR5Ugb+2cA2m0DhLQ7sOl61bSl5v8aKMaPy5MVsBU8myb8PDt3y17o2m cjU3qvbQ8p09gb7JAZSYTIiF3oFxpxupxzEHX5GUAxw3z2NiNYNfUcV4mD0GEa07Nv+p lJTaYZf8VsOWhq8WlV+Wam7BO1OVWGcA1f48AOQPtc/jbejC0Yy+pWEdyaosR4aUGNS1 VCGA== X-Gm-Message-State: AOAM533Fi76PFx4mt+tVqIvJwJTR48rG41aCDbMEaliviLB/sO6PNFjh Uv7wF6OafSDpyGQPIvLUkao5jME2RRNDt1vP X-Received: by 2002:adf:fb0f:: with SMTP id c15mr3487064wrr.86.1605275425504; Fri, 13 Nov 2020 05:50:25 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:24 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 35/40] drm/msm/disp/mdp5/mdp5_kms: Make local functions 'mdp5_{en, dis}able()' static Date: Fri, 13 Nov 2020 13:49:33 +0000 Message-Id: <20201113134938.4004947-36-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c:299:5: warning: no previous prototype for ‘mdp5_disable’ [-Wmissing-prototypes] drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c:319:5: warning: no previous prototype for ‘mdp5_enable’ [-Wmissing-prototypes] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Thomas Zimmermann Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c index b3eecf8694771..15aed45022bc8 100644 --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c @@ -296,7 +296,7 @@ static const struct mdp_kms_funcs kms_funcs = { .set_irqmask = mdp5_set_irqmask, }; -int mdp5_disable(struct mdp5_kms *mdp5_kms) +static int mdp5_disable(struct mdp5_kms *mdp5_kms) { DBG(""); @@ -316,7 +316,7 @@ int mdp5_disable(struct mdp5_kms *mdp5_kms) return 0; } -int mdp5_enable(struct mdp5_kms *mdp5_kms) +static int mdp5_enable(struct mdp5_kms *mdp5_kms) { DBG(""); From patchwork Fri Nov 13 13:49:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324315 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213465ils; Fri, 13 Nov 2020 05:51:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzydnbY+CK/a4YhkJtm4AeVTAInmXrWr+blAEbActeXiEhM3eQyDVYsq3S/HGK0HMVCzPVk X-Received: by 2002:a63:3041:: with SMTP id w62mr2215765pgw.166.1605275463791; Fri, 13 Nov 2020 05:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275463; cv=none; d=google.com; s=arc-20160816; b=rtE1Ja7ko+kN5C4BBhJQZaOEZ5m0gEzi2aY/FXxxZw81z8IB6iGnhOmzDprYzWskkF nr63Xofwe59MGUBZkTvo/bX1MR8VL6mXOrWH/k+eYDMD30++rfYH62QOKcDauG0f8HQI KiWUqr0c1yPA1aWdyQoRehIbQEh8rfa+XeI5APKtPVRM5y2c+cHSX98c3kanTfCI4IsX vLnLa9o3Nn5li3zEoU9nOk6LUJnTjpF3h7wFVFQ0o8x7i/99YbQZLlPIxowBAVeIFTn4 Sr2kLBZwuhaBkzO0N97mP8pRNsr4b20Ixuns01RE5EIEk8DEzRZLOZfPbdcKQTmcU9/0 v6hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=XmS3khcTyuYyXIKHhGSFjL8tbzoq4f4+82DhK3FoRao=; b=bqXDJ2BgZVfu9QitLrGCyBG1amXQWZqm6iX8w9KFV/EFqmhOlAeCUycqYiravRgaKA Rbi0xw2eQIKJhn0wIl9QF+IBg0rCRdJNZIy76XbDl+LOWtrbHcbAn7cbOFB+0cjP0OKX Uy8f98pghJVhXRWX0b7VeGJ0/qHx8qoj2vwIulQebcdEvSzZEF4gDxC1y6hQgoRgK2oX cPsH55Qw2dIygBFPnrw+THHrBuiI2X0aJ2OleNARBqJ6VeKbb/Q0NQeLBW8sfLvmaasQ YoBMXjUigDj/xFmiO422mENnsmO/YeMalKMtVJg2p91xYoZQnJhgo7yg6nOUeRNYy7bO mmOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="mY/s0pYD"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id o136si8269342pfd.31.2020.11.13.05.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:51:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="mY/s0pYD"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BED6F6E581; Fri, 13 Nov 2020 13:50:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 03B166E511 for ; Fri, 13 Nov 2020 13:50:28 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id 23so8098910wmg.1 for ; Fri, 13 Nov 2020 05:50:27 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=TmFIQSl/IxBdBhsOtG9qrJEA42yvhnGh386TMGMyma8=; b=mY/s0pYDEoGhbLaQa/mv0EUVIX+EyJgNnog2bItqV1cG1dEk25StILdGwjZJr5xxih FN8D6trlrMabKXBVahRxImsO1cUh5U0yCpMjVlRhdC7f2lwIilN0wEAbaIZVmkudgOew 6U5Phpb6rM9IxfRwf29E5HtkETLUe3GZL3Rly56wL6E0lRQKZWxLyHDOXhpwvhX+fj6q FEL27rKQFfLhxVjg47ANuOyvEoxc16GxFG8cNbQlTMNtocun5CR0V6VQ/3qUNnA/bw9j Y7mGAUDGEPDLA8vzFcQWNafqTLmlW4tRKhtxLbzc2CBi5ozxwtW3JirbIFn271BoCVV+ XETg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TmFIQSl/IxBdBhsOtG9qrJEA42yvhnGh386TMGMyma8=; b=CxqU9F4dbhL4f1fwiXOMdlhKGT21wmeXk9NuNBXHp1tIId8NXfIJ1RMyE4DflWVw6f CVs5sR9n2H7s7NJJpL2VRea8iAWgF4jB+WwdX7apHmp/iR4gmZ8Z0jRSh09rwD+QcP2R d8VjsJM7tswwmh05dHB4j7TaCs/om9PLbW+wKLZFtmt167m/4VaerEFBycvHzmoN2KvC rKYxxRYPGuvmKvt0+GotRcJNes4up2m24bQds9dp9fgXyFTogpdRy/jU3mknY3NDZrMJ gVGo47AvDKqhz8J5MPlsGJ1x4AU7PWmT3tEflFbg0fz1wVns4fXc74mTChI19BOUPS41 WXgg== X-Gm-Message-State: AOAM530tIMPSba6hsGIEvIeDPbYhiWZTfwoMG733YFVWKdf7TgFRSr2P 7eTREcOHH6KJ4RNEgrQzYwXVDg== X-Received: by 2002:a1c:f405:: with SMTP id z5mr2617695wma.126.1605275426666; Fri, 13 Nov 2020 05:50:26 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 36/40] drm/amd/amdgpu/amdgpu_fw_attestation: Consume our own header containing prototypes Date: Fri, 13 Nov 2020 13:49:34 +0000 Message-Id: <20201113134938.4004947-37-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , John Clements , =?utf-8?q?Christian_K=C3=B6nig?= , Hawking Zhang Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c:130:6: warning: no previous prototype for ‘amdgpu_fw_attestation_debugfs_init’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Hawking Zhang Cc: John Clements Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c index c6947d6c7ff51..e47bca1c76359 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c @@ -26,6 +26,7 @@ #include #include "amdgpu.h" +#include "amdgpu_fw_attestation.h" #include "amdgpu_psp.h" #include "amdgpu_ucode.h" #include "soc15_common.h" @@ -139,4 +140,4 @@ void amdgpu_fw_attestation_debugfs_init(struct amdgpu_device *adev) adev, &amdgpu_fw_attestation_debugfs_ops); #endif -} \ No newline at end of file +} From patchwork Fri Nov 13 13:49:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324321 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214379ils; Fri, 13 Nov 2020 05:52:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPKJSxCQ1UauipniNf6+NcDRzVeyiXhKHL7T//WWqu3Uz7oMu52V6zAUqBAHwnMgN4OF92 X-Received: by 2002:a17:90b:f0c:: with SMTP id br12mr2996726pjb.26.1605275452713; Fri, 13 Nov 2020 05:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275452; cv=none; d=google.com; s=arc-20160816; b=qrz2H1R7A3O2r68Dak/aj4aeI1SZc7OxqGN1XMep02LMGGY4jnHERoXPSWvC2pMihO s8QOEZOWkibLSK7gV7ZnVWbUo2N9NSjI7G2CJArxC1vuMi+w9I8RPyklR6MJD+zz4CeO NUOdyTn8LT9WqaC4RNqvWAX8BB6GAgvQ8jcvRS+h428CouSqMA4t/3zzKJQncGpyQYXx ucwSXlhO09U7L6r2xhpYuiQzTEAmaF24TtnsvTjomptabVCUHXmoTKOt0xlfRHIR4fd4 kAXztiShgsmHFq31WO6Vq1vXxIsY85jlFz1XO20r4PnqVpZHgN4KQ1il5F8HSg5cgRqf wwKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=8egqLSUgMaZ9enODM3MTTMJIOw1tHdNP8NdiUFQU/s8=; b=BZNntthLtzmQ2DK1APlKTXSR3N1GhiyvWvDrDw0f8ECKl05VajJpblnP9CprjwlK5s V8R2o/pDaHHWK6kNWXdMV/iPIBaFNMAfCl0dJAw99UhRW4ZcmaKwp3L6KqGkH5T5bxOG Hf6TsiQjaHstBo6uZR4IJb5oWnLmgauK83SsNZgKICR5NdIvo6J8jeL4ZAnPcirNFPei 7WQX5GqDRKjh0/NbYO6Mmd1tDbZufnffX72yCt0fG+CgkUQqRbKL6/VwmkdiaJoDiaNI 5UeGZ3bzhfiS+jVdNkboo+2EWSQdQl7CDKhF2oeKbkhT8gvjAhWvpeh6zXGJX4xcoGuJ zOlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xbhv4k28; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id i5si7844923pfc.332.2020.11.13.05.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xbhv4k28; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DF2E6E56A; Fri, 13 Nov 2020 13:50:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2751E6E528 for ; Fri, 13 Nov 2020 13:50:29 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id o15so9988970wru.6 for ; Fri, 13 Nov 2020 05:50:29 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=QYNTgRMVpRNL/FiK5ZAGdhQROE1FVRdCXLrN0ldkq14=; b=xbhv4k28x+rz7JYkl2nx+QIT1GO56rWtWgOVjpknc5Ye22Krl6lwzpW/2pOF1sCTy9 2qJdTAnkUlFwEnmBo4XLt7h5rcQSg9vIHupq1v00bkPrICVU2Nr0U0BUPPaLocEBpsQ+ 4nJJonTvzNCGOCheLsfA5+uAxLmCTzjye3iipYGSA+dpTipVS2MBA3TbYfBnAYXuuiFb pvcq/v7eAhIXepTQQf+HvsBULlp1ndJZxlNDzogMtJ53kGXnKUTAWbOBLYHD+k7lbsPd m8NDRWDuvyKir3o6os4/s+FRDX3Zo5vPJeT9AFmJbroj6Km9vFfc3gxcMjvhND8EDXCl 23tA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QYNTgRMVpRNL/FiK5ZAGdhQROE1FVRdCXLrN0ldkq14=; b=T5fF8gGnAViDxiiCr5sKMB+TSwveW8sQKWDPeKrQbLqF2tXtuR7kpXpm282IxwImeh 68TZTMhtsiUWAfNxRv4JI2Fmh4Zg9x4X2jJLbhevbNL3OSeF3fKuyLIyh/PpKbvPwuTp 3/OhjNjvaS6Fj/kFm1YGNZ3VF+Uq+RiTkd4alyWitcFv9dVm16YIv/HBCjMtp6T2IiJq OFoIPQrOr+v6a9zKY4eUL4729/HvG88CMXZOb+oS+t5WjOHgnitB8iPOt3gh02jJbEUc p6j6JTGpVkBA6qHop5Kflis4nXvCQdB475rjUcgL8lPM2dMraQv+zvIraP9+lP/X54vR i/fw== X-Gm-Message-State: AOAM533IMDwC0+3hrsbhvZNvObcRpiu0KooaG7c00Cd+Jdlg/Wp2QqHV IyAmEvXEtRPaQV7xEfiPCGjZt+f8ln+BWTk6 X-Received: by 2002:a5d:5752:: with SMTP id q18mr3532493wrw.176.1605275427821; Fri, 13 Nov 2020 05:50:27 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 37/40] drm/amd/amdgpu/smu_v11_0_i2c: Provide descriptions for 'control' and 'data' params Date: Fri, 13 Nov 2020 13:49:35 +0000 Message-Id: <20201113134938.4004947-38-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c:225: warning: Function parameter or member 'control' not described in 'smu_v11_0_i2c_transmit' drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c:325: warning: Function parameter or member 'control' not described in 'smu_v11_0_i2c_receive' drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c:325: warning: Function parameter or member 'data' not described in 'smu_v11_0_i2c_receive' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c b/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c index 7fb240c4990ca..5c7d769aee3fb 100644 --- a/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c +++ b/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c @@ -212,6 +212,7 @@ static uint32_t smu_v11_0_i2c_poll_rx_status(struct i2c_adapter *control) /** * smu_v11_0_i2c_transmit - Send a block of data over the I2C bus to a slave device. * + * @control: I2C adapter reference * @address: The I2C address of the slave device. * @data: The data to transmit over the bus. * @numbytes: The amount of data to transmit. @@ -313,7 +314,9 @@ static uint32_t smu_v11_0_i2c_transmit(struct i2c_adapter *control, /** * smu_v11_0_i2c_receive - Receive a block of data over the I2C bus from a slave device. * + * @control: I2C adapter reference * @address: The I2C address of the slave device. + * @data: Placeholder to store received data. * @numbytes: The amount of data to transmit. * @i2c_flag: Flags for transmission * From patchwork Fri Nov 13 13:49:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324314 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213429ils; Fri, 13 Nov 2020 05:51:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDhvUMJk8d+rUe+fBH5HJ9xOhThpI8W4ehGeyvEkAMtqaehILj/bMCG8i+n7OyzNEv+X8Q X-Received: by 2002:a63:3116:: with SMTP id x22mr2075326pgx.278.1605275460690; Fri, 13 Nov 2020 05:51:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275460; cv=none; d=google.com; s=arc-20160816; b=f9TloSt4tFgZdpXzCqppcbnTgxhI53zy9F+J/U/VnwBUiYftVZArHDL9pgOn5mC3IK EszguuqsedyxDxF9TlGLIfKqqQxK1MAQgOTMXF9xMQeK7Kz6fdt+fFj9huBmdtYNn68F V8UFPGiYMpGAu4rL7HqWzZgtQ12m/4GHSEcTD1ZPy/vK2fer51iFFrO1nWs37a1p4UEf aTCi23bku6lAKTGy0gOAKenH+UVYLxk+ZfXzDsPKfStyQTvyjSMegI3Cp1v0tviTT8Tc g/em94PsJZUWgecEsxf6UVR6CNO5UiZhZI/FcyY5OBsRmR0KHZycgpaT3qYUzfIVnDT6 HPYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=haSTKOyAlJn5Cv43VWov+iuidHSXOH5IWsLHEXwbBEk=; b=fmV72mPwX2K+D72Mdf+A1g1sGPuuTCTglH9lrtgcmJdPuU0zldgjR/OqggStaNwzwP DBluq3CaiBIJtvSDgeiZ/NWEs+rCXsrlq7/nXrkizizMLluBwtY0i0p4WYBsaeYu7JCU SABPfDBo1O390kIUxbqlRLr2srt22vlwaQIg7kC7J0WQsfxjWDep3OTtOT0HLReLEd3/ VvxE04ZJZhrQjKOl7ulStwCm2jZ0y7qVoAts+g+NnCHJ2t3G6ITWq5YPzWUGiT5KlA2M 0YBH2iYBxTVTrKA30xBpKgvL65qCP8MPI0wxkzEDlvQ331X3fJP9CeqQhtWScno/qTKJ 2s9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xIlC+2K+; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 23si7551852pfp.103.2020.11.13.05.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:51:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xIlC+2K+; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ACA516E575; Fri, 13 Nov 2020 13:50:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 62E706E511 for ; Fri, 13 Nov 2020 13:50:30 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id h62so8560508wme.3 for ; Fri, 13 Nov 2020 05:50:30 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=EDpB8DJIxR3jn2HzXeLA+icgO29vYDcRaE35hFlk2BE=; b=xIlC+2K+XYDZ+rTp6LZiqDhAqdaaUgTdllMZL9+PC1pySaKIQasGv8o2+CQoxTqZUD L3p3GctSvAXx3y7UDhb5DSEO/nCrfdaHblbvRwS0vCzopYHsXxwlI8SF5JbJL4DZvl/9 Adp8oG85dctR8fZHkUZO4a+7hHGgzbpR4w37rQulCOId2h1mz/HnPszo7lEjBvdJWlCL PgxsXrc0c2N8v+s/bIbJshbi08znIF3utk+UtULiHcTVPRxGvfPNsbgSKZZoCfEZCHJh 7XOh94nci93PGpDkOnb/zlG0NX8NxJ2zel0a50LZG+SDsMRbAgPHo8b+rTPla0PT5LpI tGcQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=EDpB8DJIxR3jn2HzXeLA+icgO29vYDcRaE35hFlk2BE=; b=sjSIpSrcP/SVuTlYqv3SCWXjIg5z1u6ynI9AfFHKmfFsKdwq3N7UeUC28euPsozgW/ DlQfAiRqAvocC947yX67/pDen/IFB3ihrYZBcsyHgtRd2jD+hclVqtj6me8L0It5SeXh pAjJ/YHPKHNGYcUSokUMZGCYiYuDcvTG8Zkb3SnS6IpYavNk6Trg+uYaudn1pp22XuFs UiKJC+zf/EDBsdaJdZHrGFSnUGC5yEyjXXr4aCw0B+n5gHzOirLmirR5rS7tNw7wIh+R V67tg1qO8SMt0E15IDZxltXQORYz6cZvEv+qGF8Zi031OFiSfJKbXrxiV/8ukJlaypch MvHw== X-Gm-Message-State: AOAM530c4rhf2n1qbVKzDBslGB5k8Jhr5CKSrq83EYj95khRg8siBFtQ UWo1AUA9d2r1M5nt83nBYzxElg== X-Received: by 2002:a1c:61d4:: with SMTP id v203mr2625667wmb.1.1605275429063; Fri, 13 Nov 2020 05:50:29 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 38/40] drm/msm/disp/dpu1/dpu_core_perf: Remove set but unused variable 'dpu_cstate' Date: Fri, 13 Nov 2020 13:49:36 +0000 Message-Id: <20201113134938.4004947-39-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kalyan Thota , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c: In function ‘_dpu_core_perf_calc_crtc’: drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:113:25: warning: variable ‘dpu_cstate’ set but not used [-Wunused-but-set-variable] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Kalyan Thota Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c index 37c8270681c23..36927fc04a388 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c @@ -110,14 +110,11 @@ static void _dpu_core_perf_calc_crtc(struct dpu_kms *kms, struct drm_crtc_state *state, struct dpu_core_perf_params *perf) { - struct dpu_crtc_state *dpu_cstate; - if (!kms || !kms->catalog || !crtc || !state || !perf) { DPU_ERROR("invalid parameters\n"); return; } - dpu_cstate = to_dpu_crtc_state(state); memset(perf, 0, sizeof(struct dpu_core_perf_params)); if (kms->perf.perf_tune.mode == DPU_PERF_MODE_MINIMUM) { From patchwork Fri Nov 13 13:49:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324312 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213330ils; Fri, 13 Nov 2020 05:50:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVr5Qaj+qYd5T5jqdU741vfbXjCsH9AYQu0XZgzCiBLfnhbFkDcwP23vumrGUq8RhsdwBs X-Received: by 2002:a17:90a:9c5:: with SMTP id 63mr3027605pjo.195.1605275454640; Fri, 13 Nov 2020 05:50:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275454; cv=none; d=google.com; s=arc-20160816; b=ik1mVtY0MKcYD6lo9L3eir9sJGuqfVkuO8YsschBGjhhYLGt07IoRbiKnFI1xrmMED tgVLh3Y2pgNlTlg5CfsFw732gbxfiwTkj+Z4q1AkBcn6aKsmDAF7l7TeuL2SdBEDQHL8 clTNZ017gNNadLQgp77F7EWaCWm+P/p4uI+iOgwyXTLGWcJaALhLZVWPP/Vzp4Iseymf /HFGfQDMhd2ZWlRldGek3Wc3E4IBFIARxgfVBIASKceRRLferX9iahi9RmLFY1QxXHiu OP5t+3nWXgi+iQNxr8ZRxhLgWl3FVJyECiwG2+5b4UBeE6Ed74KsbbsC0ni9f/d1OCfD fucQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=jkEmAKwVqvM3JNRIGW8LtEk9QJiIJZMudh6jcRNt2J4=; b=Zw3x70U4D+rNUO5OeDEe2lBHr/iqxRDrgUjOZ/CiAq//KylX7Z3elSO5s2t6gOiRiM fvqGWRrI1GwDKNAN5PyRQyLJGKLrmN4i7ua9aBiN8MiKUM/gsKj42pCkPLFuFrzmg20f SkbE8a8JDn0XUlZoKPNwNl+hoYsfss/U7UGu6INr2iXt9NCDDiWGuZ6/IFjIljxfmWpK ZoZYOYljsF3jy3zF7YWdGZTI25Dj+C29kkwldOgf6Ci0L+qBxzS5KZWammV0UWDxDC70 EInTQVFR1I1xjkKcgkw/k/x5ombFmP9pCeMIfmRu3XVtWw5p93BwYchTW8bNIX6fMjmx LidQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RQ4JxYXE; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a3si8185457pfa.281.2020.11.13.05.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RQ4JxYXE; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6DBFB6E4FE; Fri, 13 Nov 2020 13:50:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id E8BC16E511 for ; Fri, 13 Nov 2020 13:50:32 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id c17so9948698wrc.11 for ; Fri, 13 Nov 2020 05:50:32 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=AFNrPQ81hqHHaageZvOMHIm1NdSavC7vYP+Jm2PmTBQ=; b=RQ4JxYXE11d9TyWCp2SMLBbDOIjUVovjqhMATP9WC+h2x9s9FvDe9rasQ6PW2pS+CX zLsjz9l2Cba9QeatwTFalD928dJP6Kqptw2OGDt9+JbpXHCWZQgfkxrsphmt2oxLRbX8 Gc4C1tB5v7bFClbC4XagOq7bfZ4JFAXXcZ+mWVEvPoNpb9RJp/asE2wa5QaNl/J2fLjf 7zCUcMOpcwVkbWLXCviGXnneB5qiP96b3LkmJsFK2KMk+tF/MLBp7LMdRqWoV1oCqpKs iZcvU793B2TQQsEww4DI7BRtU2uPq5G6mm9B8nsdJsy1tbB491pGDnUQCxwWVlxzUaYD ZHAA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AFNrPQ81hqHHaageZvOMHIm1NdSavC7vYP+Jm2PmTBQ=; b=NM9itUoZJ7KqC7DnopxPoi/Y2Yv/WrpYD8sbLS5Z6xoHn1AeaS/4BNr8uyOYR3aAhu yNq75IdDufoANoMylEwL90WU8w71SJoa5gcOgOmKgPHJV6Jinmvb0thoQLCVApQudf6I t35ROrabfxR3zk+qWOXIHr7IqjfT63vGDgT/e4wYnR+1XjYkW+USh3lPmC0ALGwLbUHO p6ZXMmfqrt41uDSL/EP8vnZZMlDxgVujJoZqP4PbWkLK/meDT//bCuCSPJqxLYQhR8nN 5AFSm/FfbINVMXrPP70zEGeWT8LvQSs2NwAJ5oCk5gmrGURAk3hKZ0NuI05CAx0Oav8J 9v2w== X-Gm-Message-State: AOAM532/mjdjN4cu+LyDZkUkD2gSwr9LuG6rje1kzmX2hIY7kcSeqYuR 0/Yw4VpjVA9wIhmRMEn9zNxigQ== X-Received: by 2002:adf:df88:: with SMTP id z8mr3609403wrl.113.1605275431632; Fri, 13 Nov 2020 05:50:31 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:30 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/amd/amdgpu/gfx_v7_0: Remove unused struct definition Date: Fri, 13 Nov 2020 13:49:38 +0000 Message-Id: <20201113134938.4004947-41-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5211:45: warning: ‘gfx_v7_0_ip_block’ defined but not used [-Wunused-const-variable=] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 9 --------- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h | 1 - 2 files changed, 10 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index cb07bc21dcbe5..04e1e92f5f3cf 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c @@ -5208,15 +5208,6 @@ static void gfx_v7_0_get_cu_info(struct amdgpu_device *adev) cu_info->lds_size = 64; } -static const struct amdgpu_ip_block_version gfx_v7_0_ip_block = -{ - .type = AMD_IP_BLOCK_TYPE_GFX, - .major = 7, - .minor = 0, - .rev = 0, - .funcs = &gfx_v7_0_ip_funcs, -}; - const struct amdgpu_ip_block_version gfx_v7_1_ip_block = { .type = AMD_IP_BLOCK_TYPE_GFX, diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h index 6fb9c1524691f..eedce7d007f1d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h @@ -24,7 +24,6 @@ #ifndef __GFX_V7_0_H__ #define __GFX_V7_0_H__ -extern const struct amdgpu_ip_block_version gfx_v7_0_ip_block; extern const struct amdgpu_ip_block_version gfx_v7_1_ip_block; extern const struct amdgpu_ip_block_version gfx_v7_2_ip_block; extern const struct amdgpu_ip_block_version gfx_v7_3_ip_block;