[PATCH openEuler-22.03-LTS-SP1 v6 04/10] drm/ttm: check null pointer before accessing when swapping