Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-12 Thread Paul Cercueil
Le jeu. 11 mars 2021 à 12:30, Christoph Hellwig a écrit : On Sun, Mar 07, 2021 at 08:28:35PM +, Paul Cercueil wrote: With the module parameter ingenic-drm.cached_gem_buffers, it is possible to specify that we want GEM buffers backed by non-coherent memory. Shouldn't there be a way

Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-11 Thread Paul Cercueil
Le jeu. 11 mars 2021 à 10:27, Hillf Danton a écrit : On Wed, 10 Mar 2021 19:01:01 + Paul Cercueil wrote: Le lun. 8 mars 2021 11:47, Hillf Danton a crit : On Sun, 7 Mar 2021 20:28:35 + Paul Cercueil wrote: With the module parameter ingenic-drm.cached_gem_buffers, it is poss

Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-10 Thread Hillf Danton
On Wed, 10 Mar 2021 19:01:01 + Paul Cercueil wrote: >Le lun. 8 mars 2021 � 11:47, Hillf Danton a �crit : >> On Sun, 7 Mar 2021 20:28:35 + Paul Cercueil wrote: >>> With the module parameter ingenic-drm.cached_gem_buffers, it is >>> possible >>> to specify that we want GEM buffers backe

Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-10 Thread Paul Cercueil
Hi Hillf, Le lun. 8 mars 2021 à 11:47, Hillf Danton a écrit : On Sun, 7 Mar 2021 20:28:35 + Paul Cercueil wrote: With the module parameter ingenic-drm.cached_gem_buffers, it is possible to specify that we want GEM buffers backed by non-coherent memory. This dramatically speeds up so

Re: [PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-08 Thread Hillf Danton
On Sun, 7 Mar 2021 20:28:35 + Paul Cercueil wrote: > With the module parameter ingenic-drm.cached_gem_buffers, it is possible > to specify that we want GEM buffers backed by non-coherent memory. > > This dramatically speeds up software rendering on Ingenic SoCs, even for > tasks where write-

[PATCH v2 5/5] drm/ingenic: Add option to alloc cached GEM buffers

2021-03-07 Thread Paul Cercueil
With the module parameter ingenic-drm.cached_gem_buffers, it is possible to specify that we want GEM buffers backed by non-coherent memory. This dramatically speeds up software rendering on Ingenic SoCs, even for tasks where write-combine memory should in theory be faster (e.g. simple blits). Lea