Re: [Nouveau] Kernel problem with multiseat on one card

2023-12-04 Thread Timur Tabi
On Mon, 2023-12-04 at 09:51 +0100, Gert Vanhaerents wrote: > OK  i will report it to nvidia. But with the nouveau drivers it's also not > working. Are you sure it's not a kernel problem? > Because according to systemd it would be a kernel problem.  (personaly i am > also thinking it's a driver pro

Re: [Nouveau] PR: nv50 IB-mode DMA crash fixes

2023-12-04 Thread Ilia Mirkin
On Sun, Dec 3, 2023 at 11:37 AM Monty Montgomery wrote: > 1) The nv50 DMA code clearly believed push buffers could not (or > should not) exceed NV50_DMA_PUSH_MAX_LENGTH, when my analysis logging > shows that they regularly exceed this maximum by an order of magnitude > or more. Was the assumption

Re: [Nouveau] PR: nv50 IB-mode DMA crash fixes

2023-12-04 Thread Ilia Mirkin
On Mon, Dec 4, 2023 at 11:04 AM Ilia Mirkin wrote: > > On Sun, Dec 3, 2023 at 11:37 AM Monty Montgomery wrote: > > 1) The nv50 DMA code clearly believed push buffers could not (or > > should not) exceed NV50_DMA_PUSH_MAX_LENGTH, when my analysis logging > > shows that they regularly exceed this m

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

2023-12-04 Thread Dave Airlie
These seem to get called, but it doesn't look like we have to care too much at this point. Signed-off-by: Dave Airlie --- .../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c| 24 ++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/

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

2023-12-04 Thread Timur Tabi
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

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

2023-12-04 Thread Dave Airlie
On Tue, 5 Dec 2023 at 09:07, Timur Tabi wrote: > > 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

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

2023-12-04 Thread Timur Tabi
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

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

2023-12-04 Thread Dave Airlie
Add NULL callbacks for some things GSP calls that we don't handle, but know about so we avoid the logging. v2: Timur suggested allowing null fn. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --gi

[Nouveau] [PATCH] nouveau/gsp: drop the gsp failure message to a debug.

2023-12-04 Thread Dave Airlie
From: Dave Airlie These can happen in normal operations esp with auxch transactions. Gets rid of nouveau :01:00.0: gsp: cli:0xc1d2 obj:0x0073 ctrl cmd:0x00731341 failed: 0x in logs. Cc: Lyude Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c |

[Nouveau] [PATCH] nouveau/gsp: drop some acpi related debug

2023-12-04 Thread Dave Airlie
These were leftover debug, if we need to bring them back do so for debugging later. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c b/drivers/gpu/drm/nouveau/

Re: [Nouveau] nouveau-next stalled to august 30?

2023-12-04 Thread Dave Airlie
On Mon, 4 Dec 2023 at 02:51, Paul Dufresne wrote: > > According to: > https://nouveau.freedesktop.org/InstallNouveau.html > the project use the kernel at: > https://gitlab.freedesktop.org/drm/nouveau > but history shows that it stalled at August 30: > https://gitlab.freedesktop.org/drm/nouveau/-/c

Re: [Nouveau] Meaning of the engines in paramaters of nouveau module

2023-12-04 Thread Dave Airlie
On Mon, 4 Dec 2023 at 05:04, Paul Dufresne wrote: > > In https://nouveau.freedesktop.org/KernelModuleParameters.html, there is: > Here is a list of engines: > DEVICE > DMAOBJ > PBSP > PCE0 > PCE1 > PCE2 > PCRYPT > PDISP > PFIFO > PGRAPH > PMPEG > PPM

Re: [Nouveau] [PATCH] nouveau/gsp: drop the gsp failure message to a debug.

2023-12-04 Thread Timur Tabi
On Tue, 2023-12-05 at 12:01 +1000, Dave Airlie wrote: > These can happen in normal operations esp with auxch transactions. > > Gets rid of > nouveau :01:00.0: gsp: cli:0xc1d2 obj:0x0073 ctrl cmd:0x00731341 > failed: 0x > in logs. Is this something you want me to look into?