]> git.itanic.dy.fi Git - linux-stable/commit
nouveau: reset the bo resource bus info after an eviction
authorDave Airlie <airlied@redhat.com>
Mon, 11 Mar 2024 07:20:37 +0000 (17:20 +1000)
committerDanilo Krummrich <dakr@redhat.com>
Tue, 12 Mar 2024 20:13:19 +0000 (21:13 +0100)
commitf35c9af45ea7a4b1115b193d84858b14d13517fc
treeef24613c3eecaca3d8d0c0c9280041b553d1e6c8
parent838f865802b9f26135ea7df4e30f89ac2f50c23e
nouveau: reset the bo resource bus info after an eviction

Later attempts to refault the bo won't happen and the whole
GPU does to lunch. I think Christian's refactoring of this
code out to the driver broke this not very well tested path.

Fixes: 141b15e59175 ("drm/nouveau: move io_reserve_lru handling into the driver v5")
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240311072037.287905-1-airlied@gmail.com
drivers/gpu/drm/nouveau/nouveau_bo.c