drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
authorjsg <jsg@openbsd.org>
Thu, 14 Apr 2022 08:44:29 +0000 (08:44 +0000)
committerjsg <jsg@openbsd.org>
Thu, 14 Apr 2022 08:44:29 +0000 (08:44 +0000)
commitffd4d83505814a1a3d971b50a787d85d6c4c8ec7
tree8142c5cc015d8ca6633d038e7994aa702c20dfe2
parent7ecb30abb1ae30bfdf117bebfdb1f2042223dbd1
drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()

From Dan Carpenter
5ba9d78a72948325ecdb4dca2a31a46bc9169574 in linux 5.15.y/5.15.34
1647b54ed55d4d48c7199d439f8834626576cbe9 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c