[Mesa-dev] [PATCH] nvc0: do not break the universe on GK110+

Ilia Mirkin imirkin at alum.mit.edu
Thu Apr 14 19:55:05 UTC 2016


Oops indeed.

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Thu, Apr 14, 2016 at 3:50 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> I removed that return 0 by mistake. Ooops.
>
> Fixes: 6e23fd4 ("nvc0: allow to use compute support on GM200")
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index f6d05aa..3bf98ad 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> @@ -647,6 +647,7 @@ nvc0_screen_init_compute(struct nvc0_screen *screen)
>     case 0x120:
>        if (debug_get_bool_option("NVF0_COMPUTE", false))
>           return nve4_screen_compute_setup(screen, screen->base.pushbuf);
> +      return 0;
>     default:
>        return -1;
>     }
> --
> 2.8.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