[Nouveau] [PATCH] gr: fallback to legacy paths during firmware lookup

Emil Velikov emil.l.velikov at gmail.com
Thu Nov 3 22:26:21 UTC 2016


Hi Alex,

On 2 November 2016 at 04:54, Alexandre Courbot <acourbot at nvidia.com> wrote:

> +       /* see if this firmware has a legacy path */
> +       if (!strcmp(fwname, "fecs_inst"))
> +               legacy_fwname = "fuc409c";
> +       else if (!strcmp(fwname, "fecs_data"))
> +               legacy_fwname = "fuc409d";
> +       else if (!strcmp(fwname, "gpccs_inst"))
> +               legacy_fwname = "fuc41ac";
> +       else if (!strcmp(fwname, "gpccs_data"))
> +               legacy_fwname = "fuc41ad";
> +
Just an idea: If one's going for this route (and not Ilia's
suggestion) it's worth moving this in the legacy function.
As-is things look really weird ?

Thanks
Emil


More information about the Nouveau mailing list