[PATCH 5.4 21/80] drm/amdgpu: fix logic inversion in check