Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Daniel Vetter
On Mon, May 06, 2019 at 04:20:34PM +0200, Gerd Hoffmann wrote: > On Mon, May 06, 2019 at 03:09:20PM +0200, Thomas Zimmermann wrote: > > Hi > > > > Am 06.05.19 um 14:22 schrieb Gerd Hoffmann: > > >> GEM VRAM could implement PRIME helpers, which would allow for using > > >> the generic fbcon. > > >

Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Gerd Hoffmann
On Mon, May 06, 2019 at 03:09:20PM +0200, Thomas Zimmermann wrote: > Hi > > Am 06.05.19 um 14:22 schrieb Gerd Hoffmann: > >> GEM VRAM could implement PRIME helpers, which would allow for using > >> the generic fbcon. > > > > bochs_gem_prime_*() functions with this series applied look like you can

Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Thomas Zimmermann
Hi Am 06.05.19 um 14:22 schrieb Gerd Hoffmann: >> GEM VRAM could implement PRIME helpers, which would allow for using >> the generic fbcon. > > bochs_gem_prime_*() functions with this series applied look like you can > just rename them & move over to vram helpers. > > It's not a full prime imple

Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Thomas Zimmermann
Hi Am 06.05.19 um 14:43 schrieb Gerd Hoffmann: > On Mon, May 06, 2019 at 10:26:30AM +0200, Thomas Zimmermann wrote: >> Several simple framebuffer drivers copy most of the TTM code from each >> other. The implementation is always the same; except for the name of >> some data structures. >> >> As re

Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Gerd Hoffmann
On Mon, May 06, 2019 at 10:26:30AM +0200, Thomas Zimmermann wrote: > Several simple framebuffer drivers copy most of the TTM code from each > other. The implementation is always the same; except for the name of > some data structures. > > As recently discussed, this patch set provides generic memo

Re: [PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Gerd Hoffmann
> GEM VRAM could implement PRIME helpers, which would allow for using > the generic fbcon. bochs_gem_prime_*() functions with this series applied look like you can just rename them & move over to vram helpers. It's not a full prime implementation, specifically actual export/import isn't there. B

[PATCH v4 00/19] Share TTM code among DRM framebuffer drivers

2019-05-06 Thread Thomas Zimmermann
Several simple framebuffer drivers copy most of the TTM code from each other. The implementation is always the same; except for the name of some data structures. As recently discussed, this patch set provides generic memory-management code for simple framebuffers with dedicated video memory. It fu