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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



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







[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux