Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp977468pxp; Wed, 16 Mar 2022 23:14:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5OMtp7Szr4D3uF3ry1pGSGemQ0L7tdjoeUHu0BMu0bxJANvl6NHpoc6Ron3PFLNesYYY5 X-Received: by 2002:a17:902:a3ca:b0:14f:d48e:aff3 with SMTP id q10-20020a170902a3ca00b0014fd48eaff3mr3377831plb.167.1647497685846; Wed, 16 Mar 2022 23:14:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647497685; cv=none; d=google.com; s=arc-20160816; b=ouZblSgdfbaNpdsSfBA8qpOYu4TQeJA2kjCcJ6KiKIlcWZsvGA1h6res7UovZjl4zZ AcYC6QCVYqChvd24vylXgb1Y3EeUL94ukV2vsf1hnOHf/Y6rV0EegJfUFDaNWo1Xi/7b vjYa8ULJbuQbkSX6FwGUmOW56UQJIYTU21QtAYYqLKDRr+Rvwp6iQuL92L1U2Hw655Gv USDj25mIjQXx+ykP/wq5WOTGaXW/KQCix2fITUNLN426yiAJHskR0Pm8uQI+L6edOn78 gyO4mvkiCP1Doe+pjSzCJ/7xqUW+C5+ItocD/ZVlMWDY6BdmhA24Np9FJED3RAgfGKOw geFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Ycrs0xY4Y22NzINAH033uRztHu91RzXGQ3LgqCG72lo=; b=Q1hHZt+UE9DmU++HxOyv/3UXli3rKcBpM+P4Qg+oqwoPSaFgP4McaFIshHyoXNWflQ LY8SEuFfjxSrtjHFfrSn5AQPoSbJSlpddyxo8kgDaptzJiMS/MmXuRQFweg4AyxMjeWZ gVGWDBRGWuP0E2NCjzZehuXOWYdUNcQSd/kzr7yuZQkdMciq7rh+KdkJQWv2yDUDVQlG z/g83nCLhj3hEQurMHjX0GW7/TOKBJ709D073fAA4lsDEu7rqZ9iQEd+0DAtBlqm0ZAL 5j6ATSNDgocwMXpXaOGV/ObHP8Px9pizdm9MbAFUME/nse3cVMTpNNlX281g28bidCOj 62kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=A6tG0fKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t9-20020a17090a4e4900b001b9f190a534si1482082pjl.2.2022.03.16.23.14.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:14:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=A6tG0fKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7E936180224; Wed, 16 Mar 2022 21:57:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235608AbiCPXFe (ORCPT + 99 others); Wed, 16 Mar 2022 19:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235255AbiCPXFb (ORCPT ); Wed, 16 Mar 2022 19:05:31 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0428DDFAC for ; Wed, 16 Mar 2022 16:04:17 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: dmitry.osipenko) with ESMTPSA id 6E9DA1F44C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1647471855; bh=vypIGC9yqBVxDvY1DtMdZYum709Wnji4exA+N/PneQU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=A6tG0fKkfNiroiVkC5AuUMu0miL9hXVOUDNaQPQCpIopWYTUDzNIMIfaUkqM+N3B7 BTKqhaNJgv7R49/bydapNWn+rNBZUPb3eA/sTT1JFBVdaWPxEhUJu3nnlh+F/+o0U6 Rd1pFUOh54KcMnVr1n/nP/SvajR1rLXvFBIAi7DRFOdywZU58lzfAPTj1CGaXOiIbb tlNc/BF7NZreO7EVKH87tJVl0JmuwSGr3fYYNgCOvDxBeGDzQs98F7ev48ZfygR94W kyf+Zu/MchO9fRmCtryTDlgwb7C7fmDjOtobRCA7usmJukcnxb3kbuAZ16/4V9dV9x XlQ1qc6w6CaGg== Message-ID: <3dda45b8-1f49-eefd-0167-1f3c13b2c73f@collabora.com> Date: Thu, 17 Mar 2022 02:04:12 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [PATCH v2 8/8] drm/panfrost: Switch to generic memory shrinker Content-Language: en-US To: Steven Price , David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Daniel Almeida , Gert Wollny , Tomeu Vizoso , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Alyssa Rosenzweig Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Gustavo Padovan , Daniel Stone , virtualization@lists.linux-foundation.org, Dmitry Osipenko References: <20220314224253.236359-1-dmitry.osipenko@collabora.com> <20220314224253.236359-9-dmitry.osipenko@collabora.com> <4e6256d0-a3c6-ba01-c31f-a5757b79a9ce@arm.com> From: Dmitry Osipenko In-Reply-To: <4e6256d0-a3c6-ba01-c31f-a5757b79a9ce@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/16/22 18:04, Steven Price wrote: > On 14/03/2022 22:42, Dmitry Osipenko wrote: >> Replace Panfrost's memory shrinker with a generic DRM memory shrinker. >> >> Signed-off-by: Dmitry Osipenko >> --- > I gave this a spin on my Firefly-RK3288 board and everything seems to > work. So feel free to add a: > > Tested-by: Steven Price > > As Alyssa has already pointed out you need to remove the > panfrost_gem_shrinker.c file. But otherwise everything looks fine, and > I'm very happy to see the shrinker code gone ;) Awesome, thank you.