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);
...



Reply via email to