[PATCH 5.10 040/121] drm/amdgpu: fix logic inversion in check