From patchwork Mon Nov 16 17:40:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11910123 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59DF4C2D0A3 for ; Mon, 16 Nov 2020 17:43:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F38B320B80 for ; Mon, 16 Nov 2020 17:43:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hFRF7dG0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dNwXbsPl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F38B320B80 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fHDtYLQqdT9Tczyb+eSeBHqLfWz3+PBEwMNl6IqbWno=; b=hFRF7dG0/MB6PXxRx6qLhteLe ad3pIo+Ksru748Z5DQqd7V9jWf4GQgd+gDokgkfA6kRwhgZdnML/pQc+iTXOjGdwU+JI4hk3CSpFw dKK3n8ef8yasPSLiwYOxp4tDsF2qmrUOxtJw/RvHffrGBhV5/+JKd54s1/VpBz1CywK+rPNuryZjC NoPEzytyGLGK13T2sAQ30RaepSqIXyPJiE84ImJT4c3woBEYJRBSWE+KdKGgYugoWu7WrGCFUjAW1 vNSy/zi10XqBoOcFHvwJ7JbkXUb3AiH2T+iYzxq//vI/Q5jyhS4ioUpAV/5q4oKfx7a2k4VVTaj2D bT+KweIvA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiWw-0004nJ-5l; Mon, 16 Nov 2020 17:43:06 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVN-0003z7-J3 for linux-mediatek@lists.infradead.org; Mon, 16 Nov 2020 17:41:32 +0000 Received: by mail-wr1-x444.google.com with SMTP id b6so19666473wrt.4 for ; Mon, 16 Nov 2020 09:41: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=NO2flJnZQ5gKgn/ih0D6aTqpwf9ViRniG5BiRkSE7jU=; b=dNwXbsPl6q1/WYDA3oEdV/zceq4tTRbwO6lTXlm5XU9tFJdlL8uLCb2UQHW6BfNZn+ mgndbZ8TvSG3mtt/+A+jocB/IQFje8yUxevFzpcVFB6E5R2NBK/G30xCQNZJztpaSFpj 7ZL6jHg4IpI1yxLcXSvFPmiWVMom49yEIm89insI5yf38ZUfud8tZbfGClv+QtqTRh8K Gq07tgEv6tNT68z5M1XbSKZVOq8SQXXWhA7Hpv/yIwvULEp8E4HTctxb8tjJFZk/4Bb/ WbgxYlrEvPj5DQjWt0ZA/cKbW6LHdSm7hTS8aDEIcN1QcPH3xmp0cy8EjLxZ15mIUZmy ZGvw== 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=WkeC5XZ1GeNISeExrohRdNZoo1/FOtbRKQemYk6QDvohgJ473UwNnmE42xckUnUUlN sNITP6vxARXDt07zJwdKZtrGw0sQJ7FcCVN5u9itqs5c/LLmJyZQg1BW9QZKg37DR2kD zGmOI+eob0ekn4ZuWYGyOId84S15k3ItlSNCwHlXdW7q74iRve36rlQ1c0iDAfaCxwog OGnNaL+mWCk1p1qAg+MvjYQTreqsQCvZK/JJZlqqfymMY83u++jxIcQwwsR4q6pb4c61 mma6fM9NICvVrnMUOKaOzucwjqns8iRuA7fZAjeQA1y6qoeSp1iP8yu4HwlUTyxAu2Lv cWcA== X-Gm-Message-State: AOAM533S9DeuktIMcdI5orVQGFtRhHvncFjd0mDHhML9mTLJ6B75vHaa D2XOSPBRp0rs39oFtmEBEXF1xQ== X-Google-Smtp-Source: ABdhPJz+zBLjNMtTAkRpY8Bqlfb5jRoe4b4kXclN6HEEszc34CvpCg6cluG5/xfolZQyW6Bj4pbxTw== X-Received: by 2002:a5d:6411:: with SMTP id z17mr21002442wru.112.1605548488615; Mon, 16 Nov 2020 09:41:28 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/42] drm/mediatek/mtk_dpi: Remove unused struct definition 'mtk_dpi_encoder_funcs' Date: Mon, 16 Nov 2020 17:40:37 +0000 Message-Id: <20201116174112.1833368-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_124129_735612_AE457369 X-CRM114-Status: GOOD ( 12.95 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , Philipp Zabel , Jie Qiu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Daniel Vetter , Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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 Mon Nov 16 17:40:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11910199 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10D24C2D0A3 for ; Mon, 16 Nov 2020 17:43:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A5CCE20B80 for ; Mon, 16 Nov 2020 17:43:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="M9/pxS7+"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="iE+GfQv7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5CCE20B80 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ANVjWtTMRzsjsyyHwfA/5z1behKxAVxLZJZE+/3cQxY=; b=M9/pxS7+46hmZNpGilxlgRNf3 7Bs6U6ZVQTAuxz/GRxvCuaNB3F9g2DMtWuzSBigGLY8pouFqFVvXKVsE+/vQS1jPVt38yTDQv5epl 8pYF4klojESoo+Vtu/R2XxiuZqPc2qn0x/sq3RrwLd5+Jk1viKnQmYUuJeyZi9BuK1zHJIIK14b/s /UhycF5bqKEHcEUJCsUKEnPBW4Cf0QC+jirkne8PLbixv+R0wPdTo1d1x738rMmZoLglL5DvTZp/9 A1ijLhqHipR5NqqU9/9/FR4LG+u/HmG8QqBzKw4Rt89Pr6bQWOmee6X5yVOukF4LG9LLZ/BK5rrKo ylY5XM54w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiXQ-00050z-MR; Mon, 16 Nov 2020 17:43:37 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVP-00040X-CU for linux-mediatek@lists.infradead.org; Mon, 16 Nov 2020 17:41:37 +0000 Received: by mail-wm1-x343.google.com with SMTP id s13so32968wmh.4 for ; Mon, 16 Nov 2020 09:41: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=E894eMua3BcyVtBQpbTegYEGiTjlkwuli5uk69Q3IOw=; b=iE+GfQv7S+GSvLz2XqilNiYCnjVAF3dl0i1NdZt+LoSFIRELaZUc3+iVqUhwSYL0aL pjti1ADepOb4FJkdojySoQwMDaPrwh7j6aO88NbHuD+w84SjoGK0W2eUvbUHE5pG9eNr pViE4R8pwS1eyXthtq+uAS/Y9RT47NfD5j64F8teilBivL8FdqFk6gOihpy9n8yRTglP lisu3mYddSpY3XWHFLYoda6EU319ZkdjHtvRyPZaVUwaz1/TvNiXMv3VWuIHTWT9xLbf Rcelarr0lAeUtKHga5xymhwhANiCRxFrOKVXBl4V0qNoneN3zTpuk3fXRa9q4v3ewMbx bMTg== 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=E894eMua3BcyVtBQpbTegYEGiTjlkwuli5uk69Q3IOw=; b=pzkonU5unQffk0PEs6Yp8cbrAM7k3FO82PTaEkr3kzoXiz6WvFU6Iabni5pjn/J8i7 yv4erMJpLYiZIofy9f8CnQbOs1z8R0FrvYRgXs1E5Kuo+85OXkyQGA2Q3YxnNYdd9VRg 3O8PbRscqLPY+ORXdvT8hqQDmhVJdTVbnLURKBK8Zut+WuxPflHK3t7EmWqyma6ZEuUH +gLJ5ykFbL11CY1o+RopBpEnvAlSc+VwrQnnembzKI0dWUvdgum7UT4JSEh/g98LaKjg uGEW/0R/0AZq0LgRPaa1ZAEZOper6VP59xJm52+P2AOMJJzw3X69UFY4+YIGLk38KPbi scEQ== X-Gm-Message-State: AOAM530O3ETGH9K7W84sAZ8KTjzqBlRkA3jOT10ca0TYRzLMxIJIGiG4 Ww/g9jqLiupugOaCjNUsmrHDdw== X-Google-Smtp-Source: ABdhPJyAtdkZ7H/8C+uFfj6r311zF9vn30gnWin/fN7tzo1uOND51VmS8moUU4d/wdcd/nghzYnvaQ== X-Received: by 2002:a1c:7202:: with SMTP id n2mr39184wmc.38.1605548489918; Mon, 16 Nov 2020 09:41:29 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/42] drm/mediatek/mtk_disp_color: Fix formatting and provide missing member description Date: Mon, 16 Nov 2020 17:40:38 +0000 Message-Id: <20201116174112.1833368-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_124131_615231_9B573354 X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Daniel Vetter , Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'ddp_comp' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'crtc' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'data' not described in 'mtk_disp_color' 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_color.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_color.c b/drivers/gpu/drm/mediatek/mtk_disp_color.c index 3ae9c810845bb..a788ff95ed6e4 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_color.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_color.c @@ -30,8 +30,9 @@ struct mtk_disp_color_data { /** * struct mtk_disp_color - DISP_COLOR 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: platform colour driver data */ struct mtk_disp_color { struct mtk_ddp_comp ddp_comp; From patchwork Mon Nov 16 17:40:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11910201 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A909EC2D0A3 for ; Mon, 16 Nov 2020 17:44:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D7CF20B80 for ; Mon, 16 Nov 2020 17:44:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j6I8fG7f"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Zrf2ywI6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D7CF20B80 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cTOqss6Bd6r7J7OKVMzLTV2r566Pygm/hhUT2pjaIro=; b=j6I8fG7fq4QC7GU6pQ83Zla94 h9uGOR/zWPt3jiYyIIbBJPth4kXlqWxZxGG1HDVDlFGiISM5YrYdnp9vTBvYv2gSFKV5S6wyVgMMY KfcFoDDdlekUjYfG7YKIAw7iFqZefB5Cq1Vq/wjuqdsGjkeTaGpCb4Ksikxnu+SnhRTAUJltQDNH7 YW4YIpcnR7L5kny7ivEVl7cRNPRslrbz1EFlesUpE4U232+JQFih6CYCZuQxFnBsYGtg+np2D+xl7 usfkxQYuzPVr8uGjjTsVbH2Ewl5kt01Y/0axx0NJt7Z/axMEygxKU5DzN/d6zFK7mJke4J0yF1rb6 lMveqqeaQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiXf-000587-1W; Mon, 16 Nov 2020 17:43:51 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVQ-00041i-M7 for linux-mediatek@lists.infradead.org; Mon, 16 Nov 2020 17:41:39 +0000 Received: by mail-wm1-x342.google.com with SMTP id p22so43781wmg.3 for ; Mon, 16 Nov 2020 09:41: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=lV20qvkcXuKJ/8kdoQy2xSMx6pSot2KZYylCMdc97vk=; b=Zrf2ywI6nk+V0LerSSoBh85knKxg9wJ+fPH0SnSGqaqQ12rxleOIn+iiCOD32LvrWe Bkf/Wb6oGiBXh81lSfbbUzMj46qGlT4x4+1uL52OqwD66udoi+19y2OiHokqejefMpki LmeWQ+MHrkhBMuJk+MdgLyk7MESyvv31arSx0QUkqSIS1x66KRZp1d4y24TPZMNm83lQ Z/8XQ6zO07K0BXmGzG4J9egEP+HIctkyoaLLrtPIWFXQNAkfouPKrKFL3r8kdJz9S87x 0LJf4EPdEEJ9lt64nU1UXv2v/MlEJ25+E2sOtvy96/QpqSBFGgfC2NTk1OGeGMfirb+6 SY+g== 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=lV20qvkcXuKJ/8kdoQy2xSMx6pSot2KZYylCMdc97vk=; b=Jy7KpqZF5TCvNu16bVtX8FmmH4fKdT8fq9ImUEp2wNcc99kf1iPWREyH9r9tIBYadT og/gxfTMS9PG/lpceZG3ESycadJNFhmhfbFACav8wOA1MMEA+QFt9YeE9AjWL35g7dZt 6+rXeTcy1GCFdAYBZLOxfkWsKA1H2/iFKC41xQ1bgIBpu1qHplawDopAqQv52RK4ykyM PjnYyYyHlONuEzZpGMcI8u2VhCMM3fBGaHQeQvDMJ4J58cNpyn48Q9dozg3ZasA2Mz+Q cw36HLSgoNWJvY3PypmpbJRTN+zmp642m9GPN8LuaKMmPrb661ZC5NVvV4ZN2+O8o5Sw B+6A== X-Gm-Message-State: AOAM531cdRbPJZ2GdzgPfPJuhMiSxtgBWwIvwgeosKxBWSQx41wGViqu TiDzrQQLrj+m8XJpNSU/c73VmA== X-Google-Smtp-Source: ABdhPJxIdXRERwdbm0KN6pgN4q/8GjFcbWLDvydipEOB1BxVtliCNpiCbiQUfPa+193dGkiQ5Fu86A== X-Received: by 2002:a1c:658b:: with SMTP id z133mr7692wmb.1.1605548491414; Mon, 16 Nov 2020 09:41:31 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:30 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/42] drm/mediatek/mtk_disp_ovl: Fix formatting and provide missing member description Date: Mon, 16 Nov 2020 17:40:39 +0000 Message-Id: <20201116174112.1833368-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_124132_991024_0F07C19A X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Daniel Vetter , Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'ddp_comp' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'crtc' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'data' not described in 'mtk_disp_ovl' 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_ovl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c index 28651bc579bc9..74ef6fc0528b6 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c @@ -65,8 +65,9 @@ struct mtk_disp_ovl_data { /** * struct mtk_disp_ovl - DISP_OVL driver structure - * @ddp_comp - structure containing type enum and hardware resources - * @crtc - associated crtc to report vblank events to + * @ddp_comp: structure containing type enum and hardware resources + * @crtc: associated crtc to report vblank events to + * @data: platform data */ struct mtk_disp_ovl { struct mtk_ddp_comp ddp_comp; From patchwork Mon Nov 16 17:40:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11910205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E6B7C2D0A3 for ; Mon, 16 Nov 2020 17:44:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 02DD520B80 for ; Mon, 16 Nov 2020 17:44:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Vn66JELI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fBeX27nB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02DD520B80 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Iprok3jqgLMQqvWXOMAbLz8FOSDl6lEjHiiDwsmjz/A=; b=Vn66JELIGGapupPRKu21Zuf0z ksouJuxHT2eGcBVO70lk71dFE7c6HUwa6DWfKW3NI4nBfp8OHu+nF0vrdvzRg2xVLVOlEX7sLlGA2 eoDr5uFB3Jh1LjzOb68gPFmkEry8VBEb+wnKpXbdyaBY9R3Xq7QgL2Clo0oSDmwBmZ66pcbiafpyO Ym/g3HuVNnHq6FQT4mnXY8sWuZjePMny9FdpIJU13J3Tr3s5cnGCtMhxwdcrhXc8yP9RHYDbaLqel zNbd0T9fJCoMjgtjacttV6X+9oIU65xyHgZBlvUbl3tvMZnItIEDpdX4cBsIBrcDLhtDy3ya+NYxJ UOwkOyeTA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiYB-0005Qm-5k; Mon, 16 Nov 2020 17:44:23 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVT-00042t-Eu for linux-mediatek@lists.infradead.org; Mon, 16 Nov 2020 17:41:44 +0000 Received: by mail-wm1-x342.google.com with SMTP id a65so48868wme.1 for ; Mon, 16 Nov 2020 09:41:34 -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=fBeX27nB366IYVH1W9juPZSpXK3wrkLndU8rdMtDvtddcQYffNN/LCMVS3P9DlfHOs C5uysVVIQlWEWxVvlzscOvU0YoKxFJPx62xbo8UNuLrVjxrOxb+7OsKEjsql2rq4foOz rqRfHEgrw79NMWdcMNTQ7jsrN2mAwn636r7qAAy1KiieowRf+XdzZfdU56Lu/WGbE9N9 OuDX0zw3ZCX8RMZamB2HI4m6uaOZHYIexPeAlucHjoHho9jOXQv8+wVypU0AflPNRuy6 MXcezHcvh9WjvmTZ5N/BZ44vefZaKq4vqG761nroGip4JTXBD3yPvgvqiQr4Gf1xsLc6 ESmg== 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=QMZpByTQpp2xTd+nYRUmxEbP7EXJ1WPwOd0jVr1g/hvvCnGrMAzK2+BRCsbZfg1sPs zGU3F1qjOjROdyovmoqhA7zDo5/HayCTFAVHz0nAuYMNiZUj0w/aF7MyCejJc74Q35WU OHYI5y3bBInSZn0fNvGvQW+0mDLnncpjug+1pJOGBgmnFjO7LKWlk0rEXWPuGjUSyvWo 47iwHVHw03EhLkJxQCbJddLw3YuYL39QweSd0t0S5WvCTrdNAc11ayUoaVN5imnsBm5E /RTO9dc5GHKA1ENyfIvV1eH9BMhm7kmrhpiGRswibU908wNFEslPMi8cQy5pS4bn0pfM 05ug== X-Gm-Message-State: AOAM532erta+ysU8lbm9VnDrG6HLixSaxlYTIv1u7vMZaLsThRRO1DBk bMkaD3wsJSy1Mq69j2RbfpYU9w== X-Google-Smtp-Source: ABdhPJx+DjhnZ+3t53J8dx2EwysUVrWUxuaviQMjGuBmn9hdukh9eFyNPCUzF5Q2JEQuhsfmK3NPfw== X-Received: by 2002:a1c:4d0f:: with SMTP id o15mr21228wmh.142.1605548493144; Mon, 16 Nov 2020 09:41:33 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:32 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/42] drm/mediatek/mtk_disp_rdma: Fix formatting and supply missing struct member description Date: Mon, 16 Nov 2020 17:40:40 +0000 Message-Id: <20201116174112.1833368-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_124135_997519_410AF287 X-CRM114-Status: GOOD ( 13.43 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Daniel Vetter , Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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(-) 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 Mon Nov 16 17:40:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11910203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8767C2D0A3 for ; Mon, 16 Nov 2020 17:44:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B24920B80 for ; Mon, 16 Nov 2020 17:44:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uxJFZ1JN"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="kqhZccK8"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gfFikjbN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B24920B80 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=W8aLJt1NVBZOsNWulPBuZoGtue+d0MKzWxOgckN225s=; b=uxJFZ1JN/7izusqiYTTF786XH 25HM+t9EdjiGbz4Y/kW3kiCRpX+Ivvo+Q5sMzd95t7tsyXveMmkq33cMsYdMnsQNqTrb7vvkP5yQq DhAIpYtvmk1gmFeddHUhGQkJKOx1Ty9iBpVGM0oai5raYFyRUJDewR0pQZAni8Nt56+FU5Q/3VlDt N9yZKRkzKt6R8Xe0QQTD/ZsI/uV27DaNYOYo4VIkZOqcv20JoKhngwgBiM6zquoLWa+ry2VW62Ujt /zXb9cJZUlDZSgDD2XrakdpXudsAlbcKsG+WlkefJF0dxLDl41PHxXnn7Mmmlcl23AhdASPboZZmh bAa7/qpnQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiXy-0005Hx-1Q; Mon, 16 Nov 2020 17:44:10 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVb-00048A-C2 for linux-mediatek@merlin.infradead.org; Mon, 16 Nov 2020 17:41:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=pCTuXmjwQai/CDFPUzQ3kg8YDOVHQv+4DVCFDqYGwk4=; b=kqhZccK85qZbzn0cPk08Ee7bNp c0HK/THCJ2qtLFvQxdeAIHE/8NKYHq0dJ+cbjRUxFnzi6VX3wVAGlT1E9sUQqOTMrbI9bdVKReV4o V3o6EQtPTcnpVKVtWtt/l3C4N96kHjH8MbMOzXh7Rmj4YfvyZfiIieTygM4Fz2hWprvSWAqj7JYJC IepPab0Pv7kbZgmozC5q4lGXL7pu9UOTn42iQSP1RRRrsSc9zSNqsh02BMS3n6wEMEibyrPbdQlmz bbxn3o/ZACP1qiBOl67bwsS0icbU9y9X+DgpCEVlV4ExIGZKP3jjRlWhqZ5EXEB22t+mM9OyCUZdb /B0Fl1+g==; Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVV-0001GP-9P for linux-mediatek@lists.infradead.org; Mon, 16 Nov 2020 17:41:41 +0000 Received: by mail-wm1-x342.google.com with SMTP id 10so49087wml.2 for ; Mon, 16 Nov 2020 09:41:35 -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=gfFikjbNe9YkvOd+VXcfbf0J4Wd2441zhnFbQBUFTSfGl/11fLgrzMNsROSrDNKZnB 56O56aOR/HmR02tQ/3tiNJAhdUCmKv3PyRLNB0tFPnqebgucJjargzJMwuSJqsg4qUDz lUADz1TsIKFAEDWw/i6YYk8HVxvDJqeRjFeh11I8P7jIVCANAQ8XqJPeo2AmjbptibFD 3BUaOo+e/x2FHDxxqyNUMx1CFmyFSNvfDMIXzxiO4enNnSLj6DwZyaW/AX6d3z+XhZkM Hol8SB/aqA0USEkFwB5UEN9vO92vFQ3LpEYj0SMeSchExJmGtxQjQooiNX6+MTrjskNO qkgA== 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=ULD6mx0xJlgiOfF2z8LqSKFPCXN+0oX2b0XDD4DIglyYLnLwUMtWzeKNlpo36eLoGJ yZIqWuybfOu/SIkCD9Ex31tyDH3QFDKm3pIx9Awq1fxbdmP7va7taehTqxINgUESeczE eNDOEyDfptnrcs5noxg7v23gJ4BYfryJEqcy2Dn85TUYVRbj+QmkJuRZk7Sgj3zEPCCB d3OQzDNOsCeRew83xzsh9tWPw283BNWofNO9tZz5gU2VErJUn4RyPaPhqg2MSamT5Jje WzF/QnuEILILvqA7Dja4dyxL2nTqnM+9GKJ6E9f5iYlyGCtnSD7VP8gbnhJzkuvTkCw4 cdaQ== X-Gm-Message-State: AOAM533Dk7NQrq+6CbXW9b5qkRzGXJycg/bo3GBTOE9+M5bW1pT43Vyl 7wOlpAAuxqnHtXUSU8oGQLNzL5FYt9Bu34bJ X-Google-Smtp-Source: ABdhPJwrqzcWWtyPydLaEIxmPE66hOyh5iCvJ3dX8GBSzMZleXIeT0J7SjvsguKoHdDSGAfq4DLbJQ== X-Received: by 2002:a1c:9ec9:: with SMTP id h192mr48224wme.8.1605548494375; Mon, 16 Nov 2020 09:41:34 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:33 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/42] drm/mediatek/mtk_drm_crtc: Demote seriously out-of-date struct header Date: Mon, 16 Nov 2020 17:40:41 +0000 Message-Id: <20201116174112.1833368-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_174137_628493_0D1657A1 X-CRM114-Status: GOOD ( 13.53 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Daniel Vetter , Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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(-) 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 Mon Nov 16 17:40:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11910207 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93E99C4742C for ; Mon, 16 Nov 2020 17:45:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 24EB822265 for ; Mon, 16 Nov 2020 17:45:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cxvfKFAX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="k6Jv+7mH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24EB822265 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mz5480bA0ciwlLQG8kn3eT6+lG1YXdtoBsAEVs9EVD0=; b=cxvfKFAX4fi2xJyyDLfokPxH3 cMFEDP+cEPn8yrXuTervzi8Qls/iBaUJa42sr8oWkk5EiMw5dvUJHg8b6KdI30yYwpCDeX2rQC+iY BO7y8RvI9zOJqty7+VSiFcwxryHFd9DAloALpYqeiLt4fEUcTq3eYLrkLGc3k4VCEYcGn1QPq34/D vlvgpmbZKWBPIm6m2MIcvTqWFq8AhqC+5jRWCUjNRY/BTiFGGHkkpbSBWe0381HwiGT800g37i9Hi C/i7P7EuobSd36TJld7m0fpG/+HnMY86X0Vi8oB6kgk9zSZFkP/g1bu97hdJOA/O4rxxA5IEdyzk2 RM/6e/XUA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiYt-0005tZ-3V; Mon, 16 Nov 2020 17:45:07 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVV-00044q-Iq for linux-mediatek@lists.infradead.org; Mon, 16 Nov 2020 17:41:49 +0000 Received: by mail-wm1-x341.google.com with SMTP id 10so49235wml.2 for ; Mon, 16 Nov 2020 09:41:37 -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=k6Jv+7mHwhLKPJA/QCG06ugtxDKWpQTKy+20nzwFKSS58MARf4S8W8ACDDJb9At+kN Zj7BRm0cL5pJuZG03JgKNEOyxkFzKQDZEoeq6JKwur3GNW3waj1+cD/cATWqphXb/N3E Hwel7NdYgPQ30GBKTzLyGySsqlcZlYoScXIJf5HNpiV7Q9NiuYvKyh5I1UrBg1kr6UbV iCLuVTvJ0zQs9VHfs2J9H/qqPEg7slFJP5MGKs7bVItDI9ChEjoM5eM4spQGw5YLHt1S zBTagqyBF4NDMKbJ0sdlBYLtRa1aopP+KNyfSJbABRD/2iFY3eTiXtqFZBU8xFpxWZ8o d/bQ== 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=cpQnKAsHx298Em6pfFwxKBbdIxOY4T26rhI27teCd/fJvZlxVZhFL7BqAvoNhZ8m+Y NxTW/iuchwhvQhLXby8cjxg+iTjAwrOOtdWram6Y5pxx5N/yVOGhLeTqkliQGbsGFqXH 5FuecqQhTAaa0e9A5lk2BPv0I1Mm6Cl3jFS/LG5pqcIW8MnAT97qrm2aMCbCGUyf6ck7 leeMoIpMuWPKvwTksfSxP3t4TWCGeSHyCK8T9xQ0E65sXOkJhA+/nYKGtDt8yeoLk0pC dHR3KPyqAmcS69K6HQe8rOv1dszPDQJaQodlw2sU025cU+Rk+yCp6x+G5HBMdJNQAOA2 eqZQ== X-Gm-Message-State: AOAM532rN0HCMobis0u5cWO+XLXBxj0z8bovU8AHU4HPrBuLrYwoyDyO /R4jwN3Otk0cDEdUX8iM2y2mtw== X-Google-Smtp-Source: ABdhPJzqHnsBJooc4S8laQMeNPmpnnuKV6rHd3UhDvssbsZxsM79tG8D8ZiF2nH5S1+VMw/gXxelZg== X-Received: by 2002:a1c:5f83:: with SMTP id t125mr30364wmb.82.1605548495973; Mon, 16 Nov 2020 09:41:35 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:35 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/42] drm/mediatek/mtk_drm_drv: Staticise local function invoked by reference Date: Mon, 16 Nov 2020 17:40:42 +0000 Message-Id: <20201116174112.1833368-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201116_124138_172175_F5389C15 X-CRM114-Status: GOOD ( 15.78 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?utf-8?q?Ch?= =?utf-8?q?ristian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, linux-mediatek@lists.infradead.org, Daniel Vetter , Matthias Brugger , Sumit Semwal , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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;