]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/gr/gk20a,gm200-: add terminators to method lists read from fw
authorBen Skeggs <bskeggs@redhat.com>
Thu, 9 Jan 2020 01:46:15 +0000 (11:46 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2020 00:50:25 +0000 (10:50 +1000)
commita112791817a48720ec3834e4e90431aab951b70a
tree0a94eb582127320bbfc0cf6bf04e0d96ec7779da
parentf4db9c2fc51d5be554073cc7d5558c32eb5ddacb
drm/nouveau/gr/gk20a,gm200-: add terminators to method lists read from fw

Method init is typically ordered by class in the FW image as ThreeD,
TwoD, Compute.

Due to a bug in parsing the FW into our internal format, we've been
accidentally sending Twod + Compute methods to the ThreeD class, as
well as Compute methods to the TwoD class - oops.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c