[PATCH] [v5] nouveau: add command-line GSP-RM registry support

2024-04-09 Thread Timur Tabi
Add the NVreg_RegistryDwords command line parameter, which allows specifying additional registry keys to be sent to GSP-RM. This allows additional configuration, debugging, and experimentation with GSP-RM, which uses these keys to alter its behavior. Note that these keys are passed as-is to

Re: [PATCH] nouveau: fix instmem race condition around ptr stores

2024-04-09 Thread Dave Airlie
On Tue, 9 Apr 2024 at 21:33, Danilo Krummrich wrote: > > On 4/9/24 10:27, Lucas Stach wrote: > > Am Dienstag, dem 09.04.2024 um 10:34 +1000 schrieb Dave Airlie: > >> From: Dave Airlie > >> > >> Running a lot of VK CTS in parallel against nouveau, once every > >> few hours you might see something

[linux-next:master] BUILD REGRESSION a053fd3ca5d1b927a8655f239c84b0d790218fda

2024-04-09 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: a053fd3ca5d1b927a8655f239c84b0d790218fda Add linux-next specific files for 20240409 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202404091516.9h8idamm-...@intel.com https

Re: [PATCH] nouveau: fix instmem race condition around ptr stores

2024-04-09 Thread Danilo Krummrich
On 4/9/24 10:27, Lucas Stach wrote: Am Dienstag, dem 09.04.2024 um 10:34 +1000 schrieb Dave Airlie: From: Dave Airlie Running a lot of VK CTS in parallel against nouveau, once every few hours you might see something like this crash. BUG: kernel NULL pointer dereference, address:

Re: [PATCH] nouveau: fix instmem race condition around ptr stores

2024-04-09 Thread Lucas Stach
Am Dienstag, dem 09.04.2024 um 10:34 +1000 schrieb Dave Airlie: > From: Dave Airlie > > Running a lot of VK CTS in parallel against nouveau, once every > few hours you might see something like this crash. > > BUG: kernel NULL pointer dereference, address: 0008 > PGD 800114e6e067

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

2024-04-09 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