Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp22038lql; Fri, 12 Apr 2024 02:17:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBrM3+zHsJmzWj4gVF2yMWU8eDlomOZCZIs0BId4I21Czv7Z/tqEsBsHI9roxSRl72Sd5YpFC9HR3fdyUKLoyj6LAruncALFlew70mMg== X-Google-Smtp-Source: AGHT+IGbLFFO4FlANptaDHknUat1SjQBJZ4mdSEWxBh2Oiymh+yH6+Q4ttXp3qwRGtvZYLue0nqF X-Received: by 2002:a05:622a:28e:b0:434:efb2:904a with SMTP id z14-20020a05622a028e00b00434efb2904amr1990909qtw.46.1712913443562; Fri, 12 Apr 2024 02:17:23 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t40-20020a05622a182800b00434feb79d31si3331969qtc.720.2024.04.12.02.17.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 02:17:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=p1q7E4Ae; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-142368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142368-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0C4641C215DB for ; Fri, 12 Apr 2024 09:17:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96B4A502A2; Fri, 12 Apr 2024 09:17:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="p1q7E4Ae" Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2053.outbound.protection.outlook.com [40.107.102.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A6C338DF1; Fri, 12 Apr 2024 09:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.102.53 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712913422; cv=fail; b=cdXEauSvKrKstRdltkMcdYeHesFyTIrEvhynfXhWH2x7ZBjBp5BVQWsnS7GuR0lQH+fMKpEVeD/DywcE1GSBcFodBQYyxurShAM03C2E6m8ZTq0yYVU0ByvCFr9z2/oh70yGKUPYfDn4rqjZh93lTLVg6+dYnSnH7gwhsgphU4A= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712913422; c=relaxed/simple; bh=Q3kevDkY8ZIn34qtyDibVD/sPaO/Bh1vWSfuTbFgApw=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=dWFrPif/HfKOTOyIpkhu0xBCnab16uBNvltKcDJoI1BzJ/QumsWBsISbSDRf1Dw6M6iMTvOZGAKaig63PKvZlcIomQLKKRU3nWxBJZBiuJA2RfPUvATjnDfNNuE58krLa4M3vo0aEaSIORq20XDf0Urlunwti2sCvivh/wR+mHA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=p1q7E4Ae; arc=fail smtp.client-ip=40.107.102.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R+uXAiwo7GPLKQMb+E85jarU6f9XdZ4O5UsGv+84rvXVuq0O4nvN6M3u+fQQFBYc3xek4BBcZB3iy2kLIZMGseTLXv6kEc3t9OYoQnqk9gy82weNI4FUZcXFai6FZypYtIOh+ZA1ESJUoMiQocowHNTagntAzLvLIzutCpSuvsbXBqE0Fg+MIZQqMTzmX2cSRiO3P1tcAK5LdPu75JG86bLQJSDirgv8jfXnVIhsr33XX2IMU/6dHj0O8O1Ly7iDEJ2zD94EmUTQ7iDLgzxn3DLJ025Hwf9QJDVk47emc8j3Eu4kkwLDndbuES0+G68jIMyTE4FkZGmzH3JTz+98HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=etB2/l/COzzBw7bzJWtmcuFjR139PFoLKVkU1aqbU/4=; b=WCERdvrkaC5YlyHrJmMK+sz5PYvtvu9FUoanlXQPLA3FSgNcullTYkV5f5rSruYEow2Bs8TyGIkEkVfMYGAnmcOih3DSGo3j4iv0QgZzE1VpI4DRHDxoM1sMAOPLWt0YZhLDkfzrUVO1xhKDDXsSnMdLJgJoCBCoejKc3kXieXbHwVds4ewpmUDnjD6PYLjGm93pMPQKBak9E/vEYafa1iGYch4mNqVoR9uvkS4jyE0T21itK2uyP5QBqcJ5fSXcaYvDVP5hqaRkUhKKpNUEEzi2Re4srLIhIBRknqAdUowZ6vUQcR7qsPceCAMPPdKrD7hMhXta7wj+MD73wwjC4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=etB2/l/COzzBw7bzJWtmcuFjR139PFoLKVkU1aqbU/4=; b=p1q7E4AeMztu4/JUMZmhQAn/TbuNAawtGKapDp4czS6hWjNIBOynnEdMCWtlHji5RTPQtTXGKfW5+6snt+9IdnRbUfp/0HeVd2W73Ogt1HWnmE1WGuBbdCPRxVe3gIfxgdu8NhonKHtWy3gJded2mQNjlg2oubQpZ8YpvFRvqEA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from PH7PR12MB5685.namprd12.prod.outlook.com (2603:10b6:510:13c::22) by SA1PR12MB7317.namprd12.prod.outlook.com (2603:10b6:806:2ba::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Fri, 12 Apr 2024 09:16:57 +0000 Received: from PH7PR12MB5685.namprd12.prod.outlook.com ([fe80::f2b6:1034:76e8:f15a]) by PH7PR12MB5685.namprd12.prod.outlook.com ([fe80::f2b6:1034:76e8:f15a%6]) with mapi id 15.20.7409.053; Fri, 12 Apr 2024 09:16:57 +0000 Message-ID: Date: Fri, 12 Apr 2024 11:16:47 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5,05/23] dma-buf: heaps: Deduplicate docs and adopt common format To: Yunfei Dong , Jeffrey Kardatzke , =?UTF-8?Q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Nathan Hebert , Nicolas Dufresne , Hans Verkuil , AngeloGioacchino Del Regno , Benjamin Gaignard , Sebastian Fricke , Tomasz Figa , Mauro Carvalho Chehab , Marek Szyprowski Cc: Chen-Yu Tsai , Yong Wu , Hsin-Yi Wang , Fritz Koenig , Daniel Vetter , Steve Cho , Sumit Semwal , Brian Starkey , John Stultz , "T . J . Mercier" , Matthias Brugger , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20240412090851.24999-1-yunfei.dong@mediatek.com> <20240412090851.24999-6-yunfei.dong@mediatek.com> Content-Language: en-US From: =?UTF-8?Q?Christian_K=C3=B6nig?= In-Reply-To: <20240412090851.24999-6-yunfei.dong@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0188.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ca::13) To PH7PR12MB5685.namprd12.prod.outlook.com (2603:10b6:510:13c::22) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR12MB5685:EE_|SA1PR12MB7317:EE_ X-MS-Office365-Filtering-Correlation-Id: 33931949-a65a-425a-d9ad-08dc5ad14d90 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3l4SFNlYAF4xb4W0d9tt7fOOhz6vWSY75VqdZJ3EcPovuEXCgQFUsnrcf1xuTIDdn9AAHTedz6YYh1Fol4N1lC42WX2uSYC5RUq/jU+J5DgfETPlG8c9hp2u10EoIB5ZxDBPQ0aIWxB0IUhvRZ6gqklVJTUqaE4SggTuW1TkCNnpBKY91DYgMSFt2Q/Bv0lm7bgY974FiFEX8A7/cVNVDMobsh6IhDD0IB5G96xecI9V/9+zo/07iprSVNF5mXG12EXfJW/cLeodtXu1hl6WD5aHKBUnFexkxa0hh9pN2+m3zbxAc8gfVMA5VYuwFYDkhzqNEVkaTE5bRgXzxZgNGHIsUvVUVgZA3uEUIhMhumoekROT/oOonahiRU7Hyp/gtdw5JsLCKdl9Ev0tHgvIQqGGqj9s/IcqRBatUKd6w74MMKu0uhoBn9smsxIgzkUrTMSdpy+Z380NPVIWmcr4qweWQo8ZoabKLFduwsFquSJxsGJQaU/PcHP97xOea2qa+WDKLXaYglgEUUMp2Ze+lShL/5pnfmrICExu1WW16Z+oJpxuBeGWLoKGHFpYvgb9RbjkdtM8ONXLGTBgUnCOXnO3LnM2FIKcnbhW89e+bFE4Bpe+rbBK18h5ljSf6DxhpMMC7DbxcLWO/LTqEV7Pd5xGe2hpXMxPpBrQHCngKcRbNsh0VztmubakaWpdUD7iCmiDSq5Y6iuBzzwjQFNgxg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR12MB5685.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(7416005)(366007)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N1VmWUNGMjJFNHhJZXFta3I0MEEyMzF6WTlCa1cxTmdoTDVXc3RhV1MzZ25n?= =?utf-8?B?Wm1veXBvYjlRdDd0cENQa2xPdGVTci9Ob2orblFUWHVJRUd0OGEreTd6VW1Z?= =?utf-8?B?eVdnZjIxZG5zUzFJSkpJL0VyOThrN1V0NjRQeW5aMzUrNHhkQnAvbU1BTlJq?= =?utf-8?B?UFZtcmFzQVRYM2FiSE1XODZsVDRKQVhhVk9YT0hXZ2YweDA5VjB1ZW9hUlNP?= =?utf-8?B?NENCR0tPUnlIL1lpOGVKblBuRHE3RkJ2UXF0R3k0c09zS25WSUQ3QnBpaXlK?= =?utf-8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vV0JZK0VTK2Zw?= =?utf-8?Q?ZOl20oko1fk/SJRiPLEXs2kdZ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33931949-a65a-425a-d9ad-08dc5ad14d90 X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB5685.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2024 09:16:57.6903 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yolCHiEtICIj6ORmigBsCzCKISCXshZKkX5ByTXGRkK9ak7kL8dJlIA4Vahf4RPq X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7317 Am 12.04.24 um 11:08 schrieb Yunfei Dong: > From: "T.J. Mercier" > > The docs for dma_heap_get_name were incorrect, and since they were > duplicated in the header they were wrong there too. > > The docs formatting was inconsistent so I tried to make it more > consistent across functions since I'm already in here doing cleanup. > > Remove multiple unused includes and alphabetize. > > Signed-off-by: T.J. Mercier > Signed-off-by: Yong Wu > [Yong: Just add a comment for "priv" to mute build warning] > Signed-off-by: Yunfei Dong If nobody objects I'm going to cherry pick this cleanup here into drm-misc-next. Regards, Christian. > --- > drivers/dma-buf/dma-heap.c | 27 +++++++++++++++------------ > include/linux/dma-heap.h | 21 +-------------------- > 2 files changed, 16 insertions(+), 32 deletions(-) > > diff --git a/drivers/dma-buf/dma-heap.c b/drivers/dma-buf/dma-heap.c > index 84ae708fafe7..22f6c193db0d 100644 > --- a/drivers/dma-buf/dma-heap.c > +++ b/drivers/dma-buf/dma-heap.c > @@ -7,17 +7,15 @@ > */ > > #include > -#include > #include > #include > +#include > #include > -#include > #include > -#include > #include > -#include > #include > -#include > +#include > +#include > #include > > #define DEVNAME "dma_heap" > @@ -28,9 +26,10 @@ > * struct dma_heap - represents a dmabuf heap in the system > * @name: used for debugging/device-node name > * @ops: ops struct for this heap > - * @heap_devt heap device node > - * @list list head connecting to list of heaps > - * @heap_cdev heap char device > + * @priv: private data for this heap > + * @heap_devt: heap device node > + * @list: list head connecting to list of heaps > + * @heap_cdev: heap char device > * > * Represents a heap of memory from which buffers can be made. > */ > @@ -193,11 +192,11 @@ static const struct file_operations dma_heap_fops = { > }; > > /** > - * dma_heap_get_drvdata() - get per-subdriver data for the heap > + * dma_heap_get_drvdata - get per-heap driver data > * @heap: DMA-Heap to retrieve private data for > * > * Returns: > - * The per-subdriver data for the heap. > + * The per-heap data for the heap. > */ > void *dma_heap_get_drvdata(struct dma_heap *heap) > { > @@ -205,8 +204,8 @@ void *dma_heap_get_drvdata(struct dma_heap *heap) > } > > /** > - * dma_heap_get_name() - get heap name > - * @heap: DMA-Heap to retrieve private data for > + * dma_heap_get_name - get heap name > + * @heap: DMA-Heap to retrieve the name of > * > * Returns: > * The char* for the heap name. > @@ -216,6 +215,10 @@ const char *dma_heap_get_name(struct dma_heap *heap) > return heap->name; > } > > +/** > + * dma_heap_add - adds a heap to dmabuf heaps > + * @exp_info: information needed to register this heap > + */ > struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info) > { > struct dma_heap *heap, *h, *err_ret; > diff --git a/include/linux/dma-heap.h b/include/linux/dma-heap.h > index 0c05561cad6e..fbe86ec889a8 100644 > --- a/include/linux/dma-heap.h > +++ b/include/linux/dma-heap.h > @@ -9,14 +9,13 @@ > #ifndef _DMA_HEAPS_H > #define _DMA_HEAPS_H > > -#include > #include > > struct dma_heap; > > /** > * struct dma_heap_ops - ops to operate on a given heap > - * @allocate: allocate dmabuf and return struct dma_buf ptr > + * @allocate: allocate dmabuf and return struct dma_buf ptr > * > * allocate returns dmabuf on success, ERR_PTR(-errno) on error. > */ > @@ -41,28 +40,10 @@ struct dma_heap_export_info { > void *priv; > }; > > -/** > - * dma_heap_get_drvdata() - get per-heap driver data > - * @heap: DMA-Heap to retrieve private data for > - * > - * Returns: > - * The per-heap data for the heap. > - */ > void *dma_heap_get_drvdata(struct dma_heap *heap); > > -/** > - * dma_heap_get_name() - get heap name > - * @heap: DMA-Heap to retrieve private data for > - * > - * Returns: > - * The char* for the heap name. > - */ > const char *dma_heap_get_name(struct dma_heap *heap); > > -/** > - * dma_heap_add - adds a heap to dmabuf heaps > - * @exp_info: information needed to register this heap > - */ > struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info); > > #endif /* _DMA_HEAPS_H */