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

2024-04-16 Thread Angelo Dureghello
Hi Lyude, thanks a lot for your reply, On 15/04/24 6:54 PM, Lyude Paul wrote: Hm. Could you share some logs with drm.debug=0x116? I'm a bit confused because I would have thought that we were already probing for eDP backlights seeing as I added support for them at one point? (I hope this isn't

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

2024-04-15 Thread Lyude Paul
Hm. Could you share some logs with drm.debug=0x116? I'm a bit confused because I would have thought that we were already probing for eDP backlights seeing as I added support for them at one point? (I hope this isn't the point I learn I actually forgot to add support for them :P) On Fri,

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

2024-04-12 Thread Angelo Dureghello
Add working backlight for "ada lovelace" missing case. The nvif method is actually not working for this chipset so used the drm apis. Also, by dpcd, drm layer is calculating a max brightness of 255, but to get a real correct max brightnes the maximum must be multiplied by a factor of 16. Tested