]> git.ipfire.org Git - thirdparty/kernel/stable.git/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)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:20:07 +0000 (18:20 -0400)
commit123c3bcc04cf7d8efda207a920c7a64b5881e485
tree1bcfcad0f005d47a45ece1c20f057d7f74b5419c
parenta982368a13becfe7c36af92bf7d3a59178cdc86a
nouveau: reset the bo resource bus info after an eviction

[ Upstream commit f35c9af45ea7a4b1115b193d84858b14d13517fc ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/nouveau/nouveau_bo.c