]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/ttm: Don't print error message if eviction was interrupted
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 7 Mar 2023 14:46:19 +0000 (15:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:29 +0000 (10:22 +0200)
commit4400b96587fd8fa526afd5dad4fc708546a08bba
tree7be80c036c378eeee817946876035a250b6f0a20
parent354cdda79a774c2242e80924e70532904e270609
drm/ttm: Don't print error message if eviction was interrupted

[ Upstream commit 8ab3b0663e279ab550bc2c0b5d602960e8b94e02 ]

Avoid printing an error message if eviction was interrupted by,
for example, the user pressing CTRL-C. That may happen if eviction
is waiting for something, like for example a free batch-buffer.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230307144621.10748-6-thomas.hellstrom@linux.intel.com
Stable-dep-of: e8188c461ee0 ("drm/ttm: Don't leak a resource on eviction error")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/ttm/ttm_bo.c