Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2157165pxb; Sun, 30 Jan 2022 06:54:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyb5l1Xas8ThctyzmiUFM3+B5WsKFRaJuRXHKHBJchkSLABJiuLCwOtk5eg3WBnOB9M4nuu X-Received: by 2002:a17:902:b190:: with SMTP id s16mr17191653plr.119.1643554496270; Sun, 30 Jan 2022 06:54:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643554496; cv=none; d=google.com; s=arc-20160816; b=PibaBejpCa7UNk4BG3MyMApFEUjSf/6j9aDRsbceeRpmsyeFxQVh+yfWNSsjLEXXbn DXOg1OujZrXoMwffkYBkRyBk91VxkgYwNZKEmeKSZNnE10rHe/eZfc77Gi4unq2APllV wyuKU0Bx4Yfr6qMUb0qTjlPkrRzf/qrKSyr1Ibl4HUt2gK6GrBXGBebUI0MI+ziF3PTu yqMvJZk2W/nChqaDtIEin4gB8d0VJj6gdSowY/I/UOxwXPc6edpHan5rmWsFp6rozoUz Yu2UEPbaWRRuTklKalmO29z5eKk0J5N8bmmi0eldBsVpNaDTHHWccz4hEcmU+FsYoxRK kDWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zM/QdE9M4n5WJZWuqfV/i/Tw7dYNRmduGw2QBm8IX4U=; b=mMNRWI9YtEBZjIayjvX7r3shkqZg+1Yd2GCMtfsMMJqCAv8ohEhvFtwhNk5XRfijEp r0BVhLklGPt6WnpFlMAvNBLzyFyf117LCxe3/BHbWQZYhZzoQdSQEs9mSpD/cqGa2QFT 4F+oNDZ8C43aimmpvBguUcWq06yrh6LqXTTVWm2fK5kioKvgYCYd0nffbmOZpn/Aq6gL 6E1kvpILUWcMGkNgK87NGk2O4Ih90oqZNeLFHWsnHF6FyOCY+pG7LqTzxcRyNtY6tSK/ d/roiHudmNNBeZg0cG/dipAkVmcD9Gcc/pPmWbLfat/wBRlC4MK/5wd4Hh4dtX1vDj+j Qg1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V5o87Ayq; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si11479978pgq.238.2022.01.30.06.54.45; Sun, 30 Jan 2022 06:54:56 -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=@intel.com header.s=Intel header.b=V5o87Ayq; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347413AbiA1IgU (ORCPT + 99 others); Fri, 28 Jan 2022 03:36:20 -0500 Received: from mga17.intel.com ([192.55.52.151]:52647 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238638AbiA1IgM (ORCPT ); Fri, 28 Jan 2022 03:36:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643358972; x=1674894972; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VeQInHmHVOmhjLd436GKM+ceZUYLSpJbxttjZYailqQ=; b=V5o87AyqPXdZ7sfo2U05Vid8yVZyq4EWtRzAE/8SVGcB2rZL0aQJh8Qd lh5hisz+yVbz/VsrFV44bzT0b83RWEIpe1CDot67DERuLfvKuIO0uxv6l ncAlI0vOI3UmCvmvE97HuX4ckqRBgcR4X8SO3jTUpFgAuqEjH2ZGonsU4 GjYivyLvBata0epTHMSzJ8nGTBvOZWZgPF7Fi3FGqEN0uSg+H8j+D0xs8 3Pt16d0xpgTetUb5hb4DSLUhpCXi1Ty0TDQvlWodad+5hBzFs4m0J/TN7 6G7mg4BpaUfnWt9/d9usztXtLzsVoRiEgjuFYriCcYQcV0Z1ru6V97OOh A==; X-IronPort-AV: E=McAfee;i="6200,9189,10240"; a="227749350" X-IronPort-AV: E=Sophos;i="5.88,323,1635231600"; d="scan'208";a="227749350" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2022 00:36:11 -0800 X-IronPort-AV: E=Sophos;i="5.88,323,1635231600"; d="scan'208";a="581788723" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.202]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2022 00:36:11 -0800 From: Lucas De Marchi To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: srinivas.kandagatla@linaro.org, gregkh@linuxfoundation.org, sumit.semwal@linaro.org, christian.koenig@amd.com, daniel.vetter@ffwll.ch, airlied@linux.ie, lyude@redhat.com, tzimmermann@suse.de, linux-media@vger.kernel.org, nouveau@lists.freedesktop.org Subject: [PATCH 02/14] misc: fastrpc: Replace dma-buf-map with iosys-map Date: Fri, 28 Jan 2022 00:36:14 -0800 Message-Id: <20220128083626.3012259-3-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220128083626.3012259-1-lucas.demarchi@intel.com> References: <20220128083626.3012259-1-lucas.demarchi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org iosys-map is the new name for dma-buf-map and will gain new capabitilities. Replace with the new API. Signed-off-by: Lucas De Marchi --- drivers/misc/fastrpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c index 4ccbf43e6bfa..5c0503655212 100644 --- a/drivers/misc/fastrpc.c +++ b/drivers/misc/fastrpc.c @@ -587,11 +587,11 @@ static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf, kfree(a); } -static int fastrpc_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map) +static int fastrpc_vmap(struct dma_buf *dmabuf, struct iosys_map *map) { struct fastrpc_buf *buf = dmabuf->priv; - dma_buf_map_set_vaddr(map, buf->virt); + iosys_map_set_vaddr(map, buf->virt); return 0; } -- 2.35.0