Re: [Mesa-dev] [PATCH] radv: Align large buffers to the fragment size.

2018-11-26 Thread Bas Nieuwenhuizen
On Mon, 26 Nov 2018, 20:48 Marek Olšák You increase both virtual and physical alignment. Are you sure it's > necessary to increase the physical alignment? > Hence the v2 which should not do that. > > Marek > > On Sun, Nov 25, 2018 at 11:13 PM Bas Nieuwenhuizen < > b...@basnieuwenhuizen.nl> wrote

Re: [Mesa-dev] [PATCH] radv: Align large buffers to the fragment size.

2018-11-26 Thread Marek Olšák
You increase both virtual and physical alignment. Are you sure it's necessary to increase the physical alignment? Marek On Sun, Nov 25, 2018 at 11:13 PM Bas Nieuwenhuizen wrote: > Improves performance in Talos by about 15% (and significant improvements > in RotR and possibly other but did not b

[Mesa-dev] [PATCH] radv: Align large buffers to the fragment size.

2018-11-25 Thread Bas Nieuwenhuizen
Improves performance in Talos by about 15% (and significant improvements in RotR and possibly other but did not bench with final patch) on kernel 4.19 and earlier. On 4.20+ a similar effect comes from 433ca054949a "drm/amdgpu: try allocating VRAM as power of two" Given the simplicity of the patc