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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DB94C761A6 for ; Wed, 5 Apr 2023 10:53:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C20910E8D7; Wed, 5 Apr 2023 10:53:00 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id DBBB810E8D9; Wed, 5 Apr 2023 10:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680691977; x=1712227977; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=TcLBivQ+NNv25sjuT7Hma0Pn33Bhr5vnXXpMlqlhF1E=; b=AUHPKzZitM/j6YtLTKxzXAZ8LevHCFehAdGtZwBmy9jRI7cd9JFXL/9c Uyfr1bxKMuXRayFF/LoxZaQnLV86XNtiooRWiQrrXzjHgLAHjKarqxnHk gvdvpCZuTi2ti0/GCEUPFQpbghhx4r/toqJDogkhbfwvupS+881FtHL3O 60tMBfatrJQDXytj5xbo2e0wwcAnkCcUjbIK72RI0eOof3TLB8dpvLqNm Slet61GjuzW3wSCv5So5WKgqUcvj4JXrX/8+UIq9LXwSKS8uIVnp9hoky UqCPJ82uLd0e52RgZJHwvJi4Wjg5XN1L450ZSU3Lq47ofpjM82aREIOIz A==; X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="339914387" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="339914387" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 03:52:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="755974267" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="755974267" Received: from nirmoyda-mobl.ger.corp.intel.com (HELO [10.252.41.195]) ([10.252.41.195]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 03:52:55 -0700 Message-ID: <6131a80c-a23c-ee17-3144-327b66f636bf@linux.intel.com> Date: Wed, 5 Apr 2023 12:52:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: Andi Shyti , Nirmoy Das References: <20230404143100.10452-1-nirmoy.das@intel.com> From: "Das, Nirmoy" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Intel-gfx] [PATCH 1/5] drm/i915/ttm: Add I915_BO_PREALLOC X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jani Nikula , intel-gfx@lists.freedesktop.org, Matthew Auld , dri-devel@lists.freedesktop.org, Andrzej Hajda Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On 4/4/2023 6:23 PM, Andi Shyti wrote: > Hi Nirmoy, > > On Tue, Apr 04, 2023 at 04:30:56PM +0200, Nirmoy Das wrote: >> Add a mechanism to keep existing data when creating >> a ttm object with I915_BO_ALLOC_USER flag. > why do we need this mechanism? What was the logic behind? These > are all questions people might have when checking this commit. > Please be a bit more explicative. Agree, the commit message is bit short. I will add more content in next revision. > >> Cc: Matthew Auld >> Cc: Andi Shyti >> Cc: Andrzej Hajda >> Cc: Ville Syrjälä >> Cc: Jani Nikula >> Cc: Imre Deak >> Signed-off-by: Nirmoy Das > Reviewed-by: Andi Shyti Thanks, Nirmoy > > Thanks, > Andi