Re: [Mesa-dev] [PATCH] radv: Don't underflow non-visible VRAM size.

2017-07-30 Thread Michel Dänzer
On 31/07/17 06:29 AM, Bas Nieuwenhuizen wrote: > n some APU situations the reported visible size can be larger than Missing "I" at the beginning, vim fail? :) > VRAM size. This properly clamps the value. > > Surprisingly both CTS and spec seem to allow a heap type with size 0, > so this seemed

[Mesa-dev] [PATCH] radv: Don't underflow non-visible VRAM size.

2017-07-30 Thread Bas Nieuwenhuizen
n some APU situations the reported visible size can be larger than VRAM size. This properly clamps the value. Surprisingly both CTS and spec seem to allow a heap type with size 0, so this seemed like the easiest option to me. Signed-off-by: Bas Nieuwenhuizen Fixes: 4ae84efbc5c "radv: Use enum fo