From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF974C433FE for ; Sun, 24 Oct 2021 08:25:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A24DA60F0F for ; Sun, 24 Oct 2021 08:25:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229692AbhJXI2F (ORCPT ); Sun, 24 Oct 2021 04:28:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbhJXI2D (ORCPT ); Sun, 24 Oct 2021 04:28:03 -0400 Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D195FC061764 for ; Sun, 24 Oct 2021 01:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org ; s=ds202012; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=H7HzjyYNwVZDLpgzpPdiysmiKwCwBzklPeiEZLIob20=; b=MU/A9jJnzJ1wan42GmGn8SY6aF vrvtaSK6CNc/2ahF+r3lH1ar2fq+1UqSZeFtpMI94WA3/wRl80+GNd89bS1DGVCkgTgTOdHBuhQZm 2SsMJ0i0JWdrJqhY2mXHWi7Xc1RnfxpXSOTRF78GMWvBT0ATN8Yvt32lgmxWsKsNdgclrjeL7q3NJ joVX9gNSc9V/QLR24AwXK8yKXlOKDdSgkgheEF2otNo+8UbG0+GFVUPBsZK3FjyE+bigV8RQ1fHKw U9wcJ1cICDdBxD+Bv91nl0U21Jv6rKGVglenBsGHxzaJlheNN0TQg2xBgBlORFp3XRgthGacVPWGb WH1SdtGA==; Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:56065 helo=[192.168.10.61]) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1meYp2-0005UD-P2; Sun, 24 Oct 2021 10:25:40 +0200 Subject: Re: [PATCH 2/9] drm/format-helper: Rework format-helper memcpy functions To: Thomas Zimmermann , daniel@ffwll.ch, airlied@linux.ie, mripard@kernel.org, maarten.lankhorst@linux.intel.com, drawat.floss@gmail.com, airlied@redhat.com, kraxel@redhat.com, david@lechnology.com, sam@ravnborg.org, javierm@redhat.com, kernel@amanoeldawod.com, dirty.ice.hu@gmail.com, michael+lkml@stapelberg.ch, aros@gmx.com, joshua@stroblindustries.com, arnd@arndb.de Cc: dri-devel@lists.freedesktop.org, linux-hyperv@vger.kernel.org, virtualization@lists.linux-foundation.org References: <20211022132829.7697-1-tzimmermann@suse.de> <20211022132829.7697-3-tzimmermann@suse.de> From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= Message-ID: <454a88ca-618d-3947-247a-52d8c5b4db08@tronnes.org> Date: Sun, 24 Oct 2021 10:25:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211022132829.7697-3-tzimmermann@suse.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-hyperv@vger.kernel.org Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Move destination-buffer clipping from all format-helper memcpy > function into callers. Support destination-buffer pitch. Only > distinguish between system and I/O memory, but use same logic > everywhere. > > Signed-off-by: Thomas Zimmermann > --- Tested-by: Noralf Trønnes Reviewed-by: Noralf Trønnes