[PATCH 2/2] drm/panfrost: Add madvise and shrinker support

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Mon Aug 5 21:08:09 UTC 2019


> > Just to clarify about the `retained` flag: if userspace does a
> > madvise(WILLNEED) and we find out that retained=0, what's supposed to
> > happen?
> >
> > Should userspace evict the BO from its local cache and allocate one
> > fresh?
> 
> Yes. Just like msm/freedreno.

Got it. In that case, the series has my A-b :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190805/c275681a/attachment-0001.sig>


More information about the dri-devel mailing list