[Mesa-dev] [PATCH 6/6] gallium/radeon: fix saving multi-part command streams

Marek Olšák maraeo at gmail.com
Tue Aug 22 16:55:36 UTC 2017


For the series:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, Aug 22, 2017 at 5:45 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Use the correct type to fix pointer arithmetic.
> ---
>  src/gallium/drivers/radeon/r600_pipe_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
> index 37c12dea374..7226fc21a04 100644
> --- a/src/gallium/drivers/radeon/r600_pipe_common.c
> +++ b/src/gallium/drivers/radeon/r600_pipe_common.c
> @@ -495,7 +495,7 @@ static void r600_flush_dma_ring(void *ctx, unsigned flags,
>  void radeon_save_cs(struct radeon_winsys *ws, struct radeon_winsys_cs *cs,
>                     struct radeon_saved_cs *saved, bool get_buffer_list)
>  {
> -       void *buf;
> +       uint32_t *buf;
>         unsigned i;
>
>         /* Save the IB chunks. */
> --
> 2.11.0
>
> _______________________________________________
> 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