Re: [PATCH] drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.

2022-05-23 Thread Alex Deucher
On Sun, May 22, 2022 at 8:32 PM Dave Airlie wrote: > > From: Dave Airlie > > Submitting a cs with 0 chunks, causes an oops later, found trying > to execute the wrong userspace driver. > > MESA_LOADER_DRIVER_OVERRIDE=v3d glxinfo > > [172536.665184] BUG: kernel NULL pointer dereference, address:

[PATCH] drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.

2022-05-22 Thread Dave Airlie
From: Dave Airlie Submitting a cs with 0 chunks, causes an oops later, found trying to execute the wrong userspace driver. MESA_LOADER_DRIVER_OVERRIDE=v3d glxinfo [172536.665184] BUG: kernel NULL pointer dereference, address: 01d8 [172536.665188] #PF: supervisor read access in