Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 047F3C48BE6 for ; Mon, 14 Jun 2021 07:21:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C137D613C3 for ; Mon, 14 Jun 2021 07:21:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C137D613C3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 191E089CF8; Mon, 14 Jun 2021 07:21:42 +0000 (UTC) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by gabe.freedesktop.org (Postfix) with ESMTPS id 06BE689CF2; Mon, 14 Jun 2021 07:21:40 +0000 (UTC) Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6678D21960; Mon, 14 Jun 2021 07:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623655299; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LSoCQ6+rqMdBnZPV5SwwSjgwN1SLswXRuppaGUsYN7k=; b=FFA3IQJs+NHkXNOC2xFIvWMkbE/cQtrM1fGWhyyeC06i6ZnFegX51JVXEMWGdBm1X5TPWa S2HSC5/6MlsNOY/mZSXUganc7GUVMTkpVqgjcMKxrJfHkopJwpe1P5dRaNzE6vzoS/O2jI kI40eUiuvvffqCnt8edsNzudlrtrK0k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623655299; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LSoCQ6+rqMdBnZPV5SwwSjgwN1SLswXRuppaGUsYN7k=; b=S/JNfAi0l1N9oyZTjrVoIbGhhperr17w4xvBKQffsTt8pIog7CfQpDnrJFLTLD2IxoJ48E zSO+ESDdZy3gYoBg== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 2DE81118DD; Mon, 14 Jun 2021 07:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623655299; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LSoCQ6+rqMdBnZPV5SwwSjgwN1SLswXRuppaGUsYN7k=; b=FFA3IQJs+NHkXNOC2xFIvWMkbE/cQtrM1fGWhyyeC06i6ZnFegX51JVXEMWGdBm1X5TPWa S2HSC5/6MlsNOY/mZSXUganc7GUVMTkpVqgjcMKxrJfHkopJwpe1P5dRaNzE6vzoS/O2jI kI40eUiuvvffqCnt8edsNzudlrtrK0k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623655299; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LSoCQ6+rqMdBnZPV5SwwSjgwN1SLswXRuppaGUsYN7k=; b=S/JNfAi0l1N9oyZTjrVoIbGhhperr17w4xvBKQffsTt8pIog7CfQpDnrJFLTLD2IxoJ48E zSO+ESDdZy3gYoBg== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id ba+eCYMDx2CyfwAALh3uQQ (envelope-from ); Mon, 14 Jun 2021 07:21:39 +0000 To: Joonas Lahtinen , Daniel Vetter , Dave Airlie , Maarten Lankhorst References: <162340805657.68262.6607541005525077753@jlahtine-mobl.ger.corp.intel.com> <162340998262.68262.6045527397253780242@jlahtine-mobl.ger.corp.intel.com> <162365318254.3468.3267791653088176005@jlahtine-mobl.ger.corp.intel.com> From: Thomas Zimmermann Message-ID: Date: Mon, 14 Jun 2021 09:21:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <162365318254.3468.3267791653088176005@jlahtine-mobl.ger.corp.intel.com> Subject: Re: [Intel-gfx] [PULL] topic/i915-ttm 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: Thomas Hellstrom , dim-tools@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Content-Type: multipart/mixed; boundary="===============1465298142==" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1465298142== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IQMGzgjxKmq0qL9rj5bHaxRC8v17knEm7" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IQMGzgjxKmq0qL9rj5bHaxRC8v17knEm7 Content-Type: multipart/mixed; boundary="uMyGzyoSgX88vxUiR6Ax6Vye8hlNCn2r5"; protected-headers="v1" From: Thomas Zimmermann To: Joonas Lahtinen , Daniel Vetter , Dave Airlie , Maarten Lankhorst Cc: Thomas Hellstrom , dim-tools@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Rodrigo Vivi , Sean Paul Message-ID: Subject: Re: [PULL] topic/i915-ttm References: <162340805657.68262.6607541005525077753@jlahtine-mobl.ger.corp.intel.com> <162340998262.68262.6045527397253780242@jlahtine-mobl.ger.corp.intel.com> <162365318254.3468.3267791653088176005@jlahtine-mobl.ger.corp.intel.com> In-Reply-To: <162365318254.3468.3267791653088176005@jlahtine-mobl.ger.corp.intel.com> --uMyGzyoSgX88vxUiR6Ax6Vye8hlNCn2r5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi Am 14.06.21 um 08:46 schrieb Joonas Lahtinen: > Quoting Thomas Zimmermann (2021-06-13 21:54:03) >> Hi Joonas >> >> Am 11.06.21 um 13:13 schrieb Joonas Lahtinen: >>> Quoting Joonas Lahtinen (2021-06-11 13:40:56) >>>> Quoting Maarten Lankhorst (2021-06-11 12:27:15) >>>>> Pull request for drm-misc-next and drm-intel-gt-next. >>>>> >>>>> topic/i915-ttm-2021-06-11: >>>>> drm-misc and drm-intel pull request for topic/i915-ttm: >>>>> - Convert i915 lmem handling to ttm. >>>>> - Add a patch to temporarily add a driver_private member to vma_nod= e. >>>>> - Use this to allow mixed object mmap handling for i915. >>>>> The following changes since commit 1bd8a7dc28c1c410f1ceefae1f2a97c0= 6d1a67c2: >>>>> >>>>> Merge tag 'exynos-drm-next-for-v5.14' of git://git.kernel.org/p= ub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next (2021-06-11 14:1= 9:12 +1000) >>>> >>>> This base is not in drm-misc-next or drm-intel-gt-next, so effective= ly >>>> we would end up pulling 478 extra commits from drm-next as a result.= And >>>> also causing all the warnings for those commits. I don't think we sh= ould >>>> do that? >>>> >>>> The common ancestor would be ccd1950c2f7e38ae45aeefb99a08b39407cd6c6= 3 >>>> "Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedeskt= op.org/drm/drm-intel into drm-next" >>>> Should we re-do the topic branch based on that? >>> >>> This problem seems to come from the fact that only the PR from yester= day >>> that got merged to drm-next had the dependency patches. The previous >>> backmerge of drm-next was requested too early. >>> >>> I've solved this with least hassle by backmerging drm-next again and >>> then applying the PR to drm-intel-gt-next. >>> >>> I think drm-misc-next should do the same (exact commit was >>> 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2). >> >> I did a backmerge from drm-next recently and drm-misc-next can merge t= he >> patches in tags/topic/i915-ttm-2021-06-11 without additions. >> >> I assume you to updated drm-intel-gt-next without redoing the PR? >=20 > Correct. Some patches landed in drm-next. I now did another backmerge and then=20 merged the topic branch. Best regards Thomas >=20 > Regards, Joonas >=20 >> >> Best regards >> Thomas >> >>> >>> Regards, Joonas >>> >>>> However the DIM docs[1] indeed do say: "For topic branches shared wi= thin >>>> the gpu/drm subsystem, base it on the latest drm-next branch." I thi= nk >>>> the docs don't take into account the current period where drm-next i= s >>>> being actively updated as we speak. >>>> >>>> Should we update the docs to use 'git merge-base' or something else?= >>>> >>>> Regards, Joonas >>>> >>>> [1]: https://drm.pages.freedesktop.org/maintainer-tools/dim.html#cro= ss-subsystem-topic-branches >>>> >>>>> >>>>> are available in the Git repository at: >>>>> >>>>> git://anongit.freedesktop.org/drm/drm-misc tags/topic/i915-ttm-= 2021-06-11 >>>>> >>>>> for you to fetch changes up to cf3e3e86d77970211e0983130e896ae24260= 1003: >>>>> >>>>> drm/i915: Use ttm mmap handling for ttm bo's. (2021-06-11 10:53= :25 +0200) >>>>> >>>>> ---------------------------------------------------------------- >>>>> drm-misc and drm-intel pull request for topic/i915-ttm: >>>>> - Convert i915 lmem handling to ttm. >>>>> - Add a patch to temporarily add a driver_private member to vma_nod= e. >>>>> - Use this to allow mixed object mmap handling for i915. >>>>> >>>>> ---------------------------------------------------------------- >>>>> Maarten Lankhorst (2): >>>>> drm/vma: Add a driver_private member to vma_node. >>>>> drm/i915: Use ttm mmap handling for ttm bo's. >>>>> >>>>> Thomas Hellstr=C3=B6m (2): >>>>> drm/i915/ttm: Introduce a TTM i915 gem object backend >>>>> drm/i915/lmem: Verify checks for lmem residency >>>>> >>>>> drivers/gpu/drm/drm_gem.c | 9 - >>>>> drivers/gpu/drm/i915/Makefile | 1 + >>>>> drivers/gpu/drm/i915/display/intel_display.c | 2 +- >>>>> drivers/gpu/drm/i915/gem/i915_gem_create.c | 9 +- >>>>> drivers/gpu/drm/i915/gem/i915_gem_lmem.c | 126 ++-- >>>>> drivers/gpu/drm/i915/gem/i915_gem_lmem.h | 5 - >>>>> drivers/gpu/drm/i915/gem/i915_gem_mman.c | 83 ++- >>>>> drivers/gpu/drm/i915/gem/i915_gem_object.c | 143 +++-- >>>>> drivers/gpu/drm/i915/gem/i915_gem_object.h | 19 +- >>>>> drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 30 +- >>>>> drivers/gpu/drm/i915/gem/i915_gem_pages.c | 3 +- >>>>> drivers/gpu/drm/i915/gem/i915_gem_region.c | 6 +- >>>>> drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 647 +++++++= ++++++++++++++ >>>>> drivers/gpu/drm/i915/gem/i915_gem_ttm.h | 48 ++ >>>>> drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 90 +-- >>>>> drivers/gpu/drm/i915/gt/intel_region_lmem.c | 3 +- >>>>> drivers/gpu/drm/i915/i915_gem.c | 5 +- >>>>> drivers/gpu/drm/i915/intel_memory_region.c | 1 - >>>>> drivers/gpu/drm/i915/intel_memory_region.h | 1 - >>>>> drivers/gpu/drm/i915/intel_region_ttm.c | 8 +- >>>>> drivers/gpu/drm/i915/intel_region_ttm.h | 11 +- >>>>> drivers/gpu/drm/i915/selftests/igt_mmap.c | 25 +- >>>>> drivers/gpu/drm/i915/selftests/igt_mmap.h | 12 +- >>>>> include/drm/drm_vma_manager.h | 2 +- >>>>> 24 files changed, 1039 insertions(+), 250 deletions(-) >>>>> create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm.c >>>>> create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm.h >> >> --=20 >> Thomas Zimmermann >> Graphics Driver Developer >> SUSE Software Solutions Germany GmbH >> Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany >> (HRB 36809, AG N=C3=BCrnberg) >> Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer >> --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --uMyGzyoSgX88vxUiR6Ax6Vye8hlNCn2r5-- --IQMGzgjxKmq0qL9rj5bHaxRC8v17knEm7 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmDHA4IFAwAAAAAACgkQlh/E3EQov+AT tBAAidiE21fsBreej9nVEY7UQhjx3Ho7Nl7LZh5juKUicoxaMBWYPTm+eb0n10/jtFpY2/y0nV8r XAFG+TJk1dmhZU6GRYVi9/nvtskuoV12JhvmCcqFJLWO/FSQ1J1hWYwT5cbKNh6RqruZZ/Ffv/Cp Nd3YX1u/paT/JtLRu3/nLbn3QqSuui7NY/yA+HtDVGAzntC08g+ZwRziOBGrg2fSSr5vlkMXCSXL cjTqVlw3nqM8nSdGsfvY1yymuZ2tIhjBSgmXdQL3YPvVcnjthBG/sHeVdw3aF+NrHAOhSa1I6O+J YSfvneWw44CuBGJQaPC8/sbPP2HMLG38S6Kzir31n41OqBNeUJg6+G1AaoRXfx/Y8IAox/i1BB6q FUxG6I0nR9Vfs/iDwJeTkY2XP4mrxydHFxO8dsjkOJy03V3E13V8XpUMK1LQ1mVwpfRlc2x6LDla HP8w/yMcjLUJs4MDFXkFj1QrG+VhzHBUGOiIfJQ01mAHLn5uYwMVQPODzYTDXR6yzenXvRB3lS4W TY4tJAJqnniMLVzsBrsRxCmLl4mNUqGK/G7UjCL4LgcUaAVxGfBayoWbkZihRG64JIhIMl7D4YFr 6CHUjmk3syvd8gNPPZr38iqfib7gTFHRvXCcX8Xv/DKKfhPhh3XH0GQ0UbeOv0UUqqs/amVigf/m 7wU= =VuoH -----END PGP SIGNATURE----- --IQMGzgjxKmq0qL9rj5bHaxRC8v17knEm7-- --===============1465298142== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1465298142==--