[Mesa-dev] [PATCH] winsys/amdgpu: fix preamble IB size
Marek Olšák
maraeo at gmail.com
Thu Apr 21 10:15:23 UTC 2016
Pushed, thanks!
Marek
On Wed, Apr 20, 2016 at 10:34 PM, Thomas Hindoe Paaboel Andersen
<phomes at gmail.com> wrote:
> The missing break caused the IB size to be overwritten with
> the size of IB_CONST.
>
> This was introduced in: 7201230582e060aa2eb79c825d3188b437ef7bb8
> ---
> src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
> index 69902c4..bbd29fc 100644
> --- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
> +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
> @@ -211,6 +211,7 @@ static bool amdgpu_get_new_ib(struct radeon_winsys *ws, struct amdgpu_ib *ib,
> case IB_CONST_PREAMBLE:
> buffer_size = 4 * 1024 * 4;
> ib_size = 1024 * 4;
> + break;
> case IB_CONST:
> buffer_size = 512 * 1024 * 4;
> ib_size = 128 * 1024 * 4;
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list