From patchwork Mon Nov 23 11:19:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330606 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1908002ilh; Mon, 23 Nov 2020 03:20:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJynFull/d6sL5i4u2hCqPYYLnRwK038YvPfDbrPiZjP2JqPTGWE9GLypPKo5kQ0y9W3Xc8J X-Received: by 2002:a17:906:1458:: with SMTP id q24mr45307069ejc.541.1606130448162; Mon, 23 Nov 2020 03:20:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130448; cv=none; d=google.com; s=arc-20160816; b=K9kZLqg5rR9qjJQXa7CLP1XgFXnHwNv+KEA5+uja3Kr5VcrazY/TJEAq1tf2rCebq3 2b98jpH0PRhHyBNgXEghwcN19lYwyPipQ8ZevL91hE9tlK91EjH91xEFLiZrS2Gl/qNo RLBlXzTgupitW92UGBlRD6lwtJ/qHWkkqNOTFw8QWtBApSbOH9iAHwA7v9WgYM0PLa9U qWDBQMgsm2uuhpDyri1iiiTdIlaYwpBufi22H85ok/msVj0zctlMRmIlhwlAUbxFPsjE voC4PTrpT27FfBagU04Oil96/79wJBAPgXpkRh42Kejm+CpEOF6Ohq1vNRpIHaeTdlWY E2zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=L1A6ShzSRHULt3G6Ke9LreeZL2K1GMKHsXViRU+yWaI=; b=ZxWP9ZyLOpSQtIeiHjeApEfAOsZThV7jyykJPxwhUOoWtLXDnhk9doaUNdULd8yvup 0HXh8t2nwpAsKGptFrHRbfqtsI0s06LxzkikC4ZKxKAF39rfVpVI8iCuz/UqxNHFgbcA VTULXeQNKOq0/isJYPgUArHFWgLE/sVUj0ITF/CvTza3k18N3tRpCswIgBI9MBQvYobO BAAuPHbqLWB9HMqDvhkYU68jE+MQJ/mWqAHFsOJbaMOdbZCEVuSydw7uWXtguK9dfLl6 EzaVM9d/7reLdoeLy5Tk9EvfXJnqVdxE1nOlxqDkmuaZrm8HMCKV4eHJLYLSPEFHv2Uq onqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XC1icHQx; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y13si6353913ejb.623.2020.11.23.03.20.47; Mon, 23 Nov 2020 03:20:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XC1icHQx; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729055AbgKWLUL (ORCPT + 15 others); Mon, 23 Nov 2020 06:20:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729045AbgKWLUJ (ORCPT ); Mon, 23 Nov 2020 06:20:09 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A48EC0613CF for ; Mon, 23 Nov 2020 03:20:07 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id l1so18173908wrb.9 for ; Mon, 23 Nov 2020 03:20: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=L1A6ShzSRHULt3G6Ke9LreeZL2K1GMKHsXViRU+yWaI=; b=XC1icHQxTB5jacAoVkI3gjV1OSiGC+//Jf3F6glek/2GBxRYgE2yNAyO4F44L015/I iQHkbcSVXSbFSfexxKIK3Uly4nKoNbPPjwtUhqkNP07ZCQxVKwNnbxla1nfhBKX00Yoe SGnzZi03THb4xnvkePPGXeZ08ztRIwO2g3wa2CeiG1TfwNkznCf1gvCslTWp5EsyzASG w7VDIMcwwG9kT8LIMDbEcJleoR3qSsEeJa8hDC1PddPNJ4BexzOdjGBTIb3dvJPu8mmD GOKmAX3AolXdraBrtUXBskn8KYdgdFLoXD+peVxJfwqHfTydMh8v4BvcoyAzKN1719lb TpmA== 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=L1A6ShzSRHULt3G6Ke9LreeZL2K1GMKHsXViRU+yWaI=; b=rVcMuj+KAiHeVBIraRD+dHCRg7K611Q+LPfDv0PUjMgDsrVfj+awCLDvlIP5WGRdmv bRgRERHTluvi+n9r45V5l8CzbXH29CxB1BMMssVcwT4QH2QvAy14Xs5+fjDgMeKk6OIa OvhW5y9sWW4fV2xP1leL/mg8admQcl9TY/OdUmg2bRrO7NDR+BO+8c6ghp7Joeduku2A Nil0QX6wHLuVvIGGO0sIVq0YPG5HAPy1JcHxYcD4p8X0kXZAm8OgCU/3k815Qf5UC0i+ yAFxaCiHaIQl2SE+vN1adOVEGNsjntUhMXtFuGNFpeTf7YIfDJwMSSyf9U0U97mucU8Z GW/w== X-Gm-Message-State: AOAM531iPZi3R//PbafnXj7qNDCrQ3tdIJYO13gJy23T3jcljH4NPe5/ LPZMJECPlwNx6sKLWVc3snzHYA== X-Received: by 2002:a5d:6548:: with SMTP id z8mr11259177wrv.399.1606130406387; Mon, 23 Nov 2020 03:20:06 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Drew Davenport , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 31/40] drm/msm/disp/dpu1/dpu_rm: Fix formatting issues and supply 'global_state' description Date: Mon, 23 Nov 2020 11:19:10 +0000 Message-Id: <20201123111919.233376-32-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c:247: warning: Excess function parameter 'Return' description in '_dpu_rm_check_lm_peer' drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c:283: warning: Function parameter or member 'global_state' not described in '_dpu_rm_check_lm_and_get_connected_blks' drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c:283: warning: Excess function parameter 'Return' description in '_dpu_rm_check_lm_and_get_connected_blks' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Drew Davenport 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/dpu1/dpu_rm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.25.1 Reviewed-by: Abhinav Kumar diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c index 0ae8a36ffcff3..fd2d104f0a91d 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c @@ -239,7 +239,7 @@ static bool _dpu_rm_needs_split_display(const struct msm_display_topology *top) * @rm: dpu resource manager handle * @primary_idx: index of primary mixer in rm->mixer_blks[] * @peer_idx: index of other mixer in rm->mixer_blks[] - * @Return: true if rm->mixer_blks[peer_idx] is a peer of + * Return: true if rm->mixer_blks[peer_idx] is a peer of * rm->mixer_blks[primary_idx] */ static bool _dpu_rm_check_lm_peer(struct dpu_rm *rm, int primary_idx, @@ -264,6 +264,7 @@ static bool _dpu_rm_check_lm_peer(struct dpu_rm *rm, int primary_idx, * proposed use case requirements, incl. hardwired dependent blocks like * pingpong * @rm: dpu resource manager handle + * @global_state: resources shared across multiple kms objects * @enc_id: encoder id requesting for allocation * @lm_idx: index of proposed layer mixer in rm->mixer_blks[], function checks * if lm, and all other hardwired blocks connected to the lm (pp) is @@ -274,7 +275,7 @@ static bool _dpu_rm_check_lm_peer(struct dpu_rm *rm, int primary_idx, * mixer in rm->dspp_blks[]. * @reqs: input parameter, rm requirements for HW blocks needed in the * datapath. - * @Return: true if lm matches all requirements, false otherwise + * Return: true if lm matches all requirements, false otherwise */ static bool _dpu_rm_check_lm_and_get_connected_blks(struct dpu_rm *rm, struct dpu_global_state *global_state,