[Nouveau] [PATCH] nouveau/gsp: add three notifier callbacks that we see in normal operation

Timur Tabi ttabi at nvidia.com
Mon Dec 4 23:06:32 UTC 2023


On Tue, 2023-12-05 at 08:55 +1000, Dave Airlie wrote:
> +static int
> +r535_gsp_msg_ucode_libos_print(void *priv, u32 fn, void *repv, u32 repc)
> +{
> +       /* work out what we should do here. */
> +       return 0;
> +}

This is part of my logrm debugfs patch.  It contains the printf log from a
PMU exception.

Do you want me to research the other two RPCs and tell you exactly what they
do?

But if you're not planning on actually doing anything with these RPCs, why
add callbacks?  Doesn't the driver already ignore RPCs it doesn't recognize?





More information about the Nouveau mailing list