Re: [PATCH v2 1/2] drm/nouveau/disp: add backlight for ada lovelace

2024-04-16 Thread Angelo Dureghello
n the main switch/case. So execution falls back to acpi backlight, that for this laptop does not work at all (tried vendor, native, video). Tested also nvidia-wmi-ec-backlight, the module does not even get loaded. Only solution i found is this patchset. On Fri, 2024-04-12 at 21:49 +0200, Angelo Duregh

[PATCH v2 2/2] drm/dp: set pwm bit count when pwm hz is not set

2024-04-12 Thread Angelo Dureghello
Set pwmgen_bit_count to have proper brightness inc/dec steps even when driver_pwm_freq_hz (optional) is zero. cat /sys/class/backlight/nv_backlight/max_brightness 255 Can now tune properly backlight from 0 to 255. --- Changes for v2: none Signed-off-by: Angelo Dureghello --- drivers/gpu/drm

[PATCH v2 1/2] drm/nouveau/disp: add backlight for ada lovelace

2024-04-12 Thread Angelo Dureghello
) - remove forgot debug printk Signed-off-by: Angelo Dureghello --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 54 + 1 file changed, 54 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c index d4

[PATCH] drm/nouveau/disp: add backlight for ada lovelace

2024-04-09 Thread Angelo Dureghello
6. Tested to work properly in Legion Lenovo Pro 5 Lenovo Legion 5 Pro 16ARX8 Bios ver LPCN49WW LPEC49WW SN PF4T63AZ Nvidia RTX4060 MaxQ/Mobile rev a1 (ADA LOVELACE AD107M) AMD Ryzen 9 7945HX + Radeon and wayland. Signed-off-by: Angelo Dureghello --- drivers/gpu/drm/display/drm_d

AD107M (197), black screen

2024-01-16 Thread Angelo Dureghello
Hi all, i am testing current mainline (6.7.rc8), on a lenovo legion, with AD107M (chipset 197000a1). Looks like somewhere at driver probe, screen turns black and stays forever. If any hint, welcome. I can help debugging, rebuilding and testing in case. Regards, Angelo Dureghello

Re: AD107M (197), black screen

2024-01-03 Thread Angelo Dureghello
316] nouveau :01:00.0: gsp:msg fn:4123 len:0x24/0x4 res:0x0 resp:0x0 Regards, angelo On 03/01/24 1:40 PM, Angelo Dureghello wrote: Hi all, i am testing current mainline (6.7.rc8), on a lenovo legion, with AD107M (chipset 197000a1). Looks like somewhere at driver probe, screen turns black and st

AD107M (197), black screen

2024-01-03 Thread Angelo Dureghello
Hi all, i am testing current mainline (6.7.rc8), on a lenovo legion, with AD107M (chipset 197000a1). Looks like somewhere at driver probe, screen turns black and stays forever. If any hint, welcome. I can help debugging, rebuilding and testing in case. Regards, Angelo Dureghello