Re: option GPROF on riscv64

2023-07-23 Thread Jeremie Courreges-Anglas
On Sat, Jul 22 2023, Scott Cheloha wrote: [...] > Is there any difference if you duplicate the contents of > intr_disable/intr_restore in MCOUNT_ENTER/MCOUNT_EXIT directly? > Unlikely, but maybe the compiler is shoving an _mcount() call into > intr_disable/intr_restore, causing infinite

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-23 Thread jon
If I'm not mistaken, all wskbd_{get,set}_backlight uses are in the following drivers: acpicbkbd, acpithinkpad, asmc, pwmleds, and now my implementation in adb. It is my impression that they are roughly the same code, I have collected them below to ease their inspection. I would also like to

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-23 Thread Mark Kettenis
> Date: Sun, 23 Jul 2023 15:21:38 +0200 > From: Anton Lindqvist > > On Sun, Jul 23, 2023 at 11:37:38AM +, jon@elytron.openbsd.amsterdam wrote: > > Hello all. Thank you very much for your input. I have taken heed of > > your suggestions in the diff below > > > > On Sat, 22 Jul 2023 20:59:04

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-23 Thread Anton Lindqvist
On Sun, Jul 23, 2023 at 11:37:38AM +, jon@elytron.openbsd.amsterdam wrote: > Hello all. Thank you very much for your input. I have taken heed of > your suggestions in the diff below > > On Sat, 22 Jul 2023 20:59:04 -0400 George Koehler > wrote: > > > We should check if (wskbd_get_backlight

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-23 Thread jon
Hello all. Thank you very much for your input. I have taken heed of your suggestions in the diff below On Sat, 22 Jul 2023 20:59:04 -0400 George Koehler wrote: > We should check if (wskbd_get_backlight != NULL), like we do for > WSKBDIO_GETBACKLIGHT. Same for wskbd_set_backlight. Fixed. I am

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-23 Thread Tobias Heider
On Sat, Jul 22, 2023 at 08:59:04PM -0400, George Koehler wrote: > On Wed, 19 Jul 2023 02:03:26 +0200 > Tobias Heider wrote: > > > > ok anyone? > > > > No one interested in working keyboard backlight shortcuts? > > Don't get scared by the powerbook part, a lot of this is reusable for other > >

Re: nv(4) acceleration disabled by default + enabling EXA

2023-07-23 Thread Henryk Paluch
Hello! > I tried your config on an iMac G4 (Flat Panel) with "GeForce MX with > AGP8X (Mac)", but nv doesn't support EXA on this chipset, Unfortunately, looking into sources at /usr/xenocara/driver/xf86-video-nv/src it is clear that only nVidia G80 series support EXA acceleration (which is