From patchwork Thu Jul 6 12:20:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 9829285 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 41B1F60317 for ; Fri, 7 Jul 2017 00:44:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31B971FF82 for ; Fri, 7 Jul 2017 00:44:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2625928549; Fri, 7 Jul 2017 00:44:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 99BEE1FF82 for ; Fri, 7 Jul 2017 00:44:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3608E6E6F4; Fri, 7 Jul 2017 00:43:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0117.outbound.protection.outlook.com [104.47.2.117]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5463F8997C for ; Thu, 6 Jul 2017 12:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentiatech.onmicrosoft.com; s=selector1-axentia-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RjVcRNOVbZtRzXgXzqpvQXZ42cp+2JULK6r552u7FDQ=; b=Ml5rBLxO+/eGl1NZJfVsu7iWsNc59YR4PI8h/VLEKuz3UDtGDVenkaGkeNuqYyOT8I35USq0DpZS/aGFC3cuxFxVxsBDGUdVDufs2mwwRTZ/6vwW2RLDDHBfea1d9v7QUcpjo16RCKFA0lAslHMAlqp5FsL08Fp9bIMvyeONVqc= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=axentia.se; Received: from orc.lan (81.224.171.159) by AM5PR0202MB2548.eurprd02.prod.outlook.com (2603:10a6:203:6d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Thu, 6 Jul 2017 12:19:42 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v4 01/14] drm/atomic: export drm_atomic_replace_property_blob Date: Thu, 6 Jul 2017 14:20:35 +0200 Message-Id: <1499343648-29695-2-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1499343648-29695-1-git-send-email-peda@axentia.se> References: <1499343648-29695-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: VI1PR0801CA0084.eurprd08.prod.outlook.com (2603:10a6:800:7d::28) To AM5PR0202MB2548.eurprd02.prod.outlook.com (2603:10a6:203:6d::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d3e11cf5-e8db-40d1-63dc-08d4c46948ae X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5PR0202MB2548; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2548; 3:WSafe/K+pOFWKT9deeWsWPVjhEzQlcSSo8MLvE2YInMfdevEfLqs9bLDRRJdyRFDhKRtplBjh/r68MHFvXN0/c3QqsGRqXIU4YeVjoahRgB0WA+3Eq0/2KwUycnHrYTg+cRC2ymoNx7gUePytBCTCAkToM+Qv8/waSocvKg79s3GEn+h+TnIqiBIbimj3rWFOxZRWrn6dFPkP5/FA13h2HnNZGCe/yMDOxMyK2U6Br/lvSZuJ1ORs2zSRGZonCEmfx65m9LPL6SO1tdwYpGR36GI+tKU40AkvQdYFIWqHFK5eSpUGJzAEc9Jox8oHf3qGzpDLs3M/JUOc/sxm7daxOOZvobgIPGqeRUZvhyVzcU5niBmFtqpBAD/UE/PAPIcPfm0iQ8NhkWvVmfTMlaDmd6jrE/fAJaEl8wLlpI9AnhLlPy9sfGjDMXIwHJWciwq982H+rW4L46qy4MuZd/uTf1xRQQ7UqFbZdQRnFuqAS3ghJ5I/WtF4BrrFtYwm7asZlKac1boWcN0J7ZyG+yokLqBX+ISgq2I0Zgh5iDUX36U4wuN3I5Emz2UBJqZID1jTlDj+1/62qA/oN25iH8vgGkat6HoRSP3fgvwnmgQ4hLdVWPm/54esyjE8mB/UP7eXVhKooPH0K2t+198qbOlbAQRHRBuiJCkrsPxk2TK5yn3lUvkF1w4trwDqU4fZ9FhNBYV2n+fIK7kqF1h4sEI/A== X-MS-TrafficTypeDiagnostic: AM5PR0202MB2548: X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2548; 25:Wz2m5vfR8KC/jUOBqs/y1wxZD9xyEz8c+yr3v1al06q2ZAqMUcPqKrKPQkJ3cm/xmj/1aXBSvto9wE9MKYtJgQcxO01eU2qK50DGdbGqTPtMKM7pkNwpGuG/qW2uRNkdK8mqLm+U/suhkoPsBvABAw6t//lkbDeZwi2gM+Xf7qlPOEENlrmri/W0HHhnv6yb/AxgkbnDRuTlbiul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xRgg+sGmIIvjAiPaOHbBqF0W6r7W0tKYgjcrL/AjdSGJIaLhpK9mD3u9xaY5wrEg6a8o9i9m4Aeu+1CPINMfXLUKHIwKVr9AN9wvwqVWw5VbrU2V/0qRxMjVhUX2Q5dT8/YKrIlQI9gD0wHxc+R/0FUmTFSpuBsNG6+caECrxECzxjcMHpn1FXcNiQVaUSZpd6C4owm7rMseKpcBXNTo/gq32XwNUGiwGoJ1VZXse64Camym6ZDLf8Ljb5eGvFtFfDrL7N6xrtbnSulz74usbDFm0sqrdIUmdnQumEZLrfeCKy27vYiBXSyUdny/cv8fCoaqKp01LU2caC+d8S+qI8cnSQY1g2FT2/5YSOlJVtqxaY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(788757137089)(148574349560750); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(2017060910047)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123558100)(2016111802025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(6043046)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0202MB2548; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0202MB2548; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0202MB2548; 4:z/TTTCPP/7CXi5iYyT5hRAepeb92SS+XQya268rz?= =?us-ascii?Q?nwdDkbiCtUCmWNHpTi6mXorNk8qHtZpMz53/8Gw2rebcc7nfR2h0urvffeEx?= =?us-ascii?Q?MkY9rof+deDgYL+FdgCqfcwYzea19BvLGI/6Kryw+TNYKFHVDG22NUDY3hGx?= =?us-ascii?Q?7UeBw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kxympFoV?= =?us-ascii?Q?TmskGE8RuOgbiRT1820wNXaqT+tywjzeHAE67HIFcvBgs3bsZcEMWb3oupW8?= =?us-ascii?Q?wIXAQGgKgkZFyy0Pl5+M7q3UgkQzktIUPrKNGfFyllk9isigqALS61/lhqG0?= =?us-ascii?Q?T//FkShL4A8TN+gx02gayEW0MM1MzPooJKgTBzAx/B050D4m8ya3ZSClGqf4?= =?us-ascii?Q?pTAgXNI/YMQ+sS47zjKiRG5xNvPNSBDBVMbeSEvEWsZGdofG9Eh+LT2u6Fbv?= =?us-ascii?Q?Cf+YfknynspjYogY7wOv75NdJQvOlC4ngWd34m9sF+lx?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39410400002)(39400400002)(39830400002)(39450400003)(6512007)(66066001)(33646002)(5660300001)(2361001)(6916009)(2351001)(478600001)(2950100002)(6666003)(54906002)(5003940100001)(38730400002)(42186005)(50226002)(47776003)(110136004)(6486002)(305945005)(50466002)(189998001)(81166006)(3846002)(76176999)(8676002)(6116002)(575784001)(2906002)(48376002)(50986999)(36756003)(4326008)(7736002)(53936002)(86362001)(6506006)(74482002)(25786009)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0202MB2548; H:orc.lan; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0202MB2548; 23:+C4t/TcIBWcYihY+9b8AeoaQlHkrjW/YqEeDexk?= =?us-ascii?Q?23XhzNJN5VBFDCQ+fM8Gcg0FEDaAd4uS/nkwPmOE4Izktd9alayKDtvQkCdl?= =?us-ascii?Q?C7BqzWrtbkNuWyi1s6FRM6yusRkTjQHJIDMbXhYFNNq2PWWpPgfJS9GwYSpn?= =?us-ascii?Q?WNSBHRff+vHd8CHkkaUw2dMuEJhVd08JDbRJHmVlBy65XMj/QX1ganhraEqL?= =?us-ascii?Q?IWkH0BgRXgays8m1DrPbHVk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ascii?Q?2+Q28FvC+d1nSvaOkwRP6tPLjQujZbCZjAU0bFbhlwHmKQRQcwcNR8N8slJ6?= =?us-ascii?Q?IpeF2edJNmCMHcWuQyGjUl36gAQ4bWXHLasavd83o0kfOgO7xPTlOwHuaykw?= =?us-ascii?Q?UUFM1Anof6nJr7uNF4psyTOE4DA9l9ms8yoGmyP1YjhB3E3Z7vONxPIkd0Wg?= =?us-ascii?Q?gys=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2548; 5:QRgTKfueUyd4//BOlC0R6P36TmHOkQlECXbu0Oz17+MGiifTalKtKC3Eh7zUUQ0vtGza7gIldQuvwbqPFlat7GfGU+juhUFnC3xLjdJm+tIVdml60yqCQltY9aP+cIUVLkVtb0YHgDfCIMoBZwmPkcPLeNOg3SMsPpIsZHIZPsuTvPWSFVMuSAWx1gOBPnxuMtxfbwKg2b9ps7US17zIvtL4LPYMP72kQBrCKyAcmPjcSVlAcyFwYo1rMGg8z84Mg0LTvtautthX/GN2kp3d4cmbeCVmgvBvm4CrpLCB8kAbCkHWTH5WZhL/i0lY0ZfdnTlo36+tIVOCecLpHiVEV1E3SqZFjXDethgPYWNjLCLWKDtcY4wHQdRIqtgR380Xida7pYcXO84RkPy4errt3OC3ChiUFpD+g4CPTL0KBanz7AbyPT53tfzfIvJ6IldZbyChiopYJFHIa0azr0df3lu8SxSYnW+3pT7BdUCm2c0WIhc/WalQJug7NBHPapko; 24:8EIu3h48TKR+pcxHgOWQsMwNFV/RW6msYOq4XKjaUWnBmc2jswA8dGdRsh+Pl7cikdOCuw1Wj6q8k/aPOuaVMYBykqyrPLa5CtUWneVtcgs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2548; 7:3HyPXoHr050TdN6UonnYjC1iAejvY1jFeOZqypO5PVsafioixoOagarqEyTRb36Lh9zrFJ2tQ5ecq3G4Vb650ulZK6FQjm3fPvAB8TOyySPIx+lUq2nOX3JPA7hapkdDKI+/EHZ+UWyc8opWTWnNHQ00G4sOXO5zQJUjRk0EYMKJlZEXYFXV55J7S8IM3sLnBGyFC+bc/h6tcoLFGwqpcz4fB7gXm7FqqgjhjVEonnLlkQ9qscvLFBznb5C4PjT8+8FUDpUO53477lY0KAnd0ZE8VKncwjZtkqP9lQLm44Ae9h55HdHdPpyn0Ne9RXPkX9K/hDieQKiIbEXkowlTLDisVw42aNaeO7XbmDxgcZ5J8xMUggYG1zXoTSbnVpvLkhBPxtDvkHGKfJ14oA0Sjca54zd5L7CIDXq9vwREerWjyS7HW31QhZjPgocoGrDGGuZORyb0be3mYOdgqcrJ+PlDsyVZ9mb0XjfMyXHhXwuXo1pl3+VdT2qQxpkFQ2mx03VCi8HkK6VwcHRitmbZAADjkD00F+Rtw2/OIEfQAxL5o95byLMmuBSutEH6dv55/o79+JRuKpwuuOc/OBdmEY6G4gOgXiaXsKvg57cEyvKbVyPMnMMPpkOlszwleDtx3GAJg4Yc73rLtRNbRlmEVwjM8K9dze4MP+tN7Oj8YISqPShjv/Z0t4lank5VbzaUZY6ogLnYY6JWTzcTRVy2dDMRXk5w0RVXrJeHVgFZm6ElTCBFyPhTW66yeD3jkN6tltg1DEZnCVfMcVlod5VZs4TN0vDjj0/3gH4lCP0dMwo= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 12:19:42.6237 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0202MB2548 X-Mailman-Approved-At: Fri, 07 Jul 2017 00:43:09 +0000 Cc: Boris Brezillon , dri-devel@lists.freedesktop.org, Daniel Vetter , Peter Rosin X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP While at it, add some words in the kernel-doc about the 'replaced' arg and remove a faulty kernel-doc comment on the return value. Also remove a redundant return statement. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_atomic.c | 17 +++++++++-------- include/drm/drm_atomic.h | 4 ++++ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index 09ca662..b7d9696 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c @@ -414,13 +414,15 @@ EXPORT_SYMBOL(drm_atomic_set_mode_prop_for_crtc); * @new_blob: the new blob to replace with * @replaced: whether the blob has been replaced * - * RETURNS: - * Zero on success, error code on failure + * Note that you are required to initialize @replaced to false before the + * call, since it is only set to true when the blob property is changed and + * not set to false when the property is not changed. This enables a series + * of calls to be made where you are interested in if any property is + * replaced, but not care so much about exactly which of them was replaced. */ -static void -drm_atomic_replace_property_blob(struct drm_property_blob **blob, - struct drm_property_blob *new_blob, - bool *replaced) +void drm_atomic_replace_property_blob(struct drm_property_blob **blob, + struct drm_property_blob *new_blob, + bool *replaced) { struct drm_property_blob *old_blob = *blob; @@ -432,9 +434,8 @@ drm_atomic_replace_property_blob(struct drm_property_blob **blob, drm_property_blob_get(new_blob); *blob = new_blob; *replaced = true; - - return; } +EXPORT_SYMBOL(drm_atomic_replace_property_blob); static int drm_atomic_replace_property_blob_from_id(struct drm_device *dev, diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index dcc8e0c..8b32ea5 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h @@ -321,6 +321,10 @@ int drm_atomic_connector_set_property(struct drm_connector *connector, struct drm_connector_state *state, struct drm_property *property, uint64_t val); +void drm_atomic_replace_property_blob(struct drm_property_blob **blob, + struct drm_property_blob *new_blob, + bool *replaced); + void * __must_check drm_atomic_get_private_obj_state(struct drm_atomic_state *state, void *obj,