[Mesa-dev] [PATCH] radeonsi: fix build with GCC 4.8

Marek Olšák maraeo at gmail.com
Fri May 5 15:52:54 UTC 2017


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

Marek

On Fri, May 5, 2017 at 2:15 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Fixes: 7088b655e8 ("radeonsi: constify a bunch of the perfcounter structs.")
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100937
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/radeonsi/si_perfcounter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c
> index ad7b9b7ae4..fd28d1176e 100644
> --- a/src/gallium/drivers/radeonsi/si_perfcounter.c
> +++ b/src/gallium/drivers/radeonsi/si_perfcounter.c
> @@ -302,7 +302,7 @@ static const struct si_pc_block_base cik_TCP = {
>         .layout = SI_PC_MULTI_ALTERNATE,
>  };
>
> -static const struct si_pc_block_base cik_VGT = (const struct si_pc_block_base) {
> +static const struct si_pc_block_base cik_VGT = {
>         .name = "VGT",
>         .num_counters = 4,
>         .flags = R600_PC_BLOCK_SE,
> --
> 2.12.2
>
> _______________________________________________
> 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