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

2023-07-28 Thread Lyude Paul
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 currently doing this on the nvkm side since we don't have access

Re: [Nouveau] [PATCH drm-misc-next v8 01/12] drm: manager to keep track of GPUs VA mappings

2023-07-28 Thread Maxime Ripard
Hi Danilo, On Thu, Jul 20, 2023 at 02:14:22AM +0200, Danilo Krummrich wrote: > Add infrastructure to keep track of GPU virtual address (VA) mappings > with a decicated VA space manager implementation. > > New UAPIs, motivated by Vulkan sparse memory bindings graphics drivers > start implementing,

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

2023-07-28 Thread Karol Herbst
On Fri, Jul 28, 2023 at 1:11 AM Karol Herbst wrote: > > On Thu, Jul 27, 2023 at 11:57 PM Lyude Paul wrote: > > > > On Sun, 2023-07-09 at 01:42 +0200, Karol Herbst wrote: > > > On Fri, Jul 7, 2023 at 11:58 PM Lyude Paul wrote: > > > > > > > > Currently we use the drm_dp_dpcd_read_caps() helper in

[Nouveau] drm/nouveau: fan:

2023-07-28 Thread Colin King (gmail)
Hi, static analysis with cppcheck has detected an issue in function nvkm_fan_update() in drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c as follows: /* schedule next fan update, if not at target speed already */ if (target != duty) { u16 bump_period = fan->bios