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)
committerChristian König <christian.koenig@amd.com>
Wed, 18 Nov 2020 15:15:11 +0000 (16:15 +0100)
commitaefec40938e4a0e1214f9121520aba4d51697cd9
tree48c15ee21459e44884c74da424743bd3b247a54c
parentfa388231fec99b60346319d56495ae531b666275
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/
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c