Re: [Nouveau] [PATCH drm-next v7 02/13] drm: manager to keep track of GPUs VA mappings

2023-07-18 Thread Danilo Krummrich
On 7/17/23 12:00, Donald Robson wrote: Hi Danilo, The below part of the documentation is out of date now. Thanks, Donald Thanks Donald for pointing this out. If there aren't any further objections in general I will fix up the comment and then push the GPUVA Manager parts of the series to

Re: [Nouveau] [PATCH] drm/nouveau/nvkm/dp: Add hack to fix DP 1.3+ DPCD issues

2023-07-18 Thread Ben Skeggs
On Sat, 8 Jul 2023 at 07:59, Lyude Paul wrote: > > Currently we use the drm_dp_dpcd_read_caps() helper in the DRM side of > nouveau in order to read the DPCD of a DP connector, which makes sure we do > the right thing and also check for extended DPCD caps. However, it turns > out we're not

[Nouveau] [PATCH 1/3] drm/nouveau/i2c: fix number of aux event slots

2023-07-18 Thread Ben Skeggs
From: Ben Skeggs This was completely bogus before, using maximum DCB device index rather than maximum AUX ID to size the buffer that stores event refcounts. *Pretty* unlikely to have been an actual problem on most configurations, that is, unless you've got one of the rare boards that have

[Nouveau] [PATCH 2/3] drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts

2023-07-18 Thread Ben Skeggs
From: Ben Skeggs Fixes crash on boards with ANX9805 TMDS/DP encoders. Signed-off-by: Ben Skeggs --- .../gpu/drm/nouveau/nvkm/engine/disp/uconn.c | 27 --- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c

[Nouveau] [PATCH 3/3] drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP

2023-07-18 Thread Ben Skeggs
From: Ben Skeggs Fixes OOPS on boards with ANX9805 DP encoders. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index