OSDN Git Service

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)
commit7adc77aa0e11f25b0e762859219c70852cd8d56f
tree0a94eb582127320bbfc0cf6bf04e0d96ec7779da
parentfef1c0ef7074477974c893535b90c7ac97012b95
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