mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-29 10:55:37 +00:00
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>
This commit is contained in:
parent
c4feba47aa
commit
61c1f340bc
@ -128,7 +128,7 @@ nvkm_ioctl_new(struct nvkm_client *client,
|
||||
if (ret == 0) {
|
||||
ret = nvkm_object_init(object);
|
||||
if (ret == 0) {
|
||||
list_add(&object->head, &parent->tree);
|
||||
list_add_tail(&object->head, &parent->tree);
|
||||
if (nvkm_object_insert(object)) {
|
||||
client->data = object;
|
||||
return 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user