[PATCH 6.1 094/127] drm/ttm: check null pointer before accessing when swapping