[PATCH] drm/panfrost: Check for error num after setting mask