From patchwork Fri Apr 16 14:36:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422505 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447258jaf; Fri, 16 Apr 2021 07:37:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKLPzcCHVB36xSaUDvpy1HlfT4YTYYh2aisg5FWgzpCuYjDNSPzWbic7i97vLZz+BNAQSc X-Received: by 2002:a17:90a:fa0c:: with SMTP id cm12mr10224437pjb.54.1618583857664; Fri, 16 Apr 2021 07:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583857; cv=none; d=google.com; s=arc-20160816; b=QyfbXD/9WPwoaC5D9sLZucDTbbtxxxgmbmL4GumndaBmxULjW6AgSUbRHiSnfM5IRD jx8HGLIe/799LO03eRPA1eoRfyA60Mc3uItg8/ldDq+7ZKGtYoXbDiF7I39ETQnVFUyG Tl41PHINpf3AF3g4EoaBw2S0EifwrnQkzhBI2SuSjWqwKfmoVGC6nm+Pbf8vsfG0IREa viigurDzB5VP+kjIEwW7WItKdkYuvcQThx24YFAqkOtXDNPVuGVq0nwXJx/1jAQ86CWG kC3/D4skeFCGKFdpk9baoAqazRsSGyKd42mHGV6H9Rag4gykj5HJbge1K6xjpbzmoGaY lErw== 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=bp0FyHR1Z8Mq/gaCRs+tw6R/CfyIezIe/9TPGWccy2E=; b=SzuzhZncZXgWT/mHHA7GwkR6JMYE6EjPXcay3/mFad/ZFo9AZVFjRXdhZmEEY8nkDo TsIMASqdPYJeuEK6PenRCxCgOsDGMKEEaMczVzBvJLSwbTXNqz6+Esp9NC9etdU3r5vm t/jUO98ZeW+Rs1u2se2Digr3F9ad7e4J4GFsC2nheRSOpKiNpdsdFnMMwuyzvqHv0DU2 M9foh1FP0rdfVeP6i+EhCphYKLX+PEnD8/n7TGqCekLCv3JG4l6S5bKgy+9iCUgDD1xg 9SbqF/lnNXYfIVYs4ulSxzjo69MxXHlfSHlDHjcB+4n4TOQ1NI4v9FSRGieWbmF+5dIz TsmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XRmWKOv6; 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 hk2si2117555pjb.44.2021.04.16.07.37.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:37 -0700 (PDT) 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=XRmWKOv6; 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 C294A6EBAA; Fri, 16 Apr 2021 14:37:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8AE9C6EBAA for ; Fri, 16 Apr 2021 14:37:32 +0000 (UTC) Received: by mail-ej1-x630.google.com with SMTP id g5so35778030ejx.0 for ; Fri, 16 Apr 2021 07:37:32 -0700 (PDT) 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=VYzn1VsttDc5u7AelF9CkTnKusclemxo5lG9PEnIZr0=; b=XRmWKOv6guMS+IbKQ1nR/MpGvYdxDko1xAVIYaWcKl6MamS0SVMmZ75XSFI9Cye0T9 9BS97ix3R0y3mYrYb3IGAzWkM+/yRwBl2Kv14MjYPqZ9610fIGglnsldbcoaC/fTjaAc mKPJeTjjwcj8QrmKXht0EOH3v3I7WTn1yl33O+nkUToCm8OePrZF98CDJk/zjE8FCnaQ PB85WEufp2gnvgizH6iUcLGRGTSbodFUjdm66bU6Gw9y7FmEateVNROgue7cOjxiyuYA zJM5Os0rkkBuUK6R4mh4wcOlnObvbNDYoDx5tNwiLbVxBpXu6j4jhQo1bcfl3ViUdw1H qyrg== 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=VYzn1VsttDc5u7AelF9CkTnKusclemxo5lG9PEnIZr0=; b=RWpAmfPi4cdzAOYby+TG9sobGIVm7BDrWgo2kLjp8mvbl7YvxEFViZjrSeOdx95QhV 6U7zIKzUULvpzGSnSQ9rkHi1Yza5TZ/rsBYUguKTRMLv8FzrpQeVVbWuGTjzPoHSZ8aV zL73mNno5itdieLShR84SSAgdPSq47Nri6K4yDAr1f1HP0LakAwaBp4IH8w7oFohosT4 2ua0cZLqoFSboy/etrCKL7Xf9NHbe6oi9hQ3SG/SBdOEJ9/8Il1Ya/qDBa+YNUy1vrOx LU+WI+d23pW4ARASOEpxF/TTwVQaSHTLb31+SE5NIDTkBmv6TzuQFWa5+oR9is/1Yzqq tYvw== X-Gm-Message-State: AOAM530o49kIngvuXnEi+xXQegbXoMDcBr6XhI4IPpSuKW9D06X1CHWp yBN10536ati0MnpIx8tV385Qcg== X-Received: by 2002:a17:906:a20c:: with SMTP id r12mr8479881ejy.554.1618583851199; Fri, 16 Apr 2021 07:37:31 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:30 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/40] drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc Date: Fri, 16 Apr 2021 15:36:46 +0100 Message-Id: <20210416143725.2769053-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:584: warning: Function parameter or member 'init' not described in 'init_reserved' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:611: warning: Function parameter or member 'init' not described in 'init_done' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:622: warning: Function parameter or member 'init' not described in 'init_io_restrict_prog' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:659: warning: Function parameter or member 'init' not described in 'init_repeat' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:685: warning: Function parameter or member 'init' not described in 'init_io_restrict_pll' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:725: warning: Function parameter or member 'init' not described in 'init_end_repeat' NB: Trimmed for brevity (lots of these!) Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- .../gpu/drm/nouveau/nvkm/subdev/bios/init.c | 204 ++++++------------ 1 file changed, 68 insertions(+), 136 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Karol Herbst diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index 9de74f41dcd2a..5a91dc4e5c8ec 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c @@ -575,9 +575,8 @@ init_tmds_reg(struct nvbios_init *init, u8 tmds) * init opcode handlers *****************************************************************************/ -/** +/* * init_reserved - stub for various unknown/unused single-byte opcodes - * */ static void init_reserved(struct nvbios_init *init) @@ -602,9 +601,8 @@ init_reserved(struct nvbios_init *init) init->offset += length; } -/** +/* * INIT_DONE - opcode 0x71 - * */ static void init_done(struct nvbios_init *init) @@ -613,9 +611,8 @@ init_done(struct nvbios_init *init) init->offset = 0x0000; } -/** +/* * INIT_IO_RESTRICT_PROG - opcode 0x32 - * */ static void init_io_restrict_prog(struct nvbios_init *init) @@ -650,9 +647,8 @@ init_io_restrict_prog(struct nvbios_init *init) trace("}]\n"); } -/** +/* * INIT_REPEAT - opcode 0x33 - * */ static void init_repeat(struct nvbios_init *init) @@ -676,9 +672,8 @@ init_repeat(struct nvbios_init *init) init->repeat = repeat; } -/** +/* * INIT_IO_RESTRICT_PLL - opcode 0x34 - * */ static void init_io_restrict_pll(struct nvbios_init *init) @@ -716,9 +711,8 @@ init_io_restrict_pll(struct nvbios_init *init) trace("}]\n"); } -/** +/* * INIT_END_REPEAT - opcode 0x36 - * */ static void init_end_repeat(struct nvbios_init *init) @@ -732,9 +726,8 @@ init_end_repeat(struct nvbios_init *init) } } -/** +/* * INIT_COPY - opcode 0x37 - * */ static void init_copy(struct nvbios_init *init) @@ -759,9 +752,8 @@ init_copy(struct nvbios_init *init) init_wrvgai(init, port, index, data); } -/** +/* * INIT_NOT - opcode 0x38 - * */ static void init_not(struct nvbios_init *init) @@ -771,9 +763,8 @@ init_not(struct nvbios_init *init) init_exec_inv(init); } -/** +/* * INIT_IO_FLAG_CONDITION - opcode 0x39 - * */ static void init_io_flag_condition(struct nvbios_init *init) @@ -788,9 +779,8 @@ init_io_flag_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_GENERIC_CONDITION - opcode 0x3a - * */ static void init_generic_condition(struct nvbios_init *init) @@ -840,9 +830,8 @@ init_generic_condition(struct nvbios_init *init) } } -/** +/* * INIT_IO_MASK_OR - opcode 0x3b - * */ static void init_io_mask_or(struct nvbios_init *init) @@ -859,9 +848,8 @@ init_io_mask_or(struct nvbios_init *init) init_wrvgai(init, 0x03d4, index, data &= ~(1 << or)); } -/** +/* * INIT_IO_OR - opcode 0x3c - * */ static void init_io_or(struct nvbios_init *init) @@ -878,9 +866,8 @@ init_io_or(struct nvbios_init *init) init_wrvgai(init, 0x03d4, index, data | (1 << or)); } -/** +/* * INIT_ANDN_REG - opcode 0x47 - * */ static void init_andn_reg(struct nvbios_init *init) @@ -895,9 +882,8 @@ init_andn_reg(struct nvbios_init *init) init_mask(init, reg, mask, 0); } -/** +/* * INIT_OR_REG - opcode 0x48 - * */ static void init_or_reg(struct nvbios_init *init) @@ -912,9 +898,8 @@ init_or_reg(struct nvbios_init *init) init_mask(init, reg, 0, mask); } -/** +/* * INIT_INDEX_ADDRESS_LATCHED - opcode 0x49 - * */ static void init_idx_addr_latched(struct nvbios_init *init) @@ -942,9 +927,8 @@ init_idx_addr_latched(struct nvbios_init *init) } } -/** +/* * INIT_IO_RESTRICT_PLL2 - opcode 0x4a - * */ static void init_io_restrict_pll2(struct nvbios_init *init) @@ -977,9 +961,8 @@ init_io_restrict_pll2(struct nvbios_init *init) trace("}]\n"); } -/** +/* * INIT_PLL2 - opcode 0x4b - * */ static void init_pll2(struct nvbios_init *init) @@ -994,9 +977,8 @@ init_pll2(struct nvbios_init *init) init_prog_pll(init, reg, freq); } -/** +/* * INIT_I2C_BYTE - opcode 0x4c - * */ static void init_i2c_byte(struct nvbios_init *init) @@ -1025,9 +1007,8 @@ init_i2c_byte(struct nvbios_init *init) } } -/** +/* * INIT_ZM_I2C_BYTE - opcode 0x4d - * */ static void init_zm_i2c_byte(struct nvbios_init *init) @@ -1051,9 +1032,8 @@ init_zm_i2c_byte(struct nvbios_init *init) } } -/** +/* * INIT_ZM_I2C - opcode 0x4e - * */ static void init_zm_i2c(struct nvbios_init *init) @@ -1085,9 +1065,8 @@ init_zm_i2c(struct nvbios_init *init) } } -/** +/* * INIT_TMDS - opcode 0x4f - * */ static void init_tmds(struct nvbios_init *init) @@ -1111,9 +1090,8 @@ init_tmds(struct nvbios_init *init) init_wr32(init, reg + 0, addr); } -/** +/* * INIT_ZM_TMDS_GROUP - opcode 0x50 - * */ static void init_zm_tmds_group(struct nvbios_init *init) @@ -1138,9 +1116,8 @@ init_zm_tmds_group(struct nvbios_init *init) } } -/** +/* * INIT_CR_INDEX_ADDRESS_LATCHED - opcode 0x51 - * */ static void init_cr_idx_adr_latch(struct nvbios_init *init) @@ -1168,9 +1145,8 @@ init_cr_idx_adr_latch(struct nvbios_init *init) init_wrvgai(init, 0x03d4, addr0, save0); } -/** +/* * INIT_CR - opcode 0x52 - * */ static void init_cr(struct nvbios_init *init) @@ -1188,9 +1164,8 @@ init_cr(struct nvbios_init *init) init_wrvgai(init, 0x03d4, addr, val | data); } -/** +/* * INIT_ZM_CR - opcode 0x53 - * */ static void init_zm_cr(struct nvbios_init *init) @@ -1205,9 +1180,8 @@ init_zm_cr(struct nvbios_init *init) init_wrvgai(init, 0x03d4, addr, data); } -/** +/* * INIT_ZM_CR_GROUP - opcode 0x54 - * */ static void init_zm_cr_group(struct nvbios_init *init) @@ -1229,9 +1203,8 @@ init_zm_cr_group(struct nvbios_init *init) } } -/** +/* * INIT_CONDITION_TIME - opcode 0x56 - * */ static void init_condition_time(struct nvbios_init *init) @@ -1256,9 +1229,8 @@ init_condition_time(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_LTIME - opcode 0x57 - * */ static void init_ltime(struct nvbios_init *init) @@ -1273,9 +1245,8 @@ init_ltime(struct nvbios_init *init) mdelay(msec); } -/** +/* * INIT_ZM_REG_SEQUENCE - opcode 0x58 - * */ static void init_zm_reg_sequence(struct nvbios_init *init) @@ -1298,9 +1269,8 @@ init_zm_reg_sequence(struct nvbios_init *init) } } -/** +/* * INIT_PLL_INDIRECT - opcode 0x59 - * */ static void init_pll_indirect(struct nvbios_init *init) @@ -1317,9 +1287,8 @@ init_pll_indirect(struct nvbios_init *init) init_prog_pll(init, reg, freq); } -/** +/* * INIT_ZM_REG_INDIRECT - opcode 0x5a - * */ static void init_zm_reg_indirect(struct nvbios_init *init) @@ -1336,9 +1305,8 @@ init_zm_reg_indirect(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_SUB_DIRECT - opcode 0x5b - * */ static void init_sub_direct(struct nvbios_init *init) @@ -1362,9 +1330,8 @@ init_sub_direct(struct nvbios_init *init) init->offset += 3; } -/** +/* * INIT_JUMP - opcode 0x5c - * */ static void init_jump(struct nvbios_init *init) @@ -1380,9 +1347,8 @@ init_jump(struct nvbios_init *init) init->offset += 3; } -/** +/* * INIT_I2C_IF - opcode 0x5e - * */ static void init_i2c_if(struct nvbios_init *init) @@ -1407,9 +1373,8 @@ init_i2c_if(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_COPY_NV_REG - opcode 0x5f - * */ static void init_copy_nv_reg(struct nvbios_init *init) @@ -1433,9 +1398,8 @@ init_copy_nv_reg(struct nvbios_init *init) init_mask(init, dreg, ~dmask, (data & smask) ^ sxor); } -/** +/* * INIT_ZM_INDEX_IO - opcode 0x62 - * */ static void init_zm_index_io(struct nvbios_init *init) @@ -1451,9 +1415,8 @@ init_zm_index_io(struct nvbios_init *init) init_wrvgai(init, port, index, data); } -/** +/* * INIT_COMPUTE_MEM - opcode 0x63 - * */ static void init_compute_mem(struct nvbios_init *init) @@ -1469,9 +1432,8 @@ init_compute_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_RESET - opcode 0x65 - * */ static void init_reset(struct nvbios_init *init) @@ -1496,9 +1458,8 @@ init_reset(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_MEM - opcode 0x66 - * */ static u16 init_configure_mem_clk(struct nvbios_init *init) @@ -1555,9 +1516,8 @@ init_configure_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_CLK - opcode 0x67 - * */ static void init_configure_clk(struct nvbios_init *init) @@ -1589,9 +1549,8 @@ init_configure_clk(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_PREINIT - opcode 0x68 - * */ static void init_configure_preinit(struct nvbios_init *init) @@ -1615,9 +1574,8 @@ init_configure_preinit(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_IO - opcode 0x69 - * */ static void init_io(struct nvbios_init *init) @@ -1655,9 +1613,8 @@ init_io(struct nvbios_init *init) init_wrport(init, port, data | value); } -/** +/* * INIT_SUB - opcode 0x6b - * */ static void init_sub(struct nvbios_init *init) @@ -1682,9 +1639,8 @@ init_sub(struct nvbios_init *init) init->offset += 2; } -/** +/* * INIT_RAM_CONDITION - opcode 0x6d - * */ static void init_ram_condition(struct nvbios_init *init) @@ -1701,9 +1657,8 @@ init_ram_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_NV_REG - opcode 0x6e - * */ static void init_nv_reg(struct nvbios_init *init) @@ -1719,9 +1674,8 @@ init_nv_reg(struct nvbios_init *init) init_mask(init, reg, ~mask, data); } -/** +/* * INIT_MACRO - opcode 0x6f - * */ static void init_macro(struct nvbios_init *init) @@ -1743,9 +1697,8 @@ init_macro(struct nvbios_init *init) init->offset += 2; } -/** +/* * INIT_RESUME - opcode 0x72 - * */ static void init_resume(struct nvbios_init *init) @@ -1755,9 +1708,8 @@ init_resume(struct nvbios_init *init) init_exec_set(init, true); } -/** +/* * INIT_STRAP_CONDITION - opcode 0x73 - * */ static void init_strap_condition(struct nvbios_init *init) @@ -1773,9 +1725,8 @@ init_strap_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_TIME - opcode 0x74 - * */ static void init_time(struct nvbios_init *init) @@ -1794,9 +1745,8 @@ init_time(struct nvbios_init *init) } } -/** +/* * INIT_CONDITION - opcode 0x75 - * */ static void init_condition(struct nvbios_init *init) @@ -1811,9 +1761,8 @@ init_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_IO_CONDITION - opcode 0x76 - * */ static void init_io_condition(struct nvbios_init *init) @@ -1828,9 +1777,8 @@ init_io_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_ZM_REG16 - opcode 0x77 - * */ static void init_zm_reg16(struct nvbios_init *init) @@ -1845,9 +1793,8 @@ init_zm_reg16(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_INDEX_IO - opcode 0x78 - * */ static void init_index_io(struct nvbios_init *init) @@ -1867,9 +1814,8 @@ init_index_io(struct nvbios_init *init) init_wrvgai(init, port, index, data | value); } -/** +/* * INIT_PLL - opcode 0x79 - * */ static void init_pll(struct nvbios_init *init) @@ -1884,9 +1830,8 @@ init_pll(struct nvbios_init *init) init_prog_pll(init, reg, freq); } -/** +/* * INIT_ZM_REG - opcode 0x7a - * */ static void init_zm_reg(struct nvbios_init *init) @@ -1904,9 +1849,8 @@ init_zm_reg(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_RAM_RESTRICT_PLL - opcde 0x87 - * */ static void init_ram_restrict_pll(struct nvbios_init *init) @@ -1934,9 +1878,8 @@ init_ram_restrict_pll(struct nvbios_init *init) } } -/** +/* * INIT_RESET_BEGUN - opcode 0x8c - * */ static void init_reset_begun(struct nvbios_init *init) @@ -1945,9 +1888,8 @@ init_reset_begun(struct nvbios_init *init) init->offset += 1; } -/** +/* * INIT_RESET_END - opcode 0x8d - * */ static void init_reset_end(struct nvbios_init *init) @@ -1956,9 +1898,8 @@ init_reset_end(struct nvbios_init *init) init->offset += 1; } -/** +/* * INIT_GPIO - opcode 0x8e - * */ static void init_gpio(struct nvbios_init *init) @@ -1972,9 +1913,8 @@ init_gpio(struct nvbios_init *init) nvkm_gpio_reset(gpio, DCB_GPIO_UNUSED); } -/** +/* * INIT_RAM_RESTRICT_ZM_GROUP - opcode 0x8f - * */ static void init_ram_restrict_zm_reg_group(struct nvbios_init *init) @@ -2010,9 +1950,8 @@ init_ram_restrict_zm_reg_group(struct nvbios_init *init) } } -/** +/* * INIT_COPY_ZM_REG - opcode 0x90 - * */ static void init_copy_zm_reg(struct nvbios_init *init) @@ -2027,9 +1966,8 @@ init_copy_zm_reg(struct nvbios_init *init) init_wr32(init, dreg, init_rd32(init, sreg)); } -/** +/* * INIT_ZM_REG_GROUP - opcode 0x91 - * */ static void init_zm_reg_group(struct nvbios_init *init) @@ -2049,9 +1987,8 @@ init_zm_reg_group(struct nvbios_init *init) } } -/** +/* * INIT_XLAT - opcode 0x96 - * */ static void init_xlat(struct nvbios_init *init) @@ -2077,9 +2014,8 @@ init_xlat(struct nvbios_init *init) init_mask(init, daddr, ~dmask, data); } -/** +/* * INIT_ZM_MASK_ADD - opcode 0x97 - * */ static void init_zm_mask_add(struct nvbios_init *init) @@ -2098,9 +2034,8 @@ init_zm_mask_add(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_AUXCH - opcode 0x98 - * */ static void init_auxch(struct nvbios_init *init) @@ -2122,9 +2057,8 @@ init_auxch(struct nvbios_init *init) } } -/** +/* * INIT_AUXCH - opcode 0x99 - * */ static void init_zm_auxch(struct nvbios_init *init) @@ -2144,9 +2078,8 @@ init_zm_auxch(struct nvbios_init *init) } } -/** +/* * INIT_I2C_LONG_IF - opcode 0x9a - * */ static void init_i2c_long_if(struct nvbios_init *init) @@ -2183,9 +2116,8 @@ init_i2c_long_if(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_GPIO_NE - opcode 0xa9 - * */ static void init_gpio_ne(struct nvbios_init *init) From patchwork Fri Apr 16 14:36:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422506 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447293jaf; Fri, 16 Apr 2021 07:37:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHeYYGJMSOn9K0hiPxa3WMKv6BnEH9tOLS6AYmtCztrNSQmbsv2crwKCCUZqQO6ryJa2lp X-Received: by 2002:a62:63c7:0:b029:251:4c9a:5744 with SMTP id x190-20020a6263c70000b02902514c9a5744mr8515942pfb.39.1618583860104; Fri, 16 Apr 2021 07:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583860; cv=none; d=google.com; s=arc-20160816; b=EmTklfQYmng/pHxZDip3AjhTTYcUJlXBmOGveae89Cabq7ptjHtgd8XzBdrcV9H+nu f0CIg9l32AmVgnTzi6tcmTfA0MrwuEm87U8XPfSGNzQo/qyonFFsyuAR4JAHHkLKUSIj phxFgcuh1EToINg1z6P3FOqBD4BEBZB4JC684c0/C5VPEoULF3sl8aFmkarhXMudrvPo HWED3eBm4MJ+X2hPcFnMLiW/xIq5onzPeMIKPqbamKB//BvndqwGJ9nneLGWYheRiKCn tTbPAmdJKPeB53S7Xaew3cBZYMtkr4tk4TlPx7p8R0B9sUZiCTOdoszxO2VnnSw9fdDm dKCw== 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=yHR+HDJo2wd7cBio0YiLAhMA6L/JfZb+poOOrQl0cEM=; b=Mta2pn34eya9120cFD/EMvCAYplpRCHLubfvoTAiCtEItB+e3VIqFSnrcSk7PcH/3r GDUkKGMT+7vFd5WTTazhuLviSLHevUc/dWrANiG8Ap8qNPtzwoMnPuWV2RccHyNFV/lE KTAG7OBBhYn7Rg6YR3qxzmtMlKwkjlJChHcvHFbLcOyqdeQBV1FC52WKKmpQq43SdCe+ CM3So6b1CMC2pUnoHw1zcAOue/QdHKM3BiTCrgUoI8A4gYfTBHIunsDuyplwp6NF0euV fPqp/Eu6E02cB53GDa1afNsqNmxWfi6SbkoFWP2pcAPmxS2Btnz4kQHZSWC+BWk7XPxG GW+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=rAeQAepk; 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 x1si6255450pgp.241.2021.04.16.07.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:40 -0700 (PDT) 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=rAeQAepk; 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 AB31B6EBB5; Fri, 16 Apr 2021 14:37:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by gabe.freedesktop.org (Postfix) with ESMTPS id B75896EBAA for ; Fri, 16 Apr 2021 14:37:33 +0000 (UTC) Received: by mail-ej1-x636.google.com with SMTP id g5so35778128ejx.0 for ; Fri, 16 Apr 2021 07:37:33 -0700 (PDT) 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=1EV1/WI0XFtiI+21vP83s/uEYxGv7mm0ay0nKpA5C64=; b=rAeQAepkPGd8RRBrjx7A0S/HNVWkMJN3LZ/HO3Uq44xiLqTZo99xBiIHSI8h8smrSk D3mN1W8ok0u9i/hZqpr9qPfK+TWzr+JKdNXL11/7hckcjzWm2CD0pF2PkHCIuMuVwHZl ry3u1F55TjgPmXuMC9/hAuIhzbRcI8iIBBP8OXP2o69Jd8OLahC9JXoKetjacP4mVMz1 qKKosfQYMv2DmgONKYJuqQcIyQbG8jg5gsLFkyG6nF9W68YlSe1cSyyZKQBYGf/ecePU RO/CIZBwdMAwcBcO1pvVKhUKVHGHAwO4ilcjB0Cz56Sp2Plru6Xux8BWWlwHvlI/y3/s WuJA== 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=1EV1/WI0XFtiI+21vP83s/uEYxGv7mm0ay0nKpA5C64=; b=klzBPzXYQJm5aSxWCbRSRzgx6bdXhiR5XiWGr/JLGMOkWIVrtHs2VfB1lJF2bNtl/W 7PnRmxXc4AvmQwpIbr2S0nd4uZbIQQ1KuGQnFcPTtA+SAKd7V5ms9gV1RA4seck7nmkd 7ijNLOP+JeYPyQgEf/x3nc64PkXiICqjAqNhDf3BpcF3hV54lYiFnG2zd96/EXXIJX+s iekCI/ROvf4n6no+geJHzEOeArysA1eRtA3Wjvj7mZJtG+on/ooCCtASm2nE6p8XIgrt sLHyohxxluq6gPs0owm/N1o1dW+HUhsSfJkSFZ36EmJhiouQlTpMw4bEfo+5E+NQr/LZ W8Vg== X-Gm-Message-State: AOAM531hlC5sjK4evcVXdBXUuej2nVWcVzcp+qQ6M7lew8Ynd0djp4z/ e1rpt/7VSAwXcwEp8I3N8GHCnQ== X-Received: by 2002:a17:906:704a:: with SMTP id r10mr8736436ejj.312.1618583852460; Fri, 16 Apr 2021 07:37:32 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:31 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/40] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' Date: Fri, 16 Apr 2021 15:36:47 +0100 Message-Id: <20210416143725.2769053-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c:1381:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index 1c9c0cdf85dbc..4801aafd9552b 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -1410,10 +1410,9 @@ nv50_mstm_prepare(struct nv50_mstm *mstm) { struct nouveau_drm *drm = nouveau_drm(mstm->outp->base.base.dev); struct drm_encoder *encoder; - int ret; NV_ATOMIC(drm, "%s: mstm prepare\n", mstm->outp->base.base.name); - ret = drm_dp_update_payload_part1(&mstm->mgr); + drm_dp_update_payload_part1(&mstm->mgr); drm_for_each_encoder(encoder, mstm->outp->base.base.dev) { if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) { From patchwork Fri Apr 16 14:36:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422507 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447320jaf; Fri, 16 Apr 2021 07:37:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5FWH4etPTFdoO8a4PnKVGW3GEoYvED/4TlDoDmuV0oBZvj/ODkGiZAN44zvmPb9ZCNcpD X-Received: by 2002:a17:90b:2355:: with SMTP id ms21mr10125506pjb.226.1618583862763; Fri, 16 Apr 2021 07:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583862; cv=none; d=google.com; s=arc-20160816; b=Ygyh66QW2EOnQTnke+lIevtzrKf6pYCRPG3vsXkI36QS7SOkgMEJPegXGdE3oxCjzT SuYHLu+YtqGk3OpZB1sJB7+vjmHdNCphnRRQv905EHvQITtnbtW8FfUh3SYVjqAa48oS EYN4513Ye9hyh+Mv1qALumdvMVSYo5qe5w3psuGlTQNhkfYxyRscOrI1tpvnVNOzAjNH iHkmVy3Seyd1oHLN8/fz055GRkCn4vd4TpE3q8yPy4sC9CWlONjjNZdayJmrN1hKi1T8 ktzIYIY+RfT2dSWQuabRPohrkEij1qXFynjWKzVOIAaz+TMXqzYyUn1hD9DZKK7T1txT oBYQ== 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=W+/oroL3XD2YlYqTDQFkYDYCwajo9Zsx8Hh1KP2sDlo=; b=FuEniW0iz9eXkPgHV7VI9X2Eu5meCkD5mcv2+YYBlb8yVWm8rZRabz2q8/IrFzi906 ikdoQzw2TdNeeIsLpa6PDjPhMB2aTfRwTK33ODHMU2RSLYe14YBMUpT/8z3OP8+FGihz jdZ90ifNIFBsg2om17WyJ/lilFSNcDPpkAV5iCDqcg/vRrV51Enfebzf2pwacfVHjRTL G0R1eUoe6RQr/tXWZFazE1A/lBNu6IGd+qdVs8I1zH/woWwg4VfLCHEWt0d4aGaqinzC ypeJB440vJnn2k8h60GPxivierkOtdemAGk/QWiPW+kXROFZvXOSb4SAvW9h4PSRcO7I ZpgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mr7mcxDC; 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 g1si7477832pjl.135.2021.04.16.07.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:42 -0700 (PDT) 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=mr7mcxDC; 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 BA1B26EBD0; Fri, 16 Apr 2021 14:37:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by gabe.freedesktop.org (Postfix) with ESMTPS id C65BC6EBB5 for ; Fri, 16 Apr 2021 14:37:34 +0000 (UTC) Received: by mail-ej1-x62a.google.com with SMTP id l4so42443346ejc.10 for ; Fri, 16 Apr 2021 07:37:34 -0700 (PDT) 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=/33rrW6tAmVtxRYoiv0PK1lc5LAomei+z6FwtqsCisM=; b=mr7mcxDCkJ8MhFaVouTHt6dvkAGmS8HK4Hsecj8ryEDXuyrg6L3br6ohFHv7uAsu9T w3j+TgQ6YNNQrtMauk4qHrptT7OQWrR9oytM5dUgU4dwD2kElP4WYvTD4HnV0c9LphsH B6njwvTRZyxuf0MLnd4gH/1NsT4Wy6couYfoPQBqYkHmqav6uTU/hKc1uCV/j8eu7X7U 38LacZ+Zq/pHDs3pKO/MRnv5uhxP8Ncrrq68OkHgpX3t3MFaPm2LuytYSbP8ep7k12KJ 6bFJinfIbvCy2mmXSDrIp5dC/a3aenEyXyO7KTo82kBVW5SBZC/xKczOCAIKXRZNkq/1 Wl9w== 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=/33rrW6tAmVtxRYoiv0PK1lc5LAomei+z6FwtqsCisM=; b=Nnj1o6fXHGyijxahJQsuJrUrsDOJHWw0iKOqbfZz8FO9vTbMXGQmSkf6kUwktrvPgK T+aKiqb3WyMZ7kjahjCeOTvCmm9llmBzeFvTSawjiyIHRgt0M2kZ6F17nLeilwOozJBn gnQndrkHm9KEKBNorus6Odm9Fg6WChnerb9B+opP433Zn5eXVpRTiquJXUkCarX5Ixm1 wbmRB9RZA7IThMEqh/9RPCGPHUpAwdAWlb7GEPNoqfaQzM9EcTlW5STtmdSX4jNO0JOB v1BWuvR0Xtj0hUjyNxiN6O1/O+oWWt+u83DAw7JHJ8RSP6ZOamvVAbJjLB0eLKX5BOna kaOw== X-Gm-Message-State: AOAM531avY9YwW9peWslG0t5XD3WwUbewAZhKtnoVx4GBoD2/kU9qhRK Ub7S09yeHm5SjVYPmZUQNVb4YQ== X-Received: by 2002:a17:906:7842:: with SMTP id p2mr9043139ejm.87.1618583853536; Fri, 16 Apr 2021 07:37:33 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:33 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/40] drm/msm/dp/dp_display: Remove unused variable 'hpd' Date: Fri, 16 Apr 2021 15:36:48 +0100 Message-Id: <20210416143725.2769053-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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, Kuogee Hsieh , 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/dp/dp_display.c: In function ‘dp_display_usbpd_attention_cb’: drivers/gpu/drm/msm/dp/dp_display.c:496:19: warning: variable ‘hpd’ set but not used [-Wunused-but-set-variable] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Kuogee Hsieh 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/dp/dp_display.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 5a39da6e1eaf2..31bf2a40a9eb2 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -493,7 +493,6 @@ static int dp_display_usbpd_attention_cb(struct device *dev) int rc = 0; u32 sink_request; struct dp_display_private *dp; - struct dp_usbpd *hpd; if (!dev) { DRM_ERROR("invalid dev\n"); @@ -507,8 +506,6 @@ static int dp_display_usbpd_attention_cb(struct device *dev) return -ENODEV; } - hpd = dp->usbpd; - /* check for any test request issued by sink */ rc = dp_link_process_request(dp->link); if (!rc) { From patchwork Fri Apr 16 14:36:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422508 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447341jaf; Fri, 16 Apr 2021 07:37:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8074oDZfdg9n1pj0A2kcIgJXt/SZ6E8sahykcHYpPGLc8gCo0beEsnlYWTZKL0E6LvhwY X-Received: by 2002:a17:90a:4381:: with SMTP id r1mr10564171pjg.214.1618583864589; Fri, 16 Apr 2021 07:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583864; cv=none; d=google.com; s=arc-20160816; b=crvV5rd5/DVcKSBvC4WrSudu0mSENWFdwvwiWFgLk6Fw7Mt+hdgwEPAX5NQ6PK+6yk RquHDoPGDMBb/cwVDArzxiorCdbHfMqi1A7P6tPYfye8RNGyfEh/jOOzKHLe9pinNuZm 5xg0opin4y9uN0tbIGqjkwsszBDCNrTbfIXzG/8UvghuGQEFBe2BtYF0/tt3T2yiuVj1 7kqkefPnZO9PGtFdTLZKJ3qz4gUiuzehyKa3LeuvbwAbBwK8O4cPwghmRkT0lRusx7zq /tExl3SWZ3s0cEbnWnwTZgjcfbRzK4Us5KJ/IuEdKvmUAZ2t+Gg+2sfytKaUqa6t1GmY b8Zg== 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=PWAskBpraYbb+m0s5jHvu/6w6dbPnrxZWZwxiQAOdYE=; b=F63nCgdrdL9K2l5BllzvTihQomLKufqPKVAKg+pGbdi2kvTbTx1GQf3ZTtVbpEmLok Ob0CiflRu+DmCGm+Yl/hlv5zM5EUSarHkfTTDmuyW+FSK7HStDTX9RGUE6BkDor9qEWv txqcc0IJpV1hSdtYKq+fo7dDskgr2U1NM2wbq+e9ZcObYvIgzAY7u+rWSctGKrrJ1LW4 Q6wbFxla3nFsQrJt65Za01eAbjAHAW+ME4TcfUhZ0DdarmFhDjryWhHu9v5xBevuMMIk /9bG5csd355NqBdSUesjl3z1dRxy1H1YrXgd/6tYEfHEnemVjUh3y54fbUWhz4DHE/Re EPxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Oh8pAFgT; 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 p14si4252099pgb.45.2021.04.16.07.37.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:44 -0700 (PDT) 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=Oh8pAFgT; 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 92A1C6EBB7; Fri, 16 Apr 2021 14:37:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by gabe.freedesktop.org (Postfix) with ESMTPS id D3A306EBB7 for ; Fri, 16 Apr 2021 14:37:35 +0000 (UTC) Received: by mail-ed1-x52e.google.com with SMTP id z1so32558499edb.8 for ; Fri, 16 Apr 2021 07:37:35 -0700 (PDT) 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=tzEMJM+UnGpLFsbT1tH5hiSu2fCp7n+uz2nhd5JCrjs=; b=Oh8pAFgTSoI3mZ3oqNkCqeRUimxHAuKsuYJLMVyb3itxERn7cUAjgXwN3aQXU3NW9D SJypAlB2KHK9CjP1CUJ8U3jtKHbngA4R+T+3CcDXj99EVKHdstCDlL53QQ4V1QaZOG/p EPi9QzropfpMVm6xCAxpBm8SsH9x4EtDZ2eT3IUZPmgFjt0Ff9vO3L3dIVDXAV5M0SVy X6hhCJ6VmWiqQYBSWFX+AFNGdnhEpk4O7fJDepod9pJ/VNiFmbv1hH5fgM1efHxKgU8P KPtnVqEUe3gVluffqqAZVlpYVAzLD51k70RwnPEp7yY2vUJU9ONcXQ3LsYra3Djr5FCp 6bHQ== 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=tzEMJM+UnGpLFsbT1tH5hiSu2fCp7n+uz2nhd5JCrjs=; b=HKcZw3AJryYbdZTKw+264S6VQD/DPcVFKJNNIKkuHmFO0fcWb80eqRjHrtxr3hSmQt umcX+fHJW9ZC0NpCcbdrwMPCkeqh+3duZq2VAEMKa+qQrbMVbxJ3molKYup5MAsTgVPc odgYOOyHaz5YRg+smDIGyCjarnpNWUqQu9WUxPyG818fnXc0GQSWk7mHVLuinP7BhFzd 9Pf7yMCFCzEcX9LvPoOY+aLXvpCC2gupdO3HT6jzAOT3taMTAlCJQK0BEDWCfKd8PGxq 0tGN0zlIU4AsyEIYM42VxJoPUIfOtHBWP19l+ipWBQtAoLeskoSnB0VvJhyf90ScbqtV Rkog== X-Gm-Message-State: AOAM530gn8jmN4gweqIUHW5MDKktT5LSPt69wiAYgfMq5uwjOZWMsHyE p1G0SdrTPlDw+JZveCChtIrikQ== X-Received: by 2002:a05:6402:c8:: with SMTP id i8mr10526627edu.57.1618583854534; Fri, 16 Apr 2021 07:37:34 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:34 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/40] include: drm: drm_atomic: Make use of 'new_plane_state' Date: Fri, 16 Apr 2021 15:36:49 +0100 Message-Id: <20210416143725.2769053-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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" In the macro for_each_oldnew_plane_in_state() 'new_plane_state' is provided as a container for state->planes[i].new_state, but is not utilised in some use-cases, so we fake-use it instead. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function ‘amdgpu_dm_commit_cursors’: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7649:44: warning: variable ‘new_plane_state’ set but not used [-Wunused-but-set-variable] Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: Rob Clark Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- include/drm/drm_atomic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index ac5a28eff2c86..259e6970dc836 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h @@ -871,7 +871,8 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p); ((plane) = (__state)->planes[__i].ptr, \ (void)(plane) /* Only to avoid unused-but-set-variable warning */, \ (old_plane_state) = (__state)->planes[__i].old_state,\ - (new_plane_state) = (__state)->planes[__i].new_state, 1)) + (new_plane_state) = (__state)->planes[__i].new_state, \ + (void)(new_plane_state) /* Only to avoid unused-but-set-variable warning */, 1)) /** * for_each_oldnew_plane_in_state_reverse - iterate over all planes in an atomic From patchwork Fri Apr 16 14:36:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422510 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447386jaf; Fri, 16 Apr 2021 07:37:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycTdyxo7DzDMwJfb5vO3P64ZYy4MrZzMT+VmqI8J71GTDtB6QGuKDbQYhrzAdLhwK9eZzz X-Received: by 2002:a17:90a:4a8f:: with SMTP id f15mr10339353pjh.19.1618583867917; Fri, 16 Apr 2021 07:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583867; cv=none; d=google.com; s=arc-20160816; b=aA9+ATuavOpeDq+NIe2EffbqmgadRa6TzroYFTxO4Cbm+jmxNIuiyAirOyoazqq1sX Es5Y/3Ow0Kzybm4n+Pb3yc0L7KS8q8UWBVx5iq7uVC/6dfJwJI3mkFF4n7lkT/mZZccJ g0jpaWPsHHhmNbBnot2vkKeYI56gyLj49Nd7K5WpO+Z6x+UQniEY+naUJHWlHuzkqg97 48LvOHfCM90t78Em1LRgaC5WBGL8irnqnnXF3rGU6gALPRgqrKeBVSNJPYyCq07S6fjc TKj4/0Nqx6cLJyonJjx2E7QQzVWVJZUlPCZKo+QS0MHiITXbO9peGALC1IZ5a/HllQ+I iL0g== 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=RwYM/eDmYh4PhaNUwD2SZo2M6WM54O9lBsEFinRwius=; b=GRWlSH2jQnF/geyHs70NoAySlgh7GIg9YJ8dWNRBOYSkwDeQcXNhUK8BTL8e8Uh8r4 fdB4+znk9udQyZ1NJQQCRbI2br3tE42d/p04MkCJCn9stHNMiQ0wo8lCnlg4e0Kjrr0U ZPjhFNWIkCgao/urucyCOWnOEfX2hZHlxD5wFZgnQb6EeJnkSHAylydtOxI3xmKlUu8s syX5QErqIJdlIIG/Q2pNzv6OD57O5FaUG3EJrIdFin2phwqTzGL1/vMrLyd9JOfsYKjk S+LRT3do4a0bOAkn1ewNMeccZ1Qf+d2bc2L1tkfv05YusvbbGD0UxnlI8wl6ZffHgYy5 Ditw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GNUjqZlY; 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 f13si6996913pgm.27.2021.04.16.07.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:47 -0700 (PDT) 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=GNUjqZlY; 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 B32B86EC00; Fri, 16 Apr 2021 14:37:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by gabe.freedesktop.org (Postfix) with ESMTPS id F1EE46EBED for ; Fri, 16 Apr 2021 14:37:36 +0000 (UTC) Received: by mail-ej1-x62f.google.com with SMTP id g5so35778367ejx.0 for ; Fri, 16 Apr 2021 07:37:36 -0700 (PDT) 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=K5sJeJ74F8ymxQq/7xf9FhHZmcrAt5y0yMPNHooyiic=; b=GNUjqZlY8Kl2oKWTYfDjRC6Bi0UwDOz5BY+3/90ITbTGw1I5bVp5jcRfIVnye3m01c kKgj+r7sRHsEVxsKvDb1rkMcG6VBXc7OO77OIzsm5gp6Tm5o2Ybm95bSPsNPZHfVhXm9 cMNMakfEsGZetcMqpCCdCzyDW91IA/O39zSCluuZUY5k498jh2pjpHV1w6P/+/E05xDJ vEFCCgkpnKlrVRJZn78PRl0WH8z/MbKrGlQ8td805dEL6CrmR7l82UEHNh/D+wF1JAp6 B6MQRW5C+hwPkYHtufL76OL6mw+Y0HEzW36Zhww+tOhU6Gdrdkg7YAzWeTMT9Sa6fCvO McHw== 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=K5sJeJ74F8ymxQq/7xf9FhHZmcrAt5y0yMPNHooyiic=; b=h/ewWQics/Fgk6M9tNwdaX8ba2SVfOBQu8UeGo0Py5FvBtu4F8LEuXH8OrrPTVJv7l oBNS1KTYZJ7nDmhKOKcPElbkjdiSCAngbdNnesvrVf9EaWtvrTZ3btCQOqEjfvM4RTH+ z5njn3Lne9PEgdGYW3KW8hHG2Q/LRl49WAsyWMwX4NHKKd+JWEOHdJ3EdxtT3krXnMAl /F622knI+A/dukOUWJBl6o6I8jrEzjg3GI9CM9xxWhHyWnYWOz+l5JevMu1S5JdqVHNy K29Hh6xViXyurlCCGcQeR6nRLcoUp2rlLWp3drhK8zGAVt6ApKBjBHgXgzZyDwxAiINe G/xg== X-Gm-Message-State: AOAM5307y25aMmxsnPgwPplAUOKmSWL6qXc7nhgmfEYX2qV0e439S0pw cBgGT3+qLUxXc/FjCU8oqbi8fw== X-Received: by 2002:a17:906:cb1:: with SMTP id k17mr8539035ejh.307.1618583855594; Fri, 16 Apr 2021 07:37:35 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:35 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/40] drm/nouveau/nvkm/subdev/volt/gk20a: Demote non-conformant kernel-doc headers Date: Fri, 16 Apr 2021 15:36:50 +0100 Message-Id: <20210416143725.2769053-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:53: warning: Function parameter or member 'speedo' not described in 'gk20a_volt_get_cvb_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:53: warning: Function parameter or member 's_scale' not described in 'gk20a_volt_get_cvb_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:53: warning: Function parameter or member 'coef' not described in 'gk20a_volt_get_cvb_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:69: warning: Function parameter or member 'speedo' not described in 'gk20a_volt_get_cvb_t_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:69: warning: Function parameter or member 'temp' not described in 'gk20a_volt_get_cvb_t_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:69: warning: Function parameter or member 's_scale' not described in 'gk20a_volt_get_cvb_t_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:69: warning: Function parameter or member 't_scale' not described in 'gk20a_volt_get_cvb_t_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:69: warning: Function parameter or member 'coef' not described in 'gk20a_volt_get_cvb_t_voltage' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Karol Herbst diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c b/drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c index 8c2faa9645111..ccac88da88648 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c @@ -45,7 +45,7 @@ static const struct cvb_coef gk20a_cvb_coef[] = { /* 852 */ { 1608418, -21643, -269, 0, 763, -48}, }; -/** +/* * cvb_mv = ((c2 * speedo / s_scale + c1) * speedo / s_scale + c0) */ static inline int @@ -58,7 +58,7 @@ gk20a_volt_get_cvb_voltage(int speedo, int s_scale, const struct cvb_coef *coef) return mv; } -/** +/* * cvb_t_mv = * ((c2 * speedo / s_scale + c1) * speedo / s_scale + c0) + * ((c3 * speedo / s_scale + c4 + c5 * T / t_scale) * T / t_scale) From patchwork Fri Apr 16 14:36:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422513 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447580jaf; Fri, 16 Apr 2021 07:38:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0N6/7wKbrHdV5uj35e2dFEmDeCPAApXlb+78NNDBq8m7aQx4KbOzLWIFsXf3Ft1q3jnpX X-Received: by 2002:a17:90a:b001:: with SMTP id x1mr10777210pjq.122.1618583880515; Fri, 16 Apr 2021 07:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583880; cv=none; d=google.com; s=arc-20160816; b=dqY7tYg0u9sxbkJX84+YH8N7012nMq05BVVmQpvoz7KdlRFXM84encCyfEpGRe5dcn A227SMlkaX1vttykYBQgLOiCM22pmowb5OQwp4UtIEbOmjpwxpuxYetkZEqLr+OMcPhN r8+6UPVScox+6WrdhF/MEPa24/Pe7oh3dc61ZbWJ+6HLPGg6TmPNHl+PbU7vqNudYrrt qrSxCJekTS03pkHYbGbBjWBKKm7gUfozR3WF9rQqdchBR6/DJrpLl2py82y3DFBsDZLz /CM8g3fcHg2OWx6nS01jBp0TyP4wkp5AuYdNmJVbAv2Ndd/x6GvIreTFPAiaO2HJKWBf ThVQ== 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=vDgL7DMqi5Ztgd1gcZ+vBq6m8rAl9kMVpT540Ja4OuQ=; b=sgwn0X9U3szraETGsPkAVybLw1IpUDDBF2HUN/Qm/WQlUKTFDIaRlvegbRsD482zqy 27PWVOhy/tU3I9qn1KB6Ju78YtklpjgTCRUU3MpOIwW3RM7dHErwnB2AfFrlBpmYg1Ey tcgG7FvVONmvgIkM7VbnbX5Jh7f4WNEZ1PT5dcmhbDzBI+4LcGRmHyB/zFqjWO3QOeiV JV5eSGscQ8/Hapuuxo8JXNOkuZhgJiW0eFg8GSgKkjJjkrn6+uEkWfGzcBelclpmgCxD FBKUx6BLAh5Tx9YHjIGUxxSHHtvPyCQqtWYFV+8B3Vkj8xWQX/Hb63ubfUjew2lUO427 wTBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EZGprGpr; 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 l12si7030011plb.414.2021.04.16.07.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:00 -0700 (PDT) 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=EZGprGpr; 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 5A0B56EC05; Fri, 16 Apr 2021 14:37:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6A8A16EBFD for ; Fri, 16 Apr 2021 14:37:38 +0000 (UTC) Received: by mail-ej1-x632.google.com with SMTP id w23so26669961ejb.9 for ; Fri, 16 Apr 2021 07:37:38 -0700 (PDT) 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=U3+jQ9deg+F+hwlthzV/g98whTMSIMZPgh43ftXDf7Y=; b=EZGprGprx9G7TEQ68Auk+daq8vbCTAQMFTsyZFPKo4Phxj0vwWWnhuFEnSZXapOAKT THtuKKPY7eTB5HZr+G07ksaPqGhpWv/I38h3wy3YUFsXTZHGtn5UAvCCW+rDaGQ+sPg0 qnsycTSyDtvv+/k5jd++8THPcSq8XE0ZqvkXHNmNQMtIyG4h0GVRs8H71GVrN92xksLj WUHkYR+i66WWHaxgq4KbXH8cmw0G4Fe4k0jSH77EaRzk2Q6+Nhh/QIXUi7DHa28bkcEq pmWJOdZEjvZovPLobeHwdyD1d75fBLv6QiyVolMRxqhWV7jviOV+Q90cSenbtYDqqeke +iNw== 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=U3+jQ9deg+F+hwlthzV/g98whTMSIMZPgh43ftXDf7Y=; b=FaWcT5FInz9U9rsI3w5wwxQ0zA5+ojrxeAQoPmc95pPsB/zAvJrPN2E8RPtpNO8Aoz 67Fz99lrEgLCWProqShnwdKjTTFYIhsH61lGmY1iRvFxAZRikLrwrECdP6Wmf+1l2qom M0LUM5iD6TSt4KLkggaaindLPPxH/akf0Mn9KUanG0Gd3Y15nJWMhDzpMlyJ1mPLH49G FRdA4UUNRYcu8a4Yw3oIfP2XrK0MSJbZFeOt2vZo9VWJuilRPdOhcC2NycYgzMJqFpJ+ 0rthTfSzVujB0kjDRwGC67EAFTHx8mNPsMAmS1hmtExu7XMBJVz1sc7tyqBFZeVsA61g XSqw== X-Gm-Message-State: AOAM5300WKjJgiiKpWjEA3nONckpHWEIKvZBfMoX258+lx5AxfIqgFfU qiQrno1SCEn/EbFgOKCJOoWChg== X-Received: by 2002:a17:907:760a:: with SMTP id jx10mr8921163ejc.126.1618583857134; Fri, 16 Apr 2021 07:37:37 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:36 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/nouveau/nvkm/engine/gr/gf100: Demote non-conformant kernel-doc header Date: Fri, 16 Apr 2021 15:36:51 +0100 Message-Id: <20210416143725.2769053-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:992: warning: Function parameter or member 'gr' not described in 'gf100_gr_wait_idle' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Karol Herbst diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c index 397ff4fe9df89..69e6008f99196 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c @@ -982,7 +982,7 @@ gf100_gr_zbc_init(struct gf100_gr *gr) } } -/** +/* * Wait until GR goes idle. GR is considered idle if it is disabled by the * MC (0x200) register, or GR is not busy and a context switch is not in * progress. From patchwork Fri Apr 16 14:36:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422514 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447604jaf; Fri, 16 Apr 2021 07:38:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVs65h+NFiwmERqgO87SkPlevNb7OPaNq4gDvIGH3mxIoCruqVN0jpIiY7pE17C0b0hiSN X-Received: by 2002:a17:90b:4384:: with SMTP id in4mr7183035pjb.188.1618583882000; Fri, 16 Apr 2021 07:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583881; cv=none; d=google.com; s=arc-20160816; b=PWQko5udVFjxmznzDwQEneCNvi/8Ey7w1k77184WxgObUcrkg4GWLl3XscnIn/Jgh2 +qfRa11cyE4ydljJiMXsAPV969rSlNoHvD7kZ3e64JBW4SIkPz0yJW/XTPPZGH9syzuY rU9gQKJNscyZQjGF9y3iwQdizT30gUh+4wTVXvAF+ihZHsGOu1qva6ObDcYi0MTvrR3g 40RqS39XoVXc0BhRSy3KWDVnX0RA20mH0mYFF3FBgVUP8N1jR5F+MjC5lS4excCi+AY7 WDFOLqToXB8HGOrAFSBIV3i0lw/+m4Fu5LXV1NlNpVrkDgrsLy9FLWBl1Yg0FbfCLWZv hEkg== 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=+uMagyoJv2p4nonTaOSXXYek7o2zIB4TDCZOvlEgv2c=; b=yHAFrt4XQT5jnjZaT1gbZGgd90evIfSR/JMTyVe3ouS4MwuL0SMKLdfB5Fom+21FjC IBTPLIMVIYPh9ZmL3pB4rlvRcDXYW9llvnKD+WF38dGyXrqDau8jgsY5R+Ich4AbD9ag yjCqrZr927vKF5PnKzdP13ANvtGIWlkdWY8aG+h02im/HGLNgw2i40hkZ3dqi2uGcsHm tsZ2hdlX6M1PtPlDcfyxujp/J/E1aV7gV7dxw+SX/FGY6M+FYmjB2ltnTd3SxKxBwvYY k3mHUCSM1NlUdEU5UUjtj2mP4FBN4LSujPLXLPGuaQrKRYxkS75vPI9U7+8p1yDR6PAV 47rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OEAZ6pgu; 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 d6si1935834plg.130.2021.04.16.07.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:01 -0700 (PDT) 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=OEAZ6pgu; 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 92E2D6EC07; Fri, 16 Apr 2021 14:37:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by gabe.freedesktop.org (Postfix) with ESMTPS id ABE086EBFE for ; Fri, 16 Apr 2021 14:37:40 +0000 (UTC) Received: by mail-ed1-x52b.google.com with SMTP id j12so7532368edy.3 for ; Fri, 16 Apr 2021 07:37:40 -0700 (PDT) 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=MDb62l+8C+YekUvtP2oUdE/QSSZdTHGqGLcmgtoRZ6A=; b=OEAZ6pguOUQ94jMlXQzmtQ7QFPzW5+1bIvMTPHQc6HJS+PcftJ6AF9Jo3cQY1raYir GcbbzBVqcto6mrFzlum7j3SE/HIpRj5EGQdlmzu0Fj2vW+g/XCoRlkp2nxMM9p80xnjN vridHysscUhssHNwEDny1VZ+bPTMhH94/K9wuMQzKCovSqSc+zCdtztyo8NQdCHamczB cVL2Cl8+3ZMMjVYMOfaQyG1MwZg9FpTT9u6WJ1lQ7gR40O4/xmJh4Irk55PnetEtInV0 6+Hnu82JjUPCmQZWm4nEwmkdACQTiH3m3m6A+KHdCRz//PskTjJtDFX0d62j26DVAaDr B5mA== 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=MDb62l+8C+YekUvtP2oUdE/QSSZdTHGqGLcmgtoRZ6A=; b=inI1sMunk+afOAVwacEhd5L8AxiT3pS4QyP+Y53ArVmUz0sPQLrQNDsGdsgSbyq0kY ryGAbVp04hM8Zd2jfhOfqZLzpgrqHnQ/5WsG2QlmuJ/5fKC4YlNYuwnx9a12DD+YvFX/ ZuyZd1Ejp706smOm+Us+wlgUJUSdQU5APPacPy2KBO+0yD6nuksczu5TAh24gP2bUtwU 372KYXnXesJXCKMtAU3KcxSUj4K2jxMv4JIZaj+KJC4HKP2wDSub+CBMv9aviNmS0k9x HsgUVjRQ0pFRniODXkbZo0lQE/bv4L7gZ+GSoDpFcFqnZHV4Dp6Ygp8/OMXZrtDhjSbf tHAQ== X-Gm-Message-State: AOAM531AB48wuFvdnDMRBaqAuLoIuCnAoRo6db8fm688+6eHrOtE15Qf /RIQbWufctELrqSTBJXtsfr4MQ== X-Received: by 2002:aa7:dc0b:: with SMTP id b11mr10546460edu.124.1618583859364; Fri, 16 Apr 2021 07:37:39 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:38 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/40] drm/nouveau/nouveau_display: Remove set but unused variable 'width' Date: Fri, 16 Apr 2021 15:36:53 +0100 Message-Id: <20210416143725.2769053-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_display.c: In function ‘nouveau_framebuffer_new’: drivers/gpu/drm/nouveau/nouveau_display.c:309:15: warning: variable ‘width’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nouveau_display.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index dac02c7be54dc..be2327ce7394c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -306,7 +306,7 @@ nouveau_framebuffer_new(struct drm_device *dev, struct nouveau_bo *nvbo = nouveau_gem_object(gem); struct drm_framebuffer *fb; const struct drm_format_info *info; - unsigned int width, height, i; + unsigned int height, i; uint32_t tile_mode; uint8_t kind; int ret; @@ -343,9 +343,9 @@ nouveau_framebuffer_new(struct drm_device *dev, info = drm_get_format_info(dev, mode_cmd); for (i = 0; i < info->num_planes; i++) { - width = drm_format_info_plane_width(info, - mode_cmd->width, - i); + drm_format_info_plane_width(info, + mode_cmd->width, + i); height = drm_format_info_plane_height(info, mode_cmd->height, i); From patchwork Fri Apr 16 14:36:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422512 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447553jaf; Fri, 16 Apr 2021 07:37:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4JX2GXsaT80CwrllMdb0ATuN94YBullFrBUYXZk5DHzfehKP7lUnZ5w0NyOQy95Oin+5M X-Received: by 2002:a63:10:: with SMTP id 16mr8643341pga.143.1618583878925; Fri, 16 Apr 2021 07:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583878; cv=none; d=google.com; s=arc-20160816; b=LvzZLvTdHOX/HrPR1jyMd/nxJ9d6mMfiRqxOcoETmRPp5ZL98p4Gg4b74EX2RBGX/d aWuczlkSvUL6bscWSxsW53NRgRfNdonIirwHS2AdN1f3RksPr3XS3v/IJ7WMenKE9ksU B8uPssbtka2MrFeHxwghCimchQQ9yDSxAeHyh3i8bVrlAW2sSQVynO6SO80xP4UTYkhF 9bjQC6G/JbTKCQeV+FD5IHfax5sHOkQRlePXD/78rXIKRxEfwnnoiBzaaWW0mwcB94Lg nWAeEU+I0bhqtDmD8i5DHyPOQ8xMGHwCFZnaxMZtlhsSHF4feqrdFCENfqyhtGwgLwvZ WaeA== 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=lvu8wOP7dv+QlJixjEiGEL0gmgYxiEnshqWhxpgYwx8=; b=EfZIpO4JgzBUBAlencWTo++mk+kAEJfcJL0tnB6xM+o4rQPsWLC8/UOuohpyRfT+l/ 1pJWHumR/Pq/IE3atUF5gC9PfBgTwsqSUtPtffKZFekJ9ciP/OWVgJhU22yhpRqSOERF nYuY1JF9h6olM3ujXt6n5pYlkfY69Hbm0YjJFS3Cu/TfsagvlwWDNpaIEuNeDfYOP3ap vF5GzU5xROV2LEgZvhmtlpAnaEqso0odpcEBhpcFEsXvrgTF6KIp+7Ktu5h4KpqUzv33 03yjLuD8xSXLGFvH0GPk8Th1qow0xy2/HNsRJ8jgD4e8VTOhVuiDDvQKsOdR7TM7mqOJ XtiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=u2Cuu4Jc; 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 e24si7412278pga.369.2021.04.16.07.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:58 -0700 (PDT) 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=u2Cuu4Jc; 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 6006F6EC06; Fri, 16 Apr 2021 14:37:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by gabe.freedesktop.org (Postfix) with ESMTPS id B4C806EBFE for ; Fri, 16 Apr 2021 14:37:41 +0000 (UTC) Received: by mail-ed1-x536.google.com with SMTP id w18so32625022edc.0 for ; Fri, 16 Apr 2021 07:37:41 -0700 (PDT) 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=l3BFodeOPTMMoMJFhYQYaXV3COFge4hJ56ydgoQMcn0=; b=u2Cuu4Jc4BAtOcP2wM3yaX4ApJCJGReeFsvfaoDTG3jKvKE3+Iu75Kt7ZdJ2zK9z7l fbTQxy6O245G8O9EHIoBFyChD/v/K62OwzhOwL68dACvrQyMliAqxL4InjNRq5jAis2c exA8ZmQsMUtVPgvKzkfSMyaKhwr8GL2Abqnqk4UAOiA6O3bDneKMvcbyZM9YuX5zkzc8 tZhzJUOzm+R5/ZHP5qJn7pVAdvyDNLGeQ764UfKpbHf/lkkxgeN8MjUnkJKZGo4tstbo 35E4GaxucIbTZrvooB4yyntd03WQe+Phz4IXTPvTnxrsURAvnAbinRVGuE9dR+su51Kk B4Hw== 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=l3BFodeOPTMMoMJFhYQYaXV3COFge4hJ56ydgoQMcn0=; b=jU5T6RzeNdkVYExvYtzPv0aVA7A2nTUYvVgPZO0W4rU8QIE9VNQ9kNNGBb+y14kTPO rBw9Ph4A0MNXwwmARQvzbwhDcYbxjgWkf3vMUgl4ESL/ye14oIHTTRrSWzhzQiLamSkF X1NqYDTbdAVBOSRaAuEZkWn1iAiucEkIIFJSeluKS5rLx1pUo1wlo1RVhcK/MWNUMxwd IW/0LPHG5FH8Ep0XfGrBhYERmuzYEi/k5usMEFhUefSET5OpTtTpf7Z7kglnc6kmnr8A gL43eRwNoiI4wVABU8OdlGugNHfWlb7u2TZzhaYm+4QcEwHsYRaiFFWTkQuTfvmseEld LAQg== X-Gm-Message-State: AOAM530oMLG1mUsUqFUzMWJgitHPYQ4qVRPgx9kandWUovCtBxUOVkPP tVE6iTBhm1HMH8qSAtg99tMCcA== X-Received: by 2002:a05:6402:1287:: with SMTP id w7mr4512924edv.208.1618583860376; Fri, 16 Apr 2021 07:37:40 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:40 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/40] drm/nouveau/dispnv04/crtc: Demote non-conforming kernel-doc headers Date: Fri, 16 Apr 2021 15:36:54 +0100 Message-Id: <20210416143725.2769053-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv04/crtc.c:462: warning: Function parameter or member 'crtc' not described in 'nv_crtc_mode_set_regs' drivers/gpu/drm/nouveau/dispnv04/crtc.c:462: warning: Function parameter or member 'mode' not described in 'nv_crtc_mode_set_regs' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'crtc' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'mode' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'adjusted_mode' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'x' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'y' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'old_fb' not described in 'nv_crtc_mode_set' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Karol Herbst diff --git a/drivers/gpu/drm/nouveau/dispnv04/crtc.c b/drivers/gpu/drm/nouveau/dispnv04/crtc.c index f9e962fd94d0d..f9a276ea5a9e0 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/crtc.c +++ b/drivers/gpu/drm/nouveau/dispnv04/crtc.c @@ -449,7 +449,7 @@ nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct drm_display_mode *mode) regp->Attribute[NV_CIO_AR_CSEL_INDEX] = 0x00; } -/** +/* * Sets up registers for the given mode/adjusted_mode pair. * * The clocks, CRTCs and outputs attached to this CRTC must be off. @@ -625,7 +625,7 @@ nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) return ret; } -/** +/* * Sets up registers for the given mode/adjusted_mode pair. * * The clocks, CRTCs and outputs attached to this CRTC must be off. From patchwork Fri Apr 16 14:36:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422511 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447518jaf; Fri, 16 Apr 2021 07:37:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9GEZUY/Xsd8MFk6CePasTTMhXGvfQ/psinQ4eEC55ogCk4Q6yRTSdcUipKeB5Ruj0KFWr X-Received: by 2002:a17:90a:8b97:: with SMTP id z23mr9620493pjn.131.1618583877193; Fri, 16 Apr 2021 07:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583877; cv=none; d=google.com; s=arc-20160816; b=dE7mmAQu6TjdzQr0v2h3k9Rlv9AOCZenqbiLQlccQtWwCTUpDg9s31TBRSGL/lxYy1 XyytWxm8nsJ9fD0nfHhDoUdCFC+9naa6vRmQbReWkmiD5eSmJMpp4auPxvuiWPFlpIRU DdbWNlQUoouDfzBQOLB3qdTFBie7P9BqVtWg51YzUVkTNdpcH2mdvvOK/31vFRue2NKb 3cvZyL98k1ZoQAY3U9OFRtZYBk1ChVjv65xdAd+NaxLKp7LWrOY1UgKvTVszsxZfXBc2 zgYpaJ7s7pamh8EXOIalgP6OtnYLqWBOQBZ1J/DBhuC1V1OHAe/ymfBJ/8Moglw1tt80 HA6A== 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=h3qF4L1vyM0LanfBJuHyx5pZC17uovbVtjDfJFonlPY=; b=r0bLBVic3I9RvkFma4n0ilUbS3cXz/Jt+F2VwogFb0gYgHh7Vx6ezDlf/LM2f2AN43 B9WaFcm5R9C23Uc+TsjOnShV+y3NqOZl4BQRmVcgglAuFz1miZKJb7wVUIo63cVeg5Ys Pp1ThFS5VHnAcegWDGM9BAhL7K7245M02OcGy6kEt2edG03MzhS+tELYqt5sa8IMC0gT ZF8EvIngyd4thU+ytFVkbWjo1CjxZQsO0JFIUCzE/QORJsq1Fd9VRV1DnkfsbVk+oVzB Rm6551O2f0foMutux0SayIjuk7I4u5TaNbY6msLE3NtyvNxFK3BIL595CI6Y6qu0NiOI 7leg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oCLqBdEQ; 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 q3si4690825pfk.340.2021.04.16.07.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:57 -0700 (PDT) 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=oCLqBdEQ; 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 511226EC02; Fri, 16 Apr 2021 14:37:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD89D6EC03 for ; Fri, 16 Apr 2021 14:37:42 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id l4so42443886ejc.10 for ; Fri, 16 Apr 2021 07:37:42 -0700 (PDT) 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=FQnjaWEPVzF4Yj7Y7yqsosTBBDqQ/sZsDTFNe0Jq4bY=; b=oCLqBdEQeBIV+juKLGkSxgdhLcddfY7D8sZ1UyNCHuX3TKd9mpvKturRJKN2Mm9fFv irFEttwHBDbPhPdY8WEnT4moT8TqjkIQEkFPxf22w1UWuDAOI/N1Bpr5xyxbVG0fcsL6 AxKJ6N4GEy4y1At9rrYNSqhTlk+mGf8xzTF69Zq5oAQ47yrA2WAWMRi/BX5tYPTymdUG 1Vd5sLlAqH6/Se7ns0lMw2T9D49Rb5jrGMeSp+d79DgGUtzVarzLgui+oAsjDsQQ3FwB 82YFkN6ATYSWeClc7Q1q5NhEMvipeY65LTqc8KucrM6wg4ApzEjVyHp2uRBSEurLtcAn prPg== 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=FQnjaWEPVzF4Yj7Y7yqsosTBBDqQ/sZsDTFNe0Jq4bY=; b=ozZPoRsZ98nVJYlpL6h5rrSMDNf3eZ+fn2nTmyGFHUzI5gah10XskB4psSBApK02qp uDLNXeE5QM8/GsSPzmGV9vyOAyBjYztHzSmNNLpwjWYcMsGOliPlazfV+fcloKHSOYxd 91BobJ/yLPGaDwnzC4+BHUAHAGOUZ/5D5+tQMh82spnW8oOkHH0fCHsikh7A1oBIzgKC NsEaQOMuLFve3ww1B+/m+uQNcCmIbLBHD4nzWvWf/vO0Ex0aVJSE/dXmxcKXw+Q0AsQ9 rs2zAd0GiVUkm/vc56PWZRi7nh93Vkr08to6ikHuKR/bwY9DCX7mTCA1MukVN+NkvPjr TaDw== X-Gm-Message-State: AOAM533iAREkF9oWr/KeqDo6w/5R66hV93YjZyTGXU/V734LgqqlYy+7 0Uh+WoBq77WQWnL+z28y9sP1qQ== X-Received: by 2002:a17:906:7806:: with SMTP id u6mr8119075ejm.130.1618583861433; Fri, 16 Apr 2021 07:37:41 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:40 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/40] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' from function returning void Date: Fri, 16 Apr 2021 15:36:55 +0100 Message-Id: <20210416143725.2769053-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c: In function ‘nv50_mstm_cleanup’: drivers/gpu/drm/nouveau/dispnv50/disp.c:1357:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index 4801aafd9552b..351f954989530 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -1386,12 +1386,11 @@ nv50_mstm_cleanup(struct nv50_mstm *mstm) { struct nouveau_drm *drm = nouveau_drm(mstm->outp->base.base.dev); struct drm_encoder *encoder; - int ret; NV_ATOMIC(drm, "%s: mstm cleanup\n", mstm->outp->base.base.name); - ret = drm_dp_check_act_status(&mstm->mgr); + drm_dp_check_act_status(&mstm->mgr); - ret = drm_dp_update_payload_part2(&mstm->mgr); + drm_dp_update_payload_part2(&mstm->mgr); drm_for_each_encoder(encoder, mstm->outp->base.base.dev) { if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) { From patchwork Fri Apr 16 14:36:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422516 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447686jaf; Fri, 16 Apr 2021 07:38:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySWnpExVvV6WBG+8yz9A1peeVfgEy/ryn8/1vJrnoGl+4RfiyBP3JGc2mp1+yTOAGfi9mK X-Received: by 2002:a17:90a:5217:: with SMTP id v23mr9830898pjh.161.1618583888972; Fri, 16 Apr 2021 07:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583888; cv=none; d=google.com; s=arc-20160816; b=tgTQesvD/UEjF9ac6z8Ww/suVEFtzkBNEVqBPjQ6qK1IjkWLb6nn4czk/X3ONXv30c gOKT+L6mmwBZxRt/pULLwUvuN/Z3Hw2phAghQ/MWFNp6uWFylLioRqQzQ34F1GiyfeRf q48kJR2tcd8BPe/W609DBxacu/qWKLPqiOY2iLZjITa3OpJYbiGmgHVrvsy+O2wYT+Kl QMSMUfGyjycg8Tz+JnSfUkI3UTBxto0GGmHXGDSGRbWfsDh1ZoSyzhmOnssZjhq/hHdb O+ri+aGVvayDdX8XRC3B94QyWoFj8J3sAytIj8gaYrq7rd3oGch1IDpX4zCIBi0+Oxpz lU+A== 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=TsUp/0scBd11CGaHJe91dBVrESLjwxUnXmKDZxDfl9E=; b=0D6zCymux9Nz81J16W6r5AlKhXSz3VyI8cyj6qp29szytWJYDdokepDH5KkZ5fhjG8 6vM7EdYlHH6h/3tTid28qrtY97T0F60XrTNn0XawxwgFYTVFmdQfLgUUpZvgaiDMLiq0 WoC4nLamaDpecGGiA9irU9yByMhfvRSyL82WWqPQvr8JIs4Kdh41L2dXwCjqE2kgd30K oSKGrC4L1Am25rMbQ1Q5HjXctjswGg6vYY+4qoebEQNUm9YkiSxN5InWH3I0uhbBhE05 C2pgxj03B96iaOnOahGVYgfK1y91vLAU6w2uQvrZ1emvF1ZWl9JAqlAnXGs9zuuy9Jw1 unyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=q24GGnGR; 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 co3si6595302pjb.43.2021.04.16.07.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:08 -0700 (PDT) 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=q24GGnGR; 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 8C82B6EC13; Fri, 16 Apr 2021 14:37:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0C8596EC03 for ; Fri, 16 Apr 2021 14:37:44 +0000 (UTC) Received: by mail-ed1-x52b.google.com with SMTP id o20so6272573edc.7 for ; Fri, 16 Apr 2021 07:37:43 -0700 (PDT) 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=9yFPCpC+KcvysSHE/TzUxgB6C7mqpr36eNkZECpHJ1c=; b=q24GGnGRAdzpbYYl+M7v9f6M5HcbMMdNCA8arW0qs7LIDVQVe0UheCz0W99E9kxnj8 N9FH43w69SituNqVOudZiavc32EsX36KzfUsKqwa1nLTqpCTmE83YCzAJcJZblI57yeZ +2yJUhe+ShtafcRhG+RrBXeAsrhgdbxSN2AwmxE46GXV+mlylZpzRs65X5SFvZGldR3r WAe1mbQraJTDhXL8wK09ukr8acgzxwhxqfItaqvC5EVi9cCEun6BK7WXQp5C6SONaOV1 Feqo9YoxTXppD1tCy/5zJNjgEbL4YKuHwL4rK3TSkhLjruiaMb3YL112oC3OWWYdQ9vZ F5FQ== 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=9yFPCpC+KcvysSHE/TzUxgB6C7mqpr36eNkZECpHJ1c=; b=qNcFQ50fkanLanSz1a3EQo4Zr7bFj3223ENyElshxyw21UQyLimjFeQ/q0vBVrarD7 cznYd9ETqVFYg1sa53mrqjMFfhThIISqXtLMF3c23uXWNVCLfGdM7W/KDBEfnirAoYrw DAlfWgzZxIrsh9uoXpKW7/TuY4kLFD7jWkvRyhF7tlr3ljxZrikmZTkdw72hY/RKMLUD RuYGv8TTseapLY2tPnSJXrjIKZNPZhb5evK0wW9g4ZE5k5q8cvJlnbVQ4Ni7kwAGon5o AJIni83E/cx8J3nvviqFmqFnFx2XZzRCU09lofcYCQJhXzWiFC6XatQGsq26NPPSz1aB C85w== X-Gm-Message-State: AOAM530xfzp7ZXd8FFLbAuwSPCg5VchhTNVSs/F8bs4t+245LruhEDWo C9hOzFIR10iecUMyPLNskxZ8hQ== X-Received: by 2002:a05:6402:3550:: with SMTP id f16mr10260110edd.134.1618583862459; Fri, 16 Apr 2021 07:37:42 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:41 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/40] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Date: Fri, 16 Apr 2021 15:36:56 +0100 Message-Id: <20210416143725.2769053-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/headc57d.c:173:1: warning: no previous prototype for ‘headc57d_olut’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: Lyude Paul Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c index fd51527b56b83..bdcfd240d61c8 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c @@ -169,7 +169,7 @@ headc57d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) writew(readw(mem - 4), mem + 4); } -bool +static bool headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) { if (size != 0 && size != 256 && size != 1024) From patchwork Fri Apr 16 14:36:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422515 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447667jaf; Fri, 16 Apr 2021 07:38:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBdvKYKNRjDrz1EjW11eS+A+KMh4KzOQdYwEeLC0N9QuAmAhebhp0dYnLej2HwT24YzFA0 X-Received: by 2002:a17:90a:db15:: with SMTP id g21mr9848317pjv.113.1618583887642; Fri, 16 Apr 2021 07:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583887; cv=none; d=google.com; s=arc-20160816; b=y1i/lUpXglQzVUg93fIvbWbmrsobO3sKGyD2I5nNLJZ1mt6thLoGD41n7x3r27ZsRe Z1JUWb7tN8lqXK1Wp5oUSVcvwsZrjehSiqPEgyiRN/oA40vdW6lKU2NnGtaPfyRcospi 13I92/JPSUlm4hqb3mI7ZsWLsBEFNnOOin/PGTlZL6t1kh/dmt2RTbzsZjiDjkJHNJWt xjJjOFQHN9OR7POz+yiXFo6bzck30WEPFbCG2LVQaLJp2hhZ/X7IpiMF4BaBYWgFnsH7 XEhiV6dNjzkr52eorhXN0g4LllOya2OM3PpVJOElMwQZFQ6FnPGTdGlGEp28F/W2CdND BY9Q== 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=y8jOaxtElLQfRw0/wyZGdQJBRPprlkf1XzdhEe6Q4As=; b=KSCOnpCl8oAacHOyd54TJEjxQPuNFuJiLmlV33DjjYG3gg0iuIZqTWOR+/Dca5aJ/5 295iOtnuQZXyfxC0FY8uAEk9TfDUgK59P9kyhMiLjYrNo6DoGNBNrL613fjb+zye46W7 PrYGDYzZTH+ajiyXBD35UtDSzBSF9scA26GGun2lXXOADhE7wFmL00a5ZGIZfEfaPHG3 isLEkcX+wFk+sAcmVzsI7XDo4WhOn+H0LMbvybnkm6vEF8a5SyMfIPy7T56qjCwWTtC6 9SmbV4b1GeELTG1zRQVD1jxQ7J3MMhxV5hxp7mlHE+ZfDJ4HR/+x/N2H/GtFyPUDm920 EV6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vIYbLsCn; 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 m10si6553274pfc.259.2021.04.16.07.38.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:07 -0700 (PDT) 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=vIYbLsCn; 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 CB97B6EC15; Fri, 16 Apr 2021 14:37:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by gabe.freedesktop.org (Postfix) with ESMTPS id CBC656EC08 for ; Fri, 16 Apr 2021 14:37:44 +0000 (UTC) Received: by mail-ed1-x531.google.com with SMTP id m3so32536340edv.5 for ; Fri, 16 Apr 2021 07:37:44 -0700 (PDT) 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=lgIHEbwNozF8CQjai0jy8D0j5kT9wSfHdAr6OHIEyt8=; b=vIYbLsCnXZcnG2cRVSblNfFcyusCLsjiUbckjgZLHrJu6wDwi1lkqsJDWjwnKopAbu op3YKHikZtzbx4ebcA//omZ7wElXRbE3SIzbxL7lHvJfJz9VvqtD8XnemiSCAyA8Kwnp k5hBgFXoTYJ+0Bmaeztgy7ain6htlqbELXe8o/1/xm2P/RJeL+z+SPFh0r40bmb6emob VekFGRhmY26RK5HqiqPScD2iCiATVkSt/PR2mBWrYuYRmZom+0wbf9wfUICQXaonjPQc UsuTfOaixW7nlp/DpWhgEkkXSwA0gDFdxm1f31eD/B27hticKj+ixocIwwQ2cOScMtd1 iqJw== 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=lgIHEbwNozF8CQjai0jy8D0j5kT9wSfHdAr6OHIEyt8=; b=b1SdL1VNRQhattceP3q5kHgXfIT72Box71Yeqy+edjc3s+Od4GWPYWDJDBIUSs/AYw tgIBH5D47jCMGqzA/2SXxD6k6wf6p9YRW2HC3A8uGT1uCmgInPPtn6PVRft/1QVaHJ/H pmZY/Sxq7EHlTkNpNZDmLa21Ot2yHcfUt4mWMQ+hfQb+vc9FVwcwcUaP3Ly3eFjsH2g8 uqYONFXbdVNEMmXE2k3mYT6yvAjQMyZrRpzVtOfa79AtskJBJm8kXG2Ch/UQ+21d5gHS O2uSLcJBhQRi8Edl9oVCmDxz8X56ifHEJDbpo4OBXtvkifzRvrs4PHfaEzmX+CNl4BZp o0bA== X-Gm-Message-State: AOAM530qlxH+5YFaTkydH6eQlIRv4UTrmoSjXg/d8ui9P2jbhaJS5A4k yrIcc9KGvq+2Dd0DDEeHJ1fSwg== X-Received: by 2002:a05:6402:35cd:: with SMTP id z13mr10413409edc.21.1618583863370; Fri, 16 Apr 2021 07:37:43 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:42 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/40] drm/nouveau/nv50_display: Remove superfluous prototype for local static functions Date: Fri, 16 Apr 2021 15:36:57 +0100 Message-Id: <20210416143725.2769053-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following build error: drivers/gpu/drm/nouveau/dispnv50/disp.c:2530:1: error: conflicting types for ‘nv50_display_fini’ In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:36:6: note: previous declaration of ‘nv50_display_fini’ was her In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:35:6: note: previous declaration of ‘nv50_display_init’ was here drivers/gpu/drm/nouveau/dispnv50/disp.c:2581:1: error: static declaration of ‘nv50_display_destroy’ follows non-static declaration In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:34:6: note: previous declaration of ‘nv50_display_destroy’ was here Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nv50_display.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv50_display.h b/drivers/gpu/drm/nouveau/nv50_display.h index fbd3b15583bc8..2421401d12636 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.h +++ b/drivers/gpu/drm/nouveau/nv50_display.h @@ -31,7 +31,4 @@ #include "nouveau_reg.h" int nv50_display_create(struct drm_device *); -void nv50_display_destroy(struct drm_device *); -int nv50_display_init(struct drm_device *); -void nv50_display_fini(struct drm_device *); #endif /* __NV50_DISPLAY_H__ */ From patchwork Fri Apr 16 14:36:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422524 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447833jaf; Fri, 16 Apr 2021 07:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR3OSHXbLPI9gx6IueH7JLA5QouTnCFpKYaqSQ1ebzWvIf2IHj0tKtT7n9eRasMKOV9hkq X-Received: by 2002:a17:902:d507:b029:ea:ac65:b98e with SMTP id b7-20020a170902d507b02900eaac65b98emr10074309plg.56.1618583898802; Fri, 16 Apr 2021 07:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583898; cv=none; d=google.com; s=arc-20160816; b=vdik2o9e4osYtH3Su7BcPH1aLpXwqARJDLW8e1GqE5gKBTqb9j7HTIX1o8Sl930mkH Gk3iaxKJtGvvl1Ozp3G1L/wW19ZAu0hXOJQoMySYSkOb8uVGGBRQh3RIepJxTbW2Zbdw TaYNuwQrhDvCyx0chQejLtQ5S8dYGpL0YMxcvyKU3k/qPH13VSBT+cH5Frn05nlQkTDK peH3veEu3v1HHUGxU2bdZLwC4/taL27TUcV6wDq2gb6Yv2/kG//ptDElX/dbB/yeMZcg XlV0b/c22M1smh20G8gfEl7hRZuDGkw1Bns/9gFg8iKLgfGlHdBtewKrG+OycUWxY15y /Jww== 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=Lz2cFYgCDrMhQspSAMwZ22O3K40Eor5TLXfR8wLjKKg=; b=v3uATjPPUjsxNc1kzD6HxkgIAKQKN8+30Irr47tKm+awb/w9B5RcK3jSLfK2NIbLDZ iT6o7yjs+locFomW8fd53TkBLJML8mIoxd2+VZwDBHcEdhQm+MJyocX8zlTVvvTraC50 8sb38U15vF5rqgsroB5A8HIXF+A/uRayFDBa2TOnoL3ZXbmSMZF4fqwMUoesc2ZCF6og dy8smqID4JpNOun++/Qewc2x/CvCpsE2hEKCOr0x62O978gg5nDqIZ1HZfqqL2gTopSc rvx/94lZWYxMrNVFEMURAlIEb9AvQnPVPCWlRducVTuE+eVpshJ/P138KC3O9RP1Wa5D ZnUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GVXZ4RlJ; 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 m186si6796458pfb.145.2021.04.16.07.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:18 -0700 (PDT) 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=GVXZ4RlJ; 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 B29CA6EC12; Fri, 16 Apr 2021 14:37:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8DB0D6EC0A for ; Fri, 16 Apr 2021 14:37:45 +0000 (UTC) Received: by mail-ed1-x52b.google.com with SMTP id f8so32555906edd.11 for ; Fri, 16 Apr 2021 07:37:45 -0700 (PDT) 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=aDdT4/+XKsblVJiSEV/Ng5U9nFlFYwJI7t0KAgT17Jc=; b=GVXZ4RlJwFsNGButwNcLJWso5eM3oO2t1LugQa1WxR7somr6EYngKqt9MGvUfV0Z8W spo/YFrOR3/L+OL4pExz+ObuFTvVaxlIwmaIYA6w3hQK7rnf1tuA96FZQMF6en7epBdG HpQumRcb3VUt6TsG4HUTHHw6OwUnu9wtDWEl1lVrgbbd9I1wJZ7j2BCeaLZvHtCd21MF QcxYTguRaX2CL4McdxAzZ7TpfuM1e86es6aqUz0ESVv2F9jwl8aBqiuJlQKp9418pQBZ xWyM1V3MfTcLYKsGQMcnArnMB8vwHKUbkBPB5DwJKigdjWREp1b/yeg+2tt1gZBQWZSs cuVw== 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=aDdT4/+XKsblVJiSEV/Ng5U9nFlFYwJI7t0KAgT17Jc=; b=ZndHp2DNA13ECCdXmzRkEWgHhjJN3DaQ+sOfVtQvWKrHxoFVesT/WZQnHL5vW7XfGQ Sc/ATxf2pBH/ovcjw6p/78/kBYlcF5Tg/NPRdFYB1eCDo6lSU91cdlmshaZ2jHx1WAvd bQCy6f4W1OW9Y85j3JXn1fNNhdXAPXdh8FhstByCzFyFy7+yX5vUGKQV7Ni6VkvaQOuy Vx3ofUk9InSr3AOaAnhnuLTC4n6NelUx+MDBK7YrAegJP5H1C8tcXjoqsd8cukBIvFdT 6J4tfci1PnJB9YUt+1HlKgDaBGvzOF2uANp95V6s1JhNiSV60Gb8jUBzv5dOLYaQ9FgB bB2w== X-Gm-Message-State: AOAM532wx9JhqzR+3VgLg7SwC2ABGPiPc5A0DEEotShVQSklNFZBqLpw mv/iVffK1ZhussspJQfa6cziXw== X-Received: by 2002:a05:6402:27d3:: with SMTP id c19mr10448067ede.129.1618583864278; Fri, 16 Apr 2021 07:37:44 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:43 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/40] drm/nouveau/dispnv50/disp: Include header containing our prototypes Date: Fri, 16 Apr 2021 15:36:58 +0100 Message-Id: <20210416143725.2769053-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c:2599:1: warning: no previous prototype for ‘nv50_display_create’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index 351f954989530..4905ed584ff48 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -68,6 +68,8 @@ #include +#include "nv50_display.h" + /****************************************************************************** * EVO channel *****************************************************************************/ From patchwork Fri Apr 16 14:36:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422520 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447739jaf; Fri, 16 Apr 2021 07:38:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlqW+0gIWcKioJMSNaxnU6Dr6ynMdXf5wQoy+nu6BhaURzxB1b/mNmrw2lJ594veKA6Xps X-Received: by 2002:a17:902:e812:b029:eb:59d9:e550 with SMTP id u18-20020a170902e812b02900eb59d9e550mr9764049plg.26.1618583892914; Fri, 16 Apr 2021 07:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583892; cv=none; d=google.com; s=arc-20160816; b=w7//G8oOfNbkRya4J7lFxm65uAqZHyZdWKqbeSo3BVfa/rlcFrDoV3oC/FSnFX1cuj hVUnbjoPV2CrgFTKA1Lcis63LDTUL5MTfZ6+Hq1TKU24Lk9Iq2H2YBSYCaKPYwDNJsKG C40V3tjrJvzhvMOYe4O3WXb1lp+lN+f40nnjodSZ2wDssviqqpFdjLPuWZ2fz7kij3tV SxQ9OHOcjZ5kwqiUZTuzlHgPt+cxvfFzkL/Q0v2CMv5VUTXEfFxMycN/zEl2lLKQdHJr +6k6wLfy8vTFUUunG+T7icsftl4yxT5f/o754LLorbFJ9tfOOufNFNnAUuFd+eJbke6c rMdQ== 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=uQ0+CEjBPRdBK52J12hXWP/hRNuEvTTYayB7H6Qgy+I=; b=J7tgYgOOoax8KdCX2H6sRSP9Zn1bRNznBCxxPx3+cFol/E0JXX71rcXIDHncVRSJOu qWkGcIc6490s0k1dshLZKFc6DT9xOGjFTNS1ul6ec+Gm/m47YDp0vil6MLnCbqvQK/Ac bbsnQ8X6Nlsi7xVqswMoE7UYaPSueAMuj6w9byyC9IGrKb2eDAPJhCr03jSy0h9LVqpA 8bl9NReXZnlIaugitSjtba22k/vEnPCsXC2n0idQzGnnVhCCk8UuznPqXro8Ld1Mdfrm 9/HwiezNd46pXO3pHFoRT8c7vst4J44M29UzUnsRY0tE6dR/ic/NZQku/2N24feUHsq1 ordw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RwSZt871; 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 z4si6842671pln.226.2021.04.16.07.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:12 -0700 (PDT) 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=RwSZt871; 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 966706EC0D; Fri, 16 Apr 2021 14:37:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by gabe.freedesktop.org (Postfix) with ESMTPS id 96AD86EC08 for ; Fri, 16 Apr 2021 14:37:46 +0000 (UTC) Received: by mail-ed1-x536.google.com with SMTP id o20so6272739edc.7 for ; Fri, 16 Apr 2021 07:37:46 -0700 (PDT) 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=QN4aBNwxKOCABxwfpyuG0Xk/7oUm3WT2PgkGnXFzadY=; b=RwSZt871KIA+ZvsKOJpIutalCd3bcubnhe5yJ8ZZvr1njX2RG+VN1gGQd8B37zPJu/ 9xA9SobU/iCgxon/a79k928X3sbW/Xlu5UGL+KSDQSMWyyoR1EUGtMzfiGBEtSkoD/1w Yo0mDcvabfy77pd1QqB2qJ5Rzl8bv7Zums/J7av8dbzQpx+EpvLFCcpOa/wletkE0Kie oBgD09ElxbYvm/sK6ZwyTKhnXlWhwQZ+NuMTqJH6HpdEuGbMbz3uW47dPpvKl6eRimEL +PSoJBKs8IEUisnQOl+YPDBubofRWi0JVa2FAJ5reYSbOIBuEvIhhtHgC4D5T696N9FW O0Dg== 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=QN4aBNwxKOCABxwfpyuG0Xk/7oUm3WT2PgkGnXFzadY=; b=fphvFr5Bm/DeEOBh4q3lx1IkSYXqJE47Sn5pwyZPBmm31PQ1gSu9TJlNeLwtrjtkAc Fiiqsc3cmdJg6PWjvBnyWMxvtDryT+6pTFffGuSQx4lIzaSJF+KDgbqwLJCPkzc0aZ70 kuynSnYKuEi2rLz7CoA/hLTc6tmhIxyw7zzo4FpQA1cZdVZyRGeiN9EDmhgSVfrAebRC tLfy6hIsJacx0pvM9XCyviKzALF3rIKW7sxp402e79OovIJZ/j3VvoNv98lnTkX0Tfod AXVSbiFUIwA/4Ji07wcdLqSbvooCI1RCAPtLOgN+vaCDyhz0ZU403oZl3hLa1DYqruVA H1DQ== X-Gm-Message-State: AOAM531k+zJ7WYldF9Th5FOql9Drm+7mlCtPkDPoDcMztQi6xV/en31p j3ElBJoRNNl0QfE0RtP0oBagpw== X-Received: by 2002:a05:6402:31a9:: with SMTP id dj9mr10380014edb.343.1618583865142; Fri, 16 Apr 2021 07:37:45 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:44 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/40] drm/nouveau/nouveau_ioc32: File headers are not good candidates for kernel-doc Date: Fri, 16 Apr 2021 15:36:59 +0100 Message-Id: <20210416143725.2769053-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_ioc32.c:2: warning: Cannot understand * file mga_ioc32.c Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Karol Herbst diff --git a/drivers/gpu/drm/nouveau/nouveau_ioc32.c b/drivers/gpu/drm/nouveau/nouveau_ioc32.c index adf01ca9e035d..8ddf9b2325a42 100644 --- a/drivers/gpu/drm/nouveau/nouveau_ioc32.c +++ b/drivers/gpu/drm/nouveau/nouveau_ioc32.c @@ -1,4 +1,4 @@ -/** +/* * \file mga_ioc32.c * * 32-bit ioctl compatibility routines for the MGA DRM. From patchwork Fri Apr 16 14:37:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422523 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447809jaf; Fri, 16 Apr 2021 07:38:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLs2+K0m/mBf5neOlPFSFwfNxLdrRCG4sj4zx1etq+LwA7X6/vWqejumtklHnjW4SjziwI X-Received: by 2002:a17:903:1d2:b029:ea:e375:6a57 with SMTP id e18-20020a17090301d2b02900eae3756a57mr9947348plh.31.1618583897192; Fri, 16 Apr 2021 07:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583897; cv=none; d=google.com; s=arc-20160816; b=ivlSGt8sul/L/vBixekMhkm2dT3HbrEXYhBMgS+i+WUVMLEfN9nunaZ+Fmn687JJ+h QBWccjUVoHmuhPthj3aiXSM/uhcOkigdNzd44Peyua79kAvJMZc4/mVhG4iGrOjklL21 OahPTVbPEm09dKNTMiMl72XnzwaWpYrYid5quANCjcNCCVupkpJLr+mShczzYccHX6lt edLz0jB8UgV198TyVU7iuf6rnvgqlqfYZtz15itrg565TZL8ONcsu+12RYDoQL064rtJ OstquKQvgPdftCnXPDyG2rrQ85wctVF6yTvP5z2aDCKPzc1kubP6C7X5rqtkVWAI8Qut eeCQ== 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=Xvx8OW/mz1LZwcG2sTOceeS1KGNEDstBKmCwckNzKVw=; b=Dwo3BgkeCHxAUVSDjsV2KdUIug1Z6enlMe3uSdVfk2wd+hfb+ibqmtYNSL542fTGRb mIuxVCuOQp7GM4DPf4zTVADqthA3X2o1sIxXEOhiCJLVCPN64j/1AH3D8tVGB67TVK8m cv8GBAu75wGkc5Kw7ywr5/5UmLWsNnC8qUAtEY4O1O3fK4HNLFlZfFlBPLoreDv761Am jErjLpVD0k8Z1G9qE+cCjNMs+KYl5cxkXDkbNwci86xg6h6oBwG4ek0EG+8fGpNJT5jq nce0jeEFqY0DR00BLmK74519+GidRXjLav/Qh7SWBiBXHgpmvIK142iURiL+2vj9F3M8 wEoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pJ3u5NeO; 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 y7si6999627plt.83.2021.04.16.07.38.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:17 -0700 (PDT) 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=pJ3u5NeO; 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 7E0366EC04; Fri, 16 Apr 2021 14:37:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 660F26EC11 for ; Fri, 16 Apr 2021 14:37:47 +0000 (UTC) Received: by mail-ed1-x52d.google.com with SMTP id m3so32536504edv.5 for ; Fri, 16 Apr 2021 07:37:47 -0700 (PDT) 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=eTcc77PaUiGKf9phoAd/vzPQm0tz3YbgYP/6lveIZh4=; b=pJ3u5NeO+xtFEt59222VQTddT/mVwYGlZ19Sl0O7F7DINA7n1E962WyomgkEmnrQ7/ hIU7DbIsLL4BN80rKA9uaowzRvR6SlQWVOeLKReBBI1565aqLRmKeNlVP5fjx++m/hGc PF7VZPyPXpfuSxbctS+snGwSo3I/Hn64La6iq7sZrUG/ECQVI2Muerd5DEPoJJdu5+8p I8KCYaVf2itm0KiGo9Yc76L1jroFIhOs4DWjpz3AzRUl3nNog4E7azTwpv6WNaI3lJ61 gRZG8stGP4QeA2/H7ZDZoYKEaubn4R3GVxmw4SX0U614PYQHe27IrKjcIaMkM+UZgYeh umOw== 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=eTcc77PaUiGKf9phoAd/vzPQm0tz3YbgYP/6lveIZh4=; b=Wka0tNSyVYQhu1+WfAQUDgVBYCuDxY2h+BUxtWcAUih6Y2WojZSYK70Bvi6Fy2x8+D LhEtAkqOTM+kgiCA81cGG0LyNyix1tdsE4KUWKgrtGySLAf+GIY38gGoMqm9ibTPpXvJ /U7R2CWkzkhOYK7YLGcrq0nsY+cYdOCf5Xa3H7D4vawCFVz5o7o7D/XmshDRAofKOtaZ ASmoV5UYxehfFeJS5FDeCnY4uhfbSu+CdiuZqGUtGKTida++PuA+IzHU7n3HDJpZUimt 5bTcBztQslq6mNlFWYFGOwPJLjK17hLEjEU0/P8Ljfm0/EWM20umzaB+PJbrM5fNTym0 Rpug== X-Gm-Message-State: AOAM532Gc4hyXrjB7RF6ojpKn5VMCb8VwODBrXcGBOKs/0fE2sh4x0mD ijdYJe/gx43P5oyeIf9TReAQRA== X-Received: by 2002:aa7:ca04:: with SMTP id y4mr10173077eds.72.1618583866128; Fri, 16 Apr 2021 07:37:46 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:45 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/40] drm/nouveau/nouveau_svm: Remove unused variable 'ret' from void function Date: Fri, 16 Apr 2021 15:37:00 +0100 Message-Id: <20210416143725.2769053-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_svm.c: In function ‘nouveau_pfns_map’: drivers/gpu/drm/nouveau/nouveau_svm.c:810:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nouveau_svm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_svm.c b/drivers/gpu/drm/nouveau/nouveau_svm.c index 1c3f890377d2c..26af6ee915368 100644 --- a/drivers/gpu/drm/nouveau/nouveau_svm.c +++ b/drivers/gpu/drm/nouveau/nouveau_svm.c @@ -811,7 +811,6 @@ nouveau_pfns_map(struct nouveau_svmm *svmm, struct mm_struct *mm, unsigned long addr, u64 *pfns, unsigned long npages) { struct nouveau_pfnmap_args *args = nouveau_pfns_to_args(pfns); - int ret; args->p.addr = addr; args->p.size = npages << PAGE_SHIFT; @@ -819,8 +818,8 @@ nouveau_pfns_map(struct nouveau_svmm *svmm, struct mm_struct *mm, mutex_lock(&svmm->mutex); svmm->vmm->vmm.object.client->super = true; - ret = nvif_object_ioctl(&svmm->vmm->vmm.object, args, sizeof(*args) + - npages * sizeof(args->p.phys[0]), NULL); + nvif_object_ioctl(&svmm->vmm->vmm.object, args, sizeof(*args) + + npages * sizeof(args->p.phys[0]), NULL); svmm->vmm->vmm.object.client->super = false; mutex_unlock(&svmm->mutex); From patchwork Fri Apr 16 14:37:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422519 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447717jaf; Fri, 16 Apr 2021 07:38:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm3Pz+MGj+1cFVXTomv/dpVdUnBZ0ZQ4ovTXQz0MyAnzZhGP+WxiTFtuk/lTNPpXnZIOIP X-Received: by 2002:a17:90b:4a86:: with SMTP id lp6mr1145128pjb.160.1618583891375; Fri, 16 Apr 2021 07:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583891; cv=none; d=google.com; s=arc-20160816; b=QEpNVSaw3dnHCwxWqZWTAGbpf+DfHVmyZ56eRRUajcq78WZ52Apz+DG9M64x3+nCDS viE12K5RrBI4O7CtfHluXTiEpMKPuDhLb6wkDMnKkydRkUk0yEfFoh002ANRDxMe/YhR RWG2sZa6+hRqmo6TWFYTKyB7kLSC3xi/GGW8uIrEPowp+2RGCsvR9Qz4t/UQzuj+QyXM Kdvt9HD5RFFyeQV5BPHCdMP2HlJ99geH5iom+OpMQFyljVjomQ08Rnzrj9yWdjMLnSIS hBKfrVeTdhR7c0iuDgAZ4Vd6+berfHoS1ICfNLkiPWtcW3HgDD9xCTcPrENDpA5ZOEsr cfTQ== 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=lVhpekAWdhQkmwR8Tu86PRLahnapQpeu5Z4DLhmnc+Y=; b=KRgIPcRcicNujPvVeDxff8whPsw6pBmI2MBGLjUxM8eYYRjpTDpuAgUR/9muUlcP9L ewEd/wzOfOIx03QUunmSEhxjbcbxUNFvsy/9Z2kgdsmK0EvAmo/nbm7ahxzIDxdQlHby 4+FII9y/FDex3FbZNQvwoNFzLOAjdtPEwfw4HRT6NKb+OY20RQ2GL4OR9gRl2jY0O91u s/w+SqT54tGjl1lOvuddSaPtPw/4FgOzuNSfx51RdpbY3/nPqIjygp2BTN6UQhH7DKNY bLDn19Z0RQGMsmScB+lzvyueTy8VZLkiKsDfKJo22I8j+XMRG6xWbjL8i8ZPqyhp41vQ eC1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HIAesytE; 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 e12si6335699pgh.37.2021.04.16.07.38.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:11 -0700 (PDT) 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=HIAesytE; 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 2ED9D6EC11; Fri, 16 Apr 2021 14:37:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB4CD6EC08 for ; Fri, 16 Apr 2021 14:37:48 +0000 (UTC) Received: by mail-ed1-x532.google.com with SMTP id g17so31848319edm.6 for ; Fri, 16 Apr 2021 07:37:48 -0700 (PDT) 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=BenSWVQP2zN1koiPW0t4kws5hTFRiEoau/BE1y9GfNM=; b=HIAesytEg5S3sduMFPZ6ZtYIe1kNf+o5CbxfxLRVidE4pbMb2kNGB64UxIGQU2qRyM enc++rAblmvxbBCHBLncASVRGti1rSEsilx9FwhuOehh6gVuXXsI6Re/bG3gJuv+y+in CSCstZfPkCUC7FIEyTX+0I7CB1NSsmmH1fDey0abB0EpwuZKW6ueLNv/XdiZ2V2UEJn4 NQlDG1UkwPm+gpcJ6bieuV8UmL8z8ZF5GAWLN11J0ywRM/zGDAJQ0Cf9a8fI/BrQfWR+ FtPDM926uNLX5X90uAItZowa8ttUBbcgMOz/r7cf9oZZHYVBD/Bl8g0a8NvPX7M/jDkE Lu8g== 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=BenSWVQP2zN1koiPW0t4kws5hTFRiEoau/BE1y9GfNM=; b=WpL/dyAxOYgnv8MKZJD7FWV90XbBqug0HklAlcFwnCWmyflsYUi1if9ibw09nEupgb AsMIoypVWS4d8j1MxbQgvaINKuNIVFUT8u/ees8NuIOvR0fa9TLjP5nMJwToFxv9ruWy VtqdDlOFovuOOa5cwZJgLO9DkLSDd6ABpU6wIsJlDBBr+JK7/eAe06bs2tULB5ZJRW3g E5I/6d2pNxRXmENjzFCzpZS7pj9tPvldbYFuTYrKINmDz11cVkK4yxBdVRZZBYjsG8RZ XW4uCEonb2Ra07cN4bg7a1HhE/mVXVGrot7O/L5eOXRSiCKfTBYtfVC+Fd5HjzO7dOBN mSRg== X-Gm-Message-State: AOAM531qDRPW32rbSE66D565prP/WHNxF9OyWU/IXIrzS5Cq1hnMg7dA JXlJMzm+SbYgP8OjL5r6nLBdhQ== X-Received: by 2002:a05:6402:518b:: with SMTP id q11mr10396198edd.151.1618583867088; Fri, 16 Apr 2021 07:37:47 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:46 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/40] drm/nouveau/nouveau_ioc32: Demote kernel-doc abuse to standard comment block Date: Fri, 16 Apr 2021 15:37:01 +0100 Message-Id: <20210416143725.2769053-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nouveau_ioc32.c:52: warning: Function parameter or member 'filp' not described in 'nouveau_compat_ioctl' drivers/gpu/drm/nouveau/nouveau_ioc32.c:52: warning: Function parameter or member 'cmd' not described in 'nouveau_compat_ioctl' drivers/gpu/drm/nouveau/nouveau_ioc32.c:52: warning: Function parameter or member 'arg' not described in 'nouveau_compat_ioctl' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Karol Herbst diff --git a/drivers/gpu/drm/nouveau/nouveau_ioc32.c b/drivers/gpu/drm/nouveau/nouveau_ioc32.c index 8ddf9b2325a42..2af3615c5205c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_ioc32.c +++ b/drivers/gpu/drm/nouveau/nouveau_ioc32.c @@ -38,7 +38,7 @@ #include "nouveau_ioctl.h" -/** +/* * Called whenever a 32-bit process running under a 64-bit kernel * performs an ioctl on /dev/dri/card. * From patchwork Fri Apr 16 14:37:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422525 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447882jaf; Fri, 16 Apr 2021 07:38:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRqDcXLinec5d1uja06XHT3Jv0dLvHtypJVk8GEWKW3A3FSJ4WooLugxBvallFhhvlzbhH X-Received: by 2002:a17:90a:1b62:: with SMTP id q89mr10503470pjq.54.1618583903323; Fri, 16 Apr 2021 07:38:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583903; cv=none; d=google.com; s=arc-20160816; b=EpOf9cK/XaNrK/tjQLSRpvWq857RCuo38cFI85wmalekGBm9ZG2dVHCE7r8eJtP4Ee +g0Vb3F4QJ/dRVvTgYgYDMXwzJpiN1lNZ5lRpCjxb0qMuQo+TQuHxRjFGCn+nQ0usUov KtRgtHASWHvumh46gjSUnlZwzKU6akn3o5+8qyTZeahKortYeAAuiMT3+PACHgRrvw5a RAP9KRQ8bw+ktlrWo+F915DRG6pPkl7JyI3z5VO1RNuP14cUTHkq91MoRNEG0S2gd/jF myd8rka19VHOhHOu+ht0VfWSH5+cjVv5geNTBIUbDCGW+seFJlTKNd+8eeDI32KMBYrQ dBxg== 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=UZe1nqJH35FL2p8+ANmPpJYbjzd/KMENlu2+6RHAGCI=; b=RD5m0Q/4JAAVYrgGdJ4QeVcN7pt/wPph+eiqI9VYBuo9LS4MhKIka90DusAdtxcrEs CSyvfs9mgP/SfPJZRNbfXdP5OYncrb1DePzEGwbM0C3qOXU105huCPNQptsy1P2sT1/w /ocaqMT8HbHHCbOkI2A+BlQEt01OJ7/ti2CW/qgUbpczAgSAVAbh8ymySLlt5HUGnBk5 DdigXKEF5oRqNAwB9O1Gv+/MmVCb+5JQlJ4z9QIbA7QLX1++FZhD8wYHbWX0JJO1CBzp o0HK8HmQQCQ1ubxhqy26xVGWzHL70wnd0wZpxQ8mtjevVgxscPERuwuBKX9plfE4sGuY o3vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=X4BXqdfG; 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 c5si6050009pgb.119.2021.04.16.07.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:23 -0700 (PDT) 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=X4BXqdfG; 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 1FFF76EC1E; Fri, 16 Apr 2021 14:37:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 74B436EC04 for ; Fri, 16 Apr 2021 14:37:49 +0000 (UTC) Received: by mail-ej1-x62e.google.com with SMTP id u17so42505554ejk.2 for ; Fri, 16 Apr 2021 07:37:49 -0700 (PDT) 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=61oKXxvl+24t+oBgcuj4NfG+vBqO/3mKOMoXwskYVGU=; b=X4BXqdfG23NXa84B1Vlw8fBJx1H23dD737fq31AW5KzaRwv5QkDL16paKDhgU1wF8W GOL7iCorZFDYIS0EemuA5lDQa4FHfNL/wr/A1E0/ig2HuqDN7oxizMG/QdnscB4oBsDP 5WIgMUlhpojZQs9TK06RF1Nrwj9zyQTJbO8BI0VWmYwcphGIQsks2Bps/emwiy+CH/Wk o67Nj1MfKAlRF3jncWbu3AUTyN36ebEjkndRCtA6nkAWNOFo5+SKbfsQIh4rpmjt6Dow F6NMyDFABd2NhOpbIqURgxg4QjDROUlAYJxrkg3GXO/KZ9XSpWXilAKay+z0Aj7Zc9lU 0d9w== 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=61oKXxvl+24t+oBgcuj4NfG+vBqO/3mKOMoXwskYVGU=; b=X8iDNfr2CxEI1px34P/KH5sdQSehQg9d2k74CMqmlpwlCtAJG/CP1sqAo6mu04PaSv wTglNQcLhm8c+Hkrz/1+iAuQ/Nyy9PpZWRtzb2X5ww3cqX5o+uoEJ/71sXYtBXzg+mtf R9ZaVVdoaUX15h8KkCDEuPGYSuKRVgXfzGWKbADDrS8Z/WlytMZlJQyHqHkv1Zb6g6DY hpBgU3sijxOy8Dm8/hkmGhb9OLe5M8301aRAaOZVrxk9emzvJh7UHpsfNEUWPi6VrfyW Bkcx7VhI7eXE+SyKtd1meLeNaENQcflCobLvLh3yRv27zOEmlNZqaDqXwDdBh7uwkVwj uMSQ== X-Gm-Message-State: AOAM533fm2g0yjoxyJCG/rgCNz3GmCYBC/d1HlSLfayNDCfn0kwb+lFg YIl1iF7BbBV3gMKUKQeJeyxCVg== X-Received: by 2002:a17:906:9bd3:: with SMTP id de19mr8318214ejc.329.1618583868141; Fri, 16 Apr 2021 07:37:48 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:47 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] gpu: host1x: bus: Remove superfluous param description 'key' Date: Fri, 16 Apr 2021 15:37:02 +0100 Message-Id: <20210416143725.2769053-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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: linux-tegra@vger.kernel.org, Thierry Reding , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/host1x/bus.c:774: warning: Excess function parameter 'key' description in '__host1x_client_register' Cc: Thierry Reding Cc: dri-devel@lists.freedesktop.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/gpu/host1x/bus.c | 1 - 1 file changed, 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/host1x/bus.c b/drivers/gpu/host1x/bus.c index 218e3718fd68c..e293b68acc348 100644 --- a/drivers/gpu/host1x/bus.c +++ b/drivers/gpu/host1x/bus.c @@ -761,7 +761,6 @@ EXPORT_SYMBOL(host1x_client_exit); /** * __host1x_client_register() - register a host1x client * @client: host1x client - * @key: lock class key for the client-specific mutex * * Registers a host1x client with each host1x controller instance. Note that * each client will only match their parent host1x controller and will only be From patchwork Fri Apr 16 14:37:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422522 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447782jaf; Fri, 16 Apr 2021 07:38:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEuvh4PTDRCKDij6Um8JaVN3UOENOkeKOkFpShKsWpgrUN08C9hg2K5ZCD/wj27Uz75VX8 X-Received: by 2002:a17:90a:7566:: with SMTP id q93mr9936754pjk.103.1618583895787; Fri, 16 Apr 2021 07:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583895; cv=none; d=google.com; s=arc-20160816; b=ZVGIE6bK/E8MHtLsyJ3uMNsDPrh0A3RS9LF29aLmOOg5i6IC32oJ7SFc4NwoQsu4Tl V3i50WZvoYl+C3+D322SVnH1UU13b6I3UpFib9mIp/LPbQYtpoVbzJBanvlgHJlKMWE9 HOFMUoWPb5vaKqVGb+BHcw76Taf+QTIFFLw0DEaF9hhOocNuUtighqMpoXaVfSJyM1gp piShaA8fHFW1mwVLeqzu3ReJXdKOBVMv2D+993NadYf5nLMOft7FI97MdeC/kGYr01cQ IwlVNjs5Ni7cWsEngEMNM6OWinPrktXpoZTBDVk4QiaxDqDbAmGAyHqDltGT/fApBS/2 YCew== 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=ZUX4vWJivIlduStTS27r83bqqkVFytshIh0+cUiHOJg=; b=hXAjLHbHLcRR6p2F4aI2gIUSszVbQDicktw0xvDtmbrufZeyWZ37uLr9yUPl3FclmC FwjMsK6C9MnqbTqnzGoZxAPvXj7iNfXFi6YuVxL/lk5JlxnKVGHuYCgsN7YtlPLrI2PU e+rW3ehkiB7AkH7swSZ4ensDTZRQdF5KrPcxnJHg7wxm6Zqakhk0Vee7CrFp+Cu/0tiA JwccwhABpF9Y8Q6vgGTXkzkp8fPObo1RJ4Mg4M6gx1hDbzRidZB11sjHr6ud6R6eAHDV GuzNVp1PCTPIoZgGSkXQ3ONdqytJGq4ySQwNCbR2iNBzjG6wbN7L6ac1Fykj5vJUDi4D 8MEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HPaBNGTB; 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 h19si6666865pfh.338.2021.04.16.07.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:15 -0700 (PDT) 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=HPaBNGTB; 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 53E656EBA5; Fri, 16 Apr 2021 14:37:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 70D126EC03 for ; Fri, 16 Apr 2021 14:37:50 +0000 (UTC) Received: by mail-ej1-x62f.google.com with SMTP id r12so42510627ejr.5 for ; Fri, 16 Apr 2021 07:37:50 -0700 (PDT) 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=77KORMvjycuosDmjlDlE5rkJsrZos9ee6jXmEuSJFYU=; b=HPaBNGTBopwSRGzFIlqBdzxoh9v8tKGDodE6bsGoO8t2VUZO/SxuVnkNG9JnqDCbGE VojMx5Hv47p3/y6Fyv1MNHvDV1eia1HKQeYArX0WlBkzBrPbItLWOuFSWHI1owP5l9CM MvLa8jw5+ntXAixaJz9MmS0dkOZwTx0+4fVEZm6lf6/KvCWrYnuLJbxRg24OtYcK7tZS 8SNXAB5bWdX7zoJW/Xi9x78O8THiDfx0uRWPY78zqAFoYUxtFgJS693oKm5Gb5xlJK8T tKU0/X1g2YCb6T9AqWYqwzFuHDR6wNLFSipYp2GwbyW/LTk6ppVhcUDNE5pkfSVYW6B2 ZrCQ== 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=77KORMvjycuosDmjlDlE5rkJsrZos9ee6jXmEuSJFYU=; b=XfOyDOUuGaR2VKgMdKO0rokqUFn/4xMZLzD1NubfLiZYblFaOlB5KgBz4Q1bbv1Cyi mt5JHQWxrHQDgW/pu2y2kr/m2rY/qZnYcAttXnOylHFYMErctJyLLw6FyvEOgCErdrY9 jNGYgzlAX/UUGQnG6Ba3GoO/MJGsAe4B2h97V5viIfMIalneqy4qWeBw/DCz/GDU6+ll vna/KA3/u81wuw93Ji6Q44bHOjVxFPX/afRv0Dt89QyY8wvO4lkTsEeV0FEwShe8QL2y Q6RLHSoi3p1isOhjyy+ShQRAw19xYGp/fy46yBmMXClT3UsIJVSvU6QGT7TwNeWnQ+m5 KtZQ== X-Gm-Message-State: AOAM531kf4GPb6Q1qDHsSEuYjcoUpMRqBCNb2B6VovQxkLn61/khctuw 7DsUsaqb2dyszHPxp/VmZQgK2g== X-Received: by 2002:a17:906:94d2:: with SMTP id d18mr8641752ejy.531.1618583869107; Fri, 16 Apr 2021 07:37:49 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:48 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/40] drm/omapdrm/omap_irq: Fix a couple of incorrectly documented functions Date: Fri, 16 Apr 2021 15:37:03 +0100 Message-Id: <20210416143725.2769053-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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: Tomi Valkeinen , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Clark Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/omapdrm/omap_irq.c:114: warning: expecting prototype for enable_vblank(). Prototype was for omap_irq_enable_vblank() instead drivers/gpu/drm/omapdrm/omap_irq.c:140: warning: expecting prototype for disable_vblank(). Prototype was for omap_irq_disable_vblank() instead Cc: Tomi Valkeinen Cc: David Airlie Cc: Daniel Vetter Cc: Rob Clark Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/omapdrm/omap_irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Tomi Valkeinen diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c index 15148d4b35b57..dff095c864909 100644 --- a/drivers/gpu/drm/omapdrm/omap_irq.c +++ b/drivers/gpu/drm/omapdrm/omap_irq.c @@ -99,7 +99,7 @@ int omap_irq_enable_framedone(struct drm_crtc *crtc, bool enable) } /** - * enable_vblank - enable vblank interrupt events + * omap_irq_enable_vblank - enable vblank interrupt events * @crtc: DRM CRTC * * Enable vblank interrupts for @crtc. If the device doesn't have @@ -129,7 +129,7 @@ int omap_irq_enable_vblank(struct drm_crtc *crtc) } /** - * disable_vblank - disable vblank interrupt events + * omap_irq_disable_vblank - disable vblank interrupt events * @crtc: DRM CRTC * * Disable vblank interrupts for @crtc. If the device doesn't have From patchwork Fri Apr 16 14:37:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422521 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447761jaf; Fri, 16 Apr 2021 07:38:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxwxeAKAT6MChD18ajIeV6Q11ZD6tsD7L+LpbBszrzOKyRoq/Gxx6IeFZMoOHmesyQjjLb X-Received: by 2002:a17:90b:ed8:: with SMTP id gz24mr10052889pjb.208.1618583894403; Fri, 16 Apr 2021 07:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583894; cv=none; d=google.com; s=arc-20160816; b=HFgJaKB7eKx9LQ7CbXErsAVcOdK2b5B1uQvTumzI5KUHFtQ+PNMYwphmqc1t5yXL9s mcfwUiXFSDkplWVo8BbZpGzhTgCgvFbSgpu4wLPJLRn0zo4UEKcOH/dE+93kKNzMWJFk Zck+Wq2l4cI/uoYmy253H/oItclYa7oe3Bgob/aETudE7O5usKJoeBeIo62sXyEOrOgs Gh1S2YlnNlXB4qifB3gb2B/FFK8o59TC4WkpPrjPTC+lb1I2P0tKbs8AxSwLn5xAhjMU 6jHXD0W6OGOFmJEqKmO70tSj6uzjFH6lyaWuHgx2RkAU4gxh/hRLuPP+td/8B/B1C9zF /SEg== 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=M46dZtgP2N+w1I/Ujis7AHmXJY37s49lCXPUz1fIYeA=; b=YgLoRpMtHajEssqdLLepAVk4lauQVRsGc2GfRY7PkaKbuwt7xMCRbr8CORx0d85Seh IOuS4va4SDa4FZOsgw/bmMbpUWLT8Wo2/V83cmOPSbad/BeD2ge9IAFFbrbzpHZ8EsOm 0/dC92HwB1AScb5NZEFH22Z74jVLSKPRoQi5GhVMPtGoZ17Ip15NGk5RXMMDzGCxHIev 7FwENSZWSttiGBge+Q6r6cP2ihK0loPhIUjpV8RPnCq8gJlViawYXEZpy66r9Aow13Ih YOR2dgEIYMUAxYoUgu7QFxxUW+NEYRco73o7G4VaCtddZ6Z6QBgqW0bMJ/MwvgD8YYig y24g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ej54r6tz; 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 m4si5481072pga.257.2021.04.16.07.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:14 -0700 (PDT) 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=Ej54r6tz; 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 1230E6EC1D; Fri, 16 Apr 2021 14:37:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by gabe.freedesktop.org (Postfix) with ESMTPS id D23826EC16 for ; Fri, 16 Apr 2021 14:37:52 +0000 (UTC) Received: by mail-ed1-x52b.google.com with SMTP id o20so6273147edc.7 for ; Fri, 16 Apr 2021 07:37:52 -0700 (PDT) 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=IX4rCKyup2XWGiFmahgmd3kG2O7V506Gam6HuYK+7Ps=; b=Ej54r6tzDzb/jAEk8DsTG8FFLNowawyS9Y7KPJNk+nCUiVVYTGPU7BiYh4lB0dLMzI as/LgDvmvn6I2NSa0qxFHmmAv/mHrT4y6wEolmkD0awh0pvd7lHlRP19iYwn6ueUWr4S Avt2tPLCOco9zFsEBStg2yVR+AKjmrgakl+NTTFRS1UnFcbqXCy7ZpydB3sqeZcVjyvz RdSuYPlFokrT7ILCeqj/Uba9bpv0kf4WIzaV1pZzodkG17B9Uq4TLMhZK6Mbb3H1jWZ2 42DPLS0BCeNeQS75QB7d2LQClfE6f6OotuIBv+gfH/PvR+T1nbHOJpUNeiOREaHaTGwi 489A== 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=IX4rCKyup2XWGiFmahgmd3kG2O7V506Gam6HuYK+7Ps=; b=DcCGAGeZ8lRUtvTppEjJ1GQnxRWxWD91vVKz2E0h+4sa5/MYTgeTMcqu5fl+n8jT+J 6i6+uH2GUZFA8Nx4IaiNeOdYXCW9ukrxMO1ENIUlRJUusQaRAPFzwKMoNgiyEo8JTmBs tuNVNNu+AfUxM3MxzPox80bvS4fbgrsDm4lH4fbKpTcNl0FjT1qKRgxkx54Jbk+3Tbie rZjefK/EvfK9sewbuoVuMq4fmB4SMNr74uG7TOugOnfWpTuCuXN1Z+1AjDBa5e1TYsVb ueA3Gs7XeyRglFEsZTfO7Lf102Kikd0/k2y6EfZVQMU+27HXm9OI8Z+pC+klDTQ8Liuk sOYw== X-Gm-Message-State: AOAM531iPwJm6Ea327ya2TexwkzTm3JXT8QgWw/ReDwfExCR8bXxJQiG p7whCexFz4Vrb5y4gtN+ZlswWg== X-Received: by 2002:aa7:c518:: with SMTP id o24mr10374073edq.64.1618583871263; Fri, 16 Apr 2021 07:37:51 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:50 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/40] drm/xlnx/zynqmp_disp: Fix incorrectly documented enum 'zynqmp_disp_id' Date: Fri, 16 Apr 2021 15:37:05 +0100 Message-Id: <20210416143725.2769053-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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: Hyun Kwon , David Airlie , Michal Simek , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Laurent Pinchart , 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/xlnx/zynqmp_disp.c:101: warning: expecting prototype for enum zynqmp_disp_id. Prototype was for enum zynqmp_disp_layer_id instead Cc: Hyun Kwon Cc: Laurent Pinchart Cc: David Airlie Cc: Daniel Vetter Cc: Michal Simek Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Laurent Pinchart diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c index 109d627968ac0..ca1161ec9e16f 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -91,7 +91,7 @@ struct zynqmp_disp_format { }; /** - * enum zynqmp_disp_id - Layer identifier + * enum zynqmp_disp_layer_id - Layer identifier * @ZYNQMP_DISP_LAYER_VID: Video layer * @ZYNQMP_DISP_LAYER_GFX: Graphics layer */ From patchwork Fri Apr 16 14:37:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422526 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447901jaf; Fri, 16 Apr 2021 07:38:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZZYxA28JXkjNGHuzEesOQnJFOA1SkRahmA2Haa+cBi3Y0QFoK+0xxtB0zh6kH+zUaI1Xt X-Received: by 2002:a17:90b:4a46:: with SMTP id lb6mr10284815pjb.45.1618583904948; Fri, 16 Apr 2021 07:38:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583904; cv=none; d=google.com; s=arc-20160816; b=KhJuacJjo7ipmc1xw5WrHqcp1v5VmnUT1WW60nEDEaXRPm12u411lRtmwrObGu6gc3 pIPsrZa2GGv4hb7L5hdfPBJXcRybGYmWBna5owsQ5G6KAIL6025uXF5UEqf7K+O6yTrS kWztFIsOaVo1mBfBrAk4UOAj2pqFeLeUeos4WjFIpF7kXU/7JKfGh5cUBlqT+57WsHE2 y4e24nzrl/WAd1HWlQctoHA5KVgWpd7xe/Z++QBK2olzKJh7WW+rgIgACQjGAYgLhIFh 9+55haIWX10bHfRi+j9vllTTi7jAjwOlWXT9yPKil7d3k3ZaNUBH4Sz27bI/qd+ZSas8 aaLQ== 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=fMIqAwWpXUpjBuGumtQDqkcE1kdFYIOca5Z+2acQxFA=; b=x3k40m6e1DzwqV87an50vKt1Fp0YioCC2HbxrpBSB3LodVHhCchBZIThZ658mifgZO EBuE42ophB0Eqw2WfD+uJ0G52eK2ivDG7y9BRU4L1N8aOs9RVDx2UmATV9gooniabZKj 7W0AdU/xm2C7wmxE+rgvkDu9hot+8hJr3m43TSuccTLllWWWpo+7RaUOGHHW9OoRHgrC Qq47kbsc8LA5iIFLD65Ib+/+ujrXEyCxJWOPxogWipV1aLkGGXxOm/LkIpguOnOsNiXe +8RaEmC98gj3rWa6yFwu9Z6hcQSPrPFrq+GFwlzK7BUZVIGA8zFC1ZetYQQcipuYYaXX 9Mvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pvAQsbMS; 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 h12si7816000plr.246.2021.04.16.07.38.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:24 -0700 (PDT) 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=pvAQsbMS; 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 6E6F76EBAC; Fri, 16 Apr 2021 14:37:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by gabe.freedesktop.org (Postfix) with ESMTPS id A1DB96EC19 for ; Fri, 16 Apr 2021 14:37:53 +0000 (UTC) Received: by mail-ej1-x62d.google.com with SMTP id sd23so33833928ejb.12 for ; Fri, 16 Apr 2021 07:37:53 -0700 (PDT) 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=gzOG9RqGeFaMEfdkziwldEXIinN2H0fHEk94mLiK7tM=; b=pvAQsbMS0eW0KSVhdZlIi1X65LCC3OZTA2uwvSiMbiRwXuPoT70I61NTob4CqqnnIb lEa9GWI4NMQrC+HHG/nuGleueQvy3e+Jk8RJiT0TTQjj1ApxXjponcsI8wFS0VxpJ98h +u6VmHrvghP3v0NzSKQWR4Ix58u42TgVqSjqmVnkka/vcy4dD4GiuoPyMju4ppTxZkxr aBuOAYddcXd0aNuT63USMCfL+9IDptqP3Ii9NR16nZX62hDXIOmcqR6z76h691lMgdeJ Tjsp+iSDNEboImnwJqAJkb14ZdxKCQ/oEt/Wuv5KiokWyEU7LOtJyjkm8latXZWFaZFv 5dWA== 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=gzOG9RqGeFaMEfdkziwldEXIinN2H0fHEk94mLiK7tM=; b=bXWra5Bb1C6ulzEJStuK8hlANuqJfRmsT5T4PqJlPzHoMvnS8m7NHnVTgepKMduxVG 7bjoS3fbDvRyIJrlK8AjJE2sgB99lltswr79nn/r616MwM9bEhUIYs6hqfqY6lylfPv1 BD/M3ckeCdQ/hSJFGGYZ1WpHnbgj45hd0v53E8UjujMnFAI/VlDAtkOmP0iYExzL3DaH LdBfrohAE10Jnrpt4E072aNK64KYxtcA/6QPASAk6m2u8JR+OoEPyu1DwDsn0CEJjrLu AQiX16SEwDvswDzR36nVzFU1yZNCgDhGh91b6FS6kTnLNpQdmQZFTL98CIPaIvnilemW xaCw== X-Gm-Message-State: AOAM532BDgE4EkwvqpOXLZHDH15qMPaU/PkbLiYlvTN5Ovpn8rzO6hrr tRjZbxGgQQFwK4dxs0EPOqiLgg== X-Received: by 2002:a17:906:724b:: with SMTP id n11mr8739341ejk.338.1618583872299; Fri, 16 Apr 2021 07:37:52 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:51 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/40] drm/xlnx/zynqmp_dp: Fix a little potential doc-rot Date: Fri, 16 Apr 2021 15:37:06 +0100 Message-Id: <20210416143725.2769053-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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: Hyun Kwon , David Airlie , Michal Simek , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Laurent Pinchart , 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/xlnx/zynqmp_dp.c:806: warning: expecting prototype for zynqmp_dp_link_train(). Prototype was for zynqmp_dp_train() instead Cc: Hyun Kwon Cc: Laurent Pinchart Cc: David Airlie Cc: Daniel Vetter Cc: Michal Simek Cc: Philipp Zabel Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Laurent Pinchart diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c index 59d1fb017da01..5ce96421acf40 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_dp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c @@ -797,7 +797,7 @@ static int zynqmp_dp_link_train_ce(struct zynqmp_dp *dp) } /** - * zynqmp_dp_link_train - Train the link + * zynqmp_dp_train - Train the link * @dp: DisplayPort IP core structure * * Return: 0 if all trains are done successfully, or corresponding error code. From patchwork Fri Apr 16 14:37:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422536 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448035jaf; Fri, 16 Apr 2021 07:38:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbdKQEFIdzLMeUPKc8mv5BIYgirgxYnvZZMAsKSHmmAO+mbFt3r29J69UzTwDc6UYLodx3 X-Received: by 2002:a17:902:a585:b029:e7:3d46:660d with SMTP id az5-20020a170902a585b02900e73d46660dmr9682013plb.12.1618583914246; Fri, 16 Apr 2021 07:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583914; cv=none; d=google.com; s=arc-20160816; b=MuW101IQQlQ+omoh3PbadRsywuvCxiI7jgGsSESF3Phto8ny0svKRIouauhkxERNno Nznw34lGnbt0Aaei+YhSClfGNa/uhW/YAXL6b578Z7FWHrVNvjIBbq5K+17zT9Jn5beS ZlO7d6c+o8z4/+S7JA1fBlXRGY92IjU/OevyCmfr8ohbX/1ytClKXq62pPPBzlCD/jwX uj+7wedKl0FzB/yl+xtbC185kVWwpEW4PkicT5Pum6OQzA4QM8/42EC4N1Irk00qKbrU d28GTJzU1tsHMtCE76LpXj2ax/no67RwW8e/Vs9LYkxaXTiRjgMQJoqa5KPbo/vLmhQK dOPw== 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=Fz+BliITZKwUu1hAi9AMwrUzVdtpIDnVumGRjvdNkMM=; b=xNhh9k19eOooFFBfgjK0+kVLd2w0HUGdGZtumOgFdfMRnXJArofeI/ssXEQk1RACOp N6jsJElV07B1LLNQ8Ra/TWyzl070AOi7O4dFSEULV+qFBBaaVcXmYBW7I8MJBcxbyaLC fUklx/lHpgwBHZzDr9NFZEnKhvl1M5ikTqt6GAsFmBbRkGHZYmRT3UidfUVZ4Eb/AqrY 45ORZqOi8p2Hatm+PRF4mPeKYBA6SpxCGQZXlvZqNkFy45yAc8uEfwtNlBuK6XJljAiX mUH+15CItEV99C3+kYwBkacO3F3/4J5+ClLmHihmGflJbsiBpg1ZFV+V+aMMhrxneWEt pFow== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JT+qwWdc; 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 185si8259190pgj.455.2021.04.16.07.38.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:34 -0700 (PDT) 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=JT+qwWdc; 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 0CE4E6EC19; Fri, 16 Apr 2021 14:38:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by gabe.freedesktop.org (Postfix) with ESMTPS id 76BE76EC03 for ; Fri, 16 Apr 2021 14:37:54 +0000 (UTC) Received: by mail-ed1-x532.google.com with SMTP id d21so12452711edv.9 for ; Fri, 16 Apr 2021 07:37:54 -0700 (PDT) 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=+nA+2lokIo5+ShZDBy9HyhfN8ugkVVJ0D8A+fjT6S/o=; b=JT+qwWdcusOALmrf7ZLdMUE2NBydZv8PujbzUpgvw3/DUohzJA+x2wlYAeJAoFG5rM rMkYK7DHWY1dlwMI6ot5f+Auf1YMrEF6RlZPeTFoWdNaIfQhXlq5UkxQq/Fv/Ljf2ybi s/XEi1+IVlW3YJwBO6sgSD6pCGOqE9H35Xk4fXmQyLF4bsVolmGBL4CKd3oW2G+BJJaS mK0C+22qN43AXEx4JBIcs8Mnk/pvpU9PA4//UQvXIECQv4BPNHcLv8B8GAHuy6+hIMlH l2/NrhYhJqiDC7a/N2dSCognVIg0Cf1IxtaTkXtEQl+OlYLudwNpMxofszyIjhqfbq6D UwnQ== 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=+nA+2lokIo5+ShZDBy9HyhfN8ugkVVJ0D8A+fjT6S/o=; b=d1NPlstf6JoxL2CxEJ+v1SdTpH9rqN//JCutFHOJR4gDoHUu1x75FiY3eQgS0RbE8o YmGfUkRDCu6D65UfeGn+RRSWZrZstazdMBxilH61ZGSg0dfDvKRNAhCkqJJ6EPqW1CkN yMzjulssAhBIlqpof8+rinrI4mjcCNQNfba70XyGxrtaMH+jtJaxG4cTMwVPg8DMKbQw ZjqlZ1BUt15YXpjiRRROc5qgb+CvM4ZrTUgidj/q6LzPpiz7hpDxxADXVuCKlWswC5eS pXZHtTqQrCh+Aqz5MrpUzlBxLERkUglH+66Stkv/DKodWWLODlmN1id2gjH5F2O74jHt 27Jg== X-Gm-Message-State: AOAM531f2rKdJxn38thfQdLYYHTYR8/mp7w3FD4zMy3jPRLCrem4MLSg wJxNwlcNJHUX/iAT8ySimfWqGw== X-Received: by 2002:aa7:d046:: with SMTP id n6mr9118370edo.357.1618583873184; Fri, 16 Apr 2021 07:37:53 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:52 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/40] drm/ttm/ttm_tt: Demote non-conformant kernel-doc header Date: Fri, 16 Apr 2021 15:37:07 +0100 Message-Id: <20210416143725.2769053-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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, Huang Rui , Christian Koenig Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/ttm/ttm_tt.c:398: warning: Function parameter or member 'num_pages' not described in 'ttm_tt_mgr_init' drivers/gpu/drm/ttm/ttm_tt.c:398: warning: Function parameter or member 'num_dma32_pages' not described in 'ttm_tt_mgr_init' Cc: Christian Koenig Cc: Huang Rui Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/ttm/ttm_tt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index 7dcd3fb694956..d939c3bde2fcf 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c @@ -389,7 +389,7 @@ void ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) ttm->page_flags &= ~TTM_PAGE_FLAG_PRIV_POPULATED; } -/** +/* * ttm_tt_mgr_init - register with the MM shrinker * * Register with the MM shrinker for swapping out BOs. From patchwork Fri Apr 16 14:37:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422532 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448011jaf; Fri, 16 Apr 2021 07:38:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMpCdH3HH05n5yup2x0ry3F/W/BWaheHPAwZFbWfnCy/D4i/nyV8RAiVobvX9Dssi6Assr X-Received: by 2002:a63:5857:: with SMTP id i23mr8460174pgm.152.1618583912402; Fri, 16 Apr 2021 07:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583912; cv=none; d=google.com; s=arc-20160816; b=KSGq/fEYw6YMC3fya4+2M0OZjzXRtRXyVvVofEkq9ZE+G1GvXRRxg4p0uEw5rCh8eL BN0JICMbPualOr5vqD5FQ2KNodNxo5D/b9cy7RIAD1SUryu4jvRJxtE1+1okrFUnqGMa cvO69a2OzBkrvuVuWn4Vk/9xDXEwoo/tocu0b8RaQNGzeAvfw4eq2W6bQuAujDoz6zff RgQxfhlzD2ymsAVL3+zY1062Rwf7zDcrbkwCTURn2N79T0WPH5QOqdzbK6cy+GFbZZQo oDmQ6gRFBl/HsOFU7flnEsG6WQBy8w2obXG57wQUDdv2Y5gg+M6+hgDzc8vp88eZWxrR PqpQ== 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=CHZx9rzYFYC0WafhEfwuSaqtDD/yc94LG0dMFdriSbY=; b=k2G62J+rbaFd4cvKGzTdThQ6PKhtV2O2x47+nPRodyC1bZPRL9VgTbI66GVFXUVkvF jK3iGJQX8mUZ/tPCU/AsweZaXSb7+BRk4WYKK0R28lTDwOfy7Nbuve841IxruBn3+CRQ zUlyZCTGDVZo3+P4NvYuTLjUJAs74X/Bg/KdycYuwLGZ4dyXukljJZuy//7Iuik53CBn g1dg5r6yn5sZEfJzFgUmQimtwj433tYP2jyzefuVNEW9DDxLxIIZXYGNoRVuPxmqBR8r 6zTLIqbS35UWn3KahYZVnRsRtBExDspX6/q8aqFGoYyR4o4+3TaTwIbWFNfSA63ska1x qoYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oRdDDVJn; 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 e4si6903481pjh.159.2021.04.16.07.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:32 -0700 (PDT) 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=oRdDDVJn; 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 83D366EC20; Fri, 16 Apr 2021 14:38:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by gabe.freedesktop.org (Postfix) with ESMTPS id C4B6E6EC17 for ; Fri, 16 Apr 2021 14:37:57 +0000 (UTC) Received: by mail-ed1-x529.google.com with SMTP id o20so6273484edc.7 for ; Fri, 16 Apr 2021 07:37:57 -0700 (PDT) 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=nl9Ia26K/OXp5QH7iR+CbZa0T1DkwvGhAbdA6rubQXU=; b=oRdDDVJnzU3oMYTdwqGq9oXyUcUTdpDa1cOLOtcv0eXH+IRscfrSxyE41XMoKgAynl ymX3w3afs7fC3P3KgCkr/gH01+c3nkSfjS0tJAv9h7srrtpvdGbujaFCQuzYffzvjJR6 AYBhsbaS03ELNdlRIGdVO2wm/yA6LLFAujh4O3RUcl+pIhLax9HkuhTycdAsJK5Rh7Qb 4NcL9vZZuLNrgSVcoPsDaw64oAa4gqBf+FwDOJepaoBBaxgAvFdEntsSh1aGplh0bKgt kZ7ytIwCvAADgk32eYBabFmahqZvK3qX5L7bFuh7Z01D2pTsDY+n4wUrcN6+JC7tGEoZ G84g== 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=nl9Ia26K/OXp5QH7iR+CbZa0T1DkwvGhAbdA6rubQXU=; b=r1MPG8K9a/e85O38xJrEhvE6mA3a6LCTbtLQlZLZSRITKcq2bRdFxQLUHGPHFTjDKI P4nyWCix3YHRtySf9+ocEDW7qHR/EGoNWpF4idbhuZ02lMR8P9DAO1iNU2daAjY2ZeJ6 Jvw6T+z65z4SRJdCMM2oYBJTjDBfDX3mPxfy/QVfyF6GrpsUNMbonJYy6fCy7KRvn8Yn ltwuLbawbBPuq680ROV6M4WVm+KkIFCKd9n7RrEfU936YThFikFPO4ntMuDkPtfZPUPd 9aAMltUNoz1uI/RAMqpAJqRg4xQ6rO/djqIXwvCAXKE1ZmXXioShKOItU080h5++Y4G+ TMig== X-Gm-Message-State: AOAM531LO++67wTErmy2MdAKp14FXP/jvvHXwVCCWzvOuR5ArkOFPyka iC7JESG/k691iSW4K8cLND3/TA== X-Received: by 2002:a05:6402:3506:: with SMTP id b6mr10702102edd.175.1618583876478; Fri, 16 Apr 2021 07:37:56 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:55 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/40] drm/radeon/radeon_device: Provide function name in kernel-doc header Date: Fri, 16 Apr 2021 15:37:10 +0100 Message-Id: <20210416143725.2769053-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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/radeon/radeon_device.c:1101: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst 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 Reviewed-by: Christian König --- drivers/gpu/drm/radeon/radeon_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index cc445c4cba2e3..46eea01950cb1 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -1098,7 +1098,8 @@ static bool radeon_check_pot_argument(int arg) } /** - * Determine a sensible default GART size according to ASIC family. + * radeon_gart_size_auto - Determine a sensible default GART size + * according to ASIC family. * * @family: ASIC family name */ From patchwork Fri Apr 16 14:37:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422542 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448219jaf; Fri, 16 Apr 2021 07:38:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzejbgI9BCGzpIsiI6gMDc0/LrznL4lojaGfYGQpoaRFjnlWJ0jNHR71mL0auqBxDXy8pJo X-Received: by 2002:a05:6a00:22d6:b029:246:6209:b483 with SMTP id f22-20020a056a0022d6b02902466209b483mr8146235pfj.58.1618583927144; Fri, 16 Apr 2021 07:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583927; cv=none; d=google.com; s=arc-20160816; b=DMspaRBrG7XewFGBosQnNuxMYo3nyyXwRIPhz++/OhzF8IZPpxhOZNOkgZF2J23kZ9 j3efo8G7JZBhHyWCFB+E7ZxcrBzBd7dgZsjN3fp7NkpXyHijxuFyg7Xu8Mx7Ra0oaBNn MnNXQdbsv25SSBgB0AT+P8ayfc0hn7M62UhtsF6/JYNiHrX/3mqjrliiDgwNnji6mKaJ tJVqyX9ys082gJq9zO/oAbsnnjGwQGHt5a1ONnG7OI6wcqzcR4kvaIYCTfiAJOAJapXz 6KTIBX3kDvOslJEInwatGkNFandNFmBVvbVTKqWsoSBreB/jDN3Mm+E+BLzpDjxqDg/H B6ZQ== 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=C0BanMjMhrVvvM25N2JqfRqUDp9oVEIl8DdFW0YPK5g=; b=sH7SqpT2imYxPH5BIaJnkVWg45IwkaxPf8hinl+S0T0C3r1QIO40mCaF0A6bChsqjg U9E5H2LTq7dLHs3vOb3K5ZmghLSMQBHlIssU1KTE+8jZPP0Mtht4W8F99Dykbkh2szSE O4/C0mucj6ojwPJGEFLiOHAPVuhlaYgFkhvssq1yHPaQXrt3PlshTAO1QR27WcOd5DaK TutbqdgJrXn231W8XizIG08ogIex6EmMZsUBEpXihNwOql7TIWPifPnJNsLmUvlnL0Bl jdPwYUdG8rI/QsmDtzoi+2VuHHrrS/l+Y83y6f7pzOlmDlpEtook4+YCE0peM2u+7ITY aZxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yqJ3UFcV; 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 b18si7242985pjq.50.2021.04.16.07.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:47 -0700 (PDT) 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=yqJ3UFcV; 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 6608A6EC2B; Fri, 16 Apr 2021 14:38:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by gabe.freedesktop.org (Postfix) with ESMTPS id BFB0B6EC03 for ; Fri, 16 Apr 2021 14:37:59 +0000 (UTC) Received: by mail-ed1-x532.google.com with SMTP id i3so6881016edt.1 for ; Fri, 16 Apr 2021 07:37:59 -0700 (PDT) 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=OtJJGzKSHczA5bNxqqkJUwGtlpEbmjnBJdKzpKDEnCY=; b=yqJ3UFcVv2gARKiV72xCrq0tI5R1O8jjDny5TfNTybJygWqlFnLk1n559dd4JdWHIa Mv9cWET1zGWtkY1m95oCj6PTPqfWOOBgw3ijHcxb6gtY5xJo1GbfGUqjuvHAQAeYALFu egFNwiC82OUdr53tLKhaq2fA+vvVXQ/bIMiWBTpdtCoQkk3AFJngC0N4XCi5Mo8A0jXa GZI6fcZf2/PuH7pjYG75Usus7CYTj/a/HEo82nMnwljU+tnDRScD9O7Eqzbj5ZAx8mEm eNa21fKg1D9KvQ/XF2i2e3sP4rEdUVZnA2OiQANGSy438qulqZKIH0RgprxXSxOtNaYu MEEw== 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=OtJJGzKSHczA5bNxqqkJUwGtlpEbmjnBJdKzpKDEnCY=; b=mZq+rRU58GCG+nX++hHyxyXXMF8g4CAetV+SWPJCbkoUs8bioJ0BIWJwIfEMYh0tae XkXoODuz4GwRSsNabVD/t2pMWLN5jvhjSGORM5Bzi4L/j/7F8kwzYNaKbvTOZYAcdbK2 xVeADeumIkaHVvHEMoox54ACR2toAWY9DrwqIGrQFiqFmV7rsNcdc5zjKmK1OHZdn/dX yD3D/qhCplXpPxlt9w/x6xfVsNl7ejL1e/FFGaS2gU9aNza4SZo9IwMdDO1pmFzhWB8W FpH84Q2cCzxssEDJxzBcrdayN7IaiVF9QI1iAYIuOw7HMlBEyeQgxMlUjmWsZProb7sy 3NkA== X-Gm-Message-State: AOAM533LiA9h1ry41yHnp4ezRCMJ594cMshxMHyljWIs1BQnIi4SW17V AHaeaCmeNDPyU6uLQaXr7TaxLQ== X-Received: by 2002:aa7:dd98:: with SMTP id g24mr10283531edv.75.1618583878480; Fri, 16 Apr 2021 07:37:58 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:58 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/40] drm/ttm/ttm_device: Demote kernel-doc abuses Date: Fri, 16 Apr 2021 15:37:12 +0100 Message-Id: <20210416143725.2769053-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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, Huang Rui , Christian Koenig Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/ttm/ttm_device.c:42: warning: Function parameter or member 'ttm_global_mutex' not described in 'DEFINE_MUTEX' drivers/gpu/drm/ttm/ttm_device.c:42: warning: expecting prototype for ttm_global_mutex(). Prototype was for DEFINE_MUTEX() instead drivers/gpu/drm/ttm/ttm_device.c:112: warning: Function parameter or member 'ctx' not described in 'ttm_global_swapout' drivers/gpu/drm/ttm/ttm_device.c:112: warning: Function parameter or member 'gfp_flags' not described in 'ttm_global_swapout' drivers/gpu/drm/ttm/ttm_device.c:112: warning: expecting prototype for A buffer object shrink method that tries to swap out the first(). Prototype was for ttm_global_swapout() instead Cc: Christian Koenig Cc: Huang Rui Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/ttm/ttm_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Christian König diff --git a/drivers/gpu/drm/ttm/ttm_device.c b/drivers/gpu/drm/ttm/ttm_device.c index 9b787b3caeb50..a8bec8358350d 100644 --- a/drivers/gpu/drm/ttm/ttm_device.c +++ b/drivers/gpu/drm/ttm/ttm_device.c @@ -36,7 +36,7 @@ #include "ttm_module.h" -/** +/* * ttm_global_mutex - protecting the global state */ DEFINE_MUTEX(ttm_global_mutex); @@ -104,7 +104,7 @@ static int ttm_global_init(void) return ret; } -/** +/* * A buffer object shrink method that tries to swap out the first * buffer object on the global::swap_lru list. */ From patchwork Fri Apr 16 14:37:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422544 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448263jaf; Fri, 16 Apr 2021 07:38:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZldhgiRj/5XcJF+1VXSyRmpLFtk4CAKj0s1W4gDUywz1SdrLORJ9zRT3AZvjdGoR8p/L6 X-Received: by 2002:a17:902:9345:b029:e7:4853:ff5f with SMTP id g5-20020a1709029345b02900e74853ff5fmr9938713plp.74.1618583930975; Fri, 16 Apr 2021 07:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583930; cv=none; d=google.com; s=arc-20160816; b=kt79IhKBMzOItJQyVDGWixTWK9zB5NZX4Rj6jSe8bnbHdNp8Z9ywr1Szai4CRWjaLI iHjcncDNTg8gNhkxJCDzyvuUKc0J9pYLCHuSOT5ToE5GYibr/hMhekVCzSrHYvT8kgZb yyj5/bsPt0wQkirEwW7N9w1BdsHLp3pHv+4rGRgO5G5SnXicHIknhHyQQtc6knWLhKag zm5DCbLCgy0o9ohGGyl2Mdo6djLj3LF9ynLapSV5EmnvtUYuSCu3xAPARnsoRMHxFrQz IAyI6IU7w/asQNgemu8xWrdbm6Vxf35fqtfoY/L+EGzpLc4HDsHHtngNkXPSvGHwrZ+b bBQw== 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=leNoxnPhP3JM8/ylf+yH0pW6GXgmpbbNGVGsHaPkD9U=; b=iQ6UUCFiJQNgjWThcLYjpBCTRK8CakmtHxfrJlapHxhtqgFogX6sasCSvo/Ryje5ey jVCxo1vEqdMUoEOlMQZKJ/L2qb+ECcXnlELtPIDjPAPVAsKDOO4WXfZ22UOhwF7tAKIZ 6D+CoGZ6HSotZOBixNDgCqZWxDUHYrRNgr4GzrNN7pJlIB4+HI9oMjPK9RLlJhr0vz/5 9oSz5uLqDZV3SNrWYuCWMjHwI0EkT1g1usjbJiK6C5yAZfjaHWvqmJxz2NcBZKrxRqAD paYjAzP0ZuOzzT9KpxlpwRmqohXNdtlDFPCsjEnvVyy+DPzhjP+0P7CltumfAyzMr+ac MRdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HI74Tewr; 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 q27si6728238pfl.280.2021.04.16.07.38.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:50 -0700 (PDT) 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=HI74Tewr; 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 09F3C6EC2E; Fri, 16 Apr 2021 14:38:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by gabe.freedesktop.org (Postfix) with ESMTPS id DB08A6EC16 for ; Fri, 16 Apr 2021 14:38:00 +0000 (UTC) Received: by mail-ed1-x534.google.com with SMTP id z1so32560219edb.8 for ; Fri, 16 Apr 2021 07:38:00 -0700 (PDT) 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=1tnd3CCiOTU6oRai7K6vIdbIrWXk2JdXqV/lmbbBung=; b=HI74TewrvzX00NmCH+IL7CJ5pNK8/FG90QDJLwNNOsPf9pK80IK3XLopWTolQGqBZ1 l66Xp92uOfThrHapM4RL52WP+Tq1/QZ7NhDl+vJ7vTV/FnlP18Ut2bi7+pjHFLgIonM7 L8TdNjsCTalQdSV76CluMM3eewdeJ1xo9ZwVD4YYFnQtbB5wxsFnJ2X1msTClEX5Ihxt 62RZuzoQpM/TWMVjiY8gkLu4AA+Pc6HKNrDi4bde2w3MfbVJkohMJ588/36cL5+Axbjl R07gelnAn7ICrYX1Lxn3DyUy5kX4gGvWOVmBkhSZoAH80jX37IxAVa92M6SURCDPTXMM Wc3g== 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=1tnd3CCiOTU6oRai7K6vIdbIrWXk2JdXqV/lmbbBung=; b=dCHniCQUOisGMfHmxN6Vh6cfzJwEEGaSLvbv83PcbzTL80K2nVK3auDueWL/6kMlTb z+PZZTXDku8+2vOUQrZyn8Zt7+mhAGIIfGtnb6i3ZmWuhp4/2+jZjF3jStjGWgmt3mfJ 2grkTWo/D/9WnrNJxepDRu0GJ6msbCOf0w3mTJhrcNmKSj6lfapet3eVWTtP/11B4VYx 7O/juSka5Rgkf9kX5SCOhHTX85hQizRwZN4H866Rft6Ub2DqmHfFxdGHSzMKpuEhVfk1 sOKdio3B2Knr0aSCaLABeAUlJ18WzanjXOfRTyv/DEaRFio/A/TPmNscPKyjwz8KQcGm t9Gw== X-Gm-Message-State: AOAM530AarYcaiQ4CRWi3Re6Tx8r6H9eUrzPLKFokT8EA19wdiZtsBIZ 2wfwmaxHyyjgT2IoMex3TT791g== X-Received: by 2002:aa7:dc0b:: with SMTP id b11mr10548194edu.124.1618583879454; Fri, 16 Apr 2021 07:37:59 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:59 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/40] drm/panel/panel-raspberrypi-touchscreen: Demote kernel-doc abuse Date: Fri, 16 Apr 2021 15:37:13 +0100 Message-Id: <20210416143725.2769053-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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-raspberrypi-touchscreen.c:33: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ 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-raspberrypi-touchscreen.c b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c index 5e9ccefb88f62..2229f1af2ca8c 100644 --- a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +++ b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c @@ -29,7 +29,7 @@ * DEALINGS IN THE SOFTWARE. */ -/** +/* * Raspberry Pi 7" touchscreen panel driver. * * The 7" touchscreen consists of a DPI LCD panel, a Toshiba From patchwork Fri Apr 16 14:37:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422540 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448161jaf; Fri, 16 Apr 2021 07:38:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfyELgenAemgZVZ/ZqEQ0WtMjTPFtiJQbTjakW6+DAGxMTxXxmMD6zhm8+nthqN0/DG1f1 X-Received: by 2002:a17:90a:c984:: with SMTP id w4mr1620450pjt.110.1618583923427; Fri, 16 Apr 2021 07:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583923; cv=none; d=google.com; s=arc-20160816; b=a/9fz/hp2Oi1jDHKFXYVRhYZHIPmazDe0aaNNPRvA2H1fKzYh6sTGO5kBKrXvqlVVs GrjiPugJJ/SJBZ1cl1nn7AtgbRTUlsWjbcndeXa5fCjzA9EEKIfHEA/AFImhqWOgXbuc 9sA4cKa2E9s92t3VTTxPvErr3u25HDbOVSItXqy26Mvgdn9UDtFb8vlL/692iteonToy Txy4ABWEAxdoAm5USjHsBCSyOzPMqO5jFOKFbfzpxTsfHqJsCH0xsZdZceAR0+jzWh4I NaokxlcJkhHSNobkaIi9uVniqrisgvXHxmc45Q2cXyxvwE5VGWQaTPkwMqOGpd8K9na8 1B7Q== 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=bSiVpC3fN/jKNVveZrj9zVvsQLWfs9ntF/VesxuDbAw=; b=TPxug+tiiebUfOBvVt8MtBQSDsyR/zXvPOnMCegaYwx51Qw/2mDuWXPsIxy8p71yIa HUQZb3qDE46gaLbzE8AZq1JAbH4rurluWhc+ojJKEZ1M/yrQN1Zx1XYhBy1wcA59RR3n ueN25kwAHDmp6k+eFcRxKEsJx52mNUOnoiXDEzgxwnnVyjacIuiDycH+zDKPK5oIlURB hsGCqgfQs+XJJKXl65vkAiFVcgk8VCMScDhFuihiec7lIij4RLUM9vx2LPNv14BE2lj2 dlQ71rR0fvBsX2uB5joq4YnWAu5rR3QazGX9HIfrejdUp6Q/OVaJTw1da1jLoP8X5Chf DtVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=nw2nOI9l; 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 22si6815922pjf.15.2021.04.16.07.38.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:43 -0700 (PDT) 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=nw2nOI9l; 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 50F906EC25; Fri, 16 Apr 2021 14:38:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1188A6EC0F for ; Fri, 16 Apr 2021 14:38:04 +0000 (UTC) Received: by mail-ed1-x531.google.com with SMTP id m3so32537654edv.5 for ; Fri, 16 Apr 2021 07:38:03 -0700 (PDT) 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=eZSAadoVwWWKS/0qwmdM9B0hG2udBsRl+ZNcX49QlvU=; b=nw2nOI9l6bUUJmtRby49O2JfdE9k1M4kUJc1s4RPv33ufbBEVEtxgscvAnToufcmDo RbVeTBFbe3K1OylmmnszhZ1sts9nOAjyQ6gQAQZWgdBZLy5/fAADEWhPmjg8Kb9pBDrt v4ajsDabD+SR+GdhKqXy8O+PVM9vzbs6COwHPxfWao+2YZNVqSBNb8KAKtMl8i3Yp9Fj utQpfV5J7eXNzA9EyqhqZ49g+0VzXGyRprORETslu3gZEaJCebXLpeii7FClbzLtrHfa bWETg/DXaJIFFqy6ADORLEp/MJfg71OENRKxzlW5QUtqlEKemuH3f0mjzQUqbicdf1vy wDSQ== 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=eZSAadoVwWWKS/0qwmdM9B0hG2udBsRl+ZNcX49QlvU=; b=AxFYKKSWscRn4uaeM2ixLX/e1s+eRRZ14QEj49z89e6YpfI6ic5uJhC5HDTMMkW+xa oitt1LwPvm/ynP/NVkMwzYxJdiNaY0eW3kJKKL5bp/gWgv2OeO78aAS5RgVIWG6SK2ZV ohh5tO4xy/I7QjQERAeqO+AVzmN4RVdxrOsRYg3vSFc8w0O0jXVw9NjmAdTb5CPXBcTn 3icf3GYHE/k9bDmlzP1hzhJ1L26NlRnxF8sNKBRYO6+FkAyK8Gj1gbvI3aj0hmSxV4Dd z85sEjAWpaO7TruN2rDQN5noGUdblm3yg0qUPKlrrGaKltProamtdr5CL7s23werhjDg 84sQ== X-Gm-Message-State: AOAM530d70SxpJGvoJMnb+jw2xlz/kkManqUb0ArSsdEu8ux/JJZuR39 +po/MGcle5aeAi4VifNX5whDxw== X-Received: by 2002:a50:85cd:: with SMTP id q13mr10416204edh.114.1618583882788; Fri, 16 Apr 2021 07:38:02 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:02 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 31/40] drm/amd/amdgpu/amdgpu_gart: Correct a couple of function names in the docs Date: Fri, 16 Apr 2021 15:37:16 +0100 Message-Id: <20210416143725.2769053-32-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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, Nirmoy Das , 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" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c:73: warning: expecting prototype for amdgpu_dummy_page_init(). Prototype was for amdgpu_gart_dummy_page_init() instead drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c:96: warning: expecting prototype for amdgpu_dummy_page_fini(). Prototype was for amdgpu_gart_dummy_page_fini() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Nirmoy Das Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Nirmoy Das Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c index c5a9a4fb10d2b..5562b5c90c032 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c @@ -60,7 +60,7 @@ */ /** - * amdgpu_dummy_page_init - init dummy page used by the driver + * amdgpu_gart_dummy_page_init - init dummy page used by the driver * * @adev: amdgpu_device pointer * @@ -86,7 +86,7 @@ static int amdgpu_gart_dummy_page_init(struct amdgpu_device *adev) } /** - * amdgpu_dummy_page_fini - free dummy page used by the driver + * amdgpu_gart_dummy_page_fini - free dummy page used by the driver * * @adev: amdgpu_device pointer * From patchwork Fri Apr 16 14:37:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422541 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448180jaf; Fri, 16 Apr 2021 07:38:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNuKslvhLZAyd/HzaiUS/6329h1NebJGIuZVGnySiKl+vwTdVbTaTr6wbTpSfM2A53i/9R X-Received: by 2002:a17:902:fe8d:b029:ea:fdd4:e667 with SMTP id x13-20020a170902fe8db02900eafdd4e667mr9805763plm.36.1618583924650; Fri, 16 Apr 2021 07:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583924; cv=none; d=google.com; s=arc-20160816; b=pF8W0ftO/JSdEw8zH75/CkSeQjvRqKhd8QzNoFWtmRF86l7TZmM2GcW+4/RLclReZ2 wszzjV71DBW65FVhBMPsT4B6xIUigh1Xw325jJ+c1lVJBDP2lnLtAOM8gaO6TnAqVPpJ adgd4xR57Mwv2tCGO9+Wz9PHbKUYxSfObO2NSXeoduta5o62/yPs6FLuI2L4sNiOvo/7 IKAPVUBIMDxDL/6sK9HIAkORL2YKihFXyvEXmucVlV4pPlJ7sAPSPUE2ESXsWONIZZES 7SK8AfTCIx6ZYZh524TiBtlj1zySwFnBo9R2rmXIk3B085r0k0Lw0dHnPbaEyAVt/qgj 6oVQ== 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=vDMNw2K1mpwSXbOmQgulvUPepIUFkzfvuHFYmPhoa7k=; b=Hcn9C9d9ptwYHFkpktavGZ0/XsJ6yCfM0G/UZyaTpMywGDdGfzmNxbX3YmYHh0Iu6y ZfJ1ief0yXP/Meg7gqsrFPo3MSnxlpNMBuCMSVLemqh3Wjm1T0GqZqO45MDsPYxSnoF3 bFLXOuK/rHh8pp9UEv5bpVJAx1HeWyqhdSFauPBUIQVJWU4m2cH0+6U6LOCs4cDc9X6H kPMiEr8xzsfumEOgn5huckyXFs4zNwPBGjqUPvSuA6I+V2Q788/uLeG4toCQ1fIMI0CX gYU84UX2cGLEI0IwYN3bAqqj9Tgzfwy7phSEhupATkr9XtqImymRiPRLL6aqm3GPQZTa 4Qjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=u6xbTe3x; 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 c19si6500641pgj.527.2021.04.16.07.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:44 -0700 (PDT) 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=u6xbTe3x; 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 AAD596EC28; Fri, 16 Apr 2021 14:38:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8E7A66EC0F for ; Fri, 16 Apr 2021 14:38:10 +0000 (UTC) Received: by mail-ed1-x534.google.com with SMTP id d21so12453799edv.9 for ; Fri, 16 Apr 2021 07:38:10 -0700 (PDT) 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=4gQV8mJJSsa7/geg3uIIMju4DuwjY0BUG1OfqH4cLSs=; b=u6xbTe3xnS1gxy5a6K6GfhsnvR+yi1tODlvBP0VAE7+3t8Yro6VDBbKwS753lIQs8W p8WxAHkE8yRXaFTsQ38fO6gNDCMye+0iXJ/bugUjU/Ukti+9nG2YiCz6A+JztQ2Ikvj5 eMvhwvqeXTPrDQRWGMaC3DUQtFfLgU2G9nWqHX9QFDcRjFNRv/K/LgJOJLy+KZ6XETul PJHcTwK+yLHk4N6r3Vq/316CC6LRR67mt+GiT8UKl3AieE0d2tNYrCmuYtEKNFiRIE+6 iwlq0JUnw59qA52zPXYh86eRrO/5DQMhpYcgBvdCYWqrgvhyuNJ2iJlb5LDEOnIdIn9W HsoQ== 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=4gQV8mJJSsa7/geg3uIIMju4DuwjY0BUG1OfqH4cLSs=; b=I05b3a42cVLWsEZNq6/CdmoxpYpiFh5h/IrlpEQswOr8fEYpymdieTsDxzmZhCkVhj YWJT4TG9NPkGFJey533qiI80EF8A3rzICl0F2AR+QGOwx68ZYIOvxq9KBVsE3wRwjTpe gJo6ef6tXdASH9eAktFpnYGbJE7+RiLmvwri33VhTLvlK0zI+cHUN3JOlC+rjl9Vbsz+ 3SuzdbmwLjLjjIlZuoZtB/4IJHzZ+LwVBM2sDkIeOi+GRaRnREbXYvH4W2HH4IQffFR3 GQFwvxXLUmLFRd9M1Ffb0aQdzx5ZkA52K8uduQuo74iVgu+08XJCG7ema5tzVPHe1cYP Mg+Q== X-Gm-Message-State: AOAM5334nSII/O+Z2Fh331IUw4+JJmIwOWMJcIgCapV1KYdFIhlW+IKH lii65CHxp1BsdWT2GzZMnJEz4w== X-Received: by 2002:a05:6402:b07:: with SMTP id bm7mr10115095edb.82.1618583889302; Fri, 16 Apr 2021 07:38:09 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:08 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 37/40] drm/panel/panel-sitronix-st7701: Demote kernel-doc format abuse Date: Fri, 16 Apr 2021 15:37:22 +0100 Message-Id: <20210416143725.2769053-38-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 , Jagan Teki , 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-sitronix-st7701.c:42: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Jagan Teki 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-sitronix-st7701.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ 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-sitronix-st7701.c b/drivers/gpu/drm/panel/panel-sitronix-st7701.c index 4d2a149b202cb..320a2a8fd4592 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7701.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7701.c @@ -38,7 +38,7 @@ #define DSI_CMD2_BK1_SPD2 0xC2 /* Source EQ2 Setting */ #define DSI_CMD2_BK1_MIPISET1 0xD0 /* MIPI Setting 1 */ -/** +/* * Command2 with BK function selection. * * BIT[4, 0]: [CN2, BKXSEL] From patchwork Fri Apr 16 14:37:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422543 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448232jaf; Fri, 16 Apr 2021 07:38:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6dtMju4LA0RhXr2FuINFCMZflp8gBaVNrc/0B+sZkxwajSqVTIBWF3paoiYaqxU4GFIs9 X-Received: by 2002:a17:90a:3b0f:: with SMTP id d15mr3632022pjc.235.1618583928476; Fri, 16 Apr 2021 07:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583928; cv=none; d=google.com; s=arc-20160816; b=um8r50bzg//lPleJPKiyiMpJO5CotFF5NIXoAaL6qSIrPYMbpj8AQFpxXNWR3QaR66 Dnz25EUWcHPaIZNFW8cWq+zwqEGbmFy4ybIJe40jk1T1Yq8D0p90ppTZ4KRwjgV4UjuH PJZ3rhEDaZHDdIJB9b6WlCGQMQP/sK9ts+Uf6Reyt1+St8atrfZKZ1tZWvqb262dAJBR yBInO9O3z6nDFoZ2oBbH0TxnAZsYFlkAh1TsbFU0fepvEY8d0L3dSkrcLfbpMzWEiaJW L5z31hX53eO9Lkew+35j2dfkZv1v3RrOEO+XegosMa5S4sHRXf+rNufxL/ijujkAOR+c f+fQ== 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=JnfYw0VMZCkO4Ws6X63Zk3f0NurRJ81zJGzxuAAqeso=; b=EOb4Dq6cm4grxNIFWcJSGus1373gR/z34LJxZC4oaHiDq/oCsWdOuPxPDgS8bUYhDp z8zrNfpqCyoQJMaLa1vqE7nYskwq0/wQ0HS62tt/PfwB4grSZnf/KvyZAGZfN4Uks/t4 HuUdSLDFA2/SGr8n/0vH3EhhdKs0HwIlbMoUXidUslQ5zHjIN1WECP7xpa8fDvMjfrbG r359fBPDXZ9gBKsEaK0m/jf0LLeNW/7OX3zQae5QI0XSzsAZ19+TWIDItgrnztt5MbFD c4nzx5ktZr3SI6QhFBFgquwS7LL+BfaFCKXPMlBqcrCDq29ecCVb/bsVgy7I3zGySUTX X84Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SdxKlv+f; 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 m3si6466398pgq.343.2021.04.16.07.38.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:48 -0700 (PDT) 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=SdxKlv+f; 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 8BC486EC2C; Fri, 16 Apr 2021 14:38:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by gabe.freedesktop.org (Postfix) with ESMTPS id B594C6EC03 for ; Fri, 16 Apr 2021 14:38:11 +0000 (UTC) Received: by mail-ej1-x62b.google.com with SMTP id u21so42487596ejo.13 for ; Fri, 16 Apr 2021 07:38:11 -0700 (PDT) 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=41LgwOuoq22rGgsCktNaBese4amMVfNYLTWP6zyN98Q=; b=SdxKlv+fNXg5L8kGoNDlYldYsqKcpPLAo7SNh4UKeExvT+lzMSwwhYTQgAkyNW9XV1 63a1JDzirzFBEbKuUKIuNOxi9MSJjlGxn4M3fV3HctPcinrNVovY6FlDNzSTVZ92KF+o XIk3NOOnT5B91RxZoU8MtBX+p3GuXccPlgOW5xfBBnG3UrYm0xApChnqyq6w3iu3Oe9j lE1286wLw82FuzX9IBZjoe3AXA+PeNjmQTiulNd5wH2OOPghylJzXQcb1Xu6CSnNgEHC dsZisdfzr5StyHwyG5CNaHmFfL+M9iwvAx32Z/rwAWgZDEmk+ytaEasqOsL58RLMkWX3 zsLg== 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=41LgwOuoq22rGgsCktNaBese4amMVfNYLTWP6zyN98Q=; b=mjy3SB4o8+hBL4TDXyLoum3dzxPQtyPjsgaAAEdpoUfSsJ3Q5Fnb5uKPZ/Ddq44/Jq gQu/uMo+MixTCkPXoDDzp74PUSl4FtAymHprETlx/k6Iz3MJ52i5ovcv1gOrqsZ/tJ63 amzZb0SEoYLyPD1dL4M7Fnh8QT46+87NKv8gKPYkvyN33Akj1mOHaHKK0YTU77Y1fvg0 cslEwQ+nI/MZb+sQWfEehyWGtOu4fAyCJD9cCvXVe1vlVBbhlUr/AAir5y5ioQM4VmPL j0JJ6jDAlvltV5NgrKgcS8rWRalo51l8UKT7q1hZNWaAEdAkjuEBcKJhyGOw05IXZtkn 0JOg== X-Gm-Message-State: AOAM531BPaSLv8q6V8ziY+HFnEP2KJXSSjD0e3TznZFBFEELZQIHEtxE /gHjfUC4uMZsabF1IVqnfRD/RA== X-Received: by 2002:a17:906:b52:: with SMTP id v18mr8565368ejg.485.1618583890433; Fri, 16 Apr 2021 07:38:10 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:09 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 38/40] drm/exynos/exynos_drm_ipp: Fix some function name disparity issues Date: Fri, 16 Apr 2021 15:37:23 +0100 Message-Id: <20210416143725.2769053-39-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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: linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Krzysztof Kozlowski , David Airlie , Seung-Woo Kim , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kyungmin Park , linux-arm-kernel@lists.infradead.org, Marek Szyprowski Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos_drm_ipp.c:105: warning: expecting prototype for exynos_drm_ipp_ioctl_get_res_ioctl(). Prototype was for exynos_drm_ipp_get_res_ioctl() instead drivers/gpu/drm/exynos/exynos_drm_ipp.c:153: warning: expecting prototype for exynos_drm_ipp_ioctl_get_caps(). Prototype was for exynos_drm_ipp_get_caps_ioctl() instead Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Krzysztof Kozlowski diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c index 4f2b7551b2515..9ae8689353579 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c +++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c @@ -88,7 +88,7 @@ void exynos_drm_ipp_unregister(struct device *dev, } /** - * exynos_drm_ipp_ioctl_get_res_ioctl - enumerate all ipp modules + * exynos_drm_ipp_get_res_ioctl - enumerate all ipp modules * @dev: DRM device * @data: ioctl data * @file_priv: DRM file info @@ -136,7 +136,7 @@ static inline struct exynos_drm_ipp *__ipp_get(uint32_t id) } /** - * exynos_drm_ipp_ioctl_get_caps - get ipp module capabilities and formats + * exynos_drm_ipp_get_caps_ioctl - get ipp module capabilities and formats * @dev: DRM device * @data: ioctl data * @file_priv: DRM file info From patchwork Fri Apr 16 14:37:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422539 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448082jaf; Fri, 16 Apr 2021 07:38:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKDoo2J3MIipFsJCMhkFqgy57xNuJRSPF0RluGYyRxXUDohIAYBxDyQfgizWJtCimv66xJ X-Received: by 2002:a17:90a:6585:: with SMTP id k5mr9812183pjj.40.1618583918127; Fri, 16 Apr 2021 07:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583918; cv=none; d=google.com; s=arc-20160816; b=GiVU6LqcqC0uP2fKMImUxxQN/jEWmVulZQnYeXjWj2JygHtLEInz2JDQxrRle6xHMI Rq6t2PXi5BB1jGI2wvp1YDr4DAGlpGauMxjkYK/vMtWmgqbBGMvgRvqWvGcIK7CSQvx6 3t20mUo3vACx97EO2lpptSsuSRUOkS13unfhXu2fSdySS/zpaagM69MZ/uXmxYmhnM9O E/XaCLwAoD3/tQipGqIlI3nljJzgsbAMpJKj2MQ6fUTZsSnVEtHGNQzFjvrIsh8+SkUP P8CTEfDW5Gw04CJo2/5y9izI9txFkzpVYP7pzm6WcqtLFoEEg+ItAZP28eM/Jx13oZyA bOIg== 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=LfRHZlY6F3nzlFN9cEiTDrqlZvh1f1mTEbXxJt66x7E=; b=t7yXrPMoRRFO1IZ6UZG2AQ/ndvfuW2NEwCef2SelG0kyqyBR3cAhVV+U84+M57iCo0 rtnpE9n9gYkfvlGAsbaeHfYmZftmHHVIDq6EjOWOFc0H2n1wZ2eYFWSj68yoPKq5ez/f 0xk4whUC3dZyEjb6RXJ148KIh8+MfibvJ3ym9MP16CsRe8/0g70sLND3GgG9AGza9CKW Bc3SanMrFSppqizWRG2b4c4v30AHEl6+16gfChwkXI1sAwbZsSYmG43O/5kCXy6zk9q1 COJTcAy8VcRBsCk/NTwczYM1x3l4eZS+Qq7KuETdfqd9irzMbhum90hhnrIRPYydsXsX ZogA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hsB6bda4; 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 w9si7146428ply.115.2021.04.16.07.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:38 -0700 (PDT) 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=hsB6bda4; 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 60E196EC21; Fri, 16 Apr 2021 14:38:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by gabe.freedesktop.org (Postfix) with ESMTPS id B0BD76EC03 for ; Fri, 16 Apr 2021 14:38:12 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id g5so35781107ejx.0 for ; Fri, 16 Apr 2021 07:38:12 -0700 (PDT) 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=K9wjRJ3K6gEJWw7cmRlm1PWa18kr/G6l9t1XfKeR5i0=; b=hsB6bda4PBPLddVEBDk0vz5lUc3uon7c5uczoWgeIVSXi6HGmocnf3hJ3J13pM4afH hFR8QMsXah3FZwP4gROY/5i0pujiWAdJtP4BfvAk1xqq7KVZcbyGzzsKGuIwotI/T6Ap Kky9Zzseqo688VrTBA5uGnRJnH3FXLykl4s8gRJlkCIZjjqCkYqUhevHh+Avgp/Bs9xV 7S8aBaTrqBpGI5tq3XE7PStwvaQgqMbeTxsibvxDDohT1nypFcIO3lUfHFowvFwmxU3o nWrfZhB4GZwUA6DAG+kBo3BvtShUJeyTDS6LHRHu3DeZayPj0TDExB8LHQoXaL0z/9hq sAPg== 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=K9wjRJ3K6gEJWw7cmRlm1PWa18kr/G6l9t1XfKeR5i0=; b=XuZ0GW/N45W2weN7SK6/E0wb6z589aiKvy5d22wQzp+22XpQrvW2kNAmiqQ+jXpDtH 8kMW9CXp9hVM5hF71Uc1zFbJ45PNhEvzLJ9GWH1DPbsZWoy1BXg5X/AHKVcSNehgC3YC oW0hoiOK/WzgdhfzHYvbTa7XLJ/EnHqbkswb3g5EkAtOAf6tRnkA/GEae/tvLoM066iH oDqd0q3z1weLjS5t78ka0IHXDwVUenZH0zrht43LOZ197TDftawXY48gpkmIWwmDO2AO RN2Q+nJTyLjhXm7nMMNyJoi84jvfV4Pj1veFsDzRRlZR45/NFLhkhbSDVZkHxdgYB+I/ dqkA== X-Gm-Message-State: AOAM530+A0OMeTbK8feVh5iw/5JSmiStXSfsXN8Qal8tEPuPqL/utPS+ hBZGIytmujwSJMJ1BQ+cyq9buQ== X-Received: by 2002:a17:906:c218:: with SMTP id d24mr8348994ejz.363.1618583891366; Fri, 16 Apr 2021 07:38:11 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:10 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 39/40] drm/sti/sti_hdmi: Provide kernel-doc headers with function names Date: Fri, 16 Apr 2021 15:37:24 +0100 Message-Id: <20210416143725.2769053-40-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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: Benjamin Gaignard , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Vincent Abriou Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hdmi.c:193: warning: expecting prototype for HDMI interrupt handler threaded(). Prototype was for hdmi_irq_thread() instead drivers/gpu/drm/sti/sti_hdmi.c:225: warning: expecting prototype for HDMI interrupt handler(). Prototype was for hdmi_irq() instead drivers/gpu/drm/sti/sti_hdmi.c:246: warning: expecting prototype for Set hdmi active area depending on the drm display mode selected(). Prototype was for hdmi_active_area() instead drivers/gpu/drm/sti/sti_hdmi.c:267: warning: expecting prototype for Overall hdmi configuration(). Prototype was for hdmi_config() instead drivers/gpu/drm/sti/sti_hdmi.c:346: warning: expecting prototype for Helper to concatenate infoframe in 32 bits word(). Prototype was for hdmi_infoframe_subpack() instead drivers/gpu/drm/sti/sti_hdmi.c:366: warning: expecting prototype for Helper to write info frame(). Prototype was for hdmi_infoframe_write_infopack() instead drivers/gpu/drm/sti/sti_hdmi.c:438: warning: expecting prototype for Prepare and configure the AVI infoframe(). Prototype was for hdmi_avi_infoframe_config() instead drivers/gpu/drm/sti/sti_hdmi.c:481: warning: expecting prototype for Prepare and configure the AUDIO infoframe(). Prototype was for hdmi_audio_infoframe_config() instead drivers/gpu/drm/sti/sti_hdmi.c:561: warning: expecting prototype for Software reset of the hdmi subsystem(). Prototype was for hdmi_swreset() instead Cc: Benjamin Gaignard Cc: David Airlie Cc: Daniel Vetter Cc: Philipp Zabel Cc: Vincent Abriou Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/sti/sti_hdmi.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index f3ace11209dd7..dd5a388898e79 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.c +++ b/drivers/gpu/drm/sti/sti_hdmi.c @@ -184,7 +184,7 @@ void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) } /** - * HDMI interrupt handler threaded + * hdmi_irq_thread - HDMI interrupt handler threaded * * @irq: irq number * @arg: connector structure @@ -216,7 +216,7 @@ static irqreturn_t hdmi_irq_thread(int irq, void *arg) } /** - * HDMI interrupt handler + * hdmi_irq - HDMI interrupt handler * * @irq: irq number * @arg: connector structure @@ -238,7 +238,7 @@ static irqreturn_t hdmi_irq(int irq, void *arg) } /** - * Set hdmi active area depending on the drm display mode selected + * hdmi_active_area - Set hdmi active area depending on the drm display mode selected * * @hdmi: pointer on the hdmi internal structure */ @@ -259,7 +259,7 @@ static void hdmi_active_area(struct sti_hdmi *hdmi) } /** - * Overall hdmi configuration + * hdmi_config - Overall hdmi configuration * * @hdmi: pointer on the hdmi internal structure */ @@ -337,7 +337,7 @@ static void hdmi_infoframe_reset(struct sti_hdmi *hdmi, } /** - * Helper to concatenate infoframe in 32 bits word + * hdmi_infoframe_subpack - Helper to concatenate infoframe in 32 bits word * * @ptr: pointer on the hdmi internal structure * @size: size to write @@ -354,7 +354,7 @@ static inline unsigned int hdmi_infoframe_subpack(const u8 *ptr, size_t size) } /** - * Helper to write info frame + * hdmi_infoframe_write_infopack - Helper to write info frame * * @hdmi: pointer on the hdmi internal structure * @data: infoframe to write @@ -424,7 +424,7 @@ static void hdmi_infoframe_write_infopack(struct sti_hdmi *hdmi, } /** - * Prepare and configure the AVI infoframe + * hdmi_avi_infoframe_config - Prepare and configure the AVI infoframe * * AVI infoframe are transmitted at least once per two video field and * contains information about HDMI transmission mode such as color space, @@ -467,7 +467,7 @@ static int hdmi_avi_infoframe_config(struct sti_hdmi *hdmi) } /** - * Prepare and configure the AUDIO infoframe + * hdmi_audio_infoframe_config - Prepare and configure the AUDIO infoframe * * AUDIO infoframe are transmitted once per frame and * contains information about HDMI transmission mode such as audio codec, @@ -552,7 +552,7 @@ static int hdmi_vendor_infoframe_config(struct sti_hdmi *hdmi) #define HDMI_TIMEOUT_SWRESET 100 /*milliseconds */ /** - * Software reset of the hdmi subsystem + * hdmi_swreset - Software reset of the hdmi subsystem * * @hdmi: pointer on the hdmi internal structure * From patchwork Fri Apr 16 14:37:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422538 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448052jaf; Fri, 16 Apr 2021 07:38:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/DhnnwOGrEUoALtszu32wOavZTPrJD3b8tp7BttmvfmiPr0wENcLi8SgLckAW/WP5mF8m X-Received: by 2002:a62:4e4c:0:b029:259:b25f:1bf with SMTP id c73-20020a624e4c0000b0290259b25f01bfmr3980254pfb.40.1618583915414; Fri, 16 Apr 2021 07:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583915; cv=none; d=google.com; s=arc-20160816; b=V/13dAbvoZd/yyX7T8jPv8BCY3uVQDm/+p7UmudHGnqexV3ZMutUTkbbLOlDKPqUbo jZu6HbqoHcQcCkPC7zBMAIMdWVDi+VjlkzkMxXBIj+Uaj0pqQ5GaC+EO+er8aCJ983X4 IIDANI8p09o1cWPXinpC42M/o4OvoJCPhPbtWmkrqqfooVH7tJiWgR6diaX8rTP3zBN2 5JZMxQbqOJRJJvd7ODT1JGIvM2KcvRq6hAnBCa09prcyjEf/lygjf9Lz3snUqf7xGc+h Zmi0DIPAMZEpLuwWUEZLLOq8rICs9vQXTYjVKmXwVXUIuK3WP2AE5uOE0hb0/cgVjj2b imtQ== 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=VY08HjAlrBmij6ZtaPz68rOQ8fuiV8uisZkftKgkBTs=; b=WZbC7epmb4bufHRXYATsx6eWgyOnw6mVpMGgd2hjp1CSvKC2+L5ZiGBbVQBH0A3D/s 7xjMcFFEgLjEIwvLYmwfTgZ9gX2k8EmtnrqM2MNRA02A1IzGFffiFz11qmNhsG9aCl0N dN6tVtxKFih1wSoZZkD1WPe2okN8zLB7whYNK8Z7/L+Mn4oIJCy6V2k7fhtxkc8Kz4o9 N66boNKHvr1HuP/9V0ypAW3sFy1rktDaY3tcx6+DB7a87SrTcKVkbmcuj1Dter0wa8+h koRWxlrGwoaA6e/cYvqloi7bbYMp3WOF4YG2W56GxmNhaczL3UUIhNGn483poE3i4Aa1 zrTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Q3vDrMvd; 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 il7si7188642pjb.163.2021.04.16.07.38.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:35 -0700 (PDT) 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=Q3vDrMvd; 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 D07B66EC0F; Fri, 16 Apr 2021 14:38:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by gabe.freedesktop.org (Postfix) with ESMTPS id BBF636EC03 for ; Fri, 16 Apr 2021 14:38:13 +0000 (UTC) Received: by mail-ed1-x531.google.com with SMTP id d21so12454016edv.9 for ; Fri, 16 Apr 2021 07:38:13 -0700 (PDT) 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=/J6GwXeDyu6BFCOqdnjyM+gc8J2+w9Z9RwZ5xPgtm+s=; b=Q3vDrMvdLvGZIwxQufcM4ObRDx1q/WwhSRnb8Nni/u1IMyeQoijNkIN4BYPVyYvvT6 /d2kp/zGgNL4i6WogCZhbQAsxU65ZQf0NFwbktiqhs4jT5qsfNLrV1K2UPY+cYk5/V3M XVrZeEroUAorEs8+4tHS6ZR/z+7PEBUSIi98XEgp2F8Yyp7XZbEn0ZZRCffdMSZcmORh hRXm2eliqwK2RzS7LJBm7RRY3JSpby9cx17daB9HzLiMMQyrTt1SInsWK3wraCZJ4tC4 dIFEHd8x7WDxe5ft26oGQAsVj4rST6nYZeFhajLg5Y1yOHHwGva8v98HGJHotVerp8mB 2mog== 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=/J6GwXeDyu6BFCOqdnjyM+gc8J2+w9Z9RwZ5xPgtm+s=; b=XKz0VOKR9KUtkResU483g9nIuHfQPvE3tJwf1nInZhtXgv8MYbBeye9qOj6oB9Z/79 mujF/PstChkw0vqC46usAtmfcF+Lh6slPMk9dOSqR+8g83i8SnS+QOJUFELrEAmKAQ3J l7pSmqr9xI62MfXL6c+Wzxjqq5ETZBGmHhq9cvKR6Xhbn42mje1DzLJIjD44s5cAQBKv EE1UQRslqriCXjBB1zWMz0Bj8uTAgAFNgb4UmNnB+IaCU/41dNfnxO/3YYkIZ6jNcNyi ZmvBQ0Wxxh+58FYqItGtVrXVLZAzYBWWuP9IPPIycVL07v59KGzqMD3xcj/9yPIrQLDD IXoA== X-Gm-Message-State: AOAM531KWhJOrfQQzxBHVgebSdCOC6Bidh78Yy3tONyZxDUZSb1TkKnc ASoLlx6Hj+3931z8JRPJiAarwg== X-Received: by 2002:a50:9b12:: with SMTP id o18mr10609284edi.376.1618583892423; Fri, 16 Apr 2021 07:38:12 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.38.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:12 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/mediatek/mtk_disp_ccorr: Demote less than half-populated struct header Date: Fri, 16 Apr 2021 15:37:25 +0100 Message-Id: <20210416143725.2769053-41-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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_ccorr.c:46: warning: Function parameter or member 'clk' not described in 'mtk_disp_ccorr' drivers/gpu/drm/mediatek/mtk_disp_ccorr.c:46: warning: Function parameter or member 'regs' not described in 'mtk_disp_ccorr' drivers/gpu/drm/mediatek/mtk_disp_ccorr.c:46: warning: Function parameter or member 'cmdq_reg' not described in 'mtk_disp_ccorr' drivers/gpu/drm/mediatek/mtk_disp_ccorr.c:46: warning: Function parameter or member 'data' not described in 'mtk_disp_ccorr' Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: dri-devel@lists.freedesktop.org Cc: linux-mediatek@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ 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_ccorr.c b/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c index 141cb36b9c07b..5276909a775fc 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c @@ -33,7 +33,7 @@ struct mtk_disp_ccorr_data { u32 matrix_bits; }; -/** +/* * struct mtk_disp_ccorr - DISP_CCORR driver structure * @ddp_comp - structure containing type enum and hardware resources * @crtc - associated crtc to report irq events to