For patches 10-12, 14-18:

Reviewed-by: Marek Olšák <marek.ol...@amd.com>

Marek

On Tue, May 10, 2016 at 1:21 AM, Nicolai Hähnle <nhaeh...@gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haeh...@amd.com>
>
> So that memory use will eventually decrease again after a temporary peak.
> ---
>  src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c 
> b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
> index 74384e6..6fdaa9c 100644
> --- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
> +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
> @@ -430,6 +430,8 @@ static bool amdgpu_get_new_ib(struct radeon_winsys *ws, 
> struct amdgpu_cs *cs,
>     if (!amdgpu_cs_has_chaining(cs->ring_type))
>        ib_size = MAX2(ib_size, 4 << MIN2(19, util_last_bit(ib->max_ib_size)));
>
> +   ib->max_ib_size = ib->max_ib_size - ib->max_ib_size / 32;
> +
>     ib->base.prev_dw = 0;
>     ib->base.num_prev = 0;
>     ib->base.current.cdw = 0;
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to