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 6E2D6C7619A for ; Wed, 5 Apr 2023 13:52:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BFDC310E968; Wed, 5 Apr 2023 13:52:43 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id D280010E966; Wed, 5 Apr 2023 13:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680702760; x=1712238760; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ss6KIAVNm+8Vzn22eI3/TKlG5euz1BkWuVgJyekgkTM=; b=R9+CI0I0kIIGJ9b0YPLn2CYglIZB/P8nRXgy1R13l5tcYd6qKqth36Al P1y642+wQm6wibQGQgaa2hu7S5Dd0scnJ3cR/aPaRiHvn3W4GS3Mjumfa Ipt+7AY9TLJfqpAga9pvtp0cqTcg7ryV1mhSSw+gu15tpRIjlb/7tjdxU 9+YBzpXxAcBzZ2dsL/B34KzRd1WNVP79V+ou96VKIp4ec7C4f46prJP5i 3V3041Cupf53EymmVpHATClMkBmkfjYyU7I7c+aMleNu1Q2QgwSjgFRog PqQe2Lllfaw/blzfsdtLbtKH+AB6Ea9MFrZ30zUxCj91Sl4QQs8jftQ68 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="428740673" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="428740673" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 06:52:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="717049674" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="717049674" Received: from amadden-mobl1.ger.corp.intel.com (HELO intel.com) ([10.252.53.144]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 06:52:37 -0700 Date: Wed, 5 Apr 2023 15:52:09 +0200 From: Andi Shyti To: "Das, Nirmoy" Message-ID: References: <20230404143100.10452-1-nirmoy.das@intel.com> <6131a80c-a23c-ee17-3144-327b66f636bf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Andrzej Hajda , Jani Nikula , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Matthew Auld , Nirmoy Das Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" > Add a mechanism to preserve existing data when creating a TTM > object with the I915_BO_ALLOC_USER flag. This will be used in the subsequent > patch where the I915_BO_ALLOC_USER flag will be applied to the framebuffer > object. For a pre-allocated framebuffer without the I915_BO_PREALLOC flag, > TTM would clear the content, which is not desirable. ack! Andi