Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-29 Thread Daniel Vetter
On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > Replacing drm_gem_vram_push_to_system() moves policy from drivers back > to the memory manager. Now, unused BOs are only evicted when the space > is required. > > The lock/unlock-renaming patch aligns the interface with other nam

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-22 Thread Gerd Hoffmann
On Tue, May 21, 2019 at 02:40:22PM +0200, Daniel Vetter wrote: > On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > > Replacing drm_gem_vram_push_to_system() moves policy from drivers back > > to the memory manager. Now, unused BOs are only evicted when the space > > is required.

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-21 Thread Daniel Vetter
On Tue, May 21, 2019 at 4:26 PM Thomas Zimmermann wrote: > > Hi > > Am 21.05.19 um 14:40 schrieb Daniel Vetter: > > On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > >> Replacing drm_gem_vram_push_to_system() moves policy from drivers back > >> to the memory manager. Now, unused

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-21 Thread Thomas Zimmermann
Hi Am 21.05.19 um 14:40 schrieb Daniel Vetter: > On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: >> Replacing drm_gem_vram_push_to_system() moves policy from drivers back >> to the memory manager. Now, unused BOs are only evicted when the space >> is required. >> >> The lock/unl

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-21 Thread Daniel Vetter
On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > Replacing drm_gem_vram_push_to_system() moves policy from drivers back > to the memory manager. Now, unused BOs are only evicted when the space > is required. > > The lock/unlock-renaming patch aligns the interface with other nam

[PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-21 Thread Thomas Zimmermann
Replacing drm_gem_vram_push_to_system() moves policy from drivers back to the memory manager. Now, unused BOs are only evicted when the space is required. The lock/unlock-renaming patch aligns the interface with other names in DRM. No functional changes are done. Finally, there's now a lockdep as