Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3794170pxb; Mon, 9 Nov 2020 23:22:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzb5WYAwjiRT4ijX0y8EKBJBb9Nj4Nq21YHTPH52pHvJQRxONz5vt3UxJ+P9y5W3rD2+pPQ X-Received: by 2002:a17:906:c1d4:: with SMTP id bw20mr18569862ejb.91.1604992965541; Mon, 09 Nov 2020 23:22:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604992965; cv=none; d=google.com; s=arc-20160816; b=Q+c3JjrQQTdWwpxRpKcevzr8gFrXDUgnM2NyvLKZ2Y6zyEZUVyoXocmd21Nvd2ns+e qX3mPbc8bFXyFVbIxX6YgXt4W5EhECVPjzcGDkLAjEw1LQWftLwhcv61exV1AqSSOHMX kvDa4EK8uVRC1EiAIEWerOZoSe8LRiLxBVaQMpcmFrSe5hjTfCXporasx9x+jJRvW85D sybZ/tP0184BumXvxd2aHQikdkv14uitscke/4tJO8kcbb15tarcLjPo8Ywhx5TdltK5 zWqxJBDWMimvdNGLFGsnY1/C3UJtiL5eIxO/vbk2IbWv3dQBN1P7RoWJfvkrtiU1/CWw gvQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xAGL+MqhZzKyrUoLXU8MWIWR+zEnYIu8+jLrfBt+Ymo=; b=vnQoE+lv8d9T/f7N3HgTVkVeLh5tG4ek7iBttXKTlitUKal9CuzKARoi4ORFy+fHHF /jUP7n3Bf9ky7VSuP01/uYazjaCPJAV5BqE9cSEVWVLV8JAn4M2zRJ0wLPPVN0IKbZEA 7QcCCUggjYZDs1J80tRkSLMhdFfPM2YrUHHz6fLuXg+ZMssbYZuhZHVBiHJjuRZUPpD9 dw83VCetJdrHC8/y88KyKO1ALDxdZ8V9iTBVwWL/asaLxbw5RlNvtz8e4jnike9FV3S+ k0KqBllDObPDmCIYqVWwx+/s6Xn2uwNGt4hH3T8EqQWIjR5vm1T9xr3XwV1aZOYgG0X/ yVBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rTGy57DS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g18si8960166edq.53.2020.11.09.23.22.22; Mon, 09 Nov 2020 23:22:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rTGy57DS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727748AbgKJHU5 (ORCPT + 99 others); Tue, 10 Nov 2020 02:20:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbgKJHU4 (ORCPT ); Tue, 10 Nov 2020 02:20:56 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50159C0613CF for ; Mon, 9 Nov 2020 23:20:56 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id b6so137067wrt.4 for ; Mon, 09 Nov 2020 23:20:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=xAGL+MqhZzKyrUoLXU8MWIWR+zEnYIu8+jLrfBt+Ymo=; b=rTGy57DSN9XQoBCQvVJsCf80xY/yL1F27+sV2Uck0Evb3/yyznaYfcwmF25iXGPxHP s/J4Bga12wkOZlS7jy8pwfMXUK6eH4uzgipq8uUt83TcEmKfJpzDJYrIy+1uQnyqWB45 i8N5hdwv5bOHhmk2wGJQ4i5chN0fAiB3CdIDUK9+doprcsIYTY86Exju6DGVzQDIOVP5 ZQXoBAyv4528nn2m3gHAsuTOvGXqyTQMbEDgUGYfEa8zHxaAEllgMbsLA4CgPLOdDa4x wXD1xFHk3IPDXk+P0m9KyoQdXtugrRey4DiuUFtiQ5dyDaxKNH7sIzt+ePd57A6Fj/q5 8DpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=xAGL+MqhZzKyrUoLXU8MWIWR+zEnYIu8+jLrfBt+Ymo=; b=VgLu6SjBwkbgeDas/OkJV7LU/pK5iDb8i1uNbc7/YUrnSKVCU47F0r3rG+cJDUjtiv ERHkNfIQLowfuudVbCY/ZjBG1vx8aeRxbMCCqyhZmzkyon8zq0ChjxNLmyJDv3EdLipC DPY48gH9Njs6TBj5nLSlV9frLMYKTyJBCjHHCNJ70RThmE3vt2U6nRGlzohLa/KHK1sv F5CSt6MCYWeaHwrYrtEqX62noC0ZCGy/LvuD7q8ma93HDvr84mQHpXEhN4tm6oIBlcPs 5TwImzgo1RhT8NLqaRDelTgUPkEiBzNmiIzFo3Hv4chDKWqOGrxvQSwiSqYWEQwvt2SD z4xg== X-Gm-Message-State: AOAM533tvpXpYCULA/1sUqSSMY/CrZyAEFftuLZQSQXXPC3/mXNN/byz mc7V9tpBbTpPFiVNTR+/Dan5kQ== X-Received: by 2002:adf:a54d:: with SMTP id j13mr18936180wrb.132.1604992855052; Mon, 09 Nov 2020 23:20:55 -0800 (PST) Received: from dell ([91.110.221.139]) by smtp.gmail.com with ESMTPSA id q1sm4777033wrj.59.2020.11.09.23.20.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 23:20:54 -0800 (PST) Date: Tue, 10 Nov 2020 07:20:46 +0000 From: Lee Jones To: Alex Deucher Cc: David Airlie , LKML , amd-gfx list , Slava Grigorev , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Jerome Glisse , Maling list - DRI developers , Alex Deucher , report to , Christian =?iso-8859-1?Q?K=F6nig?= , linux-media Subject: Re: [PATCH 00/20] [Set 3] Rid W=1 warnings from GPU Message-ID: <20201110072024.GE2063125@dell> References: <20201109211855.3340030-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 09 Nov 2020, Alex Deucher wrote: > On Mon, Nov 9, 2020 at 4:19 PM Lee Jones wrote: > > > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > This set takes the running (decreasing) total from 5000 before > > [Set 1] down to 2300. > > > > Lee Jones (20): > > drm/radeon/radeon_ttm: Place declaration of 'rdev' in same clause as > > its use > > drm/radeon: Move radeon_ttm{init,fini} to shared location > > drm/radeon/radeon_fence: Demote some non-conformant kernel-doc headers > > and fix another > > drm/radeon: Move 'radeon_add_legacy_encoder' prototype to shared > > header > > drm/radeon: Move 'radeon_add_legacy_encoder's prototype to shared > > location > > drm/radeon/radeon_connectors: Strip out set but unused variable 'ret' > > drm/radeon/radeon_display: Remove unused variable 'mod' > > drm/radeon/radeon_i2c: Remove pointless function header > > drm/radeon/radeon_irq_kms: Demote non-conformant kernel-doc fix > > another > > drm/radeon/radeon_ring: Add missing function parameters 'rdev' and > > 'data' > > drm/radeon/r600: Strip out set but unused 'tmp' variables > > drm/radeon/radeon_cs: Fix a bunch of doc-rot issues > > drm/radeon/evergreen: Move 'rv770_set_clk_bypass_mode' prototype to > > shared location > > drm/radeon: Move 'radeon_pm_acpi_event_handler' prototype into shared > > header > > drm/radeon/r600d: Move 'rc600_*' prototypes into shared header > > drm/radeon/radeon_audio: Move 'dce3_2_*' prototypes to shared location > > drm/radeon/evergreend: Move 'evergreen_*' and 'sumo_*' prototypes out > > to shared location > > drm/radeon/radeon_display: Fix function doc formatting and missing > > param issues > > drm/radeon/r600: Fix a misnamed parameter description and a formatting > > issue > > drm/radeon/cik: Fix a bunch of function parameter descriptions > > > > drivers/gpu/drm/radeon/cik.c | 10 +++---- > > drivers/gpu/drm/radeon/evergreen.c | 1 - > > drivers/gpu/drm/radeon/ni.c | 16 ---------- > > drivers/gpu/drm/radeon/r600.c | 11 +++---- > > drivers/gpu/drm/radeon/r600d.h | 14 +++++++++ > > drivers/gpu/drm/radeon/radeon.h | 34 ++++++++++++++++++++++ > > drivers/gpu/drm/radeon/radeon_acpi.c | 2 -- > > drivers/gpu/drm/radeon/radeon_atombios.c | 5 ---- > > drivers/gpu/drm/radeon/radeon_audio.c | 23 +-------------- > > drivers/gpu/drm/radeon/radeon_audio.h | 12 ++++++++ > > drivers/gpu/drm/radeon/radeon_combios.c | 5 ---- > > drivers/gpu/drm/radeon/radeon_connectors.c | 4 +-- > > drivers/gpu/drm/radeon/radeon_cs.c | 12 ++++---- > > drivers/gpu/drm/radeon/radeon_display.c | 17 +++++------ > > drivers/gpu/drm/radeon/radeon_encoders.c | 3 -- > > drivers/gpu/drm/radeon/radeon_fence.c | 6 ++-- > > drivers/gpu/drm/radeon/radeon_i2c.c | 4 --- > > drivers/gpu/drm/radeon/radeon_irq_kms.c | 6 ++-- > > drivers/gpu/drm/radeon/radeon_object.c | 2 -- > > drivers/gpu/drm/radeon/radeon_ring.c | 3 ++ > > drivers/gpu/drm/radeon/radeon_ttm.c | 8 ++--- > > drivers/gpu/drm/radeon/si.c | 6 ---- > > 22 files changed, 96 insertions(+), 108 deletions(-) > > Instead of just dumping everything in radeon.h, I think it would be > cleaner to add new headers that match the .c files that define them. > E.g., add evergreen.h and put all the stuff from evergreen.c in there. > Add rv770.h and add all the stuff defined in rv770.c, etc. This was my original solution, but Sam pushed back. Please can you decide amongst yourselves what is the best way forward? I will abide by whatever you decide. > > Cc: Alex Deucher > > Cc: amd-gfx@lists.freedesktop.org > > Cc: "Christian König" > > Cc: Daniel Vetter > > Cc: David Airlie > > Cc: dri-devel@lists.freedesktop.org > > Cc: Jerome Glisse > > Cc: linaro-mm-sig@lists.linaro.org > > Cc: linux-media@vger.kernel.org > > Cc: report to > > Cc: Slava Grigorev > > Cc: Sumit Semwal > > > > _______________________________________________ > > dri-devel mailing list > > dri-devel@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog