virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Cc: dri-devel@lists.freedesktop.org,
	virtualization@lists.linux-foundation.org, kernel@collabora.com,
	"David Airlie" <airlied@gmail.com>,
	"Sumit Semwal" <sumit.semwal@linaro.org>,
	"Rob Herring" <robh@kernel.org>,
	"Daniel Stone" <daniel@fooishbar.org>,
	"Steven Price" <steven.price@arm.com>,
	"Gustavo Padovan" <gustavo.padovan@collabora.com>,
	"Alyssa Rosenzweig" <alyssa.rosenzweig@collabora.com>,
	"Chia-I Wu" <olvaffe@gmail.com>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Abhinav Kumar" <quic_abhinavk@quicinc.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Gurchetan Singh" <gurchetansingh@chromium.org>,
	"Sean Paul" <sean@poorly.run>,
	"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
	linux-kernel@vger.kernel.org, "Rob Clark" <robdclark@gmail.com>,
	"Qiang Yu" <yuq825@gmail.com>, "Daniel Vetter" <daniel@ffwll.ch>,
	"Dmitry Baryshkov" <dmitry.baryshkov@linaro.org>,
	"Christian König" <christian.koenig@amd.com>
Subject: Re: [PATCH v10 00/11] Add generic memory shrinker to VirtIO-GPU and Panfrost DRM drivers
Date: Thu, 16 Feb 2023 13:15:30 +0100	[thread overview]
Message-ID: <Y+4eYqdH1Xw2OYX5@phenom.ffwll.local> (raw)
In-Reply-To: <0081b2c3-56c9-3ed8-b419-5ce8a151999e@collabora.com>

On Mon, Jan 30, 2023 at 03:02:10PM +0300, Dmitry Osipenko wrote:
> On 1/27/23 11:13, Gerd Hoffmann wrote:
> > On Thu, Jan 26, 2023 at 01:55:09AM +0300, Dmitry Osipenko wrote:
> >> Hello Thomas and Gerd,
> >>
> >> On 1/9/23 00:04, Dmitry Osipenko wrote:
> >>> This series:
> >>>
> >>>   1. Makes minor fixes for drm_gem_lru and Panfrost
> >>>   2. Brings refactoring for older code
> >>>   3. Adds common drm-shmem memory shrinker
> >>>   4. Enables shrinker for VirtIO-GPU driver
> >>>   5. Switches Panfrost driver to the common shrinker
> >>>
> >>> Changelog:
> >>>
> >>> v10:- Rebased on a recent linux-next.
> >>>
> >>>     - Added Rob's ack to MSM "Prevent blocking within shrinker loop" patch.
> >>>
> >>>     - Added Steven's ack/r-b/t-b for the Panfrost patches.
> >>>
> >>>     - Fixed missing export of the new drm_gem_object_evict() function.
> >>>
> >>>     - Added fixes tags to the first two patches that are making minor fixes,
> >>>       for consistency.
> >>
> >> Do you have comments on this version? Otherwise ack will be appreciated.
> >> Thanks in advance!
> > 
> > Don't feel like signing off on the locking changes, I'm not that
> > familiar with the drm locking rules.  So someone else looking at them
> > would be good.  Otherwise the series and specifically the virtio changes
> > look good to me.
> > 
> > Acked-by: Gerd Hoffmann <kraxel@redhat.com>
> 
> Thomas was looking at the the DRM core changes. I expect he'll ack them.
> 
> Thank you for reviewing the virtio patches!

I think best-case would be an ack from msm people that this looks good
(even better a conversion for msm to start using this).

Otherwise I think the locking looks reasonable, I think the tricky bits
have been moving the dma-buf rules, but if you want I can try to take
another in-depth look. But would need to be in 2 weeks since I'm going on
vacations, pls ping me on irc if I'm needed.

Otherwise would be great if we can land this soon, so that it can soak the
entire linux-next cycle to catch any driver specific issues.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

  parent reply	other threads:[~2023-02-16 12:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230108210445.3948344-1-dmitry.osipenko@collabora.com>
     [not found] ` <20230108210445.3948344-6-dmitry.osipenko@collabora.com>
2023-01-26 12:15   ` [PATCH v10 05/11] drm/shmem: Switch to use drm_* debug helpers Gerd Hoffmann
2023-02-17 12:28   ` Thomas Zimmermann
     [not found] ` <20230108210445.3948344-7-dmitry.osipenko@collabora.com>
2023-01-26 12:17   ` [PATCH v10 06/11] drm/shmem-helper: Don't use vmap_use_count for dma-bufs Gerd Hoffmann
     [not found]     ` <75698ab8-2e0b-8673-2f7d-83ffa37f447b@collabora.com>
2023-01-27  8:06       ` Gerd Hoffmann
2023-02-17 12:41   ` Thomas Zimmermann
     [not found] ` <20230108210445.3948344-11-dmitry.osipenko@collabora.com>
2023-01-27  8:04   ` [PATCH v10 10/11] drm/virtio: Support memory shrinking Gerd Hoffmann
     [not found] ` <e5e9e8dd-a5b6-cfd2-44d6-4d5aa768e56c@collabora.com>
2023-01-27  8:13   ` [PATCH v10 00/11] Add generic memory shrinker to VirtIO-GPU and Panfrost DRM drivers Gerd Hoffmann
     [not found]     ` <0081b2c3-56c9-3ed8-b419-5ce8a151999e@collabora.com>
2023-02-16 12:15       ` Daniel Vetter [this message]
     [not found]         ` <c6ae4f5f-7fe1-5497-a611-bee57672c289@collabora.com>
2023-02-16 22:07           ` Daniel Vetter
     [not found] ` <20230108210445.3948344-2-dmitry.osipenko@collabora.com>
2023-02-17 12:02   ` [PATCH v10 01/11] drm/msm/gem: Prevent blocking within shrinker loop Thomas Zimmermann
     [not found] ` <20230108210445.3948344-4-dmitry.osipenko@collabora.com>
2023-02-17 12:23   ` [PATCH v10 03/11] drm/gem: Add evict() callback to drm_gem_object_funcs Thomas Zimmermann
     [not found] ` <20230108210445.3948344-5-dmitry.osipenko@collabora.com>
2023-02-17 12:25   ` [PATCH v10 04/11] drm/shmem: Put booleans in the end of struct drm_gem_shmem_object Thomas Zimmermann
     [not found] ` <20230108210445.3948344-8-dmitry.osipenko@collabora.com>
2023-02-17 12:52   ` [PATCH v10 07/11] drm/shmem-helper: Switch to reservation lock Thomas Zimmermann
2023-02-17 13:29   ` Thomas Zimmermann
     [not found] ` <20230108210445.3948344-9-dmitry.osipenko@collabora.com>
2023-02-17 13:19   ` [PATCH v10 08/11] drm/shmem-helper: Add memory shrinker Thomas Zimmermann
2023-02-17 13:28 ` [PATCH v10 00/11] Add generic memory shrinker to VirtIO-GPU and Panfrost DRM drivers Thomas Zimmermann
     [not found]   ` <e9364e10-1ad8-aaaf-3d78-a29b0c1516ef@collabora.com>
     [not found]     ` <6c16f303-81df-7ebe-85e9-51bb40a8b301@collabora.com>
2023-02-27 10:37       ` Jani Nikula
     [not found] ` <20230108210445.3948344-10-dmitry.osipenko@collabora.com>
2023-02-17 13:42   ` [PATCH v10 09/11] drm/gem: Add drm_gem_pin_unlocked() Thomas Zimmermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y+4eYqdH1Xw2OYX5@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=airlied@gmail.com \
    --cc=alyssa.rosenzweig@collabora.com \
    --cc=christian.koenig@amd.com \
    --cc=daniel@fooishbar.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dmitry.osipenko@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gurchetansingh@chromium.org \
    --cc=gustavo.padovan@collabora.com \
    --cc=kernel@collabora.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=olvaffe@gmail.com \
    --cc=quic_abhinavk@quicinc.com \
    --cc=robdclark@gmail.com \
    --cc=robh@kernel.org \
    --cc=sean@poorly.run \
    --cc=steven.price@arm.com \
    --cc=sumit.semwal@linaro.org \
    --cc=tomeu.vizoso@collabora.com \
    --cc=tzimmermann@suse.de \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=yuq825@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).