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;