[Nouveau] [PATCH] nouveau/gsp: add three notifier callbacks that we see in normal operation
Timur Tabi
ttabi at nvidia.com
Tue Dec 5 00:06:36 UTC 2023
On Tue, 2023-12-05 at 10:01 +1000, Dave Airlie wrote:
> The current code prints a message when we get a callback we don't
> handle, this silences those, but maybe I should just silence them.
How about this:
In r535_gsp_msg_recv():
if (ntfy->fn && (ntfy->fn == msg->function)) {
ntfy->func(ntfy->priv, ntfy->fn, msg->data, msg->length -
sizeof(*msg));
break;
}
and then in r535_gsp_oneinit():
r535_gsp_msg_ntfy_add(gsp, NV_VGPU_MSG_EVENT_PERF_BRIDGELESS_INFO_UPDATE,
NULL, NULL);
...
More information about the dri-devel
mailing list