Re: [Nouveau] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Christian König
Am 27.10.23 um 18:58 schrieb Rob Clark: From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Ah, yes that was my initial implementation as well, but I ditched that because nobody actually used it. One comment below. Signed-off-by: Rob Cl

Re: [Nouveau] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Rob Clark
On Mon, Oct 30, 2023 at 1:05 AM Christian König wrote: > > Am 27.10.23 um 18:58 schrieb Rob Clark: > > From: Rob Clark > > > > In cases where the # is known ahead of time, it is silly to do the table > > resize dance. > > Ah, yes that was my initial implementation as well, but I ditched that > be

Re: [Nouveau] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Christian König
Am 30.10.23 um 14:38 schrieb Rob Clark: On Mon, Oct 30, 2023 at 1:05 AM Christian König wrote: Am 27.10.23 um 18:58 schrieb Rob Clark: From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Ah, yes that was my initial implementation as well, b

Re: [Nouveau] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Rob Clark
On Mon, Oct 30, 2023 at 9:01 AM Christian König wrote: > > Am 30.10.23 um 14:38 schrieb Rob Clark: > > On Mon, Oct 30, 2023 at 1:05 AM Christian König > > wrote: > >> Am 27.10.23 um 18:58 schrieb Rob Clark: > >>> From: Rob Clark > >>> > >>> In cases where the # is known ahead of time, it is sill

Re: [Nouveau] [PATCH 1/2] nouveau: fix r535 build on 32-bit arm.

2023-10-30 Thread Danilo Krummrich
On 10/30/23 02:28, Dave Airlie wrote: From: Dave Airlie This needs the proper division macros. Signed-off-by: Dave Airlie Reviewed-by: Danilo Krummrich --- drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/d

Re: [Nouveau] [PATCH 2/2] nouveau/disp: fix post-gsp build on 32-bit arm.

2023-10-30 Thread Danilo Krummrich
On 10/30/23 02:28, Dave Airlie wrote: From: Dave Airlie This converts a bunch of divides into the proper macros. Signed-off-by: Dave Airlie Reviewed-by: Danilo Krummrich --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 24 +--- 1 file changed, 13 insertions(+), 11 d

[Nouveau] nouveau/gsp: move to latest fw and small fixes

2023-10-30 Thread Dave Airlie
This moves Ben's work to the latest GSP stable firmware 535.113.01. We will be stuck on this for a while. There is also a fix for a message signature, and additions of two registry entries, which seem to help recover from crashes. Dave.

[Nouveau] [PATCH 1/3] nouveau/gsp: move to 535.113.01

2023-10-30 Thread Dave Airlie
From: Dave Airlie This moves the initial effort to the latest 535 firmware. The gsp msg structs have changed, and the message passing also. The wpr also seems to have some struct changes. This version of the firmware will be what we are stuck on for a while, until we can refactor the driver and

[Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.

2023-10-30 Thread Dave Airlie
From: Dave Airlie The nvidia driver sets these two basic registry entries always, so copy it. Signed-off-by: Dave Airlie --- .../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c| 45 ++- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subd

[Nouveau] [PATCH 2/3] nouveau/gsp: fix message signature.

2023-10-30 Thread Dave Airlie
From: Dave Airlie This original one was backwards, compared to traces from nvidia driver. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c b/drivers/