Re: [PATCH] drm/nouveau: check ioctl command codes better

From: Arnd Bergmann
Date: Mon Jul 21 2025 - 08:38:25 EST


On Mon, Jul 21, 2025, at 14:22, Satadru Pramanik wrote:
> Hello all,
>
> I suspect this commit in 6.16-rc7 has broken acceleration with Mesa's
> nouveau drivers on my machine.
>
> glxinfo -B reports that I'm using llvmpipe.

Thanks for the report! Can you run the failing command with
'strace -f -o logfile.txt -e trace=ioctl ...' to see which command
it tries?

Either I made a stupid mistake in my patch and don't catch the
intended command any more, or the command that gets sent is actually
different from the one that the kernel expects.

Arnd