]> git.ipfire.org Git - people/ms/linux.git/commit
drm/nouveau/nvkm: use list_add_tail() when building object tree
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Jun 2022 10:46:02 +0000 (20:46 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Jul 2022 03:55:43 +0000 (13:55 +1000)
commit61c1f340bc809a1ca1e3c8794207a91cde1a7c78
tree5fb04b929de6e336e0f2c58fa1cee530752d31ae
parentc4feba47aad55aca90d9a2b104c0345ca6f93712
drm/nouveau/nvkm: use list_add_tail() when building object tree

Fixes resume from hibernate failing on (at least) TU102, where cursor
channel init failed due to being performed before the core channel.

Not solid idea why suspend-to-ram worked, but, presumably HW being in
an entirely clean state has something to do with it.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c