[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4c107b1a-ad6b-8d20-9336-8e08adffe09c@collabora.com>
Date: Tue, 15 Mar 2022 02:32:10 +0300
From: Dmitry Osipenko <dmitry.osipenko@...labora.com>
To: Alyssa Rosenzweig <alyssa@...labora.com>
Cc: David Airlie <airlied@...ux.ie>, Gerd Hoffmann <kraxel@...hat.com>,
Gurchetan Singh <gurchetansingh@...omium.org>,
Chia-I Wu <olvaffe@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Daniel Almeida <daniel.almeida@...labora.com>,
Gert Wollny <gert.wollny@...labora.com>,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Rob Herring <robh@...nel.org>,
Steven Price <steven.price@....com>,
Alyssa Rosenzweig <alyssa.rosenzweig@...labora.com>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Gustavo Padovan <gustavo.padovan@...labora.com>,
Daniel Stone <daniel@...ishbar.org>,
virtualization@...ts.linux-foundation.org,
Dmitry Osipenko <digetx@...il.com>
Subject: Re: [PATCH v2 8/8] drm/panfrost: Switch to generic memory shrinker
On 3/15/22 02:26, Alyssa Rosenzweig wrote:
> On Tue, Mar 15, 2022 at 01:42:53AM +0300, Dmitry Osipenko wrote:
>> Replace Panfrost's memory shrinker with a generic DRM memory shrinker.
>>
>> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@...labora.com>
>> ---
>> drivers/gpu/drm/panfrost/Makefile | 1 -
>> drivers/gpu/drm/panfrost/panfrost_device.h | 4 ----
>> drivers/gpu/drm/panfrost/panfrost_drv.c | 19 ++-------------
>> drivers/gpu/drm/panfrost/panfrost_gem.c | 27 ++++++++++++++--------
>> drivers/gpu/drm/panfrost/panfrost_gem.h | 9 --------
>> drivers/gpu/drm/panfrost/panfrost_job.c | 22 +++++++++++++++++-
>> 6 files changed, 40 insertions(+), 42 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/panfrost/Makefile b/drivers/gpu/drm/panfrost/Makefile
>> index b71935862417..ecf0864cb515 100644
>> --- a/drivers/gpu/drm/panfrost/Makefile
>> +++ b/drivers/gpu/drm/panfrost/Makefile
>> @@ -5,7 +5,6 @@ panfrost-y := \
>> panfrost_device.o \
>> panfrost_devfreq.o \
>> panfrost_gem.o \
>> - panfrost_gem_shrinker.o \
>> panfrost_gpu.o \
>> panfrost_job.o \
>> panfrost_mmu.o \
>
> I'm not sure you actually deleted gem_shrinker anywhere in this patch?
> Diff stat is too small.
Indeed, I was also confused by the diffstat once noticed it after the
patches were sent out. And yes, I missed to git-add the
panfrost_gem_shrinker.c by accident. Good catch, thank you! I'll correct
it in in the v3.
Meanwhile, will be great if you or somebody else could test this
Panfrost patch. I don't have any h/w with Mali on hands yet and only
compile-tested it.
Powered by blists - more mailing lists