[PATCH v2 10/11] drm/tidss: Fix atomic_flush check