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 BFC8FC64EC7 for ; Tue, 28 Feb 2023 14:08:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E42010E1FC; Tue, 28 Feb 2023 14:08:29 +0000 (UTC) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 63EB210E1FC; Tue, 28 Feb 2023 14:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677593307; x=1709129307; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=tOQmms2GUz82HWTfshF6FjkJB4k4O9vsHa9VO6BVGt4=; b=UwnFYgYSHg4RRSXx8VaXJSgjyqJ0uTjJ/B5BttungKlZDOcf2wkKw6tu 08qWl06jYTvNIfMvjhGZiCwTkz7aKjYNaKRY1xvVQFUsp5BJ4W6oBFJgk ESxSMjLv6aGz4PlEqhZj3VJirlfwJLu7NRqJk1SvkEcP/8hql1jimfdSP W3wm8pBLcBL9jTHTje/jcIAMxZjxwrFdeqYWMLq8Q4caH6AVHYf3OBPGL M0se4Qmgj6nhPhyZRuzOHOTQl0ne5bdNzh2DzBV6swE4ERNwqRNjwiBBj RyGnzUpmRCJsdqRyYA5WDtZTAzi5adScxA5d1z156wylCXAO6tfSvnkA0 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="335627076" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="335627076" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 06:08:26 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="624038160" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="624038160" Received: from barumuga-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.47.26]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 06:08:21 -0800 From: Jani Nikula To: Andi Shyti , Dmitry Osipenko Subject: Re: [PATCH] drm/shmem-helper: Fix compile error In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20230228125054.1952657-1-andi.shyti@linux.intel.com> <71dee5cf-3c12-8d5f-5d2a-be0a39647d8c@collabora.com> Date: Tue, 28 Feb 2023 16:08:18 +0200 Message-ID: <87bkldzxv1.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tvrtko Ursulin , Andi Shyti , Asahi Lina , Intel GFX , Javier Martinez Canillas , dri-devel@lists.freedesktop.org, Thomas Zimmermann , Rodrigo Vivi , Andi Shyti Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, 28 Feb 2023, Andi Shyti wrote: > Hi Dmitry, > > On Tue, Feb 28, 2023 at 04:15:28PM +0300, Dmitry Osipenko wrote: >> Hi, >> >> On 2/28/23 15:50, Andi Shyti wrote: >> > Commit 67b7836d4458 ("drm/shmem-helper: Switch to reservation >> > lock") removes the drm_gem_shmem_get_pages_locked() and >> > drm_gem_shmem_put_pages_locked(). >> > >> > But then commit ddddedaa0db9 ("drm/shmem-helper: Fix locking for >> > drm_gem_shmem_get_pages_sgt()") reintroduces it. >> > >> > Somehow these two commits got mixed up and produce the following >> > compile error: >> >> The 67b7836d4458 goes after ddddedaa0db9 in misc-next. It was a bad >> merge conflict resolution in drm-tip that was fixed yesterday, there is >> no problem in misc-next. Where do you see this error? > > yes, indeed! I was indeed surprised to see this mismatch. > > I see it in the Intel's drm-tip branch[*] To set the record straight, drm-tip isn't Intel's, it's an integration branch shared by the drm community. Looks like the same bad merge resolution has resurrected itself somehow, maybe Thomas' commit 418ce969b4c8533c7c76cc0b7adeb432ccdc137e Author: Thomas Zimmermann Date: Tue Feb 28 10:03:24 2023 +0100 2023y-02m-28d-09h-02m-44s UTC: drm-tip rerere cache update git version 2.39.2 in drm-rerere brought it back. And the build is indeed currently broken. Moreover, when the build was fine for a while, apparently the changes in shmem broke a bunch of machines in Intel CI. And due to this, we aren't getting any CI results for incoming patches right now. BR, Jani. > > Cc'ing the Intel's mailing list and maintainers, as well. > > Tnanks, > Andi > > [*] git.freedesktop.org/git/drm-tip -- Jani Nikula, Intel Open Source Graphics Center