]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: fix check order in amdgpu_bo_move
authorChristian König <christian.koenig@amd.com>
Mon, 16 Nov 2020 19:12:03 +0000 (20:12 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 00:00:46 +0000 (16:00 -0800)
commit228ddee8ed9e24084274954eb526b5798b006f1f
treef2850618cddcc750d6086b75cbb970448e218a69
parent1d36dffa5d887715dacca0f717f4519b7be5e498
drm/amdgpu: fix check order in amdgpu_bo_move

Reorder the code to fix checking if blitting is available.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/401019/
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c