[Mesa-dev] [PATCH] r600: fix a compilation warning in r600_screen_create()

Nicolai Hähnle nhaehnle at gmail.com
Mon Jan 30 14:21:47 UTC 2017


On 30.01.2017 13:55, Samuel Pitoiset wrote:
> Should be r600_common_screen instead of r600_screen.
>
> Fixes: 80157a2c20 ("gallium/radeon: clean up r600_query_init_backend_mask")
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

> ---
>  src/gallium/drivers/r600/r600_pipe.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
> index 1d9111d004..e83ba32ef5 100644
> --- a/src/gallium/drivers/r600/r600_pipe.c
> +++ b/src/gallium/drivers/r600/r600_pipe.c
> @@ -735,6 +735,6 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
>  	if (rscreen->b.debug_flags & DBG_TEST_DMA)
>  		r600_test_dma(&rscreen->b);
>
> -	r600_query_fix_enabled_rb_mask(rscreen);
> +	r600_query_fix_enabled_rb_mask(&rscreen->b);
>  	return &rscreen->b.b;
>  }
>



More information about the mesa-dev mailing list