drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.
authorjsg <jsg@openbsd.org>
Fri, 10 Jun 2022 01:19:27 +0000 (01:19 +0000)
committerjsg <jsg@openbsd.org>
Fri, 10 Jun 2022 01:19:27 +0000 (01:19 +0000)
commit64eb0fdb389ec76a5bda59e76861d6a1e6d4af9e
tree9199ee6610c35b1b2efe21163c8f8fd4970e7315
parent8d07734ce7bd52ca5fbefe1b88cbf029a2571bdd
drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.

From Dave Airlie
70276460e914d560e96bfc208695a872fe9469c9 in linux 5.15.y/5.15.46
31ab27b14daaa75541a415c6794d6f3567fea44a in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c