[PATCH openEuler-5.10 037/113] drm/amdgpu: fix logic inversion in check